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

Update the density $ \rho^{n+1}$ with the $ \rho^{n-\frac{1}{2}} $ density with the state law and a thermodynamic pressure $ p_{ther}^{n+1} $ estimated from the integral over the total fluid domain of the mass conservation equation. More...

Functions/Subroutines

subroutine pthrbm (nvar, ncesmp, nfbpcd, ncmast, dt, smacel, spcond, svcond)
 

Detailed Description

Update the density $ \rho^{n+1}$ with the $ \rho^{n-\frac{1}{2}} $ density with the state law and a thermodynamic pressure $ p_{ther}^{n+1} $ estimated from the integral over the total fluid domain of the mass conservation equation.

Function/Subroutine Documentation

◆ pthrbm()

subroutine pthrbm ( integer  nvar,
integer  ncesmp,
integer  nfbpcd,
integer  ncmast,
double precision, dimension(ncelet)  dt,
double precision, dimension(ncesmp,nvar smacel,
double precision, dimension(nfbpcd,nvar spcond,
double precision, dimension(ncelet,nvar svcond 
)
Parameters
[in]nvartotal number of variables
[in]ncesmpnumber of cells with mass source term
[in]nfbpcdnumber of faces with condensation source terms
[in]ncmastnumber of cells with condensation source terms
[in]dttime step (per cell)
[in]smacelvariable value associated to the mass source term (for ivar=ipr, smacel is the mass flux $ \Gamma^n $)
[in]spcondvariable value associated to the condensation source term (for ivar=ipr, spcond is the flow rate $ \Gamma_{s, cond}^n $)
[in]svcondvariable value associated to the condensation source term (for ivar=ipr, svcond is the flow rate $ \Gamma_{v, cond}^n $)