7.0
general documentation
resrij.f90 File Reference

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

Functions/Subroutines

subroutine resrij (nvar, nscal, ncesmp, ivar, isou, icetsm, itypsm, dt, produc, gradro, smacel, viscf, viscb, tslagi, smbr, rovsdt)
 

Detailed Description

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

Remarks
  • isou=1 for $ R_{11} $
  • isou=2 for $ R_{22} $
  • isou=3 for $ R_{33} $
  • isou=4 for $ R_{12} $
  • isou=5 for $ R_{13} $
  • isou=6 for $ R_{23} $

Function/Subroutine Documentation

◆ resrij()

subroutine resrij ( integer  nvar,
integer  nscal,
integer  ncesmp,
integer  ivar,
integer  isou,
integer, dimension(ncesmp)  icetsm,
integer, dimension(ncesmp,nvar)  itypsm,
double precision, dimension(ncelet)  dt,
double precision, dimension(6,ncelet)  produc,
double precision, dimension(3,ncelet)  gradro,
double precision, dimension(ncesmp,nvar)  smacel,
double precision, dimension(nfac)  viscf,
double precision, dimension(nfabor)  viscb,
double precision, dimension(ncelet)  tslagi,
double precision, dimension(ncelet)  smbr,
double precision, dimension(ncelet)  rovsdt 
)
Parameters
[in]nvartotal number of variables
[in]nscaltotal number of scalars
[in]ncesmpnumber of cells with mass source term
[in]ivarvariable number
[in]isoulocal variable number (7 here)
[in]icetsmindex of cells with mass source term
[in]itypsmtype of mass source term for each variable (see cs_user_mass_source_terms)
[in]dttime step (per cell)
[in]producwork array for production
[in]gradrowork array for grad rom (without rho volume) only for iturb=30
[in]smacelvalue associated to each variable in the mass source terms or mass rate (see cs_user_mass_source_terms)
[in]viscfvisc*surface/dist at internal faces
[in]viscbvisc*surface/dist at edge faces
[in]tslagiimplicit source terms for the Lagrangian module
[in]smbrworking array
[in]rovsdtworking array