functionObjectList: Removed warning for optional entries

Simplified the residuals functionObject call in the tutorials
This commit is contained in:
Henry Weller
2019-09-01 21:16:37 +01:00
parent 6e9801e7e8
commit dbe9fb3b76
9 changed files with 7 additions and 96 deletions

View File

@ -47,7 +47,7 @@ runTimeModifiable true;
functions
{
#includeFunc residuals
#includeFunc residuals(p_rgh)
#includeFunc streamlines
}

View File

@ -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);
// ************************************************************************* //

View File

@ -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)
}
// ************************************************************************* //

View File

@ -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);
}
// ************************************************************************* //

View File

@ -46,7 +46,7 @@ runTimeModifiable true;
functions
{
#includeFunc residuals
#includeFunc residuals(p, sigma)
#includeFunc singleGraph
#includeFunc probes
}

View File

@ -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);
// ************************************************************************* //

View File

@ -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;
// ************************************************************************* //

View File

@ -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)
}