CFD Online Discussion Forums (https://www.cfd-online.com/Forums/)
-   CFX (https://www.cfd-online.com/Forums/cfx/)
-   -   set the pressure on a whole subdomain (https://www.cfd-online.com/Forums/cfx/22569-set-pressure-whole-subdomain.html)

 nicolas May 18, 2006 03:00

set the pressure on a whole subdomain

Hi. It's the first time I am working on CFX. I am using CFX 5.7.1 I want to set the value of the pressure and the temperature on a whole subdomain. These value are in .csv file How can I make to do that? The main problem for me, is: how to set the pressure and the temperature on a subdomain?

Thanks, Nicolas

 Mike May 18, 2006 08:54

Re: set the pressure on a whole subdomain

You can add a source term and source coefficient to the energy equation in the subdomain to maintain a fixed temperature. For example, use the follow expressions:

LIBRARY: CEL:

EXPRESSIONS:

Scoeff = -1000000 [W m^-3 K^-1]

Sterm = Scoeff * (T - 325 [K])

END END END

Scoeff is just any big number; the bigger it gets, the stronger the correction source will become.

Pressure is part of the solution and there is no such thing as a pressure source term, so you cannot control pressure in a similar way. Mike

 All times are GMT -4. The time now is 19:34.