From dfeb45d1917b4dd16e74cf72e60ba72f1448f3ca Mon Sep 17 00:00:00 2001 From: Henry Date: Thu, 1 Jan 2015 18:11:22 +0000 Subject: [PATCH] Updated for OpenFOAM-2.3.x Resolves bug-report http://www.openfoam.org/mantisbt/view.php?id=858 --- .../solidDisplacementFoam/plateHole/system/sampleDict | 4 ++-- .../plateHole/system/sampleSurfaceDict | 7 ++++--- 2 files changed, 6 insertions(+), 5 deletions(-) diff --git a/tutorials/stressAnalysis/solidDisplacementFoam/plateHole/system/sampleDict b/tutorials/stressAnalysis/solidDisplacementFoam/plateHole/system/sampleDict index b85178a601..81ecdeac4b 100644 --- a/tutorials/stressAnalysis/solidDisplacementFoam/plateHole/system/sampleDict +++ b/tutorials/stressAnalysis/solidDisplacementFoam/plateHole/system/sampleDict @@ -1,7 +1,7 @@ /*--------------------------------*- C++ -*----------------------------------*\ | ========= | | | \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | -| \\ / O peration | Version: dev | +| \\ / O peration | Version: 2.3.0 | | \\ / A nd | Web: www.OpenFOAM.org | | \\/ M anipulation | | \*---------------------------------------------------------------------------*/ @@ -31,7 +31,7 @@ sets } ); -fields ( sigmaxx ); +fields ( sigmaEq ); // ************************************************************************* // diff --git a/tutorials/stressAnalysis/solidDisplacementFoam/plateHole/system/sampleSurfaceDict b/tutorials/stressAnalysis/solidDisplacementFoam/plateHole/system/sampleSurfaceDict index addd313943..289186bb94 100644 --- a/tutorials/stressAnalysis/solidDisplacementFoam/plateHole/system/sampleSurfaceDict +++ b/tutorials/stressAnalysis/solidDisplacementFoam/plateHole/system/sampleSurfaceDict @@ -1,7 +1,7 @@ /*--------------------------------*- C++ -*----------------------------------*\ | ========= | | | \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | -| \\ / O peration | Version: dev | +| \\ / O peration | Version: 2.3.0 | | \\ / A nd | Web: www.OpenFOAM.org | | \\/ M anipulation | | \*---------------------------------------------------------------------------*/ @@ -17,19 +17,20 @@ FoamFile interpolationScheme cellPoint; -surfaceFormat dx; +surfaceFormat vtk; surfaces ( constantPlane { + type plane; name plate; basePoint ( 0 0 0.25 ); normalVector ( 0 0 1 ); } ); -fields ( sigmaxx ); +fields ( sigmaEq ); // ************************************************************************* //