Tutorial update

This commit is contained in:
Hrvoje Jasak 2014-01-20 11:52:31 +00:00
parent 19f0ef5bf0
commit 20c6d00c78
11 changed files with 34 additions and 29 deletions

View file

@ -5,5 +5,6 @@
cleanTimeDirectories cleanTimeDirectories
cleanCase cleanCase
\rm -rf 0/polyMesh
\rm -rf constant/polyMesh/sets constant/polyMesh/*Zones* \rm -rf constant/polyMesh/sets constant/polyMesh/*Zones*
\rm -rf VTK case.foam history \rm -rf VTK case.foam history

View file

@ -7,3 +7,4 @@ application="elasticNonLinTLSolidFoam"
runApplication blockMesh runApplication blockMesh
runApplication $application runApplication $application
runApplication deformedGeom 1

View file

@ -27,7 +27,7 @@ boundaryField
nonLinear totalLagrangian; nonLinear totalLagrangian;
fileName "$FOAM_CASE/constant/timeVsDisp"; fileName "$FOAM_CASE/constant/timeVsDisp";
outOfBounds clamp; outOfBounds clamp;
value uniform ( 0 0.1 0 ); value uniform ( 0 0 0 );
} }
bottom bottom
@ -55,4 +55,5 @@ boundaryField
} }
} }
// ************************************************************************* // // ************************************************************************* //

View file

@ -5,5 +5,6 @@
cleanTimeDirectories cleanTimeDirectories
cleanCase cleanCase
\rm -rf 0/polyMesh
\rm -rf constant/polyMesh/sets constant/polyMesh/*Zones* \rm -rf constant/polyMesh/sets constant/polyMesh/*Zones*
\rm -rf VTK case.foam history \rm -rf VTK case.foam history

View file

@ -23,7 +23,7 @@ startTime 0;
stopAt endTime; stopAt endTime;
endTime 50; endTime 40;
deltaT 1; deltaT 1;

View file

@ -5,5 +5,6 @@
cleanTimeDirectories cleanTimeDirectories
cleanCase cleanCase
\rm -rf constant/polyMesh/sets constant/polyMesh/*Zones* \rm -rf 0/polyMesh
\rm -rf constant/polyMesh/sets constant/polyMesh/*Zones* constant/polyMesh/zone*
\rm -rf VTK case.foam history \rm -rf VTK case.foam history