Skip to content
Snippets Groups Projects
Commit ca588fb2 authored by Henry Weller's avatar Henry Weller
Browse files

Merge branch 'master' of github.com:OpenFOAM/OpenFOAM-dev

parents df904757 02886159
Branches
Tags
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% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment