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

Compute explicit and implicit source terms coming from mass source. More...

Functions/Subroutines

subroutine catsmt (ncelet, ncel, ncesmp, iterns, isnexp, icetsm, itpsmp, volume, pvara, smcelp, gamma, tsexp, tsimp, gapinj)
 

Detailed Description

Compute explicit and implicit source terms coming from mass source.

Function/Subroutine Documentation

◆ catsmt()

subroutine catsmt ( integer  ncelet,
integer  ncel,
integer  ncesmp,
integer  iterns,
integer  isnexp,
integer, dimension(ncesmp)  icetsm,
integer, dimension(ncesmp)  itpsmp,
double precision, dimension(ncelet)  volume,
double precision, dimension(6,ncelet)  pvara,
double precision, dimension(ncesmp,6)  smcelp,
double precision, dimension (ncesmp)  gamma,
double precision, dimension(6,ncelet)  tsexp,
double precision, dimension(6,6,ncelet)  tsimp,
double precision, dimension(6,ncelet)  gapinj 
)
Parameters
[in]nceletnumber of extended (real + ghost) cells
[in]ncelnumber of cells
[in]ncesmpnumber of cells with mass source term
[in]iternsiteration number on Navier-Stoke
[in]isnexpsources terms of treated phasis extrapolation indicator
[in]icetsmsource mass cells pointer
[in]itpsmpmass source type for the working variable (see Examples of data settings for mass source terms (cs_user_mass_source_terms.f90))
[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 independant of the variable