src/alge/itrgrv.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
itrgrv.f90 File Reference

This function adds the explicit part of the divergence of the mass flux due to the pressure gradient (routine analog to diften.f90). More...

## Functions/Subroutines
subroutine | itrgrv (init, inc, imrgra, iccocg, nswrgp, imligp, ircflp, iphydp, iwarnp, nfecra, epsrgp, climgp, extrap, frcxt, pvar, coefap, coefbp, cofafp, cofbfp, viscf, viscb, viscel, weighf, weighb, diverg)

## Detailed Description

This function adds the explicit part of the divergence of the mass flux due to the pressure gradient (routine analog to diften.f90).

More precisely, the divergence of the mass flux side is updated as follows:

## Function/Subroutine Documentation

subroutine itrgrv | ( | integer | init,
|  | integer | inc,
|  | integer | imrgra,
|  | integer | iccocg,
|  | integer | nswrgp,
|  | integer | imligp,
|  | integer | ircflp,
|  | integer | iphydp,
|  | integer | iwarnp,
|  | integer | nfecra,
|  | double precision | epsrgp,
|  | double precision | climgp,
|  | double precision | extrap,
|  | double precision, dimension(3,ncelet) | frcxt,
|  | double precision, dimension(ncelet) | pvar,
|  | double precision, dimension(nfabor) | coefap,
|  | double precision, dimension(nfabor) | coefbp,
|  | double precision, dimension(nfabor) | cofafp,
|  | double precision, dimension(nfabor) | cofbfp,
|  | double precision, dimension(nfac) | viscf,
|  | double precision, dimension(nfabor) | viscb,
|  | double precision, dimension(6,ncelet), target | viscel,
|  | double precision, dimension(2,nfac) | weighf,
|  | double precision, dimension(nfabor) | weighb,
|  | double precision, dimension(ncelet) | diverg
| ) |  |

Parameters

  [in] | init | indicator 1 initialize the mass flux to 0 0 otherwise
  [in] | inc | indicator 0 when solving an increment 1 otherwise
  [in] | imrgra | indicator 0 iterative gradient 1 least square gradient
  [in] | iccocg | indicator 1 re-compute cocg matrix (for iterativ gradients) 0 otherwise
  [in] | nswrgp | number of reconstruction sweeps for the gradients
  [in] | imligp | clipping gradient method < 0 no clipping = 0 thank to neighbooring gradients = 1 thank to the mean gradient
  [in] | ircflp | indicator 1 flux reconstruction, 0 otherwise
  [in] | iphydp | indicator 1 hydrostatic pressure taken into account 0 otherwise
  [in] | iwarnp | verbosity
  [in] | epsrgp | relative precision for the gradient reconstruction
  [in] | climgp | clipping coeffecient for the computation of the gradient
  [in] | extrap | coefficient for extrapolation of the gradient
  [in] | frcxt | body force creating the hydrostatic pressure
  [in] | pvar | solved variable (pressure)
  [in] | coefap | boundary condition array for the variable (Explicit part)
  [in] | coefbp | boundary condition array for the variable (Impplicit part)
  [in] | cofafp | boundary condition array for the diffusion of the variable (Explicit part)
  [in] | cofbfp | boundary condition array for the diffusion of the variable (Implicit part)
  [in] | viscf | at interior faces for the r.h.s.
  [in] | viscb | at border faces for the r.h.s.
  [in] | viscel | symmetric cell tensor
  [in] | weighf | internal face weight between cells i j in case of tensor diffusion
  [in] | weighb | boundary face weight for cells i in case of tensor diffusion
  [in,out] | diverg | divergence of the mass flux