8.0
general documentation
cs_mass_source_terms.h File Reference
#include "cs_base.h"
+ Include dependency graph for cs_mass_source_terms.h:

Go to the source code of this file.

Functions

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

Function Documentation

◆ 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]iternsiteration number on Navier-Stoke
[in]dimassociated field dimension
[in]ncesmpnumber of cells with mass source term
[in]icetsmsource mass cells pointer (1-based numbering)
[in]itpsmpmass source type for the working variable
[in]volumecells volume
[in]pvaravariable value at time step beginning
[in]smcelpvalue of the variable associated with mass source
[in]gammaflow mass value
[in,out]tsexpexplicit source term part linear in the variable
[in,out]tsimpassociated value with tsexp to be stored in the matrix
[out]gapinjexplicit source term part independent of the variable