Functions/Subroutines | |
subroutine | pthrbm (nvar, ncesmp, nfbpcd, ncmast, dt, smacel, spcond, svcond) |
Update the density ![]() ![]() ![]() | |
subroutine | compute_td_pressure_perfect_gas (nvar, ncesmp, nfbpcd, ncmast, dt, smacel, spcond, svcond, new_pther) |
Compute the thermodynamic pressure for a perfect gas. More... | |
subroutine compute_td_pressure_perfect_gas | ( | integer, intent(in) | nvar, |
integer, intent(in) | ncesmp, | ||
integer, intent(in) | nfbpcd, | ||
integer, intent(in) | ncmast, | ||
double precision, dimension(ncelet), intent(in) | dt, | ||
double precision, dimension(ncesmp,nvar), intent(in) | smacel, | ||
double precision, dimension(nfbpcd,nvar), intent(in) | spcond, | ||
double precision, dimension(ncelet,nvar), intent(in) | svcond, | ||
double precision, intent(out) | new_pther | ||
) |
Compute the thermodynamic pressure for a perfect gas.
[in] | nvar | total number of variables |
[in] | ncesmp | number of cells with mass source term |
[in] | nfbpcd | number of faces with condensation source terms |
[in] | ncmast | number of cells with condensation source terms |
[in] | dt | time step (per cell) |
[in] | smacel | variable value associated to the mass source term (for ivar=ipr, smacel is the mass flux ![]() |
[in] | spcond | variable value associated to the condensation source term (for ivar=ipr, spcond is the flow rate ![]() |
[in] | svcond | variable value associated to the condensation source term (for ivar=ipr, svcond is the flow rate ![]() |
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 | ||
) |
Update the density with the
density with the state law and a thermodynamic pressure
estimated from the integral over the total fluid domain of the mass conservation equation.
[in] | nvar | total number of variables |
[in] | ncesmp | number of cells with mass source term |
[in] | nfbpcd | number of faces with condensation source terms |
[in] | ncmast | number of cells with condensation source terms |
[in] | dt | time step (per cell) |
[in] | smacel | variable value associated to the mass source term (for ivar=ipr, smacel is the mass flux ![]() |
[in] | spcond | variable value associated to the condensation source term (for ivar=ipr, spcond is the flow rate ![]() |
[in] | svcond | variable value associated to the condensation source term (for ivar=ipr, svcond is the flow rate ![]() |