8.2
general documentation
cs_steady_laminar_flamelet_source_terms.h File Reference
#include "cs_defs.h"
+ Include dependency graph for cs_steady_laminar_flamelet_source_terms.h:

Go to the source code of this file.

Functions

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...
 

Function Documentation

◆ cs_steady_laminar_flamelet_source_terms()

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.

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]fld_idfield id
[in,out]smbrsexplicit right hand side
[in,out]rovsdtimplicit terms