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:
@ -49,5 +49,10 @@ adjustTimeStep yes;
|
||||
|
||||
maxCo 0.4;
|
||||
|
||||
functions
|
||||
{
|
||||
#includeFunc Qdot
|
||||
}
|
||||
|
||||
|
||||
// ************************************************************************* //
|
||||
|
||||
@ -45,4 +45,10 @@ timePrecision 6;
|
||||
|
||||
runTimeModifiable true;
|
||||
|
||||
functions
|
||||
{
|
||||
#includeFunc Qdot
|
||||
}
|
||||
|
||||
|
||||
// ************************************************************************* //
|
||||
|
||||
@ -45,4 +45,10 @@ timePrecision 6;
|
||||
|
||||
runTimeModifiable true;
|
||||
|
||||
functions
|
||||
{
|
||||
#includeFunc Qdot
|
||||
}
|
||||
|
||||
|
||||
// ************************************************************************* //
|
||||
|
||||
@ -49,5 +49,10 @@ adjustTimeStep yes;
|
||||
|
||||
maxCo 0.4;
|
||||
|
||||
functions
|
||||
{
|
||||
#includeFunc Qdot
|
||||
}
|
||||
|
||||
|
||||
// ************************************************************************* //
|
||||
|
||||
@ -49,5 +49,10 @@ adjustTimeStep yes;
|
||||
|
||||
maxCo 0.4;
|
||||
|
||||
functions
|
||||
{
|
||||
#includeFunc Qdot
|
||||
}
|
||||
|
||||
|
||||
// ************************************************************************* //
|
||||
|
||||
@ -49,5 +49,10 @@ maxCo 0.1;
|
||||
|
||||
runTimeModifiable yes;
|
||||
|
||||
functions
|
||||
{
|
||||
#includeFunc Qdot
|
||||
}
|
||||
|
||||
|
||||
// ************************************************************************* //
|
||||
|
||||
@ -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;
|
||||
|
||||
// ************************************************************************* //
|
||||
@ -51,5 +51,10 @@ maxCo 0.5;
|
||||
|
||||
maxDeltaT 1;
|
||||
|
||||
functions
|
||||
{
|
||||
#includeFunc Qdot
|
||||
}
|
||||
|
||||
|
||||
// ************************************************************************* //
|
||||
|
||||
Reference in New Issue
Block a user