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
cleanCase
\rm -rf 0/polyMesh
\rm -rf constant/polyMesh/sets constant/polyMesh/*Zones*
\rm -rf VTK case.foam history

View file

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

View file

@ -1,7 +1,7 @@
/*--------------------------------*- C++ -*----------------------------------*\
| ========= | |
| \\ / F ield | foam-extend: Open Source CFD |
| \\ / O peration | Version: 3.0 |
| \\ / O peration | Version: 3.0 |
| \\ / A nd | Web: http://www.extend-project.de |
| \\/ M anipulation | |
\*---------------------------------------------------------------------------*/

View file

@ -22,37 +22,38 @@ internalField uniform (0 0 0);
boundaryField
{
top
{
type timeVaryingFixedDisplacementZeroShear;
nonLinear totalLagrangian;
fileName "$FOAM_CASE/constant/timeVsDisp";
outOfBounds clamp;
value uniform ( 0 0.1 0 );
}
{
type timeVaryingFixedDisplacementZeroShear;
nonLinear totalLagrangian;
fileName "$FOAM_CASE/constant/timeVsDisp";
outOfBounds clamp;
value uniform ( 0 0 0 );
}
bottom
{
type symmetryPlane;
}
{
type symmetryPlane;
}
left
{
type symmetryPlane;
}
{
type symmetryPlane;
}
right
{
type solidTraction;
nonLinear totalLagrangian;
traction uniform (0 0 0);
pressure uniform 0;
value uniform (0 0 0);
}
{
type solidTraction;
nonLinear totalLagrangian;
traction uniform (0 0 0);
pressure uniform 0;
value uniform (0 0 0);
}
frontAndBack
{
type empty;
}
{
type empty;
}
}
// ************************************************************************* //

View file

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

View file

@ -1,7 +1,7 @@
/*--------------------------------*- C++ -*----------------------------------*\
| ========= | |
| \\ / F ield | foam-extend: Open Source CFD |
| \\ / O peration | Version: 3.0 |
| \\ / O peration | Version: 3.0 |
| \\ / A nd | Web: http://www.extend-project.de |
| \\/ M anipulation | |
\*---------------------------------------------------------------------------*/

View file

@ -1,4 +1,4 @@
(
( 0 (0 0 0) )
( 0 (0 0 0) )
( 64 (0 0.4 0))
)

View file

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

View file

@ -5,5 +5,6 @@
cleanTimeDirectories
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

View file

@ -1,7 +1,7 @@
/*--------------------------------*- C++ -*----------------------------------*\
| ========= | |
| \\ / F ield | foam-extend: Open Source CFD |
| \\ / O peration | Version: 3.0 |
| \\ / O peration | Version: 3.0 |
| \\ / A nd | Web: http://www.extend-project.de |
| \\/ M anipulation | |
\*---------------------------------------------------------------------------*/