|
ADflow
v1.0
ADflow is a finite volume RANS solver tailored for gradient-based aerodynamic design optimization.
|
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 () |
| subroutine flowutils_fast_b::adjustinflowangle |
Definition at line 742 of file flowUtils_fast_b.f90.
References inputphysics::alpha, inputphysics::beta, inputphysics::dragdirection, getdirvector(), inputphysics::liftdirection, inputphysics::liftindex, constants::one, inputphysics::veldirfreestream, and constants::zero.

| subroutine flowutils_fast_b::allnodalgradients |
Definition at line 1310 of file flowUtils_fast_b.f90.
References blockpointers::aa, constants::fourth, blockpointers::ie, blockpointers::il, constants::ivx, constants::ivy, constants::ivz, blockpointers::je, blockpointers::jl, blockpointers::ke, blockpointers::kl, constants::one, blockpointers::qx, blockpointers::qy, blockpointers::qz, blockpointers::si, blockpointers::sj, blockpointers::sk, blockpointers::ux, blockpointers::uy, blockpointers::uz, blockpointers::vol, blockpointers::vx, blockpointers::vy, blockpointers::vz, blockpointers::w, blockpointers::wx, blockpointers::wy, blockpointers::wz, and constants::zero.
Referenced by residuals_fast_b::residual_block().

| subroutine flowutils_fast_b::allnodalgradients_fast_b |
Definition at line 1024 of file flowUtils_fast_b.f90.
References blockpointers::aad, constants::fourth, blockpointers::ie, blockpointers::il, constants::ivx, constants::ivy, constants::ivz, blockpointers::je, blockpointers::jl, blockpointers::ke, blockpointers::kl, constants::myintptr, constants::myintstack, constants::one, blockpointers::qxd, blockpointers::qyd, blockpointers::qzd, blockpointers::si, blockpointers::sj, blockpointers::sk, blockpointers::uxd, blockpointers::uyd, blockpointers::uzd, blockpointers::vol, blockpointers::vxd, blockpointers::vyd, blockpointers::vzd, blockpointers::wd, blockpointers::wxd, blockpointers::wyd, and blockpointers::wzd.
Referenced by masterroutines::master_state_b().

| 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 | ||
| ) |
Definition at line 153 of file flowUtils_fast_b.f90.
References constants::cpconstant, inputphysics::cpmodel, constants::five, inputphysics::gammaconstant, constants::half, constants::irho, constants::irhoe, constants::itu1, constants::ivx, constants::ivy, constants::ivz, constants::one, blockpointers::p, flowvarrefstate::rgas, constants::third, flowvarrefstate::tref, and blockpointers::w.
| 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().

| subroutine flowutils_fast_b::computelamviscosity | ( | logical, intent(in) | includehalos | ) |
Definition at line 650 of file flowUtils_fast_b.f90.
References utils_fast_b::getcorrectfork(), blockpointers::ie, blockpointers::il, constants::irho, constants::itu1, blockpointers::je, blockpointers::jl, blockpointers::ke, blockpointers::kl, flowvarrefstate::muref, inputphysics::musuthdim, blockpointers::p, flowvarrefstate::rgas, blockpointers::rlv, inputphysics::ssuthdim, constants::third, flowvarrefstate::tref, inputphysics::tsuthdim, constants::two, flowvarrefstate::viscous, and blockpointers::w.

| 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 | ||
| ) |
Definition at line 439 of file flowUtils_fast_b.f90.
References constants::cpconstant, cpcurvefits::cpeint, inputphysics::cpmodel, cpcurvefits::cpnparts, constants::cptempcurvefits, cpcurvefits::cptempfit, cpcurvefits::cptrange, cpcurvefits::cv0, cpcurvefits::cvn, constants::five, inputphysics::gammaconstant, constants::half, constants::irho, constants::irhoe, constants::itu1, constants::ivx, constants::ivy, constants::ivz, flowvarrefstate::kpresent, constants::one, blockpointers::p, flowvarrefstate::pinf, flowvarrefstate::rgas, constants::third, flowvarrefstate::tref, constants::two, and blockpointers::w.
| subroutine flowutils_fast_b::computepressuresimple | ( | logical, intent(in) | includehalos | ) |
Definition at line 387 of file flowUtils_fast_b.f90.
References inputphysics::gammaconstant, constants::half, blockpointers::ib, blockpointers::il, constants::irho, constants::irhoe, constants::ivx, constants::ivy, constants::ivz, blockpointers::jb, blockpointers::jl, blockpointers::kb, blockpointers::kl, constants::one, blockpointers::p, flowvarrefstate::pinfcorr, and blockpointers::w.
| 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 | ||
| ) |
Definition at line 79 of file flowUtils_fast_b.f90.
References constants::cpconstant, inputphysics::cpmodel, flowvarrefstate::gammainf, constants::half, constants::one, flowvarrefstate::rgas, and flowvarrefstate::tref.
Referenced by surfaceintegrations_fast_b::flowintegrationface().

| subroutine flowutils_fast_b::computespeedofsoundsquared |
Definition at line 115 of file flowUtils_fast_b.f90.
References blockpointers::aa, blockpointers::gamma, utils_fast_b::getcorrectfork(), blockpointers::ie, constants::irho, constants::itu1, blockpointers::je, blockpointers::ke, blockpointers::p, constants::third, constants::two, and blockpointers::w.
Referenced by residuals_fast_b::residual_block().


| 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().


| 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 | ||
| ) |
Definition at line 770 of file flowUtils_fast_b.f90.
References inputmotion::coefpolxrot, inputmotion::coefpolyrot, inputmotion::coefpolzrot, inputmotion::coscoeffourxrot, inputmotion::coscoeffouryrot, inputmotion::coscoeffourzrot, inputmotion::degreefourxrot, inputmotion::degreefouryrot, inputmotion::degreefourzrot, inputmotion::degreepolxrot, inputmotion::degreepolyrot, inputmotion::degreepolzrot, utils_fast_b::derivativerigidrotangle(), flowvarrefstate::lref, inputmotion::omegafourxrot, inputmotion::omegafouryrot, inputmotion::omegafourzrot, utils_fast_b::rigidrotangle(), inputmotion::rotpoint, inputmotion::sincoeffourxrot, inputmotion::sincoeffouryrot, inputmotion::sincoeffourzrot, and constants::zero.
Referenced by solverutils_fast_b::gridvelocitiesfinelevel_block(), and solverutils_fast_b::slipvelocitiesfinelevel_block().


| 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 | ||
| ) |
Definition at line 341 of file flowUtils_fast_b.f90.
References constants::cpconstant, inputphysics::cpmodel, constants::five, inputphysics::gammaconstant, constants::one, flowvarrefstate::rgas, constants::third, flowvarrefstate::tref, and constants::two.
Referenced by etot(), and etot_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 | ||
| ) |
Definition at line 288 of file flowUtils_fast_b.f90.
References constants::cpconstant, inputphysics::cpmodel, constants::five, inputphysics::gammaconstant, constants::one, flowvarrefstate::rgas, constants::third, flowvarrefstate::tref, and constants::two.
Referenced by etot_fast_b().

| 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().


| 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().


| 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().


| 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().
