programmer's documentation
 All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Functions/Subroutines
catsmv.f90 File Reference

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

Functions/Subroutines

subroutine catsmv (ncelet, ncel, ncesmp, iterns, isnexp, thetv, icetsm, itpsmp, volume, vela, smcelv, gamma, tsexpv, tsimpv, gavinj)
 

Detailed Description

Compute explicit and implicit source terms coming from mass source.

Function/Subroutine Documentation

subroutine catsmv ( integer  ncelet,
integer  ncel,
integer  ncesmp,
integer  iterns,
integer  isnexp,
double precision  thetv,
integer, dimension(ncesmp)  icetsm,
integer, dimension(ncesmp)  itpsmp,
double precision, dimension(ncelet)  volume,
double precision, dimension (3,ncelet)  vela,
double precision, dimension(ncesmp,3)  smcelv,
double precision, dimension (ncesmp)  gamma,
double precision, dimension(3,ncelet)  tsexpv,
double precision, dimension(3,3,ncelet)  tsimpv,
double precision, dimension(3,ncelet)  gavinj 
)
Parameters
[in]nceletnumber of extended (real + ghost) cells
[in]ncelnumber of cells
[in]ncesmpnumber of cells with mass source term
[in]iternsNavier-Stokes iteration number
[in]isnexpsources terms of treated phase extrapolation indicator
[in]thetvtheta scheme for the variable $ \varia^\theta = \theta \varia^{n+1} + (1-\theta)\varia^n $
[in]icetsmsource mass cells pointer
[in]itpsmpmass source type for the working variable (cf. ustsma)
[in]volumecells volume
[in]velavariable value at time step beginning
[in]smcelvvaleur de la variable associee a la source de masse NOT INTERLEAVED
[in]gammamass flow value
[in,out]tsexpvexplicit source term part linear in the variable
[in,out]tsimpvassociated value withr tsexp to be stored in the matrix
[out]gavinjexplicit source term part independant of the variable