Go to the source code of this file.
Functions | |
void | cs_soot_production (int f_id, cs_real_t smbrs[], cs_real_t rovsdt[]) |
Specific physic subroutine : soot production model. More... | |
Specific physic subroutine : soot production model.
This subroutine defines the source terms for the soot mass fraction and the precursor number for soot model. 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] | f_id | scalar field id |
[out] | smbrs | explicit right hand side |
[out] | rovsdt | implicit terms |
Specific physic subroutine : soot production model.
Define the source terms for the soot mass fraction and the precursor number for soot model. 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] | f_id | scalar field id |
[out] | smbrs | explicit right hand side |
[out] | rovsdt | implicit terms |