From 20c6d00c78b0d9f7881688940ef7eeffc2c6c651 Mon Sep 17 00:00:00 2001 From: Hrvoje Jasak Date: Mon, 20 Jan 2014 11:52:31 +0000 Subject: [PATCH] Tutorial update --- .../largeStrainCantileverBeam/Allclean | 1 + .../largeStrainCantileverBeam/Allrun | 1 + .../constant/polyMesh/boundary | 2 +- .../elasticNonLinTLSolidFoam/nonLinBlock/0/U | 47 +++++++++--------- .../nonLinBlock/Allclean | 1 + .../nonLinBlock/constant/polyMesh/boundary | 2 +- .../nonLinBlock/constant/timeVsDisp | 2 +- .../nonLinBlock/system/controlDict | 2 +- .../rotateSphereTL/Allclean | 3 +- .../rotateSphereTL/constant/polyMesh/boundary | 2 +- .../constant/polyMesh/zoneToPatchName.gz | Bin 337 -> 0 bytes 11 files changed, 34 insertions(+), 29 deletions(-) delete mode 100644 tutorials/solidMechanics/elasticNonLinTLSolidFoam/rotateSphereTL/constant/polyMesh/zoneToPatchName.gz diff --git a/tutorials/solidMechanics/elasticNonLinTLSolidFoam/largeStrainCantileverBeam/Allclean b/tutorials/solidMechanics/elasticNonLinTLSolidFoam/largeStrainCantileverBeam/Allclean index 5fb11ded5..a357dd88a 100755 --- a/tutorials/solidMechanics/elasticNonLinTLSolidFoam/largeStrainCantileverBeam/Allclean +++ b/tutorials/solidMechanics/elasticNonLinTLSolidFoam/largeStrainCantileverBeam/Allclean @@ -5,5 +5,6 @@ cleanTimeDirectories cleanCase +\rm -rf 0/polyMesh \rm -rf constant/polyMesh/sets constant/polyMesh/*Zones* \rm -rf VTK case.foam history \ No newline at end of file diff --git a/tutorials/solidMechanics/elasticNonLinTLSolidFoam/largeStrainCantileverBeam/Allrun b/tutorials/solidMechanics/elasticNonLinTLSolidFoam/largeStrainCantileverBeam/Allrun index 8051b956f..9f41551f4 100755 --- a/tutorials/solidMechanics/elasticNonLinTLSolidFoam/largeStrainCantileverBeam/Allrun +++ b/tutorials/solidMechanics/elasticNonLinTLSolidFoam/largeStrainCantileverBeam/Allrun @@ -7,3 +7,4 @@ application="elasticNonLinTLSolidFoam" runApplication blockMesh runApplication $application +runApplication deformedGeom 1 diff --git a/tutorials/solidMechanics/elasticNonLinTLSolidFoam/largeStrainCantileverBeam/constant/polyMesh/boundary b/tutorials/solidMechanics/elasticNonLinTLSolidFoam/largeStrainCantileverBeam/constant/polyMesh/boundary index 497a2fdaa..f25edb21b 100644 --- a/tutorials/solidMechanics/elasticNonLinTLSolidFoam/largeStrainCantileverBeam/constant/polyMesh/boundary +++ b/tutorials/solidMechanics/elasticNonLinTLSolidFoam/largeStrainCantileverBeam/constant/polyMesh/boundary @@ -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 | | \*---------------------------------------------------------------------------*/ diff --git a/tutorials/solidMechanics/elasticNonLinTLSolidFoam/nonLinBlock/0/U b/tutorials/solidMechanics/elasticNonLinTLSolidFoam/nonLinBlock/0/U index 95718284b..213db9b44 100644 --- a/tutorials/solidMechanics/elasticNonLinTLSolidFoam/nonLinBlock/0/U +++ b/tutorials/solidMechanics/elasticNonLinTLSolidFoam/nonLinBlock/0/U @@ -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; + } } + // ************************************************************************* // diff --git a/tutorials/solidMechanics/elasticNonLinTLSolidFoam/nonLinBlock/Allclean b/tutorials/solidMechanics/elasticNonLinTLSolidFoam/nonLinBlock/Allclean index 5fb11ded5..a357dd88a 100755 --- a/tutorials/solidMechanics/elasticNonLinTLSolidFoam/nonLinBlock/Allclean +++ b/tutorials/solidMechanics/elasticNonLinTLSolidFoam/nonLinBlock/Allclean @@ -5,5 +5,6 @@ cleanTimeDirectories cleanCase +\rm -rf 0/polyMesh \rm -rf constant/polyMesh/sets constant/polyMesh/*Zones* \rm -rf VTK case.foam history \ No newline at end of file diff --git a/tutorials/solidMechanics/elasticNonLinTLSolidFoam/nonLinBlock/constant/polyMesh/boundary b/tutorials/solidMechanics/elasticNonLinTLSolidFoam/nonLinBlock/constant/polyMesh/boundary index f96026d04..7c1acaf3c 100644 --- a/tutorials/solidMechanics/elasticNonLinTLSolidFoam/nonLinBlock/constant/polyMesh/boundary +++ b/tutorials/solidMechanics/elasticNonLinTLSolidFoam/nonLinBlock/constant/polyMesh/boundary @@ -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 | | \*---------------------------------------------------------------------------*/ diff --git a/tutorials/solidMechanics/elasticNonLinTLSolidFoam/nonLinBlock/constant/timeVsDisp b/tutorials/solidMechanics/elasticNonLinTLSolidFoam/nonLinBlock/constant/timeVsDisp index 58f75cf36..71063d730 100644 --- a/tutorials/solidMechanics/elasticNonLinTLSolidFoam/nonLinBlock/constant/timeVsDisp +++ b/tutorials/solidMechanics/elasticNonLinTLSolidFoam/nonLinBlock/constant/timeVsDisp @@ -1,4 +1,4 @@ ( - ( 0 (0 0 0) ) + ( 0 (0 0 0) ) ( 64 (0 0.4 0)) ) \ No newline at end of file diff --git a/tutorials/solidMechanics/elasticNonLinTLSolidFoam/nonLinBlock/system/controlDict b/tutorials/solidMechanics/elasticNonLinTLSolidFoam/nonLinBlock/system/controlDict index 8b423cde7..84449dfca 100644 --- a/tutorials/solidMechanics/elasticNonLinTLSolidFoam/nonLinBlock/system/controlDict +++ b/tutorials/solidMechanics/elasticNonLinTLSolidFoam/nonLinBlock/system/controlDict @@ -23,7 +23,7 @@ startTime 0; stopAt endTime; -endTime 50; +endTime 40; deltaT 1; diff --git a/tutorials/solidMechanics/elasticNonLinTLSolidFoam/rotateSphereTL/Allclean b/tutorials/solidMechanics/elasticNonLinTLSolidFoam/rotateSphereTL/Allclean index 5fb11ded5..effd9db7c 100755 --- a/tutorials/solidMechanics/elasticNonLinTLSolidFoam/rotateSphereTL/Allclean +++ b/tutorials/solidMechanics/elasticNonLinTLSolidFoam/rotateSphereTL/Allclean @@ -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 \ No newline at end of file diff --git a/tutorials/solidMechanics/elasticNonLinTLSolidFoam/rotateSphereTL/constant/polyMesh/boundary b/tutorials/solidMechanics/elasticNonLinTLSolidFoam/rotateSphereTL/constant/polyMesh/boundary index 627df0b92..7b4f792ac 100644 --- a/tutorials/solidMechanics/elasticNonLinTLSolidFoam/rotateSphereTL/constant/polyMesh/boundary +++ b/tutorials/solidMechanics/elasticNonLinTLSolidFoam/rotateSphereTL/constant/polyMesh/boundary @@ -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 | | \*---------------------------------------------------------------------------*/ diff --git a/tutorials/solidMechanics/elasticNonLinTLSolidFoam/rotateSphereTL/constant/polyMesh/zoneToPatchName.gz b/tutorials/solidMechanics/elasticNonLinTLSolidFoam/rotateSphereTL/constant/polyMesh/zoneToPatchName.gz deleted file mode 100644 index a5dc088ed3f3025c92c3fb2fae014c89384e200b..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 337 zcmV-X0j~ZZiwFoVgQ!vf1A1?6WmIoaVRU0?PGN0j0IiWtPs1<_hVS_m)=to=%>)wG3BxgEhklD1B0#|z3|r)ZZ0Uqth!SN{1MX}qHw;pFmKtZ>Xe80QciY;n%m j89QR7e$rIwKkv3Q3n7smv)0$4)cE=YI%uNMt^)u70HC6D