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

Go to the source code of this file.

Functions

void cs_coal_source_terms_scalar (int fld_id, cs_real_t smbrs[], cs_real_t rovsdt[])
 Compute scalar source terms for pulverized coal flame. More...
 
void cs_coal_fp2st (int iscal, cs_real_t *smbrs, cs_real_t *rovsdt)
 
void cs_coal_noxst (const int indpdf[], const cs_real_t pdfm1[], const cs_real_t pdfm2[], const cs_real_t doxyd[], const cs_real_t dfuel[], const cs_real_t hrec[], const cs_real_t f3m[], const cs_real_t f4m[], const cs_real_t f5m[], const cs_real_t f6m[], const cs_real_t f7m[], const cs_real_t f8m[], const cs_real_t f9m[], const cs_real_t fs3no[], const cs_real_t fs4no[], const cs_real_t yfs4no[], const cs_real_t enthox[])
 Compute NOx source terms for pulverized coal flame. More...
 

Function Documentation

◆ cs_coal_fp2st()

void cs_coal_fp2st ( int  iscal,
cs_real_t smbrs,
cs_real_t rovsdt 
)

◆ cs_coal_noxst()

void cs_coal_noxst ( const int  indpdf[],
const cs_real_t  pdfm1[],
const cs_real_t  pdfm2[],
const cs_real_t  doxyd[],
const cs_real_t  dfuel[],
const cs_real_t  hrec[],
const cs_real_t  f3m[],
const cs_real_t  f4m[],
const cs_real_t  f5m[],
const cs_real_t  f6m[],
const cs_real_t  f7m[],
const cs_real_t  f8m[],
const cs_real_t  f9m[],
const cs_real_t  fs3no[],
const cs_real_t  fs4no[],
const cs_real_t  yfs4no[],
const cs_real_t  enthox[] 
)

Compute NOx source terms for pulverized coal flame.

K1 exp(-E1/RT) (conversion HCN to N2) K2 exp(-E2/RT) (conversion HCN to NO) K3 exp(-E3/RT) (themal NO)

Parameters
[in]indpdfuse pdf
[in]pdfm1lower bound of pdf
[in]pdfm2upper bound of pdf
[in]doxydamplitude of Dirac peak in 1
[in]dfuelamplitude of Dirac peak in 0
[in]hrecheight of pdf rectangle
[in]f1mmean of tracer 1 mvl [chx1m+co]
[in]f2mmean of tracer 2 mvl [chx2m+co]
[in]f3mmean of tracer 3 (oxydant 1)
[in]f4mmean of tracer 4 (oxydant 2)
[in]f5mmean of tracer 5 (oxydant 3)
[in]f6mmean of tracer 6 (humidity)
[in]f7mmean of tracer 7 (C + O2)
[in]f8mmean of tracer 8 (C + CO2)
[in]f9mmean of tracer 9 (C + H2O)

◆ cs_coal_source_terms_scalar()

void cs_coal_source_terms_scalar ( int  fld_id,
cs_real_t  smbrs[],
cs_real_t  rovsdt[] 
)

Compute scalar source terms for pulverized coal flame.

Warning
the treatement is different from that of cs_user_source_terms.

We solve:

\[ rovsdt D(var) = smbrs \]

rovsdt and smbrs already contain eventual user source terms. So they have to be incremented and not erased.

For stability reasons, only positive terms can be added in rovsdt. There is no contraint for smbrs.

In the case of a source term in $ cexp + cimp var $, it has to be written:

  • $ smbrs  = smbrs  + cexp + cimp var $
  • $ rovsdt = rovsdt + \max(-cimp,0) $

Here are $ rovsdt $ and $ smbrs $ (they contain $ \rho volume$) smbrs in kg variable/s: i.e.: - for velocity $ kg . m . s^{-2} $

  • for temperature $ kg . [degres] . s^{-1} $
  • for enthalpy $ J . s^{-1} $
  • rovsdt $ kg . s^{-1} $
Parameters
[in]fld_idscalar field id
[in,out]smbrsexplicit second member
[in,out]rovsdtimplicit diagonal part