Bugfix: More robust run script
This commit is contained in:
parent
50f39d8e50
commit
912008547c
1 changed files with 2 additions and 1 deletions
|
@ -19,7 +19,8 @@ runApplication simpleFoam
|
|||
# Copy the mesh from the steady state case and map the results to a
|
||||
# mesh motion case, then solve transient.
|
||||
cd ../wingMotion2D_pimpleDyMFoam
|
||||
\cp -r ../wingMotion2D_simpleFoam/constant/polyMesh/* constant/polyMesh
|
||||
\rm -rf constant/polyMesh
|
||||
\cp -r ../wingMotion2D_simpleFoam/constant/polyMesh constant/polyMesh
|
||||
\cp -r 0.org 0
|
||||
runApplication mapFields ../wingMotion2D_simpleFoam -sourceTime latestTime -consistent
|
||||
mv 0/pointDisplacement.unmapped 0/pointDisplacement
|
||||
|
|
Reference in a new issue