functionObjectList: Removed warning for optional entries
Simplified the residuals functionObject call in the tutorials
This commit is contained in:
@ -47,7 +47,7 @@ runTimeModifiable true;
|
||||
|
||||
functions
|
||||
{
|
||||
#includeFunc residuals
|
||||
#includeFunc residuals(p_rgh)
|
||||
#includeFunc streamlines
|
||||
}
|
||||
|
||||
|
||||
@ -1,19 +0,0 @@
|
||||
/*--------------------------------*- C++ -*----------------------------------*\
|
||||
========= |
|
||||
\\ / F ield | OpenFOAM: The Open Source CFD Toolbox
|
||||
\\ / O peration | Website: https://openfoam.org
|
||||
\\ / A nd | Version: dev
|
||||
\\/ M anipulation |
|
||||
-------------------------------------------------------------------------------
|
||||
Description
|
||||
For specified fields, writes out the initial residuals for the first
|
||||
solution of each time step; for non-scalar fields (e.g. vectors), writes
|
||||
the largest of the residuals for each component (e.g. x, y, z).
|
||||
|
||||
\*---------------------------------------------------------------------------*/
|
||||
|
||||
#includeEtc "caseDicts/postProcessing/numerical/residuals.cfg"
|
||||
|
||||
fields (p_rgh);
|
||||
|
||||
// ************************************************************************* //
|
||||
@ -49,7 +49,9 @@ adjustTimeStep off;
|
||||
|
||||
functions
|
||||
{
|
||||
#include "residuals"
|
||||
#includeFunc residuals(region = shell, p_rgh, U, h)
|
||||
#includeFunc residuals(region = tube, p_rgh, U, h)
|
||||
#includeFunc residuals(region = solid, h)
|
||||
}
|
||||
|
||||
// ************************************************************************* //
|
||||
|
||||
@ -1,30 +0,0 @@
|
||||
/*--------------------------------*- C++ -*----------------------------------*\
|
||||
========= |
|
||||
\\ / F ield | OpenFOAM: The Open Source CFD Toolbox
|
||||
\\ / O peration | Website: https://openfoam.org
|
||||
\\ / A nd | Version: dev
|
||||
\\/ M anipulation |
|
||||
\*---------------------------------------------------------------------------*/
|
||||
|
||||
shellResiduals
|
||||
{
|
||||
#includeEtc "caseDicts/postProcessing/numerical/residuals.cfg"
|
||||
region shell;
|
||||
fields (p_rgh U h);
|
||||
}
|
||||
|
||||
tubeResiduals
|
||||
{
|
||||
#includeEtc "caseDicts/postProcessing/numerical/residuals.cfg"
|
||||
region tube;
|
||||
fields (p_rgh U h);
|
||||
}
|
||||
|
||||
solidResiduals
|
||||
{
|
||||
#includeEtc "caseDicts/postProcessing/numerical/residuals.cfg"
|
||||
region solid;
|
||||
fields (h);
|
||||
}
|
||||
|
||||
// ************************************************************************* //
|
||||
@ -46,7 +46,7 @@ runTimeModifiable true;
|
||||
|
||||
functions
|
||||
{
|
||||
#includeFunc residuals
|
||||
#includeFunc residuals(p, sigma)
|
||||
#includeFunc singleGraph
|
||||
#includeFunc probes
|
||||
}
|
||||
|
||||
@ -1,19 +0,0 @@
|
||||
/*--------------------------------*- C++ -*----------------------------------*\
|
||||
========= |
|
||||
\\ / F ield | OpenFOAM: The Open Source CFD Toolbox
|
||||
\\ / O peration | Website: https://openfoam.org
|
||||
\\ / A nd | Version: dev
|
||||
\\/ M anipulation |
|
||||
-------------------------------------------------------------------------------
|
||||
Description
|
||||
For specified fields, writes out the initial residuals for the first
|
||||
solution of each time step; for non-scalar fields (e.g. vectors), writes
|
||||
the largest of the residuals for each component (e.g. x, y, z).
|
||||
|
||||
\*---------------------------------------------------------------------------*/
|
||||
|
||||
#includeEtc "caseDicts/postProcessing/numerical/residuals.cfg"
|
||||
|
||||
fields (p sigma);
|
||||
|
||||
// ************************************************************************* //
|
||||
@ -1,17 +0,0 @@
|
||||
/*--------------------------------*- C++ -*----------------------------------*\
|
||||
========= |
|
||||
\\ / F ield | OpenFOAM: The Open Source CFD Toolbox
|
||||
\\ / O peration | Website: https://openfoam.org
|
||||
\\ / A nd | Version: dev
|
||||
\\/ M anipulation |
|
||||
-------------------------------------------------------------------------------
|
||||
Description
|
||||
Calculates the heat release rate Qdot, outputting the data as a Qdot field.
|
||||
|
||||
\*---------------------------------------------------------------------------*/
|
||||
|
||||
#includeEtc "caseDicts/postProcessing/combustion/Qdot.cfg"
|
||||
|
||||
phase gas;
|
||||
|
||||
// ************************************************************************* //
|
||||
@ -29,7 +29,7 @@ deltaT 0.001;
|
||||
|
||||
writeControl runTime;
|
||||
|
||||
writeInterval 1;
|
||||
writeInterval 0.001;
|
||||
|
||||
purgeWrite 0;
|
||||
|
||||
@ -53,7 +53,7 @@ maxDeltaT 1;
|
||||
|
||||
functions
|
||||
{
|
||||
#includeFunc Qdot
|
||||
#includeFunc Qdot(phase = gas)
|
||||
}
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user