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

Functions/Subroutines

subroutine computettot (rho, u, v, w, p, ttot)
 
subroutine computegamma (t, gamma, mm)
 
subroutine computeptot (rho, u, v, w, p, ptot)
 
subroutine computespeedofsoundsquared ()
 
subroutine computeetotblock (istart, iend, jstart, jend, kstart, kend, correctfork)
 
subroutine etot_fast_b (rho, rhod, u, ud, v, vd, w, wd, p, pd, k, kd, etotal, etotald, correctfork)
 
subroutine etot (rho, u, v, w, p, k, etotal, correctfork)
 
subroutine eint_fast_b (rho, rhod, p, pd, k, kd, einternal, einternald, correctfork)
 
subroutine eint (rho, p, k, einternal, correctfork)
 
subroutine computepressuresimple (includehalos)
 
subroutine computepressure (ibeg, iend, jbeg, jend, kbeg, kend, pointeroffset)
 
subroutine computelamviscosity (includehalos)
 
subroutine adjustinflowangle ()
 
subroutine derivativerotmatrixrigid (rotationmatrix, rotationpoint, t)
 
subroutine getdirvector (refdirection, alpha, beta, winddirection, liftindex)
 
subroutine vectorrotation (xp, yp, zp, iaxis, angle, x, y, z)
 
subroutine allnodalgradients_fast_b ()
 
subroutine allnodalgradients ()
 

Function/Subroutine Documentation

◆ adjustinflowangle()

subroutine flowutils_fast_b::adjustinflowangle

◆ allnodalgradients()

subroutine flowutils_fast_b::allnodalgradients

◆ allnodalgradients_fast_b()

subroutine flowutils_fast_b::allnodalgradients_fast_b

◆ computeetotblock()

subroutine flowutils_fast_b::computeetotblock ( integer(kind=inttype), intent(in)  istart,
integer(kind=inttype), intent(in)  iend,
integer(kind=inttype), intent(in)  jstart,
integer(kind=inttype), intent(in)  jend,
integer(kind=inttype), intent(in)  kstart,
integer(kind=inttype), intent(in)  kend,
logical, intent(in)  correctfork 
)

◆ computegamma()

subroutine flowutils_fast_b::computegamma ( real(kind=realtype), dimension(mm), intent(in)  t,
real(kind=realtype), dimension(mm), intent(out)  gamma,
integer(kind=inttype), intent(in)  mm 
)

Definition at line 47 of file flowUtils_fast_b.f90.

References constants::cpconstant, inputphysics::cpmodel, and inputphysics::gammaconstant.

Referenced by initializeflow_fast_b::referencestate().

Here is the caller graph for this function:

◆ computelamviscosity()

subroutine flowutils_fast_b::computelamviscosity ( logical, intent(in)  includehalos)

◆ computepressure()

subroutine flowutils_fast_b::computepressure ( integer(kind=inttype), intent(in)  ibeg,
integer(kind=inttype), intent(in)  iend,
integer(kind=inttype), intent(in)  jbeg,
integer(kind=inttype), intent(in)  jend,
integer(kind=inttype), intent(in)  kbeg,
integer(kind=inttype), intent(in)  kend,
integer(kind=inttype), intent(in)  pointeroffset 
)

◆ computepressuresimple()

subroutine flowutils_fast_b::computepressuresimple ( logical, intent(in)  includehalos)

◆ computeptot()

subroutine flowutils_fast_b::computeptot ( real(kind=realtype), intent(in)  rho,
real(kind=realtype), intent(in)  u,
real(kind=realtype), intent(in)  v,
real(kind=realtype), intent(in)  w,
real(kind=realtype), intent(in)  p,
real(kind=realtype), intent(out)  ptot 
)

◆ computespeedofsoundsquared()

subroutine flowutils_fast_b::computespeedofsoundsquared

◆ computettot()

subroutine flowutils_fast_b::computettot ( real(kind=realtype), intent(in)  rho,
real(kind=realtype), intent(in)  u,
real(kind=realtype), intent(in)  v,
real(kind=realtype), intent(in)  w,
real(kind=realtype), intent(in)  p,
real(kind=realtype), intent(out)  ttot 
)

Definition at line 8 of file flowUtils_fast_b.f90.

