CFD Online Discussion Forums

CFD Online Discussion Forums (https://www.cfd-online.com/Forums/)
-   FLUENT (https://www.cfd-online.com/Forums/fluent/)
-   -   UDF to define or adjust pressure??? (https://www.cfd-online.com/Forums/fluent/77882-udf-define-adjust-pressure.html)

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.
Thanx


All times are GMT -4. The time now is 07:53.