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.
59 lines
1.1 KiB
C++
59 lines
1.1 KiB
C++
/*--------------------------------*- C++ -*----------------------------------*\
|
|
========= |
|
|
\\ / F ield | OpenFOAM: The Open Source CFD Toolbox
|
|
\\ / O peration | Website: https://openfoam.org
|
|
\\ / A nd | Version: dev
|
|
\\/ M anipulation |
|
|
\*---------------------------------------------------------------------------*/
|
|
FoamFile
|
|
{
|
|
version 2.0;
|
|
format ascii;
|
|
class dictionary;
|
|
location "system";
|
|
object controlDict;
|
|
}
|
|
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
|
|
|
|
application sprayFoam;
|
|
|
|
startFrom startTime;
|
|
|
|
startTime 0;
|
|
|
|
stopAt endTime;
|
|
|
|
endTime 0.01;
|
|
|
|
deltaT 2.5e-06;
|
|
|
|
writeControl adjustableRunTime;
|
|
|
|
writeInterval 5e-05;
|
|
|
|
purgeWrite 0;
|
|
|
|
writeFormat binary;
|
|
|
|
writePrecision 6;
|
|
|
|
writeCompression off;
|
|
|
|
timeFormat general;
|
|
|
|
timePrecision 6;
|
|
|
|
adjustTimeStep yes;
|
|
|
|
maxCo 0.1;
|
|
|
|
runTimeModifiable yes;
|
|
|
|
functions
|
|
{
|
|
#includeFunc Qdot
|
|
}
|
|
|
|
|
|
// ************************************************************************* //
|