CFD Online Discussion Forums

CFD Online Discussion Forums (
-   FLUENT (
-   -   UDF to define or adjust pressure??? (

engahmed July 6, 2010 17:19

UDF to define or adjust pressure???
Hi Fluent users,
I am modelling a 2D natural convection problem with pressure inlets and one pressure outlet, I noticed that pressure is defined at the pressure inlet as total gauge pressure which is static + dyanmic pressures, while at the pressure outlet, pressure is defined as the static pressure only. To model natural convection, the static pressure has to be zero everywhere to make sure that bouyancy flow takes place correctly.
So does anyone know how can I write a UDF to define the pressure at the inlets as static pressure only? or a UDF which would adjust the pressure at the pressure outlet to whatever static pressure is used at the pressure inlets???
Any advice will be appreciated.

All times are GMT -4. The time now is 22:27.