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

Functions/Subroutines

subroutine computettot_d (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_d (rho, rhod, u, ud, v, vd, w, wd, p, pd, ptot, ptotd)
 
subroutine computeptot (rho, u, v, w, p, ptot)
 
subroutine computespeedofsoundsquared_d ()
 
subroutine computespeedofsoundsquared ()
 
subroutine computeetotblock_d (istart, iend, jstart, jend, kstart, kend, correctfork)
 
subroutine computeetotblock (istart, iend, jstart, jend, kstart, kend, correctfork)
 
subroutine etot_d (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_d (rho, rhod, p, pd, k, kd, einternal, einternald, correctfork)
 
subroutine eint (rho, p, k, einternal, correctfork)
 
subroutine computepressuresimple_d (includehalos)
 
subroutine computepressuresimple (includehalos)
 
subroutine computepressure (ibeg, iend, jbeg, jend, kbeg, kend, pointeroffset)
 
subroutine computelamviscosity_d (includehalos)
 
subroutine computelamviscosity (includehalos)
 
subroutine adjustinflowangle_d ()
 
subroutine adjustinflowangle ()
 
subroutine derivativerotmatrixrigid_d (rotationmatrix, rotationmatrixd, rotationpoint, t)
 
subroutine derivativerotmatrixrigid (rotationmatrix, rotationpoint, t)
 
subroutine getdirvector_d (refdirection, alpha, alphad, beta, betad, winddirection, winddirectiond, liftindex)
 
subroutine getdirvector (refdirection, alpha, beta, winddirection, liftindex)
 
subroutine vectorrotation_d (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_d ()
 
subroutine allnodalgradients ()
 

Function/Subroutine Documentation

◆ adjustinflowangle()

subroutine flowutils_d::adjustinflowangle

◆ adjustinflowangle_d()

subroutine flowutils_d::adjustinflowangle_d

◆ allnodalgradients()

subroutine flowutils_d::allnodalgradients

◆ allnodalgradients_d()

subroutine flowutils_d::allnodalgradients_d

◆ computeetotblock()

subroutine flowutils_d::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_d()

subroutine flowutils_d::computeetotblock_d ( 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_d::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 100 of file flowUtils_d.f90.

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

Referenced by initializeflow_d::referencestate(), and initializeflow_d::referencestate_d().

Here is the caller graph for this function:

◆ computelamviscosity()

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

◆ computelamviscosity_d()

subroutine flowutils_d::computelamviscosity_d ( logical, intent(in)  includehalos)

◆ computepressure()

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

◆ computepressuresimple_d()

subroutine flowutils_d::computepressuresimple_d ( logical, intent(in)  includehalos)

◆ computeptot()

subroutine flowutils_d::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_d()

subroutine flowutils_d::computeptot_d ( real(kind=realtype), intent(in)  rho,
real(kind=realtype), intent(in)  rhod,
real(kind=realtype), intent(in)  u,
real(kind=realtype), intent(in)  ud,
real(kind=realtype), intent(in)  v,
real(kind=realtype), intent(in)  vd,
real(kind=realtype), intent(in)  w,
real(kind=realtype), intent(in)  wd,
real(kind=realtype), intent(in)  p,
real(kind=realtype), intent(in)  pd,
real(kind=realtype), intent(out)  ptot,
real(kind=realtype), intent(out)  ptotd 
)

◆ computespeedofsoundsquared()

subroutine flowutils_d::computespeedofsoundsquared

Definition at line 283 of file flowUtils_d.f90.

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

Referenced by residuals_d::residual_block().

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

◆ computespeedofsoundsquared_d()

subroutine flowutils_d::computespeedofsoundsquared_d

◆ computettot()

subroutine flowutils_d::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_d()

subroutine flowutils_d::computettot_d ( real(kind=realtype), intent(in)  rho,
real(kind=realtype), intent(in)  rhod,
real(kind=realtype), intent(in)  u,
real(kind=realtype), intent(in)  ud,
real(kind=realtype), intent(in)  v,
real(kind=realtype), intent(in)  vd,
real(kind=realtype), intent(in)  w,
real(kind=realtype), intent(in)  wd,
real(kind=realtype), intent(in)  p,
real(kind=realtype), intent(in)  pd,
real(kind=realtype), intent(out)  ttot,
real(kind=realtype), intent(out)  ttotd 
)

◆ derivativerotmatrixrigid()

subroutine flowutils_d::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_d()

subroutine flowutils_d::derivativerotmatrixrigid_d ( real(kind=realtype), dimension(3, 3), intent(out)  rotationmatrix,
real(kind=realtype), dimension(3, 3), intent(out)  rotationmatrixd,
real(kind=realtype), dimension(3), intent(out)  rotationpoint,
real(kind=realtype), intent(in)  t 
)

◆ eint()

subroutine flowutils_d::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_d()

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

◆ etot()

subroutine flowutils_d::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 512 of file flowUtils_d.f90.

References eint(), and constants::half.

Referenced by fluxes_d::inviscidupwindflux(), fluxes_d::inviscidupwindflux_d(), initializeflow_d::referencestate(), initializeflow_d::referencestate_d(), and riemannflux().

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

◆ etot_d()

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

Definition at line 479 of file flowUtils_d.f90.

References eint_d(), and constants::half.

Referenced by fluxes_d::inviscidupwindflux_d(), initializeflow_d::referencestate_d(), and riemannflux_d().

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

◆ getdirvector()

subroutine flowutils_d::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_d()

subroutine flowutils_d::getdirvector_d ( 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), intent(out)  winddirection,
real(kind=realtype), dimension(3), intent(out)  winddirectiond,
integer(kind=inttype)  liftindex 
)

Definition at line 1531 of file flowUtils_d.f90.

References utils_d::terminate(), and vectorrotation_d().

Referenced by adjustinflowangle_d().

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

◆ vectorrotation()

subroutine flowutils_d::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 1788 of file flowUtils_d.f90.

Referenced by getdirvector().

Here is the caller graph for this function:

◆ vectorrotation_d()

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

Definition at line 1718 of file flowUtils_d.f90.

Referenced by getdirvector_d().

Here is the caller graph for this function: