hpr-simulation/cell-simple/Allrun

26 lines
637 B
Plaintext
Raw Permalink Normal View History

2023-04-10 22:06:10 +05:00
#!/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
#------------------------------------------------------------------------------