My Project
programmer's documentation
Functions/Subroutines
cs_coal_scast.f90 File Reference

Specific physic routine: pulverized coal flame Souce terms have to be precised for a scalar PP on a step of time. More...

Functions/Subroutines

subroutine cs_coal_scast (iscal, smbrs, rovsdt)
 

Detailed Description

Specific physic routine: pulverized coal flame Souce terms have to be precised for a scalar PP on a step of time.

Warning
the treatement of source terms is different ----— from that of ustssc.f

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:

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

Function/Subroutine Documentation

◆ cs_coal_scast()

subroutine cs_coal_scast ( integer  iscal,
double precision, dimension(ncelet)  smbrs,
double precision, dimension(ncelet)  rovsdt 
)
Parameters
[in]iscalscalar number
[in,out]smbrsexplicit second member
[in,out]rovsdtimplicit diagonal part