Commit Graph

1 Commits

Author SHA1 Message Date
7c684b925d functionObjects: New adjustTimeStepToChemistry and adjustTimeStepToCombustion functions
These functions adjusts the time step to match a reaction process. The
adjustTimeStepToChemistry fucntion adjusts based on the chemistry
model's stored chemical time step, and adjustTimeStepToCombustion
adjusts to match bulk reaction time scales. The latter requires
specification of a Courant-like number, to control approximately how
much of the reaction is permitted to be completed in a single
time-step.

These functions allow the solver to temporally resolve chemical changes,
in order to better couple the reactions with the transport, or in order
improve the time-accuracy of post-processing.

Example usage by dictionary specification:

    adjustTimeStepToChemistry1
    {
        type            adjustTimeStepToChemistry;
        libs            ("libchemistryModel.so");
    }

    adjustTimeStepToCombustion1
    {
        type            adjustTimeStepToCombustion;
        libs            ("libchemistryModel.so");
        maxCo           0.1;
    }

Example usage via the included packaged function:

    #includeFunc adjustTimeStepToChemistry

    #includeFunc adjustTimeStepToCombustion(maxCo=0.1)
2023-01-31 15:06:45 +00:00