|
ADflow
v1.0
ADflow is a finite volume RANS solver tailored for gradient-based aerodynamic design optimization.
|
Functions/Subroutines | |
| subroutine | applyallbc_block (secondhalo) |
| subroutine | bcsymm1sthalo_d (nn) |
| subroutine | bcsymm1sthalo (nn) |
| subroutine | bcsymm2ndhalo_d (nn) |
| subroutine | bcsymm2ndhalo (nn) |
| subroutine | bcsymmpolar1sthalo_d (nn) |
| subroutine | bcsymmpolar1sthalo (nn) |
| subroutine | bcsymmpolar2ndhalo_d (nn) |
| subroutine | bcsymmpolar2ndhalo (nn) |
| subroutine | bcnswalladiabatic_d (nn, secondhalo, correctfork) |
| subroutine | bcnswalladiabatic (nn, secondhalo, correctfork) |
| subroutine | bcnswallisothermal_d (nn, secondhalo, correctfork) |
| subroutine | bcnswallisothermal (nn, secondhalo, correctfork) |
| subroutine | bcsubsonicoutflow_d (nn, secondhalo, correctfork) |
| subroutine | bcsubsonicoutflow (nn, secondhalo, correctfork) |
| subroutine | bcsubsonicinflow_d (nn, secondhalo, correctfork) |
| subroutine | bcsubsonicinflow (nn, secondhalo, correctfork) |
| subroutine | bceulerwall_d (nn, secondhalo, correctfork) |
| subroutine | bceulerwall (nn, secondhalo, correctfork) |
| subroutine | bcfarfield_d (nn, secondhalo, correctfork) |
| subroutine | bcfarfield (nn, secondhalo, correctfork) |
| subroutine | bcsupersonicinflow (nn, secondhalo, correctfork) |
| subroutine | bcextrap (nn, secondhalo, correctfork) |
| subroutine | prhosubsonicinlet (ww, pp, correctfork) |
| subroutine | computeetot_d (ww, wwd, pp, ppd, correctfork) |
| subroutine | computeetot (ww, pp, correctfork) |
| subroutine | extrapolate2ndhalo_d (correctfork) |
| subroutine | extrapolate2ndhalo (correctfork) |
| subroutine bcroutines_d::applyallbc_block | ( | logical, intent(in) | secondhalo | ) |
Definition at line 13 of file BCRoutines_d.f90.
References blockpointers::aa, bceulerwall(), bcextrap(), bcfarfield(), bcnswalladiabatic(), bcnswallisothermal(), bcsubsonicinflow(), bcsubsonicoutflow(), bcsupersonicinflow(), bcsymm1sthalo(), bcsymm2ndhalo(), bcsymmpolar1sthalo(), bcsymmpolar2ndhalo(), blockpointers::bctype, blockpointers::bmti1, blockpointers::bmti2, blockpointers::bmtj1, blockpointers::bmtj2, blockpointers::bmtk1, blockpointers::bmtk2, blockpointers::d2wall, blockpointers::dw, constants::eulerwall, constants::extrap, constants::farfield, blockpointers::fw, blockpointers::gamma, utils_d::getcorrectfork(), blockpointers::il, blockpointers::jl, blockpointers::kl, constants::massbleedoutflow, blockpointers::nbocos, constants::nswalladiabatic, constants::nswallisothermal, blockpointers::nviscbocos, blockpointers::p, blockpointers::rev, blockpointers::rlv, blockpointers::s, blockpointers::scratch, blockpointers::sectionid, utils_d::setbcpointers(), blockpointers::sfacei, blockpointers::sfacej, blockpointers::sfacek, blockpointers::si, blockpointers::sj, blockpointers::sk, constants::subsonicinflow, constants::subsonicoutflow, constants::supersonicinflow, constants::supersonicoutflow, constants::symm, constants::symmpolar, blockpointers::vol, blockpointers::volold, blockpointers::w, blockpointers::wold, and blockpointers::x.

