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