functionObjectList: Moved the functions entry from controlDict into a functions file
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.
This commit is contained in:
19
etc/caseDicts/functions/control/adjustTimeStepToChemistry
Normal file
19
etc/caseDicts/functions/control/adjustTimeStepToChemistry
Normal file
@ -0,0 +1,19 @@
|
||||
/*--------------------------------*- 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 chemistry model's bulk chemical time scales
|
||||
|
||||
\*---------------------------------------------------------------------------*/
|
||||
|
||||
type adjustTimeStepToChemistry;
|
||||
libs ("libchemistryModel.so");
|
||||
|
||||
//phase <phaseName>; // Optional name of the phase to which the
|
||||
// chemistry model applies
|
||||
|
||||
// ************************************************************************* //
|
||||
Reference in New Issue
Block a user