src/alge/inimav.f90 File Reference

| programmer's documentation

- Main Page
- Related Pages
- Modules
- Data Structures
- Files

- File List
- Globals

All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Functions/Subroutines
inimav.f90 File Reference

this function adds to the mass flux . More...

## Functions/Subroutines
subroutine | inimav (ivar, itypfl, iflmb0, init, inc, imrgra, nswrgu, imligu, iwarnu, nfecra, epsrgu, climgu, rom, romb, vel, coefav, coefbv, flumas, flumab)

## Detailed Description

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.

## Function/Subroutine Documentation

subroutine inimav | ( | 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, 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
| ) |  |

Parameters

  [in] | ivar | index of the current variable
  [in] | itypfl | indicator (take rho into account or not) 1 compute 0 compute
  [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 0 solve an increment 1 otherwise
  [in] | imrgra | indicator 0 iterative gradient 1 least square gradient
  [in] | nswrgu | number of sweeps for the reconstruction of the gradients
  [in] | imligu | clipping gradient method < 0 no clipping = 0 thank to neighbooring gradients = 1 thank to the mean gradient
  [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] | 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