CFD Online Discussion Forums

CFD Online Discussion Forums (https://www.cfd-online.com/Forums/)
-   OpenFOAM (https://www.cfd-online.com/Forums/openfoam/)
-   -   shallowWaterFoam dam break boundary conditions (https://www.cfd-online.com/Forums/openfoam/196247-shallowwaterfoam-dam-break-boundary-conditions.html)

iostam November 29, 2017 10:17

shallowWaterFoam dam break boundary conditions
 
Hello,

I have used interfoam before to model dam break cases in OpenFOAM but now I have been trying to model it using shallowWaterFoam but I have been having trouble seeting my boundary conditions.

Specifically I dont know what to set the boundary conditions for inlet, outlet and sides. More specifically:
  • u: inlet and outlet boundary condition
    (default: type fixed value uniform (0.1 0 0) and type zeroGradient)
  • h: sides, inlet and outlet
    (default: type zeroGradient, type zeroGradient and typed fixed value uniform (0.1 0 0))
  • htotal: sides, inlet and outlet
    (default: type calculated, value uniform 0.01, type calculated, value uniform 0.01 and type calculated, value uniform 0.01)
Any help would be much appreciated,
Thanks,
Ioanna


All times are GMT -4. The time now is 17:59.