Note: This discussion is about an older version of the COMSOL Multiphysics® software. The information provided may be out of date.
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 use the temperature of one study into another study. correct method or not?
Posted Mar 28, 2012, 5:39 a.m. EDT Heat Transfer & Phase Change, Studies & Solvers Version 4.2a 3 Replies
Please login with a confirmed email address before reporting spam
Dear all, I tried to couple the temperature of study1 into Study2 (study1 is heating, Study2 is cooling) it can not be done in 1 study because in study 2 we have also air cooling, and the time of study1 is unknown.
I first tried some simple things and it worked, can you specialists have a look to the method is it principally correct (physics not important in this topic)?
Step 1: make a global variable
Name: Starttemp
Expression: mod1.T
This will store all the temperatures on all places from study1 but on which times?
Step 2: calculate study 1
Step 3: add physics: (heat transfer in solids 2 (ht2))
Add study (un check the ht1 mode in the physics selection)
Step 4: Initial values in ht2
T2= Starttemp
Step 5: Dependent variables
General:
Defined study step: user defined
Initial values of variables solved for:
Method: Initial expression
Solution: Solver 1
Time: Automatic or last time step
Scaling
Method: Automatic
Values of variables not solved for
Method: Solution
Solution: Solver 1
Time: Automatic or last time step
Output
Keep solution: initial values
Step6: Run study 2
Step 7: take care by looking to the results: the temperature of study 2 is T2 not T
I first tried some simple things and it worked, can you specialists have a look to the method is it principally correct (physics not important in this topic)?
Step 1: make a global variable
Name: Starttemp
Expression: mod1.T
This will store all the temperatures on all places from study1 but on which times?
Step 2: calculate study 1
Step 3: add physics: (heat transfer in solids 2 (ht2))
Add study (un check the ht1 mode in the physics selection)
Step 4: Initial values in ht2
T2= Starttemp
Step 5: Dependent variables
General:
Defined study step: user defined
Initial values of variables solved for:
Method: Initial expression
Solution: Solver 1
Time: Automatic or last time step
Scaling
Method: Automatic
Values of variables not solved for
Method: Solution
Solution: Solver 1
Time: Automatic or last time step
Output
Keep solution: initial values
Step6: Run study 2
Step 7: take care by looking to the results: the temperature of study 2 is T2 not T
3 Replies Last Post Mar 28, 2012, 9:45 a.m. EDT