Merge branch 'master' of github.com:OpenFOAM/OpenFOAM-dev
This commit is contained in:
commit
ca588fb2c5
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 |
|
| \\ / A nd | Web: www.OpenFOAM.org |
|
||||||
| \\/ M anipulation | |
|
| \\/ M anipulation | |
|
||||||
\*---------------------------------------------------------------------------*/
|
\*---------------------------------------------------------------------------*/
|
||||||
FoamFile
|
|
||||||
|
singleGraph
|
||||||
{
|
{
|
||||||
version 2.0;
|
start (0 0.5 0.25);
|
||||||
format ascii;
|
end (0 2 0.25);
|
||||||
class dictionary;
|
fields (sigmaxx);
|
||||||
location "system";
|
|
||||||
object sampleDict;
|
|
||||||
}
|
|
||||||
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
|
|
||||||
|
|
||||||
interpolationScheme cellPoint;
|
#includeEtc "caseDicts/postProcessing/graphs/sampleDict.cfg"
|
||||||
|
|
||||||
setFormat raw;
|
setConfig
|
||||||
|
|
||||||
sets
|
|
||||||
(
|
|
||||||
leftPatch
|
|
||||||
{
|
{
|
||||||
type uniform;
|
|
||||||
axis y;
|
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