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 different physics?
Posted 2013/11/11 5:02 GMT-5 Low-Frequency Electromagnetics, Plasma Physics, RF & Microwave Engineering Version 5.1 9 Replies
Please login with a confirmed email address before reporting spam
Dear friend
I am using Physics "Transient heat diffusion equation in solid" to calculate T(x,y,z,t).
Now another Physics "Distributed ODEs and DAEs(dode)" is used to write the following equation:
dX/dt=(A)*[exp{-E/RT}]
where
A, E & R=constant
T(x,y,z,t)=variable [obtained after solving Physics "Transient heat diffusion equation in solid"]
t= time
x,y,z= space coordinate
want to solve to find out X(x,y,z,t).............
I got a problem here, as i have mentioned, equation contains three variable:
The temperature T is obtained after solving a "Transient heat diffusion equation in solid Physics" and is used as the input to the ODE. That means the two physics "Transient heat diffusion equation in solid Physics" AND "Distributed ODEs and DAEs(dode) Physics" should be coupled together since I need the value of T(x,y,z,t) to calculate X (x, y,z,t).
Can anyone please tell me, how to couple these two physics in COMSOL 4.2??
regards
Anup
Please login with a confirmed email address before reporting spam
What you have to do is,
1-create two studies one for "Transient heat diffusion equation in solid" (Study 1) and other for PDE (Study 2). in the study-2 you put the parameter you want use from study one...in u case 'T"
2- after this go to ' study two'......> 'dependent variable' you will get option 'Values of Variables Not Solved For' then take the following options...
-Method......>solutions
Solution.....> solver one
-selection.....> automatic
out put ....> initial ....
at this stage the any result from study one can be used in study-2.
for more information read the following note from the help section. search for 'Dependent Variables' in the
help....> dynamic help.... section
Please login with a confirmed email address before reporting spam
thanks
But I could not understand step-1 u have mentioned
1-create two studies one for "Transient heat diffusion equation in solid" (Study 1) and other for PDE (Study 2). in the study-2 you put the parameter you want use from study one...in u case 'T"
thanks
Please login with a confirmed email address before reporting spam
Alberto says that you can create 2 studies.
If you click on study 1, you can set in Step 1 to solve only the temperature physic, putting the X symbol on the other one.
In Study 2, Step 2 expand the "Values of dependent variables" submenu and set it as Alberto suggests.
Please login with a confirmed email address before reporting spam
Actually I am new to this software.
I am explaining below how i am trying to solve:
Step-1:
Selecting two physics "Heat Transfer (study 1)" and "Distributed ODE & DAEs (Study 2)"
Step-2:
Draw the geometry
Step-3:
Defining material
Step-4:
Meshing
Step-5:
Defining boundary conditions for physics "Heat Transfer (study 1)"
Step-6:
In Study-1 only one thing is mentioned i.e., "Time Dependent". No other links are available
Here, I am defining the time step and the total solution time
Step-7:
Then I compute it for getting T(x,y,z.t)
Step-8:
Now, I move to study-2 there also only one link is given i.e., "Time Dependent"
so I follow the step-6
Solution:
I am getting expected T(x,y,z,t), but not the other variable.
rgds
Anup
Please login with a confirmed email address before reporting spam
1-- help
2- dynamic...
3- search
4- type 'dependent variable'
Please login with a confirmed email address before reporting spam
Thanks a lot.......
Please login with a confirmed email address before reporting spam
I have the same problem. The only thing is I can not define the T for both physics. I have a T in heat transfer module and a T2 in a PDE eqn that I have built. The comsol doesn't let me have same variable in both of them. so, How can I solve this?! how can I relate the T2 to T?!
Thanks a lot
Please login with a confirmed email address before reporting spam
1-create two studies one for "Transient heat diffusion equation in solid" (Study 1) and other for PDE (Study 2). in the study-2 you put the parameter you want use from study one...in u case 'T"
Hi, please, can you tell me how put the parameter in the study 2 ? in the boundary condition, or in the solver ?
Please login with a confirmed email address before reporting spam
Do you get an answer for your question, the proper place to put parameter T in study 2
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.
