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

Implicit and explicit sources terms from sources mass computation. More...

Functions/Subroutines

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

Detailed Description

Implicit and explicit sources terms from sources mass computation.

Function/Subroutine Documentation

◆ catsma()

subroutine catsma ( 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 (ncelet)  pvara,
double precision, dimension(ncesmp)  smcelp,
double precision, dimension (ncesmp)  gamma,
double precision, dimension (ncelet)  tsexp,
double precision, dimension (ncelet)  tsimp,
double precision, dimension(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