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

Explicit sources terms from sources condensation computation. More...

Functions/Subroutines

subroutine condensation_source_terms (ncelet, ncel, iscal, nfbpcd, ifbpcd, itypcd, ncmast, ltmast, itypst, spcondp, gam_s, svcondp, gam_ms, fluxv_ms, pvara, tsexp, tsimp)
 

Detailed Description

Explicit sources terms from sources condensation computation.

Function/Subroutine Documentation

◆ condensation_source_terms()

subroutine condensation_source_terms ( integer  ncelet,
integer  ncel,
integer  iscal,
integer  nfbpcd,
integer, dimension(nfbpcd)  ifbpcd,
integer, dimension(nfbpcd)  itypcd,
integer  ncmast,
integer, dimension(ncelet)  ltmast,
integer, dimension(ncelet)  itypst,
double precision, dimension(nfbpcd)  spcondp,
double precision, dimension(nfbpcd)  gam_s,
double precision, dimension(ncelet)  svcondp,
double precision, dimension(ncelet)  gam_ms,
double precision, dimension(ncelet)  fluxv_ms,
double precision, dimension (ncelet)  pvara,
double precision, dimension(ncelet)  tsexp,
double precision, dimension(ncelet)  tsimp 
)
Parameters
[in]nceletnumber of extended (real + ghost) cells
[in]ncelnumber of cells
[in]iscalscalar number
[in]nfbpcdnumber of faces with condensation source terms
[in]ifbpcdindex of faces with condensation source terms
[in]itypcdtype of condensation source terms for each ivar
[in]ncmastnumber of cells with metal mass condensation
[in]ltmastindex of cells with metal mass condensation
[in]itypsttype of metal mass condensation source terms
[in]spcondpvalue of the variable associated to surface condensation source term
[in]gam_ssurface condensation flow rate value
[in]svcondpvalue of the variable associated to metal mass condensation source term
[in]gam_msmetal mass condensation flow rate value
[in]fluxv_msmetal mass condensation heat transfer flux
[in]pvaravariable value at time step beginning
[in,out]tsexpexplicit source term part linear in the variable
[in,out]tsimpassociated value with tsexp to be stored in the matrix