My Project
programmer's documentation
Functions/Subroutines
reseps.f90 File Reference

This subroutine performs the solving of epsilon in $ R_{ij} - \varepsilon $ RANS turbulence model. More...

Functions/Subroutines

subroutine reseps (nvar, nscal, ncepdp, ncesmp, icepdc, icetsm, itypsm, dt, gradv, produc, gradro, ckupdc, smacel, viscf, viscb, smbr, rovsdt)
 

Detailed Description

This subroutine performs the solving of epsilon in $ R_{ij} - \varepsilon $ RANS turbulence model.

Function/Subroutine Documentation

◆ reseps()

subroutine reseps ( integer  nvar,
integer  nscal,
integer  ncepdp,
integer  ncesmp,
integer, dimension(ncepdp)  icepdc,
integer, dimension(ncesmp)  icetsm,
integer, dimension(ncesmp,nvar itypsm,
double precision, dimension(ncelet)  dt,
double precision, dimension(3, 3, ncelet)  gradv,
double precision, dimension(6,ncelet)  produc,
double precision, dimension(3,ncelet)  gradro,
double precision, dimension(6,ncepdp)  ckupdc,
double precision, dimension(ncesmp,nvar smacel,
double precision, dimension(nfac)  viscf,
double precision, dimension(nfabor)  viscb,
double precision, dimension(ncelet)  smbr,
double precision, dimension(ncelet)  rovsdt 
)
Parameters
[in]nvartotal number of variables
[in]nscaltotal number of scalars
[in]ncepdpnumber of cells with head loss
[in]ncesmpnumber of cells with mass source term
[in]icepdcindex of cells with head loss
[in]icetsmindex of cells with mass source term
[in]itypsmtype of mass source term for each variable (see Examples of data settings for mass source terms (cs_user_mass_source_terms.f90))
[in]dttime step (per cell)
[in]gradvwork array for the term grad of velocity only for iturb=31
[in]producwork array for production (without rho volume) only for iturb=30
[in]gradrowork array for $ \grad{rom} $
[in]ckupdcwork array for the head loss
[in]smacelvalue associated to each variable in the mass source terms or mass rate (see Examples of data settings for mass source terms (cs_user_mass_source_terms.f90))
[in]viscfvisc*surface/dist at internal faces
[in]viscbvisc*surface/dist at edge faces
[in]smbrworking array
[in]rovsdtworking array