References constants::cpconstant, inputphysics::cpmodel, constants::cptempcurvefits, flowvarrefstate::gammainf, constants::half, constants::one, flowvarrefstate::rgas, and utils_fast_b::terminate().

Referenced by surfaceintegrations_fast_b::flowintegrationface().

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

◆ derivativerotmatrixrigid()

subroutine flowutils_fast_b::derivativerotmatrixrigid ( real(kind=realtype), dimension(3, 3), intent(out)  rotationmatrix,
real(kind=realtype), dimension(3), intent(out)  rotationpoint,
real(kind=realtype), intent(in)  t 
)

◆ eint()

subroutine flowutils_fast_b::eint ( real(kind=realtype), intent(in)  rho,
real(kind=realtype), intent(in)  p,
real(kind=realtype), intent(in)  k,
real(kind=realtype), intent(out)  einternal,
logical, intent(in)  correctfork 
)

◆ eint_fast_b()

subroutine flowutils_fast_b::eint_fast_b ( real(kind=realtype), intent(in)  rho,
real(kind=realtype)  rhod,
real(kind=realtype), intent(in)  p,
real(kind=realtype)  pd,
real(kind=realtype), intent(in)  k,
real(kind=realtype)  kd,
real(kind=realtype)  einternal,
real(kind=realtype)  einternald,
logical, intent(in)  correctfork 
)

◆ etot()

subroutine flowutils_fast_b::etot ( real(kind=realtype), intent(in)  rho,
real(kind=realtype), intent(in)  u,
real(kind=realtype), intent(in)  v,
real(kind=realtype), intent(in)  w,
real(kind=realtype), intent(in)  p,
real(kind=realtype), intent(in)  k,
real(kind=realtype), intent(out)  etotal,
logical, intent(in)  correctfork 
)

Definition at line 258 of file flowUtils_fast_b.f90.

References eint(), and constants::half.

Referenced by fluxes_fast_b::inviscidupwindflux(), fluxes_fast_b::inviscidupwindflux_fast_b(), initializeflow_fast_b::referencestate(), riemannflux(), and riemannflux_fast_b().

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

◆ etot_fast_b()

subroutine flowutils_fast_b::etot_fast_b ( real(kind=realtype), intent(in)  rho,
real(kind=realtype)  rhod,
real(kind=realtype), intent(in)  u,
real(kind=realtype)  ud,
real(kind=realtype), intent(in)  v,
real(kind=realtype)  vd,
real(kind=realtype), intent(in)  w,
real(kind=realtype)  wd,
real(kind=realtype), intent(in)  p,
real(kind=realtype)  pd,
real(kind=realtype), intent(in)  k,
real(kind=realtype)  kd,
real(kind=realtype)  etotal,
real(kind=realtype)  etotald,
logical, intent(in)  correctfork 
)

Definition at line 220 of file flowUtils_fast_b.f90.

References eint(), eint_fast_b(), and constants::half.

Referenced by fluxes_fast_b::inviscidupwindflux_fast_b(), and riemannflux_fast_b().

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

◆ getdirvector()

subroutine flowutils_fast_b::getdirvector ( real(kind=realtype), dimension(3), intent(in)  refdirection,
real(kind=realtype)  alpha,
real(kind=realtype)  beta,
real(kind=realtype), dimension(3), intent(out)  winddirection,
integer(kind=inttype)  liftindex 
)

Definition at line 890 of file flowUtils_fast_b.f90.

References utils_fast_b::terminate(), and vectorrotation().

Referenced by adjustinflowangle(), surfaceintegrations_fast_b::getcostfunctions(), solverutils_fast_b::gridvelocitiesfinelevel_block(), and solverutils_fast_b::slipvelocitiesfinelevel_block().

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

◆ vectorrotation()

subroutine flowutils_fast_b::vectorrotation ( real(kind=realtype), intent(out)  xp,
real(kind=realtype), intent(out)  yp,
real(kind=realtype), intent(out)  zp,
integer(kind=inttype), intent(in)  iaxis,
real(kind=realtype), intent(in)  angle,
real(kind=realtype), intent(in)  x,
real(kind=realtype), intent(in)  y,
real(kind=realtype), intent(in)  z 
)

Definition at line 969 of file flowUtils_fast_b.f90.

Referenced by getdirvector().

Here is the caller graph for this function: