![]() |
Code_Saturne
CFD tool
|
This function adds the explicit part of the convection/diffusion terms of a transport equation of a vector field .
More...
Functions/Subroutines | |
subroutine | bilsc4 (nvar, nscal, idtvar, ivar, iconvp, idiffp, nswrgp, imligp, ircflp, ischcp, isstpp, inc, imrgra, ivisep, ippu, ippv, ippw, iwarnp, blencp, epsrgp, climgp, extrap, relaxp, thetap, pvar, pvara, coefav, coefbv, cofafv, cofbfv, flumas, flumab, viscf, viscb, secvif, secvib, smbr) |
This function adds the explicit part of the convection/diffusion terms of a transport equation of a vector field .
More precisely, the right hand side is updated as follows:
Remark: if ivisep = 1, then we also take , where
is the secondary viscosity, i.e. usually
.
Warning: has already been initialized before calling bilsc!
Options:
subroutine bilsc4 | ( | integer | nvar, |
integer | nscal, | ||
integer | idtvar, | ||
integer | ivar, | ||
integer | iconvp, | ||
integer | idiffp, | ||
integer | nswrgp, | ||
integer | imligp, | ||
integer | ircflp, | ||
integer | ischcp, | ||
integer | isstpp, | ||
integer | inc, | ||
integer | imrgra, | ||
integer | ivisep, | ||
integer | ippu, | ||
integer | ippv, | ||
integer | ippw, | ||
integer | iwarnp, | ||
double precision | blencp, | ||
double precision | epsrgp, | ||
double precision | climgp, | ||
double precision | extrap, | ||
double precision | relaxp, | ||
double precision | thetap, | ||
double precision, dimension (3 ,ncelet) | pvar, | ||
double precision, dimension (3 ,ncelet) | pvara, | ||
double precision, dimension(3 ,nfabor) | coefav, | ||
double precision, dimension(3,3,nfabor) | coefbv, | ||
double precision, dimension(3 ,nfabor) | cofafv, | ||
double precision, dimension(3,3,nfabor) | cofbfv, | ||
double precision, dimension(nfac) | flumas, | ||
double precision, dimension(nfabor) | flumab, | ||
double precision, dimension (nfac) | viscf, | ||
double precision, dimension (nfabor) | viscb, | ||
double precision, dimension(nfac) | secvif, | ||
double precision, dimension(nfabor) | secvib, | ||
double precision, dimension(3,ncelet) | smbr | ||
) |
[in] | nvar | total number of variables |
[in] | nscal | total number of scalars |
[in] | idtvar | indicator of the temporal scheme |
[in] | ivar | index of the current variable |
[in] | iconvp | indicator
|
[in] | idiffp | indicator
|
[in] | nswrgp | number of reconstruction sweeps for the gradients |
[in] | imligp | clipping gradient method
|
[in] | ircflp | indicator
|
[in] | ischcp | indicator
|
[in] | isstpp | indicator
|
[in] | inc | indicator
|
[in] | imrgra | indicator
|
[in] | ivisep | indicator to take ![]()
|
[in] | ipp* | index of the variable for post-processing |
[in] | iwarnp | verbosity |
[in] | blencp | fraction of upwinding |
[in] | epsrgp | relative precision for the gradient reconstruction |
[in] | climgp | clipping coeffecient for the computation of the gradient |
[in] | extrap | coefficient for extrapolation of the gradient |
[in] | relaxp | coefficient of relaxation |
[in] | thetap | weightening coefficient for the theta-schema,
|
[in] | pvar | vitesse resolue (instant courant) |
[in] | pvara | vitesse resolue (instant precedent) |
[in] | coefav | boundary condition array for the variable (Explicit part) |
[in] | coefbv | boundary condition array for the variable (Impplicit part) |
[in] | cofafv | boundary condition array for the diffusion of the variable (Explicit part) |
[in] | cofbfv | boundary condition array for the diffusion of the variable (Implicit part) |
[in] | flumas | mass flux at interior faces |
[in] | flumab | mass flux at boundary faces |
[in] | viscf | ![]() |
[in] | viscb | ![]() |
[in] | secvif | secondary viscosity at interior faces |
[in] | secvib | secondary viscosity at boundary faces |
[in,out] | smbr | right hand side ![]() |