| subroutine bcroutines_d::bceulerwall | ( | integer(kind=inttype), intent(in) | nn, |
| logical, intent(in) | secondhalo, | ||
| logical, intent(in) | correctfork | ||
| ) |
Definition at line 2289 of file BCRoutines_d.f90.
References blockpointers::addgridvelocities, computeetot(), constants::constantpressure, iteration::currentlevel, flowvarrefstate::eddymodel, inputdiscretization::eulerwallbctreatment, extrapolate2ndhalo(), iteration::groundlevel, constants::irho, constants::ivx, constants::ivy, constants::ivz, constants::linextrapolpressure, utils_d::mydim(), constants::normalmomentum, constants::one, flowvarrefstate::rgas, constants::two, flowvarrefstate::viscous, and constants::zero.
Referenced by applyallbc_block().


| subroutine bcroutines_d::bceulerwall_d | ( | integer(kind=inttype), intent(in) | nn, |
| logical, intent(in) | secondhalo, | ||
| logical, intent(in) | correctfork | ||
| ) |
Definition at line 1998 of file BCRoutines_d.f90.
References blockpointers::addgridvelocities, blockpointers::bcdatad, computeetot_d(), constants::constantpressure, iteration::currentlevel, flowvarrefstate::eddymodel, inputdiscretization::eulerwallbctreatment, extrapolate2ndhalo_d(), iteration::groundlevel, constants::irho, constants::ivx, constants::ivy, constants::ivz, constants::linextrapolpressure, utils_d::mydim(), utils_d::mydim_d(), constants::normalmomentum, constants::one, flowvarrefstate::rgas, flowvarrefstate::rgasd, constants::two, flowvarrefstate::viscous, and constants::zero.
Referenced by bcextra_d::applyallbc_block_d().


| subroutine bcroutines_d::bcextrap | ( | integer(kind=inttype), intent(in) | nn, |
| logical, intent(in) | secondhalo, | ||
| logical, intent(in) | correctfork | ||
| ) |
Definition at line 2886 of file BCRoutines_d.f90.
References blockpointers::bctype, computeetot(), constants::constantextrapol, flowvarrefstate::eddymodel, extrapolate2ndhalo(), constants::irho, constants::ivx, constants::ivy, constants::ivz, constants::linextrapol, constants::one, inputdiscretization::outflowtreatment, constants::supersonicoutflow, constants::two, flowvarrefstate::viscous, and constants::zero.
Referenced by applyallbc_block().


| subroutine bcroutines_d::bcfarfield | ( | integer(kind=inttype) | nn, |
| logical, intent(in) | secondhalo, | ||
| logical, intent(in) | correctfork | ||
| ) |
Definition at line 2720 of file BCRoutines_d.f90.
References computeetot(), flowvarrefstate::eddymodel, extrapolate2ndhalo(), constants::fourth, flowvarrefstate::gammainf, constants::half, constants::irho, constants::ivx, constants::ivy, constants::ivz, constants::one, flowvarrefstate::pinfcorr, constants::two, flowvarrefstate::viscous, flowvarrefstate::winf, and constants::zero.
Referenced by applyallbc_block().


| subroutine bcroutines_d::bcfarfield_d | ( | integer(kind=inttype) | nn, |
| logical, intent(in) | secondhalo, | ||
| logical, intent(in) | correctfork | ||
| ) |
Definition at line 2501 of file BCRoutines_d.f90.
References blockpointers::bcdatad, computeetot_d(), flowvarrefstate::eddymodel, extrapolate2ndhalo_d(), constants::fourth, flowvarrefstate::gammainf, constants::half, constants::irho, constants::ivx, constants::ivy, constants::ivz, constants::one, flowvarrefstate::pinfcorr, flowvarrefstate::pinfcorrd, constants::two, flowvarrefstate::viscous, flowvarrefstate::winf, flowvarrefstate::winfd, and constants::zero.
Referenced by bcextra_d::applyallbc_block_d().


| subroutine bcroutines_d::bcnswalladiabatic | ( | integer(kind=inttype), intent(in) | nn, |
| logical, intent(in) | secondhalo, | ||
| logical, intent(in) | correctfork | ||
| ) |
Definition at line 876 of file BCRoutines_d.f90.
References computeetot(), constants::constantpressure, iteration::currentlevel, flowvarrefstate::eddymodel, extrapolate2ndhalo(), constants::four, iteration::groundlevel, constants::irho, constants::itu1, constants::ivx, constants::ivy, constants::ivz, constants::third, constants::two, flowvarrefstate::viscous, inputdiscretization::viscwallbctreatment, and constants::zero.
Referenced by applyallbc_block().


