7.1
general documentation
resrij2.f90 File Reference

This subroutine prepares the solving of the coupled Reynolds stress components in $ R_{ij} - \varepsilon $ RANS (LRR) turbulence model. More...

Functions/Subroutines

subroutine resrij2 (ivar, gradv, produc, gradro, viscf, viscb, viscce, smbr, rovsdt, weighf, weighb)
 

Detailed Description

This subroutine prepares the solving of the coupled Reynolds stress components in $ R_{ij} - \varepsilon $ RANS (LRR) turbulence model.

Remarks
  • cvar_var(1,*) for $ R_{11} $
  • cvar_var(2,*) for $ R_{22} $
  • cvar_var(3,*) for $ R_{33} $
  • cvar_var(4,*) for $ R_{12} $
  • cvar_var(5,*) for $ R_{23} $
  • cvar_var(6,*) for $ R_{13} $

Function/Subroutine Documentation

◆ resrij2()

subroutine resrij2 ( integer  ivar,
double precision, dimension(3, 3, ncelet)  gradv,
double precision, dimension(6, ncelet)  produc,
double precision, dimension(3, ncelet)  gradro,
double precision, dimension(nfac)  viscf,
double precision, dimension(nfabor)  viscb,
double precision, dimension(6, ncelet)  viscce,
double precision, dimension(6, ncelet)  smbr,
double precision, dimension(6, 6, ncelet)  rovsdt,
double precision, dimension(2, nfac)  weighf,
double precision, dimension(nfabor)  weighb 
)
Parameters
[in]ivarvariable number
[in]gradvwork array for the velocity grad term only for iturb=31
[in]producwork array for production
[in]gradrowork array for grad rom (without rho volume) only for iturb=30
[in]viscfvisc*surface/dist at internal faces
[in]viscbvisc*surface/dist at edge faces
[out]viscceDaly Harlow diffusion term
[in]smbrworking array
[in]rovsdtworking array
[out]weighfworking array
[out]weighbworking array