![]() |
programmer's documentation
|
This function adds to the mass flux
for the segregated algorithm on the velocity components.
More...
Functions/Subroutines | |
subroutine | inimas (ivar1, ivar2, ivar3, imaspe, itypfl, iflmb0, init, inc, imrgra, iccocg, nswrgu, imligu, iwarnu, nfecra, epsrgu, climgu, extrau, rom, romb, ux, uy, uz, coefax, coefay, coefaz, coefbx, coefby, coefbz, flumas, flumab) |
This function adds to the mass flux
for the segregated algorithm on the velocity components.
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 inimas | ( | integer | ivar1, |
integer | ivar2, | ||
integer | ivar3, | ||
integer | imaspe, | ||
integer | itypfl, | ||
integer | iflmb0, | ||
integer | init, | ||
integer | inc, | ||
integer | imrgra, | ||
integer | iccocg, | ||
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(ncelet) | ux, | ||
double precision, dimension(ncelet) | uy, | ||
double precision, dimension(ncelet) | uz, | ||
double precision, dimension(nfabor) | coefax, | ||
double precision, dimension(nfabor) | coefay, | ||
double precision, dimension(nfabor) | coefaz, | ||
double precision, dimension(nfabor) | coefbx, | ||
double precision, dimension(nfabor) | coefby, | ||
double precision, dimension(nfabor) | coefbz, | ||
double precision, dimension(nfac) | flumas, | ||
double precision, dimension(nfabor) | flumab | ||
) |
[in] | ivar1 | current variable in the x direction |
[in] | ivar2 | current variable in the y direction |
[in] | ivar3 | current variable in the z direction |
[in] | imaspe | indicator
|
[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] | iccocg | 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] | ux | variable in the x direction |
[in] | uy | variable in the y direction |
[in] | uz | variable in the z direction |
[in] | coefax | boundary condition array for the variable (Explicit part - for the component x) |
[in] | coefay | boundary condition array for the variable (Explicit part - for the component y) |
[in] | coefaz | boundary condition array for the variable (Explicit part - for the component z) |
[in] | coefbx | boundary condition array for the variable (Impplicit part - for the component x) |
[in] | coefby | boundary condition array for the variable (Impplicit part - for the component y) |
[in] | coefbz | boundary condition array for the variable (Impplicit part - for the component z) |
[in,out] | flumas | interior mass flux ![]() |
[in,out] | flumab | border mass flux ![]() |