| subroutine bcroutines_d::bcnswalladiabatic_d | ( | integer(kind=inttype), intent(in) | nn, |
| logical, intent(in) | secondhalo, | ||
| logical, intent(in) | correctfork | ||
| ) |
Definition at line 790 of file BCRoutines_d.f90.
References blockpointers::bcdatad, computeetot_d(), constants::constantpressure, iteration::currentlevel, flowvarrefstate::eddymodel, extrapolate2ndhalo_d(), constants::four, iteration::groundlevel, constants::irho, constants::itu1, constants::ivx, constants::ivy, constants::ivz, constants::third, constants::two, flowvarrefstate::viscous, inputdiscretization::viscwallbctreatment, and constants::zero.
Referenced by bcextra_d::applyallbc_block_d().


| subroutine bcroutines_d::bcnswallisothermal | ( | integer(kind=inttype), intent(in) | nn, |
| logical, intent(in) | secondhalo, | ||
| logical, intent(in) | correctfork | ||
| ) |
Definition at line 1075 of file BCRoutines_d.f90.
References computeetot(), constants::constantpressure, iteration::currentlevel, flowvarrefstate::eddymodel, extrapolate2ndhalo(), constants::four, iteration::groundlevel, constants::half, constants::irho, constants::itu1, constants::ivx, constants::ivy, constants::ivz, flowvarrefstate::rgas, constants::third, constants::two, flowvarrefstate::viscous, inputdiscretization::viscwallbctreatment, and constants::zero.
Referenced by applyallbc_block().


| subroutine bcroutines_d::bcnswallisothermal_d | ( | integer(kind=inttype), intent(in) | nn, |
| logical, intent(in) | secondhalo, | ||
| logical, intent(in) | correctfork | ||
| ) |
Definition at line 955 of file BCRoutines_d.f90.
References blockpointers::bcdatad, computeetot_d(), constants::constantpressure, iteration::currentlevel, flowvarrefstate::eddymodel, extrapolate2ndhalo_d(), constants::four, iteration::groundlevel, constants::half, constants::irho, constants::itu1, constants::ivx, constants::ivy, constants::ivz, flowvarrefstate::rgas, flowvarrefstate::rgasd, constants::third, constants::two, flowvarrefstate::viscous, inputdiscretization::viscwallbctreatment, and constants::zero.
Referenced by bcextra_d::applyallbc_block_d().


| subroutine bcroutines_d::bcsubsonicinflow | ( | integer(kind=inttype), intent(in) | nn, |
| logical, intent(in) | secondhalo, | ||
| logical, intent(in) | correctfork | ||
| ) |
Definition at line 1771 of file BCRoutines_d.f90.
References computeetot(), constants::cpconstant, inputphysics::cpmodel, constants::cptempcurvefits, flowvarrefstate::eddymodel, extrapolate2ndhalo(), constants::four, inputphysics::gammaconstant, constants::half, inputdiscretization::hscalinginlet, constants::irho, constants::irhoe, constants::itu1, constants::ivx, constants::ivy, constants::ivz, constants::massflow, constants::one, flowvarrefstate::rgas, utils_d::terminate(), constants::third, constants::totalconditions, constants::two, flowvarrefstate::viscous, and constants::zero.
Referenced by applyallbc_block().


| subroutine bcroutines_d::bcsubsonicinflow_d | ( | integer(kind=inttype), intent(in) | nn, |
| logical, intent(in) | secondhalo, | ||
| logical, intent(in) | correctfork | ||
| ) |
Definition at line 1428 of file BCRoutines_d.f90.
References blockpointers::bcdatad, computeetot_d(), constants::cpconstant, inputphysics::cpmodel, constants::cptempcurvefits, flowvarrefstate::eddymodel, extrapolate2ndhalo_d(), constants::four, inputphysics::gammaconstant, constants::half, inputdiscretization::hscalinginlet, constants::irho, constants::irhoe, constants::itu1, constants::ivx, constants::ivy, constants::ivz, constants::massflow, constants::one, flowvarrefstate::rgas, flowvarrefstate::rgasd, utils_d::terminate(), constants::third, constants::totalconditions, constants::two, flowvarrefstate::viscous, and constants::zero.
Referenced by bcextra_d::applyallbc_block_d().


