|  | programmer's documentation | 
this function adds  to the mass flux
 to the mass flux  .  
More...
.  
More...
| Functions/Subroutines | |
| subroutine | inimav (ivar, itypfl, iflmb0, init, inc, imrgra, nswrgu, imligu, iwarnu, nfecra, epsrgu, climgu, rom, romb, vel, coefav, coefbv, flumas, flumab) | 
this function adds  to the mass flux
 to the mass flux  .
. 
for the reconstruction,  is computed with the following approximated boundary conditions:
 is computed with the following approximated boundary conditions:


for the mass flux at the boundary we have:
![\[ \dot{m}_\ib = \left[ \rho_\fib \vect{a}_u + \rho_\fib \tens{b}_u \vect{u} + \tens{b}_u \left(\gradt \vect{u} \cdot \vect{\centi \centip}\right)\right] \cdot \vect{s}_\ij \]](form_35.png) 
the last equation uses some approximations detailed in the theory guide.
| 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 | ||
| ) | 
| [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] | 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.3.1
 1.8.3.1