for consistency with fvModels and fvConstraints, to simplify code and case maintenance and to avoid the potentially complex functions entries being unnecessarily parsed by utilities for which functionObject evaluation is disabled. The functions entry in controlDict is still read if the functions file is not present for backward-compatibility, but it is advisable to migrate cases to use the new functions file.
29 lines
1.3 KiB
C++
29 lines
1.3 KiB
C++
/*--------------------------------*- C++ -*----------------------------------*\
|
|
========= |
|
|
\\ / F ield | OpenFOAM: The Open Source CFD Toolbox
|
|
\\ / O peration | Website: https://openfoam.org
|
|
\\ / A nd | Version: dev
|
|
\\/ M anipulation |
|
|
-------------------------------------------------------------------------------
|
|
Description
|
|
Adjusts the time step to a combustion model's bulk reaction time scales
|
|
|
|
\*---------------------------------------------------------------------------*/
|
|
|
|
type adjustTimeStepToCombustion;
|
|
libs ("libchemistryModel.so");
|
|
|
|
//phase <phaseName>; // Optional name of the phase to which the
|
|
// combustion model applies
|
|
|
|
maxCo <maxCo>; // Maximum combustion "Courant" number. The
|
|
// maximum fraction of the total reaction
|
|
// time-scale that should be evolved in a single
|
|
// time-step.
|
|
|
|
//extrapolate no; // Extrapolate reductions in time-step to try and
|
|
// better catch the "onset" of reaction. Can lead
|
|
// to time-step oscillation.
|
|
|
|
// ************************************************************************* //
|