| subroutine bcroutines_d::bcsubsonicoutflow | ( | integer(kind=inttype), intent(in) | nn, |
| logical, intent(in) | secondhalo, | ||
| logical, intent(in) | correctfork | ||
| ) |
Definition at line 1330 of file BCRoutines_d.f90.
References computeetot(), flowvarrefstate::eddymodel, extrapolate2ndhalo(), constants::irho, constants::itu1, constants::ivx, constants::ivy, constants::ivz, constants::one, constants::third, constants::two, and flowvarrefstate::viscous.
Referenced by applyallbc_block().


| subroutine bcroutines_d::bcsubsonicoutflow_d | ( | integer(kind=inttype), intent(in) | nn, |
| logical, intent(in) | secondhalo, | ||
| logical, intent(in) | correctfork | ||
| ) |
Definition at line 1177 of file BCRoutines_d.f90.
References blockpointers::bcdatad, computeetot_d(), flowvarrefstate::eddymodel, extrapolate2ndhalo_d(), constants::irho, constants::itu1, constants::ivx, constants::ivy, constants::ivz, constants::one, constants::third, constants::two, and flowvarrefstate::viscous.
Referenced by bcextra_d::applyallbc_block_d().


| subroutine bcroutines_d::bcsupersonicinflow | ( | integer(kind=inttype), intent(in) | nn, |
| logical, intent(in) | secondhalo, | ||
| logical, intent(in) | correctfork | ||
| ) |
Definition at line 2832 of file BCRoutines_d.f90.
References computeetot(), flowvarrefstate::eddymodel, constants::irho, constants::ivx, constants::ivy, constants::ivz, and flowvarrefstate::viscous.
Referenced by applyallbc_block().


| subroutine bcroutines_d::bcsymm1sthalo | ( | integer(kind=inttype), intent(in) | nn | ) |
Definition at line 249 of file BCRoutines_d.f90.
References flowvarrefstate::eddymodel, constants::irho, constants::irhoe, constants::ivx, constants::ivy, constants::ivz, constants::two, and flowvarrefstate::viscous.
Referenced by applyallbc_block().

| subroutine bcroutines_d::bcsymm1sthalo_d | ( | integer(kind=inttype), intent(in) | nn | ) |
Definition at line 170 of file BCRoutines_d.f90.
References blockpointers::bcdatad, flowvarrefstate::eddymodel, constants::irho, constants::irhoe, constants::ivx, constants::ivy, constants::ivz, constants::two, and flowvarrefstate::viscous.
Referenced by bcextra_d::applyallbc_block_d().

| subroutine bcroutines_d::bcsymm2ndhalo | ( | integer(kind=inttype), intent(in) | nn | ) |
Definition at line 374 of file BCRoutines_d.f90.
References flowvarrefstate::eddymodel, constants::irho, constants::irhoe, constants::ivx, constants::ivy, constants::ivz, constants::two, and flowvarrefstate::viscous.
Referenced by applyallbc_block().

| subroutine bcroutines_d::bcsymm2ndhalo_d | ( | integer(kind=inttype), intent(in) | nn | ) |
Definition at line 306 of file BCRoutines_d.f90.
References blockpointers::bcdatad, flowvarrefstate::eddymodel, constants::irho, constants::irhoe, constants::ivx, constants::ivy, constants::ivz, constants::two, and flowvarrefstate::viscous.
Referenced by bcextra_d::applyallbc_block_d().

| subroutine bcroutines_d::bcsymmpolar1sthalo | ( | integer(kind=inttype), intent(in) | nn | ) |
Definition at line 528 of file BCRoutines_d.f90.
References flowvarrefstate::eddymodel, constants::irho, constants::irhoe, constants::ivx, constants::ivy, constants::ivz, constants::one, constants::two, and flowvarrefstate::viscous.
Referenced by applyallbc_block().

| subroutine bcroutines_d::bcsymmpolar1sthalo_d | ( | integer(kind=inttype), intent(in) | nn | ) |
Definition at line 422 of file BCRoutines_d.f90.
References flowvarrefstate::eddymodel, constants::irho, constants::irhoe, constants::ivx, constants::ivy, constants::ivz, constants::one, constants::two, and flowvarrefstate::viscous.
Referenced by bcextra_d::applyallbc_block_d().

