diff --git a/tutorials/stressAnalysis/solidDisplacementFoam/plateHole/Allrun b/tutorials/stressAnalysis/solidDisplacementFoam/plateHole/Allrun index ab4890541a..c7b54bdc70 100755 --- a/tutorials/stressAnalysis/solidDisplacementFoam/plateHole/Allrun +++ b/tutorials/stressAnalysis/solidDisplacementFoam/plateHole/Allrun @@ -9,15 +9,6 @@ application=$(getApplication) runApplication blockMesh runApplication $application runApplication -s sigma postProcess -func "components(sigma)" -runApplication -s singleGraph postProcess -func " - graphUniform - ( - funcName=graph, - start=(0 0.5 0.25), - end=(0 2 0.25), - nPoints=100, - axis=y, - sigmaxx - )" +runApplication -s graphUniform postProcess -func graphUniform #------------------------------------------------------------------------------ diff --git a/tutorials/stressAnalysis/solidDisplacementFoam/plateHole/system/graphUniform b/tutorials/stressAnalysis/solidDisplacementFoam/plateHole/system/graphUniform new file mode 100644 index 0000000000..4645019630 --- /dev/null +++ b/tutorials/stressAnalysis/solidDisplacementFoam/plateHole/system/graphUniform @@ -0,0 +1,25 @@ +/*--------------------------------*- C++ -*----------------------------------*\ + ========= | + \\ / F ield | OpenFOAM: The Open Source CFD Toolbox + \\ / O peration | Website: https://openfoam.org + \\ / A nd | Version: dev + \\/ M anipulation | +------------------------------------------------------------------------------- +Description + Writes graph data for specified fields along a line, specified by start and + end points. A specified number of graph points are used, distributed + uniformly along the line. + +\*---------------------------------------------------------------------------*/ + +start (0 0.5 0.25); +end (0 2 0.25); +nPoints 100; + +fields (sigmaxx); + +axis y; + +#includeEtc "caseDicts/postProcessing/graphs/graphUniform.cfg" + +// ************************************************************************* //