26 lines
637 B
Plaintext
26 lines
637 B
Plaintext
|
#!/bin/sh
|
||
|
cd ${0%/*} || exit 1 # Run from this directory
|
||
|
|
||
|
./Allclean
|
||
|
|
||
|
# Source tutorial run functions
|
||
|
. $WM_PROJECT_DIR/bin/tools/RunFunctions
|
||
|
|
||
|
# Get application directory
|
||
|
application=$(getApplication)
|
||
|
|
||
|
runApplication ideasUnvToFoam simple_orig.unv
|
||
|
runApplication transformPoints "scale=(1e-5 1e-5 1e-5)"
|
||
|
#runApplication createPatch -overwrite
|
||
|
cp -f logs/boundary constant/polyMesh/
|
||
|
|
||
|
|
||
|
#- Run parallel
|
||
|
#runApplication decomposePar #-cellDist
|
||
|
runApplication setFields
|
||
|
runApplication renumberMesh
|
||
|
runApplication $application
|
||
|
#runApplication reconstructPar
|
||
|
|
||
|
#------------------------------------------------------------------------------
|