|
Code_Saturne
CFD tool
|
This function adds
to the mass flux
.
More...
Functions/Subroutines | |
| subroutine | inimav (nvar, nscal, ivar, itypfl, iflmb0, init, inc, imrgra, nswrgu, imligu, iwarnu, nfecra, epsrgu, climgu, extrau, rom, romb, vel, coefav, coefbv, flumas, flumab) |
This function adds
to the mass flux
.
For the reconstruction,
is computed with the following approximated boundary conditions:


For the mass flux at the boundary we have:
The last equation uses some approximations detailed in the theory guide.
| subroutine inimav | ( | integer | nvar, |
| integer | nscal, | ||
| integer | ivar, | ||
| integer | itypfl, | ||
| integer | iflmb0, | ||
| integer | init, | ||
| integer | inc, | ||
| integer | imrgra, | ||
| integer | nswrgu, | ||
| integer | imligu, | ||
| integer | iwarnu, | ||
| integer | nfecra, | ||
| double precision | epsrgu, | ||
| double precision | climgu, | ||
| double precision | extrau, | ||
| double precision, dimension(ncelet) | rom, | ||
| double precision, dimension(nfabor) | romb, | ||
| double precision, dimension(3,ncelet) | vel, | ||
| double precision, dimension(3,ndimfb) | coefav, | ||
| double precision, dimension(3,3,nfabor) | coefbv, | ||
| double precision, dimension(nfac) | flumas, | ||
| double precision, dimension(nfabor) | flumab | ||
| ) |
| [in] | nvar | total number of variables |
| [in] | nscal | total number of scalars |
| [in] | ivar | index of the current variable |
| [in] | itypfl | indicator (take rho into account or not)
|
| [in] | iflmb0 | the mass flux is set to 0 on walls and symmetries if = 1 |
| [in] | init | the mass flux is initialize to 0 if > 0 |
| [in] | inc | indicator
|
| [in] | imrgra | indicator
|
| [in] | nswrgu | number of sweeps for the reconstruction of the gradients |
| [in] | imligu | clipping gradient method
|
| [in] | iwarnu | verbosity |
| [in] | nfecra | unit of the standard output file |
| [in] | epsrgu | relative precision for the gradient reconstruction |
| [in] | climgu | clipping coeffecient for the computation of the gradient |
| [in] | extrau | coefficient for extrapolation of the gradient |
| [in] | rom | cell density |
| [in] | romb | border face density |
| [in] | vel | vector variable |
| [in] | coefav | boundary condition array for the variable (Explicit part - vector array ) |
| [in] | coefbv | boundary condition array for the variable (Impplicit part - 3x3 tensor array) |
| [in,out] | flumas | interior mass flux |
| [in,out] | flumab | border mass flux |

1.8.13