9.1
general documentation
cs_combustion_slfm.h File Reference
#include "base/cs_defs.h"
#include "base/cs_field.h"
#include "pprt/cs_physical_model.h"
+ Include dependency graph for cs_combustion_slfm.h:

Go to the source code of this file.

Functions

void cs_combustion_slfm_fields_init (void)
 Initialize specific fields for slfm gas combustion model. More...
 
void cs_combustion_slfm_physical_properties (int iterns)
 Compute physical properties for steady laminar flamelet model. More...
 
void cs_combustion_scalar_dissipation_rate (const cs_field_t *f, const cs_real_t *cpro_rho, const cs_real_t *fp2m, cs_real_t *cpro_totki)
 Compute scalar dissipation rate for steady laminar flamelet model. More...
 
void cs_combustion_reconstruct_variance (const cs_real_t *fm, const cs_real_t *fsqm, cs_real_t *recvr)
 Reconstruct scalar variance in case of transporting 2nd order moment. More...
 
void cs_combustion_slfm_max_mid_min_progvar (const cs_real_t zm, cs_real_t *cmax, cs_real_t *cmid, cs_real_t *cmin)
 Retrieve maximal, middle and minimal values of progress variable respectively on stable/unstable/mixing branches with a given mixture fraction. More...
 
void cs_combustion_slfm_source_terms (cs_field_t *f_sc, 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...
 

Function Documentation

◆ cs_combustion_reconstruct_variance()

void cs_combustion_reconstruct_variance ( const cs_real_t fm,
const cs_real_t fsqm,
cs_real_t recvr 
)

Reconstruct scalar variance in case of transporting 2nd order moment.

Parameters
[in]fmpointer to the mixture fraction
[in]fsqmpointer to the 2nd order moment of mixture fraction
[in,out]recvrpointer to the reconstructed variance

◆ cs_combustion_scalar_dissipation_rate()

void cs_combustion_scalar_dissipation_rate ( const cs_field_t f,
const cs_real_t cpro_rho,
const cs_real_t fp2m,
cs_real_t cpro_totki 
)

Compute scalar dissipation rate for steady laminar flamelet model.

Parameters
[in]fpointer to the scalar field used to compute the dissipation rate
[in]cpro_rhopointer to the density
[in]fp2mthe variance associated to the scalar field
[in,out]cpro_totkipointer to the scalar dissipation rate

◆ cs_combustion_slfm_fields_init()

void cs_combustion_slfm_fields_init ( void  )

Initialize specific fields for slfm gas combustion model.

◆ cs_combustion_slfm_max_mid_min_progvar()

void cs_combustion_slfm_max_mid_min_progvar ( const cs_real_t  zm,
cs_real_t cmax,
cs_real_t cmid,
cs_real_t cmin 
)

Retrieve maximal, middle and minimal values of progress variable respectively on stable/unstable/mixing branches with a given mixture fraction.

  • Neither heat loss nor variance is considered
Parameters
[in]zmmixture fraction value
[in]cmaxmaximal value of progress variable at given zm
[in]cmidmiddle value of progress variable at given zm
[in]cminminimal value of progress variable at given zm

◆ cs_combustion_slfm_physical_properties()

void cs_combustion_slfm_physical_properties ( int  iterns)

Compute physical properties for steady laminar flamelet model.

Parameters
[in]iternsNavier-Stokes sub-iterations indicator:
  • if strictly negative, indicate that this function is called outside Navier-Stokes loop
  • if positive, Navier-Stokes iteration number.

◆ cs_combustion_slfm_source_terms()

void cs_combustion_slfm_source_terms ( cs_field_t f_sc,
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.

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 $

  • $ smbrs $ in $ kg_a.s^{-1} $ (ex: for velocity: $ kg.m.s^{-2} $, for temperature: $ kg.C.s^{-1} $, for enthalpy: $ J.s^{-1} $)
  • $ rovsdt $ en $ kg.s^{-1} $
Parameters
[in]f_scpointer to scalar field
[in,out]smbrsexplicit right hand side
[in,out]rovsdtimplicit terms