| subroutine bcroutines_d::bcsymmpolar2ndhalo | ( | integer(kind=inttype), intent(in) | nn | ) |
Definition at line 710 of file BCRoutines_d.f90.
References flowvarrefstate::eddymodel, constants::irho, constants::irhoe, constants::ivx, constants::ivy, constants::ivz, constants::one, constants::two, and flowvarrefstate::viscous.
Referenced by applyallbc_block().

| subroutine bcroutines_d::bcsymmpolar2ndhalo_d | ( | integer(kind=inttype), intent(in) | nn | ) |
Definition at line 606 of file BCRoutines_d.f90.
References flowvarrefstate::eddymodel, constants::irho, constants::irhoe, constants::ivx, constants::ivy, constants::ivz, constants::one, constants::two, and flowvarrefstate::viscous.
Referenced by bcextra_d::applyallbc_block_d().

| subroutine bcroutines_d::computeetot | ( | real(kind=realtype), dimension(:, :, :) | ww, |
| real(kind=realtype), dimension(:, :) | pp, | ||
| logical | correctfork | ||
| ) |
Definition at line 3143 of file BCRoutines_d.f90.
References constants::cpconstant, inputphysics::cpmodel, constants::cptempcurvefits, constants::five, inputphysics::gammaconstant, constants::half, constants::irho, constants::irhoe, constants::itu1, constants::ivx, constants::ivy, constants::ivz, constants::one, utils_d::terminate(), and constants::third.
Referenced by bceulerwall(), bcextrap(), bcfarfield(), bcnswalladiabatic(), bcnswallisothermal(), bcsubsonicinflow(), bcsubsonicoutflow(), bcsupersonicinflow(), and extrapolate2ndhalo().


| subroutine bcroutines_d::computeetot_d | ( | real(kind=realtype), dimension(:, :, :) | ww, |
| real(kind=realtype), dimension(:, :, :) | wwd, | ||
| real(kind=realtype), dimension(:, :) | pp, | ||
| real(kind=realtype), dimension(:, :) | ppd, | ||
| logical | correctfork | ||
| ) |
Definition at line 3090 of file BCRoutines_d.f90.
References constants::cpconstant, inputphysics::cpmodel, constants::cptempcurvefits, constants::five, inputphysics::gammaconstant, constants::half, constants::irho, constants::irhoe, constants::itu1, constants::ivx, constants::ivy, constants::ivz, constants::one, utils_d::terminate(), and constants::third.
Referenced by bceulerwall_d(), bcfarfield_d(), bcnswalladiabatic_d(), bcnswallisothermal_d(), bcsubsonicinflow_d(), bcsubsonicoutflow_d(), and extrapolate2ndhalo_d().


| subroutine bcroutines_d::extrapolate2ndhalo | ( | logical, intent(in) | correctfork | ) |
Definition at line 3250 of file BCRoutines_d.f90.
References computeetot(), flowvarrefstate::eddymodel, constants::irho, constants::ivx, constants::ivy, constants::ivz, constants::two, and flowvarrefstate::viscous.
Referenced by bceulerwall(), bcextrap(), bcfarfield(), bcnswalladiabatic(), bcnswallisothermal(), bcsubsonicinflow(), and bcsubsonicoutflow().


| subroutine bcroutines_d::extrapolate2ndhalo_d | ( | logical, intent(in) | correctfork | ) |
Definition at line 3190 of file BCRoutines_d.f90.
References computeetot_d(), flowvarrefstate::eddymodel, constants::irho, constants::ivx, constants::ivy, constants::ivz, constants::two, and flowvarrefstate::viscous.
Referenced by bceulerwall_d(), bcfarfield_d(), bcnswalladiabatic_d(), bcnswallisothermal_d(), bcsubsonicinflow_d(), and bcsubsonicoutflow_d().


| subroutine bcroutines_d::prhosubsonicinlet | ( | real(kind=realtype), dimension(:, :, :) | ww, |
| real(kind=realtype), dimension(:, :) | pp, | ||
| logical, intent(in) | correctfork | ||
| ) |
Definition at line 2968 of file BCRoutines_d.f90.
References constants::cpconstant, inputphysics::cpmodel, inputphysics::gammaconstant, constants::irho, constants::irhoe, constants::itu1, constants::one, flowvarrefstate::rgas, constants::third, flowvarrefstate::tref, and constants::two.