![]() |
programmer's documentation
|
This function adds the explicit part of the diffusion terms with a symmetric tensor diffusivity for a transport equation of a scalar field .
More...
Functions/Subroutines | |
subroutine | diften (idtvar, ivar, nswrgp, imligp, ircflp, inc, imrgra, iccocg, ipp, iwarnp, epsrgp, climgp, extrap, relaxp, thetap, pvar, pvara, coefap, coefbp, cofafp, cofbfp, viscf, viscb, viscel, weighf, weighb, smbrp) |
This function adds the explicit part of the diffusion terms with a symmetric tensor diffusivity for a transport equation of a scalar field .
More precisely, the right hand side is updated as follows:
Warning:
subroutine diften | ( | integer | idtvar, |
integer | ivar, | ||
integer | nswrgp, | ||
integer | imligp, | ||
integer | ircflp, | ||
integer | inc, | ||
integer | imrgra, | ||
integer | iccocg, | ||
integer | ipp, | ||
integer | iwarnp, | ||
double precision | epsrgp, | ||
double precision | climgp, | ||
double precision | extrap, | ||
double precision | relaxp, | ||
double precision | thetap, | ||
double precision, dimension (ncelet) | pvar, | ||
double precision, dimension(ncelet) | pvara, | ||
double precision, dimension(nfabor) | coefap, | ||
double precision, dimension(nfabor) | coefbp, | ||
double precision, dimension(nfabor) | cofafp, | ||
double precision, dimension(nfabor) | cofbfp, | ||
double precision, dimension (nfac) | viscf, | ||
double precision, dimension (nfabor) | viscb, | ||
double precision, dimension(6,ncelet), target | viscel, | ||
double precision, dimension(2,nfac) | weighf, | ||
double precision, dimension(nfabor) | weighb, | ||
double precision, dimension (ncelet) | smbrp | ||
) |
[in] | idtvar | indicator of the temporal scheme |
[in] | ivar | index of the current variable |
[in] | nswrgp | number of reconstruction sweeps for the gradients |
[in] | imligp | clipping gradient method
|
[in] | ircflp | indicator
|
[in] | inc | indicator
|
[in] | imrgra | indicator
|
[in] | iccocg | indicator
|
[in] | ipp | index of the variable for post-processing |
[in] | iwarnp | verbosity |
[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 | solved variable (current time step) |
[in] | pvara | solved variable (previous time step) |
[in] | coefap | boundary condition array for the variable (Explicit part) |
[in] | coefbp | boundary condition array for the variable (Impplicit part) |
[in] | cofafp | boundary condition array for the diffusion of the variable (Explicit part) |
[in] | cofbfp | boundary condition array for the diffusion of the variable (Implicit part) |
[in] | viscf | ![]() |
[in] | viscb | ![]() |
[in] | viscel | symmetric cell tensor ![]() |
[in] | weighf | internal face weight between cells i j in case of tensor diffusion |
[in] | weighb | boundary face weight for cells i in case of tensor diffusion |
[in,out] | smbrp | right hand side ![]() |