Tutorial update
This commit is contained in:
parent
19f0ef5bf0
commit
20c6d00c78
11 changed files with 34 additions and 29 deletions
|
@ -5,5 +5,6 @@
|
|||
|
||||
cleanTimeDirectories
|
||||
cleanCase
|
||||
\rm -rf 0/polyMesh
|
||||
\rm -rf constant/polyMesh/sets constant/polyMesh/*Zones*
|
||||
\rm -rf VTK case.foam history
|
|
@ -7,3 +7,4 @@ application="elasticNonLinTLSolidFoam"
|
|||
|
||||
runApplication blockMesh
|
||||
runApplication $application
|
||||
runApplication deformedGeom 1
|
||||
|
|
|
@ -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 | |
|
||||
\*---------------------------------------------------------------------------*/
|
||||
|
|
|
@ -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;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
// ************************************************************************* //
|
||||
|
|
|
@ -5,5 +5,6 @@
|
|||
|
||||
cleanTimeDirectories
|
||||
cleanCase
|
||||
\rm -rf 0/polyMesh
|
||||
\rm -rf constant/polyMesh/sets constant/polyMesh/*Zones*
|
||||
\rm -rf VTK case.foam history
|
|
@ -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 | |
|
||||
\*---------------------------------------------------------------------------*/
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
(
|
||||
( 0 (0 0 0) )
|
||||
( 0 (0 0 0) )
|
||||
( 64 (0 0.4 0))
|
||||
)
|
|
@ -23,7 +23,7 @@ startTime 0;
|
|||
|
||||
stopAt endTime;
|
||||
|
||||
endTime 50;
|
||||
endTime 40;
|
||||
|
||||
deltaT 1;
|
||||
|
||||
|
|
|
@ -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
|
|
@ -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 | |
|
||||
\*---------------------------------------------------------------------------*/
|
||||
|
|
Binary file not shown.
Reference in a new issue