CFD Online Logo CFD Online URL
Home > Forums > OpenFOAM Running, Solving & CFD

Freeze some cell in solving the equations

Register Blogs Members List Search Today's Posts Mark Forums Read

LinkBack Thread Tools Display Modes
Old   November 9, 2005, 21:58
Default hello everyone: I tried sol
New Member
Liu Zhaowei
Join Date: Mar 2009
Posts: 9
Rep Power: 8
liuzhw is on a distinguished road
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.
liuzhw is offline   Reply With Quote

Old   November 9, 2005, 22:45
Default Have a look at the constraint
Senior Member
Hrvoje Jasak
Join Date: Mar 2009
Location: London, England
Posts: 1,768
Rep Power: 21
hjasak will become famous soon enough
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.


Hrvoje Jasak
Providing commercial FOAM/OpenFOAM and CFD Consulting:
hjasak is offline   Reply With Quote


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On

Similar Threads
Thread Thread Starter Forum Replies Last Post
solving stiff equations vishal FLUENT 0 September 22, 2008 17:14
2nd order equations not solving well Paul FLUENT 1 May 16, 2008 17: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 06:53

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