programmer's documentation
 All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Functions/Subroutines
projtv.f90 File Reference

This function projects the external source termes to the faces in coherence with itrmav.f90 for the improved hydrostatic pressure algorithm (iphydr=1). More...

Functions/Subroutines

subroutine projtv (init, nswrgp, ircflp, nfecra, frcxt, cofbfp, viscf, viscb, viscel, weighf, flumas, flumab)
 

Detailed Description

This function projects the external source termes to the faces in coherence with itrmav.f90 for the improved hydrostatic pressure algorithm (iphydr=1).

Function/Subroutine Documentation

subroutine projtv ( integer  init,
integer  nswrgp,
integer  ircflp,
integer  nfecra,
double precision, dimension(3, ncelet)  frcxt,
double precision, dimension(nfabor)  cofbfp,
double precision, dimension(nfac)  viscf,
double precision, dimension(nfabor)  viscb,
double precision, dimension(6,ncelet)  viscel,
double precision, dimension(2,nfac)  weighf,
double precision, dimension(nfac)  flumas,
double precision, dimension(nfabor)  flumab 
)
Parameters
[in]initindicator
  • 1 initialize the mass flux to 0
  • 0 otherwise
[in]nswrgpnumber of reconstruction sweeps for the gradients
[in]ircflpindicator
  • 1 flux reconstruction,
  • 0 otherwise
[in]frcxtbody force creating the hydrostatic pressure
[in]cofbfpboundary condition array for the diffusion of the variable (Implicit part)
[in]viscf$ \mu_\fij \dfrac{S_\fij}{\ipf \jpf} $ at interior faces for the r.h.s.
[in]viscb$ \mu_\fib \dfrac{S_\fib}{\ipf \centf} $ at border faces for the r.h.s.
[in]viscelsymmetric cell tensor $ \tens{\mu}_\celli $
[in]weighfinternal face weight between cells i j in case of tensor diffusion
[in,out]flumasmass flux at interior faces
[in,out]flumabmass flux at boundary faces