CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > Software User Forums > OpenFOAM > OpenFOAM Running, Solving & CFD

Freeze some cell in solving the equations

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   November 9, 2005, 21:58
Default hello everyone: I tried sol
  #1
New Member
 
Liu Zhaowei
Join Date: Mar 2009
Posts: 9
Rep Power: 17
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
  #2
Senior Member
 
Hrvoje Jasak
Join Date: Mar 2009
Location: London, England
Posts: 1,907
Rep Power: 33
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.

Enjoy,

Hrv
__________________
Hrvoje Jasak
Providing commercial FOAM/OpenFOAM and CFD Consulting: http://wikki.co.uk
hjasak is offline   Reply With Quote

Reply


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 Off
Pingbacks are On
Refbacks are On


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


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