Update plateHole case to be consistent with User Guide tutorial
This commit is contained in:
parent
43b3fa2ce3
commit
02886159cb
9
tutorials/stressAnalysis/solidDisplacementFoam/plateHole/Allclean
Executable file
9
tutorials/stressAnalysis/solidDisplacementFoam/plateHole/Allclean
Executable file
@ -0,0 +1,9 @@
|
||||
#!/bin/sh
|
||||
cd ${0%/*} || exit 1 # Run from this directory
|
||||
|
||||
# Source tutorial clean functions
|
||||
. $WM_PROJECT_DIR/bin/tools/CleanFunctions
|
||||
|
||||
cleanCase
|
||||
|
||||
#------------------------------------------------------------------------------
|
14
tutorials/stressAnalysis/solidDisplacementFoam/plateHole/Allrun
Executable file
14
tutorials/stressAnalysis/solidDisplacementFoam/plateHole/Allrun
Executable file
@ -0,0 +1,14 @@
|
||||
#!/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
|
||||
|
||||
#------------------------------------------------------------------------------
|
@ -1,36 +0,0 @@
|
||||
/*--------------------------------*- 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
|
||||
|
||||
singleGraph
|
||||
{
|
||||
version 2.0;
|
||||
format ascii;
|
||||
class dictionary;
|
||||
location "system";
|
||||
object sampleDict;
|
||||
}
|
||||
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
|
||||
start (0 0.5 0.25);
|
||||
end (0 2 0.25);
|
||||
fields (sigmaxx);
|
||||
|
||||
interpolationScheme cellPoint;
|
||||
#includeEtc "caseDicts/postProcessing/graphs/sampleDict.cfg"
|
||||
|
||||
setFormat raw;
|
||||
|
||||
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"
|
||||
}
|
||||
|
||||
// ************************************************************************* //
|
Loading…
Reference in New Issue
Block a user