foamPostProcess: Update all tutorials and documentation from postProcess to the new foamPostProcess
This commit is contained in:
@ -222,12 +222,12 @@ public:
|
||||
virtual bool executeAtStart() const;
|
||||
|
||||
//- Called at each ++ or += of the time-loop.
|
||||
// postProcess overrides the usual executeControl behaviour and
|
||||
// foamPostProcess overrides the usual executeControl behaviour and
|
||||
// forces execution (used in post-processing mode)
|
||||
virtual bool execute() = 0;
|
||||
|
||||
//- Called at each ++ or += of the time-loop.
|
||||
// postProcess overrides the usual writeControl behaviour and
|
||||
// foamPostProcess overrides the usual writeControl behaviour and
|
||||
// forces writing always (used in post-processing mode)
|
||||
virtual bool write() = 0;
|
||||
|
||||
|
||||
@ -263,7 +263,7 @@ public:
|
||||
bool start();
|
||||
|
||||
//- Called at each ++ or += of the time-loop.
|
||||
// postProcess overrides the usual executeControl behaviour and
|
||||
// foamPostProcess overrides the usual executeControl behaviour and
|
||||
// forces execution (used in post-processing mode)
|
||||
bool execute();
|
||||
|
||||
|
||||
@ -139,12 +139,12 @@ public:
|
||||
virtual bool executeAtStart() const;
|
||||
|
||||
//- Called at each ++ or += of the time-loop.
|
||||
// postProcess overrides the usual executeControl behaviour and
|
||||
// foamPostProcess overrides the usual executeControl behaviour and
|
||||
// forces execution (used in post-processing mode)
|
||||
virtual bool execute();
|
||||
|
||||
//- Called at each ++ or += of the time-loop.
|
||||
// postProcess overrides the usual writeControl behaviour and
|
||||
// foamPostProcess overrides the usual writeControl behaviour and
|
||||
// forces writing (used in post-processing mode)
|
||||
virtual bool write();
|
||||
|
||||
|
||||
@ -2,7 +2,7 @@
|
||||
========= |
|
||||
\\ / F ield | OpenFOAM: The Open Source CFD Toolbox
|
||||
\\ / O peration | Website: https://openfoam.org
|
||||
\\ / A nd | Copyright (C) 2017-2020 OpenFOAM Foundation
|
||||
\\ / A nd | Copyright (C) 2017-2022 OpenFOAM Foundation
|
||||
\\/ M anipulation |
|
||||
-------------------------------------------------------------------------------
|
||||
License
|
||||
@ -45,7 +45,7 @@ bool Foam::functionObjects::ddt::calc()
|
||||
if (functionObject::postProcess)
|
||||
{
|
||||
WarningInFunction
|
||||
<< "ddt is not supported with the postProcess utility"
|
||||
<< "ddt is not supported with the foamPostProcess utility"
|
||||
<< endl;
|
||||
|
||||
return false;
|
||||
|
||||
@ -2,7 +2,7 @@
|
||||
========= |
|
||||
\\ / F ield | OpenFOAM: The Open Source CFD Toolbox
|
||||
\\ / O peration | Website: https://openfoam.org
|
||||
\\ / A nd | Copyright (C) 2016-2021 OpenFOAM Foundation
|
||||
\\ / A nd | Copyright (C) 2016-2022 OpenFOAM Foundation
|
||||
\\/ M anipulation |
|
||||
-------------------------------------------------------------------------------
|
||||
License
|
||||
@ -142,7 +142,7 @@ public:
|
||||
virtual bool execute();
|
||||
|
||||
//- Calculate the histogram and write.
|
||||
// postProcess overrides the usual writeControl behaviour and
|
||||
// foamPostProcess overrides the usual writeControl behaviour and
|
||||
// forces writing always (used in post-processing mode)
|
||||
virtual bool write();
|
||||
|
||||
|
||||
@ -2,7 +2,7 @@
|
||||
========= |
|
||||
\\ / F ield | OpenFOAM: The Open Source CFD Toolbox
|
||||
\\ / O peration | Website: https://openfoam.org
|
||||
\\ / A nd | Copyright (C) 2018-2020 OpenFOAM Foundation
|
||||
\\ / A nd | Copyright (C) 2018-2022 OpenFOAM Foundation
|
||||
\\/ M anipulation |
|
||||
-------------------------------------------------------------------------------
|
||||
License
|
||||
@ -43,9 +43,9 @@ Description
|
||||
}
|
||||
\endverbatim
|
||||
|
||||
or using \c postProcess
|
||||
or using \c foamPostProcess
|
||||
\verbatim
|
||||
postProcess -func 'log(p, clip=1e-3, checkDimensions=no)'
|
||||
foamPostProcess -func 'log(p, clip=1e-3, checkDimensions=no)'
|
||||
\endverbatim
|
||||
|
||||
Usage
|
||||
|
||||
@ -2,7 +2,7 @@
|
||||
========= |
|
||||
\\ / F ield | OpenFOAM: The Open Source CFD Toolbox
|
||||
\\ / O peration | Website: https://openfoam.org
|
||||
\\ / A nd | Copyright (C) 2011-2021 OpenFOAM Foundation
|
||||
\\ / A nd | Copyright (C) 2011-2022 OpenFOAM Foundation
|
||||
\\/ M anipulation |
|
||||
-------------------------------------------------------------------------------
|
||||
License
|
||||
@ -142,12 +142,12 @@ public:
|
||||
virtual wordList fields() const;
|
||||
|
||||
//- Called at each ++ or += of the time-loop.
|
||||
// postProcess overrides the usual executeControl behaviour and
|
||||
// foamPostProcess overrides the usual executeControl behaviour and
|
||||
// forces execution (used in post-processing mode)
|
||||
virtual bool execute();
|
||||
|
||||
//- Called at each ++ or += of the time-loop.
|
||||
// postProcess overrides the usual writeControl behaviour and
|
||||
// foamPostProcess overrides the usual writeControl behaviour and
|
||||
// forces writing always (used in post-processing mode)
|
||||
virtual bool write();
|
||||
|
||||
|
||||
@ -10,6 +10,6 @@ application=$(getApplication)
|
||||
runApplication blockMesh
|
||||
runApplication boxTurb
|
||||
runApplication $application
|
||||
runApplication -s enstrophy postProcess -func enstrophy
|
||||
runApplication -s enstrophy foamPostProcess -func enstrophy
|
||||
|
||||
#------------------------------------------------------------------------------
|
||||
|
||||
@ -8,6 +8,6 @@ application=$(getApplication)
|
||||
|
||||
runApplication blockMesh
|
||||
runApplication $application -withFunctionObjects -writePhi -writep
|
||||
runApplication postProcess -func streamFunction
|
||||
runApplication foamPostProcess -func streamFunction
|
||||
|
||||
#------------------------------------------------------------------------------
|
||||
|
||||
@ -8,6 +8,6 @@ application=$(getApplication)
|
||||
|
||||
runApplication blockMesh -dict $FOAM_TUTORIALS/resources/blockMesh/pitzDaily
|
||||
runApplication $application -writePhi -writep
|
||||
runApplication postProcess -func streamFunction
|
||||
runApplication foamPostProcess -func streamFunction
|
||||
|
||||
#------------------------------------------------------------------------------
|
||||
|
||||
@ -7,6 +7,6 @@ cd ${0%/*} || exit 1 # Run from this directory
|
||||
runApplication blockMesh
|
||||
runApplication setFields
|
||||
runApplication $(getApplication)
|
||||
runApplication -s sample postProcess -func sample
|
||||
runApplication -s sample foamPostProcess -func sample
|
||||
|
||||
#------------------------------------------------------------------------------
|
||||
|
||||
@ -9,6 +9,6 @@ application=$(getApplication)
|
||||
|
||||
runApplication blockMesh
|
||||
runApplication $application
|
||||
runApplication -s sample postProcess -func sample
|
||||
runApplication -s sample foamPostProcess -func sample
|
||||
|
||||
#------------------------------------------------------------------------------
|
||||
|
||||
@ -5,5 +5,5 @@ cd ${0%/*} || exit 1
|
||||
. $WM_PROJECT_DIR/bin/tools/RunFunctions
|
||||
|
||||
runApplication blockMesh
|
||||
runApplication postProcess -func generateAlphas
|
||||
runApplication foamPostProcess -func generateAlphas
|
||||
runApplication $(getApplication)
|
||||
|
||||
@ -8,9 +8,9 @@ runApplication blockMesh
|
||||
runApplication simpleFoam
|
||||
runApplication -s age simpleFoam -postProcess -latestTime \
|
||||
-func "age(diffusion=true)"
|
||||
runApplication -s probes1 postProcess -func probes1 -latestTime
|
||||
runApplication -s probes2 postProcess -func probes2 -latestTime
|
||||
runApplication -s patchFlowRate postProcess -latestTime \
|
||||
runApplication -s probes1 foamPostProcess -func probes1 -latestTime
|
||||
runApplication -s probes2 foamPostProcess -func probes2 -latestTime
|
||||
runApplication -s patchFlowRate foamPostProcess -latestTime \
|
||||
-func "patchFlowRate(funcName=inletFlowRate,patch=inlet)" -latestTime
|
||||
|
||||
(cd validation && ./Allrun $*)
|
||||
|
||||
@ -5,5 +5,5 @@ cd ${0%/*} || exit 1
|
||||
. $WM_PROJECT_DIR/bin/tools/RunFunctions
|
||||
|
||||
runApplication blockMesh
|
||||
runApplication postProcess -func generateAlphas
|
||||
runApplication foamPostProcess -func generateAlphas
|
||||
runApplication $(getApplication)
|
||||
|
||||
@ -9,7 +9,7 @@ application=$(getApplication)
|
||||
|
||||
runApplication blockMesh
|
||||
runApplication $application
|
||||
runApplication -s sample postProcess -latestTime -func sample
|
||||
runApplication -s sample foamPostProcess -latestTime -func sample
|
||||
|
||||
runApplication validation/createGraphs
|
||||
|
||||
|
||||
@ -9,6 +9,6 @@ application=$(getApplication)
|
||||
runApplication blockMesh
|
||||
runApplication setFields
|
||||
runApplication $application
|
||||
runApplication -s sample postProcess -func sample
|
||||
runApplication -s sample foamPostProcess -func sample
|
||||
|
||||
#------------------------------------------------------------------------------
|
||||
|
||||
@ -14,7 +14,7 @@ runParallel $(getApplication)
|
||||
runApplication reconstructPar -latestTime
|
||||
|
||||
# Post-process
|
||||
runApplication postProcess -func "
|
||||
runApplication foamPostProcess -func "
|
||||
graphLayerAverage
|
||||
(
|
||||
funcName=graphCrossSection,
|
||||
|
||||
@ -20,7 +20,7 @@ then
|
||||
fi
|
||||
|
||||
runApplication reconstructPar -latestTime
|
||||
runApplication postProcess -latestTime -func "
|
||||
runApplication foamPostProcess -latestTime -func "
|
||||
graphCell
|
||||
(
|
||||
funcName=graph,
|
||||
|
||||
@ -20,7 +20,7 @@ then
|
||||
fi
|
||||
|
||||
runApplication reconstructPar -latestTime
|
||||
runApplication postProcess -latestTime -func "
|
||||
runApplication foamPostProcess -latestTime -func "
|
||||
graphCell
|
||||
(
|
||||
funcName=graph,
|
||||
|
||||
@ -21,7 +21,7 @@ then
|
||||
fi
|
||||
|
||||
runApplication reconstructPar -latestTime
|
||||
runApplication postProcess -latestTime -func "
|
||||
runApplication foamPostProcess -latestTime -func "
|
||||
graphCell
|
||||
(
|
||||
funcName=graph,
|
||||
|
||||
@ -21,7 +21,7 @@ then
|
||||
fi
|
||||
|
||||
runApplication reconstructPar -latestTime
|
||||
runApplication postProcess -latestTime -func "
|
||||
runApplication foamPostProcess -latestTime -func "
|
||||
graphCell
|
||||
(
|
||||
funcName=graph,
|
||||
|
||||
@ -8,7 +8,7 @@ application=$(getApplication)
|
||||
|
||||
runApplication blockMesh
|
||||
runApplication $application
|
||||
runApplication -s sigma postProcess -func "components(sigma)"
|
||||
runApplication -s graphUniform postProcess -func graphUniform
|
||||
runApplication -s sigma foamPostProcess -func "components(sigma)"
|
||||
runApplication -s graphUniform foamPostProcess -func graphUniform
|
||||
|
||||
#------------------------------------------------------------------------------
|
||||
|
||||
Reference in New Issue
Block a user