Complex Chemistry
In Simcenter STAR-CCM+, detailed Complex Chemistry is solved using a stiff CVODE ODE (Ordinary Differential Equation) solver to integrate the chemical source terms. To consider the turbulence effects on combustion, you can also select either the Laminar Flame Concept (LFC) model or the Eddy Dissipation Concept (EDC) model.
The Complex Chemistry model is suitable for introducing detailed chemistry information to the CFD simulation. This model can solve thousands of reactions among hundreds of species—hence the term complex chemistry. Since an ODE solver is used to integrate the chemical source terms, the Complex Chemistry model can handle stiff reaction systems (reaction systems with a wide range of reaction time scales).
The model applied to integrate the chemical source term in each computational cell is the Constant Pressure Reactor.
Reaction System
The Complex Chemistry model requires detailed reaction mechanism information about species, reactions, thermodynamics, and transport properties. These details are supplied by complex chemistry definition files that are imported in the Chemkin format using the Complex Chemistry model.
Source Term Definition
The general species transport equation is formulated as follows:
where is the diffusion flux component and source term is the rate of production of species .
The operator splitting algorithm takes advantage of the different time scales involved for the chemical reactions and the flow field. The time integration of the chemical state (species mass fractions and temperature ) is performed in two steps:
- At the beginning of each
time-step, the chemical state is integrated in each CFD cell from state
to
, accounting only for the chemical source
terms:(3411)where is the mass fraction at the end of a time integration with a stiff ODE solver, as calculated in Eqn. (3411). is the reaction rate from Eqn. (3358), is the mass fraction vector, and is temperature.
The system of Eqn. (3411) is solved using the stiff CVODE solver.
- The species transport
equation is solved with an explicit reaction source term
for the
'th species given as: (3412)where is the density, is the mean reaction rate multiplier, denotes the current mass fraction in the cell. The time integration is specified for unsteady simulations, and for steady simulations is taken as the residence time as defined in Eqn. (3328).
For unsteady simulations, it is essential to maintain a low Courant number to ensure that any errors in the operator splitting scheme are small.
Both the Laminar Flame Concept (LFC) and Eddy Dissipation Concept (EDC) consider the turbulence effects on combustion implicitly through the increased turbulent diffusivity that is provided by the turbulence model.
In the case of premixed flames, this increased diffusivity results in a flame thickness that is larger than the laminar flame thickness, and a turbulent flame propagation speed that is faster than the laminar flame speed. The flame thickness and speed is controlled through the turbulent Schmidt and Prandtl numbers (set these equal to each other).
In addition to this implicit turbulence effect through the turbulent diffusivity, the EDC model also considers the "turbulence-chemistry interaction" in the species chemical sources. The mean species source term in the species transport equation for both LFC and EDC is modeled as Eqn. (3412).
- For the LFC model, the mean reaction rate multiplier in Eqn. (3412) is 1, and the time scale, in Eqn. (3412) is the residence time in the cell, which is calculated as Eqn. (3328).
-
where is the fine structure length constant with a default value of 2.1377, is the kinematic viscosity, is the turbulent time-scale, and is the turbulent length scale.
where is the turbulent time-scale which is calculated as a constant with the default 0.4082, times the Kolmogorov turbulent time-scale, defined as .
The equations Eqn. (3411) and Eqn. (3412) represent the average rate of change of the species in the cell over the time-step . The LFC time-step is approximately the residence time in the cell Eqn. (3328). The EDC time-step in Eqn. (3414) is close to the Kolmogorov time-scale (as described in the section, Turbulence Transfer between Phases), which is a model for the time-scale of the smallest turbulent eddy. Since the Kolmogorov time is typically less than the residence time, and the EDC mean reaction rate multiplier in Eqn. (3413) is less than 1, EDC typically models the effect of turbulence as a reduction in the mean reaction rate compared to LFC.
- The Relax to Chemical Equilibrium
method assumes that the chemical composition relaxes to the local
equilibrium composition at a time scale that is determined by flow and
chemistry time scales. The equilibrium composition can optionally be
computed using ISAT.
The chemistry source term is computed based on the specified fuel species:
(3415)where is the mass fraction for species , is the local instantaneous thermodynamic equilibrium mass fraction for species , and is a characteristic time scale:
- When using
models other than the Turbulent Flame speed Closure (TFC)
model:(3416)
where:
-
, where
is the turbulent dissipation
rate,
is the turbulent kinetic
energy, and
is a turbulent rate constant
with a default value of 4.
For laminar flow, , where is the grid size and is the local velocity.
- , where is a model constant with a default value of 2, is an index for a user-specified list of fuel species, is taking the minimum of all the user-specified fuel species, is the fuel species mass fraction in a CFD cell, and is the net reaction rate of species .
-
, where
is the turbulent dissipation
rate,
is the turbulent kinetic
energy, and
is a turbulent rate constant
with a default value of 4.
- When using the TFC model:(3417)where is the timescale constant and is the Kolmogorov turbulent time-scale, defined as .
- When using
models other than the Turbulent Flame speed Closure (TFC)
model:
Solution Procedure
In Simcenter STAR-CCM+, the reacting species transport equations are solved using the CVODE solver with the operator splitting algorithm to find an average reaction rate to remove stiffness. When running with the Steady State model, an artificial chemistry time step is introduced which is based on convection and diffusion fluxes in that cell.
The time step for integration of the chemistry in a steady state simulation for each cell is determined by:
which is a function of the cell volume , density , and central coefficient which results from discretization and linearization. Eqn. (3418) is approximately the residence time Eqn. (3328) in the cell.
The Complex Chemistry model uses either the CVODE solver to integrate the stiff chemistry over a time-step.
A numerical Jacobian describes a Jacobian that is derived using the finite differences method for each species in the system. Since the chemical source term, , is calculated repeatedly as the CVODE solver iterates, the cost of solving the ODE is expensive.
An analytical Jacobian is calculated with the chain rule to obtain an analytical expression for .
Since this process is computationally expensive, ISAT, Clustering, or Dynamic Mechanism Reduction are used to reduce the expense and reach a converged solution faster.
- ISAT
- In-Situ
Adaptive Tabulation (ISAT) dynamically tabulates functions that are
computationally expensive to evaluate, and interpolates many times after
tabulation [766]. The ISAT method approximates the
solution of the ODE (Eqn. (3411)) for a given initial condition
through:
- Thermodynamic variable (temperature or total enthalpy).
- Composition variable (mass fraction or molar number).
- Possibly pressure and time step (depending on the type of the simulation).
- Clustering
- Clustering reduces the computational expense of complex chemistry calculations by averaging together cells with similar chemical compositions, integrating the reduced ODE set, and then interpolating the clusters back to the cells.
- Dynamic Mechanism Reduction
- Dynamic Mechanism Reduction allows the CVODE solver in Simcenter STAR-CCM+ to solve for a reduced number of species in a full chemical mechanism. The Directed Relation Graph (DRG) algorithm [755] considers the reaction rates of all species in a cell at each time-step or iteration and removes species from the mechanism if they contribute insignificantly (based on the error tolerance) to production/destruction of any other species over the time-step.