|
[Sponsors] |
November 9, 2005, 21:58 |
hello everyone:
I tried sol
|
#1 |
New Member
Liu Zhaowei
Join Date: Mar 2009
Posts: 9
Rep Power: 17 |
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. |
|
November 9, 2005, 22:45 |
Have a look at the constraint
|
#2 |
Senior Member
Hrvoje Jasak
Join Date: Mar 2009
Location: London, England
Posts: 1,907
Rep Power: 33 |
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.
Enjoy, Hrv
__________________
Hrvoje Jasak Providing commercial FOAM/OpenFOAM and CFD Consulting: http://wikki.co.uk |
|
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
solving stiff equations | vishal | FLUENT | 0 | September 22, 2008 18:14 |
2nd order equations not solving well | Paul | FLUENT | 1 | May 16, 2008 18:52 |
Schemes for solving Euler equations | shuo | OpenFOAM Running, Solving & CFD | 0 | December 10, 2006 05:16 |
Solving systems of equations | Marco Kupiainen (Kupiainen) | OpenFOAM Running, Solving & CFD | 3 | February 2, 2005 13:55 |
solving 3D N-S equations. | Yangang Bao | Main CFD Forum | 1 | September 29, 1999 07:53 |