CFD Online Discussion Forums

CFD Online Discussion Forums (https://www.cfd-online.com/Forums/)
-   CFX (https://www.cfd-online.com/Forums/cfx/)
-   -   Setting up static pressure (https://www.cfd-online.com/Forums/cfx/133254-setting-up-static-pressure.html)

singingfish April 12, 2014 08:06

Setting up static pressure
 
Hi everyone, I'm relatively new to using CFX and I need some assistance with setting up the static pressure in the fluid domain.
I want to set the static pressure of my domain to that of the underwater pressure, ie. Atmospheric + rho*g*z where the variable in this equation is z. So my question is, where do I key in this equation? Is it under initialization>static pressure>relative pressure?
Any help is greatly appreciated. Thanks

Abou ali April 12, 2014 15:35

First, create an expression “main menu->insert->expression”, and then use it in the domain initialization.

ghorrocks April 13, 2014 06:38

Abou describes how to add an equation.

But my question is why do you want to do this? If you read the documentation you will find in a buoyant simulation the pressure variable already have the hydrostatic component removed from it. The absolute pressure contains the hydrostatic component (and the reference pressure offset).


All times are GMT -4. The time now is 02:16.