CFD Online Discussion Forums

CFD Online Discussion Forums (https://www.cfd-online.com/Forums/)
-   OpenFOAM Pre-Processing (https://www.cfd-online.com/Forums/openfoam-pre-processing/)
-   -   Pressure boundary condition for underwater body (https://www.cfd-online.com/Forums/openfoam-pre-processing/211015-pressure-boundary-condition-underwater-body.html)

asarkar November 9, 2018 08:52

Pressure boundary condition for underwater body
 
Hello All,


I am simulating the flow over a body present underwater at a certain depth (say 5 m). I would like to know as to how to set the Pressure boundary conditions to account for the static pressure at depth. My typical boundary condition for Inlet are a constant velocity (fixed value in X vector) and zerogradient, Outlet BC,s are zerogradient for U and fixedvalue (uniform 0) for P.



I am using a SIMPLEFOAM solver.


I am unable to grasp as to how to how to set the pressure value to account for different depths underwater. Also, do tell me what is the utility of a p_rgh file.



Also, do tell me whether the values of P plotted in ParaView are density normalized pressures or to get the correct value I need to multiply by density.


I would appreciate your insight since I am new to CFD and OpenFoam specifically and any insight would be welcome.


Thanks for your time.


All times are GMT -4. The time now is 10:30.