CFD Online Discussion Forums

CFD Online Discussion Forums (http://www.cfd-online.com/Forums/)
-   OpenFOAM (http://www.cfd-online.com/Forums/openfoam/)
-   -   solve on zone (http://www.cfd-online.com/Forums/openfoam/81666-solve-zone.html)

alvin11 November 3, 2010 04:57

solve on zone
 
1 Attachment(s)
hi all,

I am trying to solve on cell zone,

I use the follow command to split the mesh of case damBreak into two zones,

rm -rf constant/polyMesh/sets

runApplication blockMesh
runApplication funkySetFields -time 0
#runApplication setSet -batch makeCellSets.setSet
runApplication cellSet

#rm -f constant/polyMesh/sets/*_old

runApplication setsToZones -noFlipMap
runApplication splitMeshRegions -cellZones -overwrite


my case is in the attachment

you can run the prapare.sh first

my question is how can I run the solver(like interFoam) just on the zone (water),


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