Hydrostatic Pressure in a cube
Dear Foamers,
I would like to understand how to implement hydrostatic pressure on a wall. I am a beginner with OF. For that, I created a simple cube mesh: Code:
convertToMeters 1; Code:
dimensions [0 2 -2 0 0 0 0]; I also created a g folder in "constant": Code:
FoamFile I don't know exactly what solver should I use but it seems that pisoFoam is ok. So here is the fvSolution: Code:
solvers Code:
ddtSchemes Code:
nu nu [ 0 2 -1 0 0 0 0 ] 0.01; Code:
--> FOAM FATAL IO ERROR: Or maybe it is a wrong solver for a simple case like that? Thank you for your help! |
I don't know if pisoFoam is right solver for this kind of problem.
For the error message you posted, simple add this expression to the divSchemes dictionary or set a default entry, e.g. Code:
divSchemes |
Thank you for your answer!
I added that line in the fvSchemes, as well as the Code:
laplacian(nuEff,U) Gauss linear corrected; Still, the terminal doesn't find the "g" folder: Code:
--> FOAM FATAL ERROR: I tried to copy/paste the g in all the folders (0,constant,system) still doesn't work. Thanks for your help! |
All times are GMT -4. The time now is 08:07. |