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

Functions/Subroutines

subroutine computettot_b (rho, rhod, u, ud, v, vd, w, wd, p, pd, ttot, ttotd)
 
subroutine computettot (rho, u, v, w, p, ttot)
 
subroutine computegamma (t, gamma, mm)
 
subroutine computeptot_b (rho, rhod, u, ud, v, vd, w, wd, p, pd, ptot, ptotd)
 
subroutine computeptot (rho, u, v, w, p, ptot)
 
subroutine computespeedofsoundsquared_b ()
 
subroutine computespeedofsoundsquared ()
 
subroutine computeetotblock_b (istart, iend, jstart, jend, kstart, kend, correctfork)
 
subroutine computeetotblock (istart, iend, jstart, jend, kstart, kend, correctfork)
 
subroutine etot_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_b (rho, rhod, p, pd, k, kd, einternal, einternald, correctfork)
 
subroutine eint (rho, p, k, einternal, correctfork)
 
subroutine computepressuresimple_b (includehalos)
 
subroutine computepressuresimple (includehalos)
 
subroutine computepressure (ibeg, iend, jbeg, jend, kbeg, kend, pointeroffset)
 
subroutine computelamviscosity_b (includehalos)
 
subroutine computelamviscosity (includehalos)
 
subroutine adjustinflowangle_b ()
 
subroutine adjustinflowangle ()
 
subroutine derivativerotmatrixrigid_b (rotationmatrix, rotationmatrixd, rotationpoint, t)
 
subroutine derivativerotmatrixrigid (rotationmatrix, rotationpoint, t)
 
subroutine getdirvector_b (refdirection, alpha, alphad, beta, betad, winddirection, winddirectiond, liftindex)
 
subroutine getdirvector (refdirection, alpha, beta, winddirection, liftindex)
 
subroutine vectorrotation_b (xp, xpd, yp, ypd, zp, zpd, iaxis, angle, angled, x, xd, y, yd, z, zd)
 
subroutine vectorrotation (xp, yp, zp, iaxis, angle, x, y, z)
 
subroutine allnodalgradients_b ()
 
subroutine allnodalgradients ()
 

Function/Subroutine Documentation

◆ adjustinflowangle()

subroutine flowutils_b::adjustinflowangle

◆ adjustinflowangle_b()

subroutine flowutils_b::adjustinflowangle_b

◆ allnodalgradients()

subroutine flowutils_b::allnodalgradients

◆ allnodalgradients_b()

subroutine flowutils_b::allnodalgradients_b

◆ computeetotblock()

subroutine flowutils_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 
)

◆ computeetotblock_b()

subroutine flowutils_b::computeetotblock_b ( 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_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 104 of file flowUtils_b.f90.

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

Referenced by initializeflow_b::referencestate(), and initializeflow_b::referencestate_b().

Here is the caller graph for this function:

◆ computelamviscosity()

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

◆ computelamviscosity_b()

subroutine flowutils_b::computelamviscosity_b ( logical, intent(in)  includehalos)

◆ computepressure()

subroutine flowutils_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_b::computepressuresimple ( logical, intent(in)  includehalos)

◆ computepressuresimple_b()

subroutine flowutils_b::computepressuresimple_b ( logical, intent(in)  includehalos)

◆ computeptot()

subroutine flowutils_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 
)

◆ computeptot_b()

subroutine flowutils_b::computeptot_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)  ptot,
real(kind=realtype)  ptotd 
)

◆ computespeedofsoundsquared()

subroutine flowutils_b::computespeedofsoundsquared

Definition at line 291 of file flowUtils_b.f90.

References blockpointers::aa, blockpointers::gamma, utils_b::getcorrectfork(), blockpointers::ie, constants::irho, constants::itu1, blockpointers::je, blockpointers::ke, blockpointers::p, constants::third, constants::two, and blockpointers::w.

Referenced by residuals_b::residual_block().

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

◆ computespeedofsoundsquared_b()

subroutine flowutils_b::computespeedofsoundsquared_b

◆ computettot()

subroutine flowutils_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 
)

◆ computettot_b()

subroutine flowutils_b::computettot_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)  ttot,
real(kind=realtype)  ttotd 
)

◆ derivativerotmatrixrigid()

subroutine flowutils_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 
)

◆ derivativerotmatrixrigid_b()

subroutine flowutils_b::derivativerotmatrixrigid_b ( real(kind=realtype), dimension(3, 3)  rotationmatrix,
real(kind=realtype), dimension(3, 3)  rotationmatrixd,
real(kind=realtype), dimension(3)  rotationpoint,
real(kind=realtype), intent(in)  t 
)

◆ eint()

subroutine flowutils_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_b()

subroutine flowutils_b::eint_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_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 535 of file flowUtils_b.f90.

References eint(), and constants::half.

Referenced by fluxes_b::inviscidupwindflux(), fluxes_b::inviscidupwindflux_b(), initializeflow_b::referencestate(), initializeflow_b::referencestate_b(), riemannflux(), and riemannflux_b().

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

◆ etot_b()

subroutine flowutils_b::etot_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 496 of file flowUtils_b.f90.

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

Referenced by fluxes_b::inviscidupwindflux_b(), initializeflow_b::referencestate_b(), and riemannflux_b().

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

◆ getdirvector()

subroutine flowutils_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 
)

◆ getdirvector_b()

subroutine flowutils_b::getdirvector_b ( real(kind=realtype), dimension(3), intent(in)  refdirection,
real(kind=realtype)  alpha,
real(kind=realtype)  alphad,
real(kind=realtype)  beta,
real(kind=realtype)  betad,
real(kind=realtype), dimension(3)  winddirection,
real(kind=realtype), dimension(3)  winddirectiond,
integer(kind=inttype)  liftindex 
)

Definition at line 1536 of file flowUtils_b.f90.

References utils_b::terminate(), vectorrotation(), and vectorrotation_b().

Referenced by adjustinflowangle_b().

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

◆ vectorrotation()

subroutine flowutils_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 1772 of file flowUtils_b.f90.

Referenced by getdirvector(), and getdirvector_b().

Here is the caller graph for this function:

◆ vectorrotation_b()

subroutine flowutils_b::vectorrotation_b ( real(kind=realtype)  xp,
real(kind=realtype)  xpd,
real(kind=realtype)  yp,
real(kind=realtype)  ypd,
real(kind=realtype)  zp,
real(kind=realtype)  zpd,
integer(kind=inttype), intent(in)  iaxis,
real(kind=realtype), intent(in)  angle,
real(kind=realtype)  angled,
real(kind=realtype), intent(in)  x,
real(kind=realtype)  xd,
real(kind=realtype), intent(in)  y,
real(kind=realtype)  yd,
real(kind=realtype), intent(in)  z,
real(kind=realtype)  zd 
)

Definition at line 1723 of file flowUtils_b.f90.

Referenced by getdirvector_b().

Here is the caller graph for this function: