From 2c1a3a6b6bc2451e63d2158effc7a17673c2e67a Mon Sep 17 00:00:00 2001 From: Henrik Rusche Date: Sun, 5 Jun 2016 20:49:43 +0200 Subject: [PATCH] BUGFIX: Fixes for tutorials --- tutorials/incompressible/pimpleDyMFoam/wingMotion/Allrun | 2 +- .../newStressedFoam/plateHole/system/fvSchemes | 1 + .../HronTurekFsi/fluid/system/fvSchemes | 2 ++ 3 files changed, 4 insertions(+), 1 deletion(-) diff --git a/tutorials/incompressible/pimpleDyMFoam/wingMotion/Allrun b/tutorials/incompressible/pimpleDyMFoam/wingMotion/Allrun index 49182bed1..992625767 100755 --- a/tutorials/incompressible/pimpleDyMFoam/wingMotion/Allrun +++ b/tutorials/incompressible/pimpleDyMFoam/wingMotion/Allrun @@ -19,7 +19,7 @@ runApplication simpleFoam # Copy the mesh from the steady state case and map the results to a # mesh motion case, then solve transient. cd ../wingMotion2D_pimpleDyMFoam -\cp -r ../wingMotion2D_simpleFoam/constant/polyMesh/* constant/polyMesh +\cp -r ../wingMotion2D_simpleFoam/constant/polyMesh constant \cp -r 0.org 0 runApplication mapFields ../wingMotion2D_simpleFoam -sourceTime latestTime -consistent mv 0/pointDisplacement.unmapped 0/pointDisplacement diff --git a/tutorials/solidMechanics/deprecatedTutorials/newStressedFoam/plateHole/system/fvSchemes b/tutorials/solidMechanics/deprecatedTutorials/newStressedFoam/plateHole/system/fvSchemes index dad692888..de0b3aa8d 100644 --- a/tutorials/solidMechanics/deprecatedTutorials/newStressedFoam/plateHole/system/fvSchemes +++ b/tutorials/solidMechanics/deprecatedTutorials/newStressedFoam/plateHole/system/fvSchemes @@ -49,6 +49,7 @@ interpolationSchemes default none; interpolate(sigma) linear; interpolate(muLambda) harmonic; + interpolate(grad(U)) linear; } // ************************************************************************* // diff --git a/tutorials/solidMechanics/icoFsiElasticNonLinULSolidFoam/HronTurekFsi/fluid/system/fvSchemes b/tutorials/solidMechanics/icoFsiElasticNonLinULSolidFoam/HronTurekFsi/fluid/system/fvSchemes index bc7d2b1cc..a6112dab4 100644 --- a/tutorials/solidMechanics/icoFsiElasticNonLinULSolidFoam/HronTurekFsi/fluid/system/fvSchemes +++ b/tutorials/solidMechanics/icoFsiElasticNonLinULSolidFoam/HronTurekFsi/fluid/system/fvSchemes @@ -51,6 +51,8 @@ interpolationSchemes default none; interpolate(y) linear; interpolate(U) skewCorrected linear; + interpolate(grad(U)) linear; + interpolate(grad(p)) linear; } snGradSchemes