combustion: Removed Qdot field from solvers

The Qdot field has been removed from all reacting solvers, in favour of
computing on the fly whenever it is needed. It can still be generated
for post-processing purposes by means of the Qdot function object. This
change reduces code duplication and storage for all modified solvers.

The Qdot function object has been applied to a number of tutorials in
order to retain the existing output.

A fix to Qdot has also been applied for multi-phase cases.
This commit is contained in:
Will Bainbridge
2019-01-24 11:44:09 +00:00
parent 9847205bfc
commit 4221e43dfc
33 changed files with 69 additions and 143 deletions

View File

@ -49,5 +49,10 @@ adjustTimeStep yes;
maxCo 0.4;
functions
{
#includeFunc Qdot
}
// ************************************************************************* //

View File

@ -45,4 +45,10 @@ timePrecision 6;
runTimeModifiable true;
functions
{
#includeFunc Qdot
}
// ************************************************************************* //

View File

@ -45,4 +45,10 @@ timePrecision 6;
runTimeModifiable true;
functions
{
#includeFunc Qdot
}
// ************************************************************************* //

View File

@ -49,5 +49,10 @@ adjustTimeStep yes;
maxCo 0.4;
functions
{
#includeFunc Qdot
}
// ************************************************************************* //

View File

@ -49,5 +49,10 @@ adjustTimeStep yes;
maxCo 0.4;
functions
{
#includeFunc Qdot
}
// ************************************************************************* //

View File

@ -49,5 +49,10 @@ maxCo 0.1;
runTimeModifiable yes;
functions
{
#includeFunc Qdot
}
// ************************************************************************* //

View File

@ -0,0 +1,17 @@
/*--------------------------------*- 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

@ -51,5 +51,10 @@ maxCo 0.5;
maxDeltaT 1;
functions
{
#includeFunc Qdot
}
// ************************************************************************* //