My Project
programmer's documentation
|
Mass source term user subroutine. More...
Functions/Subroutines | |
subroutine | cs_user_mass_source_terms (nvar, nscal, ncepdp, ncesmp, iappel, icepdc, icetsm, itypsm, izctsm, dt, ckupdc, smacel) |
Arguments. More... | |
Mass source term user subroutine.
See Examples of data settings for mass source terms (cs_user_mass_source_terms.f90) for examples.
subroutine cs_user_mass_source_terms | ( | integer | nvar, |
integer | nscal, | ||
integer | ncepdp, | ||
integer | ncesmp, | ||
integer | iappel, | ||
integer, dimension(*) | icepdc, | ||
integer, dimension(ncesmp) | icetsm, | ||
integer, dimension(ncesmp,nvar) | itypsm, | ||
integer, dimension(ncel) | izctsm, | ||
double precision, dimension(ncelet) | dt, | ||
double precision, dimension(6,ncepdp) | ckupdc, | ||
double precision, dimension(ncesmp,nvar) | smacel | ||
) |
Arguments.
[in] | nvar | total number of variables |
[in] | nscal | total number of scalars |
[in] | ncepdp | number of cells with head loss terms |
[in] | ncesmp | number of cells with mass source terms |
[in] | iappel | indicates which at which stage the routine is is called |
[in] | icepdc | index number of cells with head loss terms (usable only for iappel > 1) |
[in,out] | icetsm | index number of cells with mass source terms |
[in,out] | itypsm | type of mass source term for each variable (see uttsma.f90) |
[in] | izctsm | cells zone for mass source terms definition |
[in] | dt | time step (per cell) |
[in] | ckupdc | head loss coefficient |
[in,out] | smacel | value associated to each variable in the mass source terms or mass rate |