|
Code_Saturne
CFD tool
|
This function adds
to the mass flux
for the segregated algorithm on the velocity components.
More...
Functions/Subroutines | |
| subroutine | inimas |
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:

Be carefull: here
is a diagonal tensor.For the mass flux at the boundary we have:
The last equation uses some approximations detailed in the theory guide.
| subroutine inimas | ( | ) |
| [in] | nvar | total number of variables |
| [in] | nscal | total number of scalars |
| [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] | coefa* | boundary condition array for the variable (Explicit part - for the component * ) |
| [in] | coefb* | boundary condition array for the variable (Impplicit part - for the component *) |
| [in,out] | flumas | interior mass flux |
| [in,out] | flumab | border mass flux |

1.8.8