plateHole: use a file-based graphUniform function object
This commit is contained in:
@ -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
|
||||
|
||||
#------------------------------------------------------------------------------
|
||||
|
||||
@ -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"
|
||||
|
||||
// ************************************************************************* //
|
||||
Reference in New Issue
Block a user