|
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_b (nn) |
| subroutine | bcsymm1sthalo (nn) |
| subroutine | bcsymm2ndhalo_b (nn) |
| subroutine | bcsymm2ndhalo (nn) |
| subroutine | bcsymmpolar1sthalo_b (nn) |
| subroutine | bcsymmpolar1sthalo (nn) |
| subroutine | bcsymmpolar2ndhalo_b (nn) |
| subroutine | bcsymmpolar2ndhalo (nn) |
| subroutine | bcnswalladiabatic_b (nn, secondhalo, correctfork) |
| subroutine | bcnswalladiabatic (nn, secondhalo, correctfork) |
| subroutine | bcnswallisothermal_b (nn, secondhalo, correctfork) |
| subroutine | bcnswallisothermal (nn, secondhalo, correctfork) |
| subroutine | bcsubsonicoutflow_b (nn, secondhalo, correctfork) |
| subroutine | bcsubsonicoutflow (nn, secondhalo, correctfork) |
| subroutine | bcsubsonicinflow_b (nn, secondhalo, correctfork) |
| subroutine | bcsubsonicinflow (nn, secondhalo, correctfork) |
| subroutine | bceulerwall_b (nn, secondhalo, correctfork) |
| subroutine | bceulerwall (nn, secondhalo, correctfork) |
| subroutine | bcfarfield_b (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_b (ww, wwd, pp, ppd, correctfork) |
| subroutine | computeetot (ww, pp, correctfork) |
| subroutine | extrapolate2ndhalo_b (correctfork) |
| subroutine | extrapolate2ndhalo (correctfork) |
| subroutine bcroutines_b::applyallbc_block | ( | logical, intent(in) | secondhalo | ) |
Definition at line 13 of file BCRoutines_b.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_b::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_b::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_b::bceulerwall | ( | integer(kind=inttype), intent(in) | nn, |
| logical, intent(in) | secondhalo, | ||
| logical, intent(in) | correctfork | ||
| ) |
Definition at line 3135 of file BCRoutines_b.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_b::mydim(), constants::normalmomentum, constants::one, flowvarrefstate::rgas, constants::two, flowvarrefstate::viscous, and constants::zero.
Referenced by applyallbc_block().


| subroutine bcroutines_b::bceulerwall_b | ( | integer(kind=inttype), intent(in) | nn, |
| logical, intent(in) | secondhalo, | ||
| logical, intent(in) | correctfork | ||
| ) |
Definition at line 2620 of file BCRoutines_b.f90.
References blockpointers::addgridvelocities, blockpointers::bcdatad, computeetot(), computeetot_b(), constants::constantpressure, iteration::currentlevel, flowvarrefstate::eddymodel, inputdiscretization::eulerwallbctreatment, extrapolate2ndhalo_b(), iteration::groundlevel, constants::irho, constants::ivx, constants::ivy, constants::ivz, constants::linextrapolpressure, utils_b::mydim(), utils_b::mydim_b(), constants::normalmomentum, constants::one, flowvarrefstate::rgas, flowvarrefstate::rgasd, constants::two, flowvarrefstate::viscous, and constants::zero.
Referenced by bcextra_b::applyallbc_block_b().


| subroutine bcroutines_b::bcextrap | ( | integer(kind=inttype), intent(in) | nn, |
| logical, intent(in) | secondhalo, | ||
| logical, intent(in) | correctfork | ||
| ) |
Definition at line 3868 of file BCRoutines_b.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_b::bcfarfield | ( | integer(kind=inttype) | nn, |
| logical, intent(in) | secondhalo, | ||
| logical, intent(in) | correctfork | ||
| ) |
Definition at line 3705 of file BCRoutines_b.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_b::bcfarfield_b | ( | integer(kind=inttype) | nn, |
| logical, intent(in) | secondhalo, | ||
| logical, intent(in) | correctfork | ||
| ) |
Definition at line 3348 of file BCRoutines_b.f90.
References blockpointers::bcdatad, computeetot(), computeetot_b(), flowvarrefstate::eddymodel, extrapolate2ndhalo_b(), 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_b::applyallbc_block_b().


| subroutine bcroutines_b::bcnswalladiabatic | ( | integer(kind=inttype), intent(in) | nn, |
| logical, intent(in) | secondhalo, | ||
| logical, intent(in) | correctfork | ||
| ) |
Definition at line 1002 of file BCRoutines_b.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_b::bcnswalladiabatic_b | ( | integer(kind=inttype), intent(in) | nn, |
| logical, intent(in) | secondhalo, | ||
| logical, intent(in) | correctfork | ||
| ) |
Definition at line 838 of file BCRoutines_b.f90.
References blockpointers::bcdatad, computeetot(), computeetot_b(), constants::constantpressure, iteration::currentlevel, flowvarrefstate::eddymodel, extrapolate2ndhalo_b(), 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_b::applyallbc_block_b().


| subroutine bcroutines_b::bcnswallisothermal | ( | integer(kind=inttype), intent(in) | nn, |
| logical, intent(in) | secondhalo, | ||
| logical, intent(in) | correctfork | ||
| ) |
Definition at line 1329 of file BCRoutines_b.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_b::bcnswallisothermal_b | ( | integer(kind=inttype), intent(in) | nn, |
| logical, intent(in) | secondhalo, | ||
| logical, intent(in) | correctfork | ||
| ) |
Definition at line 1082 of file BCRoutines_b.f90.
References blockpointers::bcdatad, computeetot(), computeetot_b(), constants::constantpressure, iteration::currentlevel, flowvarrefstate::eddymodel, extrapolate2ndhalo_b(), 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_b::applyallbc_block_b().


| subroutine bcroutines_b::bcsubsonicinflow | ( | integer(kind=inttype), intent(in) | nn, |
| logical, intent(in) | secondhalo, | ||
| logical, intent(in) | correctfork | ||
| ) |
Definition at line 2398 of file BCRoutines_b.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_b::terminate(), constants::third, constants::totalconditions, constants::two, flowvarrefstate::viscous, and constants::zero.
Referenced by applyallbc_block().


| subroutine bcroutines_b::bcsubsonicinflow_b | ( | integer(kind=inttype), intent(in) | nn, |
| logical, intent(in) | secondhalo, | ||
| logical, intent(in) | correctfork | ||
| ) |
Definition at line 1790 of file BCRoutines_b.f90.
References blockpointers::bcdatad, computeetot(), computeetot_b(), constants::cpconstant, inputphysics::cpmodel, constants::cptempcurvefits, flowvarrefstate::eddymodel, extrapolate2ndhalo_b(), 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_b::terminate(), constants::third, constants::totalconditions, constants::two, flowvarrefstate::viscous, and constants::zero.
Referenced by bcextra_b::applyallbc_block_b().


| subroutine bcroutines_b::bcsubsonicoutflow | ( | integer(kind=inttype), intent(in) | nn, |
| logical, intent(in) | secondhalo, | ||
| logical, intent(in) | correctfork | ||
| ) |
Definition at line 1692 of file BCRoutines_b.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_b::bcsubsonicoutflow_b | ( | integer(kind=inttype), intent(in) | nn, |
| logical, intent(in) | secondhalo, | ||
| logical, intent(in) | correctfork | ||
| ) |
Definition at line 1432 of file BCRoutines_b.f90.
References blockpointers::bcdatad, computeetot(), computeetot_b(), flowvarrefstate::eddymodel, extrapolate2ndhalo_b(), constants::irho, constants::itu1, constants::ivx, constants::ivy, constants::ivz, constants::one, constants::third, constants::two, and flowvarrefstate::viscous.
Referenced by bcextra_b::applyallbc_block_b().


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


| subroutine bcroutines_b::bcsymm1sthalo | ( | integer(kind=inttype), intent(in) | nn | ) |
Definition at line 258 of file BCRoutines_b.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_b::bcsymm1sthalo_b | ( | integer(kind=inttype), intent(in) | nn | ) |
Definition at line 171 of file BCRoutines_b.f90.
References blockpointers::bcdatad, flowvarrefstate::eddymodel, constants::irho, constants::irhoe, constants::ivx, constants::ivy, constants::ivz, constants::two, and flowvarrefstate::viscous.
Referenced by bcextra_b::applyallbc_block_b().

| subroutine bcroutines_b::bcsymm2ndhalo | ( | integer(kind=inttype), intent(in) | nn | ) |
Definition at line 392 of file BCRoutines_b.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_b::bcsymm2ndhalo_b | ( | integer(kind=inttype), intent(in) | nn | ) |
Definition at line 316 of file BCRoutines_b.f90.
References blockpointers::bcdatad, flowvarrefstate::eddymodel, constants::irho, constants::irhoe, constants::ivx, constants::ivy, constants::ivz, constants::two, and flowvarrefstate::viscous.
Referenced by bcextra_b::applyallbc_block_b().

| subroutine bcroutines_b::bcsymmpolar1sthalo | ( | integer(kind=inttype), intent(in) | nn | ) |
Definition at line 564 of file BCRoutines_b.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_b::bcsymmpolar1sthalo_b | ( | integer(kind=inttype), intent(in) | nn | ) |
Definition at line 442 of file BCRoutines_b.f90.
References flowvarrefstate::eddymodel, constants::irho, constants::irhoe, constants::ivx, constants::ivy, constants::ivz, constants::one, constants::two, and flowvarrefstate::viscous.
Referenced by bcextra_b::applyallbc_block_b().

| subroutine bcroutines_b::bcsymmpolar2ndhalo | ( | integer(kind=inttype), intent(in) | nn | ) |
Definition at line 762 of file BCRoutines_b.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_b::bcsymmpolar2ndhalo_b | ( | integer(kind=inttype), intent(in) | nn | ) |
Definition at line 640 of file BCRoutines_b.f90.
References flowvarrefstate::eddymodel, constants::irho, constants::irhoe, constants::ivx, constants::ivy, constants::ivz, constants::one, constants::two, and flowvarrefstate::viscous.
Referenced by bcextra_b::applyallbc_block_b().

| subroutine bcroutines_b::computeetot | ( | real(kind=realtype), dimension(:, :, :) | ww, |
| real(kind=realtype), dimension(:, :) | pp, | ||
| logical | correctfork | ||
| ) |
Definition at line 4129 of file BCRoutines_b.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_b::terminate(), and constants::third.
Referenced by bceulerwall(), bceulerwall_b(), bcextrap(), bcfarfield(), bcfarfield_b(), bcnswalladiabatic(), bcnswalladiabatic_b(), bcnswallisothermal(), bcnswallisothermal_b(), bcsubsonicinflow(), bcsubsonicinflow_b(), bcsubsonicoutflow(), bcsubsonicoutflow_b(), bcsupersonicinflow(), and extrapolate2ndhalo().


| subroutine bcroutines_b::computeetot_b | ( | 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 4072 of file BCRoutines_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, utils_b::terminate(), and constants::third.
Referenced by bceulerwall_b(), bcfarfield_b(), bcnswalladiabatic_b(), bcnswallisothermal_b(), bcsubsonicinflow_b(), bcsubsonicoutflow_b(), and extrapolate2ndhalo_b().


| subroutine bcroutines_b::extrapolate2ndhalo | ( | logical, intent(in) | correctfork | ) |
Definition at line 4294 of file BCRoutines_b.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_b::extrapolate2ndhalo_b | ( | logical, intent(in) | correctfork | ) |
Definition at line 4177 of file BCRoutines_b.f90.
References computeetot_b(), flowvarrefstate::eddymodel, constants::irho, constants::ivx, constants::ivy, constants::ivz, constants::two, and flowvarrefstate::viscous.
Referenced by bceulerwall_b(), bcfarfield_b(), bcnswalladiabatic_b(), bcnswallisothermal_b(), bcsubsonicinflow_b(), and bcsubsonicoutflow_b().


| subroutine bcroutines_b::prhosubsonicinlet | ( | real(kind=realtype), dimension(:, :, :) | ww, |
| real(kind=realtype), dimension(:, :) | pp, | ||
| logical, intent(in) | correctfork | ||
| ) |
Definition at line 3950 of file BCRoutines_b.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.