CFD Online Discussion Forums

CFD Online Discussion Forums (
-   OpenFOAM Running, Solving & CFD (
-   -   Freeze some cell in solving the equations (

liuzhw November 9, 2005 21:58

hello everyone: I tried sol
hello everyone:

I tried solving shallow water equation with Foam, so I have to deal with the problem of wetting/dring problem. when the cell is not submerged by water, the velocity of cells will be set zero. my question is how to set the value of these cells in solving the momentum equations.

hjasak November 9, 2005 22:45

Have a look at the constraint
Have a look at the constraint class - this allows you to fix the solution in selected cells. However, I am not sure this is exactly what you want to do: a rethink of the algorithm or equations may be a better way.



All times are GMT -4. The time now is 09:26.