25 lines
551 B
Bash
Executable file
25 lines
551 B
Bash
Executable file
#!/bin/sh
|
|
|
|
# Source tutorial run functions
|
|
. $WM_PROJECT_DIR/bin/tools/RunFunctions
|
|
|
|
application="MRFSimpleFoam"
|
|
#application="simpleFoam"
|
|
|
|
#Create the mesh:
|
|
m4 < constant/polyMesh/blockMeshDict_mixingPlane.m4 > constant/polyMesh/blockMeshDict
|
|
blockMesh
|
|
transformPoints -cylToCart "((0 0 0) (0 0 1) (1 0 0))"
|
|
|
|
# Set 0-directory and create GGI set:
|
|
cp -r 0_orig 0
|
|
setSet -batch setBatchGgi
|
|
setsToZones -noFlipMap
|
|
|
|
#Fix constant/boundary:
|
|
changeDictionary
|
|
|
|
#Pick settings:
|
|
cp system/fvSolution_mixingPlane system/fvSolution
|
|
|
|
runApplication $application
|