Skip to content
Snippets Groups Projects
Commit 02886159 authored by Chris Greenshields's avatar Chris Greenshields
Browse files

Update plateHole case to be consistent with User Guide tutorial

parent 43b3fa2c
No related branches found
No related tags found
No related merge requests found
#!/bin/sh
cd ${0%/*} || exit 1 # Run from this directory
# Source tutorial clean functions
. $WM_PROJECT_DIR/bin/tools/CleanFunctions
cleanCase
#------------------------------------------------------------------------------
#!/bin/sh
cd ${0%/*} || exit 1 # Run from this directory
# Source tutorial run functions
. $WM_PROJECT_DIR/bin/tools/RunFunctions
application=`getApplication`
runApplication blockMesh
runApplication $application
runApplication -s sigma postProcess -func "components(sigma)"
runApplication postProcess -func singleGraph
#------------------------------------------------------------------------------
/*--------------------------------*- C++ -*----------------------------------*\
| ========= | |
| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox |
| \\ / O peration | Version: dev |
| \\ / A nd | Web: www.OpenFOAM.org |
| \\/ M anipulation | |
\*---------------------------------------------------------------------------*/
FoamFile
{
version 2.0;
format ascii;
class dictionary;
location "system";
object sampleSurfaceDict;
}
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
interpolationScheme cellPoint;
surfaceFormat vtk;
surfaces
(
constantPlane
{
type plane;
name plate;
basePoint (0 0 0.25);
normalVector (0 0 1);
}
);
fields ( sigmaEq );
// ************************************************************************* //
......@@ -5,33 +5,22 @@
| \\ / A nd | Web: www.OpenFOAM.org |
| \\/ M anipulation | |
\*---------------------------------------------------------------------------*/
FoamFile
{
version 2.0;
format ascii;
class dictionary;
location "system";
object sampleDict;
}
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
interpolationScheme cellPoint;
singleGraph
{
start (0 0.5 0.25);
end (0 2 0.25);
fields (sigmaxx);
setFormat raw;
#includeEtc "caseDicts/postProcessing/graphs/sampleDict.cfg"
sets
(
leftPatch
setConfig
{
type uniform;
axis y;
start (0 0.5 0.25);
end (0 2 0.25);
nPoints 100;
}
);
fields (sigmaEq);
// Must be last entry
#includeEtc "caseDicts/postProcessing/graphs/graph.cfg"
}
// ************************************************************************* //
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment