Go to the source code of this file.
|
| void | cs_mass_source_terms (int iterns, int dim, cs_lnum_t ncesmp, const cs_lnum_t icetsm[], int itpsmp[], const cs_real_t volume[], const cs_real_t pvara[], const cs_real_t smcelp[], const cs_real_t gamma[], cs_real_t st_exp[], cs_real_t st_imp[], cs_real_t gapinj[]) |
| | Implicit and explicit mass source terms computation. More...
|
| |
◆ cs_mass_source_terms()
| void cs_mass_source_terms |
( |
int |
iterns, |
|
|
int |
dim, |
|
|
cs_lnum_t |
ncesmp, |
|
|
const cs_lnum_t |
icetsm[], |
|
|
int |
itpsmp[], |
|
|
const cs_real_t |
volume[], |
|
|
const cs_real_t |
pvara[], |
|
|
const cs_real_t |
smcelp[], |
|
|
const cs_real_t |
gamma[], |
|
|
cs_real_t |
st_exp[], |
|
|
cs_real_t |
st_imp[], |
|
|
cs_real_t |
gapinj[] |
|
) |
| |
Implicit and explicit mass source terms computation.
- Parameters
-
| [in] | iterns | iteration number on Navier-Stoke |
| [in] | dim | associated field dimension |
| [in] | ncesmp | number of cells with mass source term |
| [in] | icetsm | source mass cells pointer (1-based numbering) |
| [in] | itpsmp | mass source type for the working variable |
| [in] | volume | cells volume |
| [in] | pvara | variable value at time step beginning |
| [in] | smcelp | value of the variable associated with mass source |
| [in] | gamma | flow mass value |
| [in,out] | tsexp | explicit source term part linear in the variable |
| [in,out] | tsimp | associated value with tsexp to be stored in the matrix |
| [out] | gapinj | explicit source term part independent of the variable |