Define water level in icoFOam
1 Attachment(s)
Hi everyone,
perhaps someone could help me with the icoFom solver. I build up with blockMesh a tank with a tiny output for water discharge. With the setFieldsDict File i defined a water level in the tank for the first simulation step. Code:
FoamFile Code:
FoamFile In the end it should be a nearly constant water level and a constant discharge to prove Toricellis law. I am just using OpenFOAM since 3 weeks, so i am really a newbie;) Thank you very much for your help or new thought processes! |
Define water level in icoFOam
Hi everyone,
im searching for a way to define a beginning water level in an open tank with icoFoam. I tried it with the SetFiledsDict, but it seems very complicated, because then i have to define an alpha.water File and also a solver in the fvSolution FIle to solve alpha.water. Is there an easy way to just define a starting water level? Thank you very much!!! I am very thankful for new thought processings, cause im very new in OpenFOAM... Thanks Steffen |
do you want to solve two phase flow problem? Because if you do, I think rather than using icoFoam, you probably want to use a multiphase solver, instead.
And yes, setFieldDicts can be used and maybe the easiest way to define the initial condition (incl. beginning level) |
Hi,
thank you very much for your reply! No i just want to calculate the discharge of an open container with a beginning water level. My problem is that i dont know how to set a begining water level, without defining a water phase (alpha.water), that openfoam has to solve... |
Hi
icoFoam is single phase incompressible solver. Look at interFoam solvers (multiphase) for solving your problem. |
All times are GMT -4. The time now is 19:26. |