|
[Sponsors] |
March 6, 2012, 12:59 |
Constant Temperature Volumetric region
|
#1 |
Senior Member
---------
Join Date: Oct 2010
Posts: 303
Rep Power: 17 |
I have a volumetric region in my domain that is supposed to be at a constant temperature.
I see that this can't be modeled using a subdomain as a subdomain in CFX is always defined by a heat flux. Could some one please tell me how to model such volumetric region with a constant temperature in the domain
__________________
Best regards, Santhosh. |
|
March 6, 2012, 13:35 |
|
#2 |
Senior Member
Erik
Join Date: Feb 2011
Location: Earth (Land portion)
Posts: 1,167
Rep Power: 23 |
You could use a subdomain with a heat generation rate which is a function of your set temperature. So that once the fluid enters the region it begins quickly heating or cooling to reach your desired temperature. If you try to magicly make it instantly change to a certain temperature, you will have a lot of numerical stability problems which I'm guessing is a reason its not allowed it in the first place.
|
|
March 6, 2012, 15:18 |
|
#3 |
Senior Member
---------
Join Date: Oct 2010
Posts: 303
Rep Power: 17 |
Thanks for the reply Eric, but the requirement is that the volumetric region has to remain at a constant temperature through out the simulation
__________________
Best regards, Santhosh. |
|
March 6, 2012, 15:59 |
|
#4 |
Super Moderator
Glenn Horrocks
Join Date: Mar 2009
Location: Sydney, Australia
Posts: 17,703
Rep Power: 143 |
It is easy to fix a region to a temperature using a source term. You make the source term inversely proportional to the different between the local temperature and the desired temperature and it quickly converges to the desired temperature. And if you use a source term linearisation term it converges just fine.
Looks up source terms in the documentation. |
|
March 6, 2012, 16:24 |
|
#5 |
Senior Member
Erik
Join Date: Feb 2011
Location: Earth (Land portion)
Posts: 1,167
Rep Power: 23 |
Yes Glenn, that's exactly what I was saying, for example:
E.genSource = (T.desired - Temperature)*c.p*density*(1/time constant) It still not instantly switching to the new temperature, as you still have some sort of a time constant but you can make it very very small. What you choose as a time constant will be where it starts approaching your temperature, so you could choose 1sec or 10^-whatever seconds. |
|
March 6, 2012, 16:29 |
|
#6 |
Super Moderator
Glenn Horrocks
Join Date: Mar 2009
Location: Sydney, Australia
Posts: 17,703
Rep Power: 143 |
The normal way of clamping to a temperature is to use a source term of
E source = -C*(T.desired-Temperature) And a source term linearisation term of: E source linearisation = -C You choose the value of C to be large relative to your expected temperature range. Not sure if the units of my source term are right, you may have to add density and/or Cp to get the units right. This approach clamps it instantly to the desired temperature but still converges fine because of the linearisation term. |
|
March 12, 2012, 06:12 |
|
#7 |
Senior Member
---------
Join Date: Oct 2010
Posts: 303
Rep Power: 17 |
Hello Glenn,
If you don't mind could you please explain setting up the source terms in CFX in a detailed way. I'm sorry but I couldn't find any thing particularly relevant to this context when I searched for " source terms " in the CFX help.
__________________
Best regards, Santhosh. |
|
March 12, 2012, 16:28 |
|
#8 |
Super Moderator
Glenn Horrocks
Join Date: Mar 2009
Location: Sydney, Australia
Posts: 17,703
Rep Power: 143 |
I do not have the time to write tutorials. My previous post explained what you need to do, the documentation has a long explanation of source terms so hopefully you can sort it out from there.
|
|
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Cfd to ansys thermal to ansys structural interface | ssixr | ANSYS | 17 | July 31, 2015 15:18 |
Assigning constant temperature to an interface boundary in a conjugate HT. | fshak92 | STAR-CCM+ | 3 | February 16, 2012 07:36 |
Bulk temperature Tf is obtained from total or static temperature? | NPU_conanxie | FLUENT | 0 | March 30, 2011 05:56 |
Boundary Conditions: Non constant flow pattern / temperature profil | Janshi | FloEFD, FloWorks & FloTHERM | 1 | September 1, 2010 02:56 |
Constant Volumetric Flowrate Outlet | Hadley | FLUENT | 0 | October 20, 2005 23:12 |