Tutorial update
This commit is contained in:
parent
10f4bb9c94
commit
e3e8b6b052
4 changed files with 11 additions and 7 deletions
|
@ -4,6 +4,7 @@
|
|||
. $WM_PROJECT_DIR/bin/tools/CleanFunctions
|
||||
|
||||
cleanCase
|
||||
rm -rf VTK
|
||||
rm -f constant/polyMesh/boundary
|
||||
rm -rf constant/polyMesh/sets
|
||||
\rm -rf VTK
|
||||
\rm -rf 0/polyMesh
|
||||
\rm -f constant/polyMesh/boundary
|
||||
\rm -rf constant/polyMesh/sets
|
|
@ -5,7 +5,9 @@
|
|||
application="icoDyMFoam"
|
||||
|
||||
runApplication blockMesh
|
||||
cp boundary constant/polyMesh
|
||||
runApplication setSet -batch setBatch
|
||||
\cp -f boundary constant/polyMesh/boundary
|
||||
runApplication regionCellSets
|
||||
runApplication setSet -batch setBatch.batch
|
||||
\rm -f constant/polyMesh/sets/cellRegion*
|
||||
runApplication setsToZones -noFlipMap
|
||||
runApplication $application
|
||||
|
|
|
@ -1,3 +1,4 @@
|
|||
faceSet insideZone new patchToFace insideSlider
|
||||
faceSet outsideZone new patchToFace outsideSlider
|
||||
cellSet movingCells new cellToCell cellRegion0
|
||||
quit
|
|
@ -14,7 +14,7 @@ FoamFile
|
|||
}
|
||||
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
|
||||
|
||||
application icoTopoFoam;
|
||||
application icoDyMFoam;
|
||||
|
||||
startFrom startTime;
|
||||
|
||||
|
@ -34,7 +34,7 @@ cycleWrite 0;
|
|||
|
||||
writeFormat ascii;
|
||||
|
||||
writePrecision 6;
|
||||
writePrecision 10;
|
||||
|
||||
writeCompression uncompressed;
|
||||
|
||||
|
|
Reference in a new issue