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 couple two "Coefficient Form PDE" physics

Please login with a confirmed email address before reporting spam

Hello,

I am trying to couple two physics using "Coefficient Form PDE". The equations are related in such a way that the dependent variable of the first equation is the input for the second equation.

1. du/dt=D(d^2u/dx^2)
2. du/dt=(D/RT). u. (d^2u2/dx^2)

Where, u and u2 are the dependent variables and D,R, T are constant [As Coefficient Form PDE use "u" as dependent variable by default].
I have built the geometry and implemented the first equation using Coefficient Form PDE.

Then I have solved the first equation using Time Dependent study. So I have solution for u. Now I would like to write the second equation in the second physics "Coefficient Form PDE". When I write the second equation as a "Source Term f" then it says invalid expression.

In the source term field of the second pyhsics I wrote, ut-((D/(R*T)*(u*u2xx))
Maybe the second physics does not recognise the dependent variable of the first physics.

Is it possible to write directly the dependent variable of one physics to another physics?
If it is not possible then how can I couple these two physics?
I would be grateful if someone helps me to get rid of this problem. I know there is a lot of genius people here. To make my explanation easier I have attached the built mph file named as "test.mph". Thanks in advance. Please Please......


1 Reply Last Post 2016年2月3日 GMT-5 16:29
COMSOL Moderator

Hello Md Sayeedur Rahman

Your Discussion has gone 30 days without a reply. If you still need help with COMSOL and have an on-subscription license, please visit our Support Center for help.

If you do not hold an on-subscription license, you may find an answer in another Discussion or in the Knowledge Base.


Please login with a confirmed email address before reporting spam

Posted: 8 years ago 2016年2月3日 GMT-5 16:29

Hi Rahman,

Do you have an answer to your problem now?

If so, please let me know.

Thank you,

--
Bhagya
Hi Rahman, Do you have an answer to your problem now? If so, please let me know. Thank you, -- Bhagya

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.