Discussion Closed This discussion was created more than 6 months ago and has been closed. To start a new discussion with a link back to this one, click here.

How to define this two equation using PDE

Please login with a confirmed email address before reporting spam

Hi,
In my 2D model,the governing equations are

.
The and are the variables I want to solve on the whole plane.Other variables , are all known.The direction of the magnetic field is normal to the 2D plane.
And I want to solve this two equations together, which means the plane has two governing equations. And the coefficient Form PDE is very convenient to define both equations.But the coefficient form PED is overriden,I can‘t add another coefficient form PDE.This bothers me a lot.
your kind help is very much appreciated.
Thank you very much

6 Replies Last Post 2016年9月6日 GMT-4 05:09

Please login with a confirmed email address before reporting spam

Posted: 10 years ago 2014年8月20日 GMT-4 09:38
Is there anyone know how to solve this problem. I have been trobuled by this problem for half a month.
I'm really desperate to solve this problem.
Thank you very very very much.
Is there anyone know how to solve this problem. I have been trobuled by this problem for half a month. I'm really desperate to solve this problem. Thank you very very very much.

Please login with a confirmed email address before reporting spam

Posted: 10 years ago 2014年8月21日 GMT-4 12:13
"But the coefficient form PED is overriden, I can‘t add another coefficient form PDE."

If you have two dependent variables then you can define two PDEs.

- Either add the PDE module two times when you select the physics. (which seems the best in your case as J and phi are different units/fields)
- Or define two dependent variables in a single PDE physics node.


There are several points where you can make these two options happen. Either during the first screens when setting up the physics or later by adding or editing the physics.

See also attached image with an example of multiple added physics nodes and multiple defined dependent variables.
"But the coefficient form PED is overriden, I can‘t add another coefficient form PDE." If you have two dependent variables then you can define two PDEs. - Either add the PDE module two times when you select the physics. (which seems the best in your case as J and phi are different units/fields) - Or define two dependent variables in a single PDE physics node. There are several points where you can make these two options happen. Either during the first screens when setting up the physics or later by adding or editing the physics. See also attached image with an example of multiple added physics nodes and multiple defined dependent variables.


Please login with a confirmed email address before reporting spam

Posted: 10 years ago 2014年8月21日 GMT-4 20:40
Hi,Martijn
Thank you .I know how to do this now
Hi,Martijn Thank you .I know how to do this now

Please login with a confirmed email address before reporting spam

Posted: 9 years ago 2015年7月1日 GMT-4 02:28
Hi Martijn,

I wish to solve the navier stokes equation for the flow of fluid through a cylindrical tube. But in the equation there are 2 variables velocity and pressure. How do I solve this using equation based modelling and also how to define the inlet and outlet pressure conditions.

Please I have been stuck in this for a long time.

Thank You.
Hi Martijn, I wish to solve the navier stokes equation for the flow of fluid through a cylindrical tube. But in the equation there are 2 variables velocity and pressure. How do I solve this using equation based modelling and also how to define the inlet and outlet pressure conditions. Please I have been stuck in this for a long time. Thank You.

Please login with a confirmed email address before reporting spam

Posted: 8 years ago 2016年3月30日 GMT-4 01:31
Hi
I am using coupled global PDE form for three dependent variables.
how to define relation between dependent variables?

when I do it outside in the variables section, it says duplication of variable.

Thank you very much
Hi I am using coupled global PDE form for three dependent variables. how to define relation between dependent variables? when I do it outside in the variables section, it says duplication of variable. Thank you very much

Please login with a confirmed email address before reporting spam

Posted: 8 years ago 2016年9月6日 GMT-4 05:09
Hi Krishnaraj

I got a pretty similar problem as you, basically I am simulating pipe flow using incompressible N-S eqn in general PDE interface, it seems the equations didn't quite accept a pressure inlet + pressure outlet boundary conditions case. Have you figure out how to do it?

I will be very appreciated if you can give me some advice.

Best
Di Shen
Hi Krishnaraj I got a pretty similar problem as you, basically I am simulating pipe flow using incompressible N-S eqn in general PDE interface, it seems the equations didn't quite accept a pressure inlet + pressure outlet boundary conditions case. Have you figure out how to do it? I will be very appreciated if you can give me some advice. Best Di Shen

Note that while COMSOL employees may participate in the discussion forum, COMSOL® software users who are on-subscription should submit their questions via the Support Center for a more comprehensive response from the Technical Support team.