Specific physic routine: STE/VTE and progress variable equations. More...
#include "cs_defs.h"
#include <stdarg.h>
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <assert.h>
#include <math.h>
#include "bft_printf.h"
#include "cs_boundary_conditions.h"
#include "cs_field_default.h"
#include "cs_field_pointer.h"
#include "cs_field_operator.h"
#include "cs_mesh.h"
#include "cs_mesh_quantities.h"
#include "cs_parameters.h"
#include "cs_physical_model.h"
#include "cs_turbulence_model.h"
#include "cs_steady_laminar_flamelet_source_terms.h"
Functions | |
void | cs_f_combustion_reconstruct_variance (int iprev) |
void | cs_steady_laminar_flamelet_source_terms (int fld_id, cs_real_t smbrs[], cs_real_t rovsdt[]) |
Defines the source terms for the soot mass fraction and the precursor number for soot model of Moss et al for one time step. More... | |
Specific physic routine: STE/VTE and progress variable equations.
Specific physic routine: STE/VTE and progress variable equations.
void cs_f_combustion_reconstruct_variance | ( | int | iprev | ) |
Defines the source terms for the soot mass fraction and the precursor number for soot model of Moss et al for one time step.
The equations read: \( rovsdt \delta a = smbrs \)
\( rovsdt \) et \( smbrs \) could already contain source term and don't have to be erased but incremented.
For stability sake, only positive terms should be add in \( rovsdt \). There is no constrain for \( smbrs \).
For a source term written \( S_{exp} + S_{imp} a \), source terms are: \( smbrs = smbrs + S_{exp} + S_{imp} a \) \( rovsdt = rovsdt + \max(-S_{imp},0) \)
Here are set \( rovsdt \) and \( smbrs \) containning \( \rho \Omega \)
[in] | fld_id | field id |
[in,out] | smbrs | explicit right hand side |
[in,out] | rovsdt | implicit terms |