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/)
-   -   How to define hRef for a variable bottom (bathymetry) ? (https://www.cfd-online.com/Forums/openfoam-pre-processing/244681-how-define-href-variable-bottom-bathymetry.html)

cfd_saad August 22, 2022 10:53

How to define hRef for a variable bottom (bathymetry) ?
 
Hi foamers,

I am using interFoam to study a breakwater with a variable bathymetry so the reference of the free surface changes depending on the location.

My free surface at the inlet is at 32m and it decreases until 10m at the outlet.

In p and p_rgh it does include hRef (gh = g*hRef), I have put hRef=32m (constant) but I am getting high pressures so I think I need to have a variable hRef depending on the location, how can I manage to do this ?

Thanks!!

cfd_saad August 24, 2022 04:44

the idea is to substract the instantaneous hydrostatic pressure at the wave impact on the wall, any ideas ?


All times are GMT -4. The time now is 05:35.