ADflow  v1.0
ADflow is a finite volume RANS solver tailored for gradient-based aerodynamic design optimization.
Functions/Subroutines
turbutils Module Reference

Functions/Subroutines

subroutine prodkatolaunder
 
subroutine prodsmag2
 
subroutine prodwmag2
 
real(kind=realtype) function sanuknowneddyratio (eddyRatio, nuLam)
 
subroutine unsteadyturbterm (mAdv, nAdv, offset, qq)
 
subroutine computeeddyviscosity (includeHalos)
 
subroutine saeddyviscosity (iBeg, iEnd, jBeg, jEnd, kBeg, kEnd)
 
subroutine kweddyviscosity (iBeg, iEnd, jBeg, jEnd, kBeg, kEnd)
 
subroutine ssteddyviscosity (iBeg, iEnd, jBeg, jEnd, kBeg, kEnd)
 
subroutine turbadvection (mAdv, nAdv, offset, qq)
 
subroutine tdia3 (nb, ne, l, c, u, r)
 
subroutine vfeddyviscosity (iBeg, iEnd, jBeg, jEnd, kBeg, kEnd)
 
subroutine vfscale
 
subroutine kteddyviscosity (iBeg, iEnd, jBeg, jEnd, kBeg, kEnd)
 
subroutine unsteadyturbspectral (ntu1, ntu2)
 
subroutine unsteadyturbspectral_block (ntu1, ntu2, nn, sps)
 
subroutine initkomega (pOffset)
 
subroutine kwcdterm
 

Function/Subroutine Documentation

◆ computeeddyviscosity()

subroutine turbutils::computeeddyviscosity ( logical, intent(in)  includeHalos)

◆ initkomega()

subroutine turbutils::initkomega ( integer(kind=inttype), intent(in)  pOffset)

◆ kteddyviscosity()

subroutine turbutils::kteddyviscosity ( integer(kind=inttype)  iBeg,
integer(kind=inttype)  iEnd,
integer(kind=inttype)  jBeg,
integer(kind=inttype)  jEnd,
integer(kind=inttype)  kBeg,
integer(kind=inttype)  kEnd 
)

Definition at line 1872 of file turbUtils.F90.

References constants::irho, constants::itu1, constants::itu2, blockpointers::rev, and blockpointers::w.

Referenced by computeeddyviscosity(), and kt::kt_block().

Here is the caller graph for this function:

◆ kwcdterm()

subroutine turbutils::kwcdterm

◆ kweddyviscosity()

subroutine turbutils::kweddyviscosity ( integer(kind=inttype)  iBeg,
integer(kind=inttype)  iEnd,
integer(kind=inttype)  jBeg,
integer(kind=inttype)  jEnd,
integer(kind=inttype)  kBeg,
integer(kind=inttype)  kEnd 
)

Definition at line 714 of file turbUtils.F90.

References constants::irho, constants::itu1, constants::itu2, blockpointers::rev, and blockpointers::w.

Referenced by computeeddyviscosity(), and kw::kw_block().

Here is the caller graph for this function:

◆ prodkatolaunder()

subroutine turbutils::prodkatolaunder

◆ prodsmag2()

subroutine turbutils::prodsmag2

◆ prodwmag2()

subroutine turbutils::prodwmag2

◆ saeddyviscosity()

subroutine turbutils::saeddyviscosity ( integer(kind=inttype)  iBeg,
integer(kind=inttype)  iEnd,
integer(kind=inttype)  jBeg,
integer(kind=inttype)  jEnd,
integer(kind=inttype)  kBeg,
integer(kind=inttype)  kEnd 
)

Definition at line 657 of file turbUtils.F90.

References constants::irho, constants::itu1, blockpointers::rev, blockpointers::rlv, and blockpointers::w.

Referenced by computeeddyviscosity(), and sa::sa_block().

Here is the caller graph for this function:

◆ sanuknowneddyratio()

real(kind=realtype) function turbutils::sanuknowneddyratio ( real(kind=realtype), intent(in)  eddyRatio,
real(kind=realtype), intent(in)  nuLam 
)

Definition at line 333 of file turbUtils.F90.

References constants::four, constants::three, constants::thresholdreal, and constants::zero.

Referenced by variablereading::readturbsa(), and initializeflow::referencestate().

Here is the caller graph for this function:

◆ ssteddyviscosity()

subroutine turbutils::ssteddyviscosity ( integer(kind=inttype)  iBeg,
integer(kind=inttype)  iEnd,
integer(kind=inttype)  jBeg,
integer(kind=inttype)  jEnd,
integer(kind=inttype)  kBeg,
integer(kind=inttype)  kEnd 
)

Definition at line 758 of file turbUtils.F90.

References blockpointers::d2wall, constants::iprod, constants::irho, constants::itu1, constants::itu2, prodwmag2(), blockpointers::rev, blockpointers::rlv, paramturb::rssta1, blockpointers::scratch, constants::two, and blockpointers::w.

Referenced by computeeddyviscosity(), and sst::sst_block().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ tdia3()

subroutine turbutils::tdia3 ( integer(kind=inttype), intent(in)  nb,
integer(kind=inttype), intent(in)  ne,
real(kind=realtype), dimension(2, nb:ne), intent(inout)  l,
real(kind=realtype), dimension(2, 2, nb:ne), intent(inout)  c,
real(kind=realtype), dimension(2, nb:ne), intent(inout)  u,
real(kind=realtype), dimension(2, nb:ne), intent(inout)  r 
)

Definition at line 1563 of file turbUtils.F90.

References constants::one.

Referenced by vf::kesolve(), kt::ktsolve(), kw::kwsolve(), sst::sstsolve(), and vf::vfsolve().

Here is the caller graph for this function:

◆ turbadvection()

subroutine turbutils::turbadvection ( integer(kind=inttype), intent(in)  mAdv,
integer(kind=inttype), intent(in)  nAdv,
integer(kind=inttype), intent(in)  offset,
real(kind=realtype), dimension(2:il, 2:jl, 2:kl, madv, madv), intent(inout)  qq 
)

◆ unsteadyturbspectral()

subroutine turbutils::unsteadyturbspectral ( integer(kind=inttype), intent(in)  ntu1,
integer(kind=inttype), intent(in)  ntu2 
)

Definition at line 1915 of file turbUtils.F90.

References iteration::currentlevel, inputphysics::equationmode, inputtimespectral::ntimeintervalsspectral, utils::setpointers(), constants::timespectral, and unsteadyturbspectral_block().

Referenced by turbapi::turbsolveddadi().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ unsteadyturbspectral_block()

subroutine turbutils::unsteadyturbspectral_block ( integer(kind=inttype), intent(in)  ntu1,
integer(kind=inttype), intent(in)  ntu2,
integer(kind=inttype), intent(in)  nn,
integer(kind=inttype), intent(in)  sps 
)

◆ unsteadyturbterm()

subroutine turbutils::unsteadyturbterm ( integer(kind=inttype), intent(in)  mAdv,
integer(kind=inttype), intent(in)  nAdv,
integer(kind=inttype), intent(in)  offset,
real(kind=realtype), dimension(2:il, 2:jl, 2:kl, madv, madv), intent(inout)  qq 
)

◆ vfeddyviscosity()

subroutine turbutils::vfeddyviscosity ( integer(kind=inttype)  iBeg,
integer(kind=inttype)  iEnd,
integer(kind=inttype)  jBeg,
integer(kind=inttype)  jEnd,
integer(kind=inttype)  kBeg,
integer(kind=inttype)  kEnd 
)

◆ vfscale()

subroutine turbutils::vfscale