Model for simulation of an oyster depuration system (OpenFOAM-v2012)
- Install gmsh http://gmsh.info
- run command
gmsh -0 -3 -f msh2 -o oysterTank.msh oysterTank.geo
- run command
gmshToFoam oysterTank.msh > log.gmshToFoam 2>&1 &
Edit file constant/polyMesh/boundary and set patch type to wall for bottom/top/left/right/front/back
- run command
checkMesh > log.checkMesh 2>&1 &
- run command
topoSet > log.topoSet 2>&1 &
- run command
createPatch log.createPatch 2>&1 &
- run commands
source $WM_PROJECT_DIR/bin/tools/RunFunctions
restore0Dir
runApplication $(getApplication)
- Edit file system/decomposeParDict accordingly
- run commands
source $WM_PROJECT_DIR/bin/tools/RunFunctions
restore0Dir
runApplication decomposePar
runParallel renumberMesh -overwrite
runParallel $(getApplication)