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/)
-   -   Water level for boundary condition (https://www.cfd-online.com/Forums/openfoam-pre-processing/201262-water-level-boundary-condition.html)

trapan13 April 26, 2018 09:30

Water level for boundary condition
 
Hi everyone !

I need to modelize the water flow in a spillway.
In the upstream part I have a tank of water so I want that my boundary condition to be a fixed value of water level and not a velocity or pressure.

Do you know how can I modelize this kind of simulation in openFoam?

Thank you

Jan Kozowiński November 8, 2018 15:08

Any solutions, please?

BjoernFoam November 14, 2018 02:39

You should have a alpha file in your 0 directory, now you have to set your boundary conditions accordingly, if you cant map your inlet field you could try to split your inlet patch by using a topoSetDict and create patches using createBafflesDict.

setFieldsDict might also just be what you are looking for, here is a tutorial that might help you:


https://www.researchgate.net/publica...'_tutorial


All times are GMT -4. The time now is 16:44.