|
ADflow
v1.0
ADflow is a finite volume RANS solver tailored for gradient-based aerodynamic design optimization.
|
Functions/Subroutines | |
| subroutine | setbcvarnamesisothermalwall () |
| subroutine | setbcvarnamessubsonicinflow () |
| subroutine | setbcvarnamessubsonicoutflow () |
| subroutine | setbcvarnamessupersonicinflow () |
| subroutine | setbcvarnamesturb (offset) |
| subroutine | computehtot_b (tt, ttd, ht, htd) |
| subroutine | computehtot (tt, ht) |
| subroutine | unitvectorscylsystem (boco) |
| subroutine | bcdataisothermalwall_b (boco, bcvararray, bcvararrayd, ibeg, iend, jbeg, jend) |
| subroutine | bcdataisothermalwall (boco, bcvararray, ibeg, iend, jbeg, jend) |
| subroutine | bcdatasubsonicinflow_b (boco, bcvararray, bcvararrayd, ibeg, iend, jbeg, jend, allturbpresent) |
| subroutine | bcdatasubsonicinflow (boco, bcvararray, ibeg, iend, jbeg, jend, allturbpresent) |
| subroutine | bcdatasubsonicoutflow_b (boco, bcvararray, bcvararrayd, ibeg, iend, jbeg, jend) |
| subroutine | bcdatasubsonicoutflow (boco, bcvararray, ibeg, iend, jbeg, jend) |
| subroutine | bcdatasupersonicinflow_b (boco, bcvararray, bcvararrayd, ibeg, iend, jbeg, jend, allflowpresent, allturbpresent) |
| subroutine | bcdatasupersonicinflow (boco, bcvararray, ibeg, iend, jbeg, jend, allflowpresent, allturbpresent) |
| subroutine | setbcvarturb_b (offset, boco, bcvararray, bcvararrayd, ibeg, iend, jbeg, jend, turbinlet, turbinletd) |
| logical function | setbcvarturb (offset, boco, bcvararray, ibeg, iend, jbeg, jend, turbinlet) |
| subroutine bcdata_b::bcdataisothermalwall | ( | integer(kind=inttype) | boco, |
| real(kind=realtype), dimension(ibeg:iend, jbeg:jend, nbcvarmax) | bcvararray, | ||
| integer(kind=inttype) | ibeg, | ||
| integer(kind=inttype) | iend, | ||
| integer(kind=inttype) | jbeg, | ||
| integer(kind=inttype) | jend | ||
| ) |
Definition at line 386 of file BCData_b.f90.
References blockpointers::bcfaceid, blockpointers::nbkglobal, utils_b::sitemperature(), bcdatamod::temp, utils_b::terminate(), and flowvarrefstate::tref.

| subroutine bcdata_b::bcdataisothermalwall_b | ( | integer(kind=inttype) | boco, |
| real(kind=realtype), dimension(ibeg:iend, jbeg:jend, nbcvarmax) | bcvararray, | ||
| real(kind=realtype), dimension(ibeg:iend, jbeg:jend, nbcvarmax) | bcvararrayd, | ||
| integer(kind=inttype) | ibeg, | ||
| integer(kind=inttype) | iend, | ||
| integer(kind=inttype) | jbeg, | ||
| integer(kind=inttype) | jend | ||
| ) |
Definition at line 337 of file BCData_b.f90.
References blockpointers::bcdatad, blockpointers::bcfaceid, bcdatamod::bcvararrayd, blockpointers::nbkglobal, utils_b::sitemperature(), bcdatamod::temp, utils_b::terminate(), flowvarrefstate::tref, and flowvarrefstate::trefd.
Referenced by bcdata::setbcdatafinegrid_b().


| subroutine bcdata_b::bcdatasubsonicinflow | ( | integer(kind=inttype), intent(in) | boco, |
| real(kind=realtype), dimension(ibeg:iend, jbeg:jend, nbcvarmax) | bcvararray, | ||
| integer(kind=inttype) | ibeg, | ||
| integer(kind=inttype) | iend, | ||
| integer(kind=inttype) | jbeg, | ||
| integer(kind=inttype) | jend, | ||
| logical, intent(inout) | allturbpresent | ||
| ) |
Definition at line 952 of file BCData_b.f90.
References communication::adflow_comm_world, bcdatamod::angle, bcdatamod::axis, blockpointers::bcfaceid, bcdatamod::bcvarpresent, computehtot(), constants::eps, inputphysics::equations, constants::fourth, flowvarrefstate::href, bcdatamod::length, bcdatamod::mass, flowvarrefstate::muref, blockpointers::nbkglobal, flowvarrefstate::nwt, constants::one, flowvarrefstate::pref, bcdatamod::radvec1, bcdatamod::radvec2, inputphysics::rgasdim, flowvarrefstate::rhoref, blockpointers::sectionid, section::sections, setbcvarturb(), utils_b::siangle(), utils_b::sidensity(), utils_b::sipressure(), utils_b::sitemperature(), utils_b::sivelocity(), bcdatamod::temp, utils_b::terminate(), bcdatamod::time, constants::totalconditions, totalsubsonicinlet(), flowvarrefstate::tref, unitvectorscylsystem(), flowvarrefstate::winf, bcdatamod::xf, and constants::zero.

| subroutine bcdata_b::bcdatasubsonicinflow_b | ( | integer(kind=inttype), intent(in) | boco, |
| real(kind=realtype), dimension(ibeg:iend, jbeg:jend, nbcvarmax) | bcvararray, | ||
| real(kind=realtype), dimension(ibeg:iend, jbeg:jend, nbcvarmax) | bcvararrayd, | ||
| integer(kind=inttype) | ibeg, | ||
| integer(kind=inttype) | iend, | ||
| integer(kind=inttype) | jbeg, | ||
| integer(kind=inttype) | jend, | ||
| logical, intent(inout) | allturbpresent | ||
| ) |
Definition at line 438 of file BCData_b.f90.
References blockpointers::bcdatad, blockpointers::bcfaceid, bcdatamod::bcvararrayd, bcdatamod::bcvarpresent, inputphysics::equations, flowvarrefstate::href, flowvarrefstate::hrefd, flowvarrefstate::muref, flowvarrefstate::murefd, blockpointers::nbkglobal, flowvarrefstate::nwt, flowvarrefstate::pref, flowvarrefstate::prefd, flowvarrefstate::rhoref, flowvarrefstate::rhorefd, blockpointers::sectionid, setbcvarturb_b(), utils_b::siangle(), utils_b::sidensity(), utils_b::sipressure(), utils_b::sitemperature(), utils_b::sivelocity(), utils_b::terminate(), totalsubsonicinlet_b(), flowvarrefstate::tref, flowvarrefstate::trefd, flowvarrefstate::winf, and flowvarrefstate::winfd.
Referenced by bcdata::setbcdatafinegrid_b().


| subroutine bcdata_b::bcdatasubsonicoutflow | ( | integer(kind=inttype) | boco, |
| real(kind=realtype), dimension(ibeg:iend, jbeg:jend, nbcvarmax) | bcvararray, | ||
| integer(kind=inttype) | ibeg, | ||
| integer(kind=inttype) | iend, | ||
| integer(kind=inttype) | jbeg, | ||
| integer(kind=inttype) | jend | ||
| ) |
Definition at line 1330 of file BCData_b.f90.
References blockpointers::bcfaceid, bcdatamod::length, bcdatamod::mass, blockpointers::nbkglobal, flowvarrefstate::pref, utils_b::sipressure(), utils_b::terminate(), and bcdatamod::time.

| subroutine bcdata_b::bcdatasubsonicoutflow_b | ( | integer(kind=inttype) | boco, |
| real(kind=realtype), dimension(ibeg:iend, jbeg:jend, nbcvarmax) | bcvararray, | ||
| real(kind=realtype), dimension(ibeg:iend, jbeg:jend, nbcvarmax) | bcvararrayd, | ||
| integer(kind=inttype) | ibeg, | ||
| integer(kind=inttype) | iend, | ||
| integer(kind=inttype) | jbeg, | ||
| integer(kind=inttype) | jend | ||
| ) |
Definition at line 1285 of file BCData_b.f90.
References blockpointers::bcdatad, blockpointers::bcfaceid, bcdatamod::bcvararrayd, bcdatamod::length, bcdatamod::mass, blockpointers::nbkglobal, flowvarrefstate::pref, flowvarrefstate::prefd, utils_b::sipressure(), utils_b::terminate(), and bcdatamod::time.
Referenced by bcdata::setbcdatafinegrid_b().


| subroutine bcdata_b::bcdatasupersonicinflow | ( | integer(kind=inttype), intent(in) | boco, |
| real(kind=realtype), dimension(ibeg:iend, jbeg:jend, nbcvarmax) | bcvararray, | ||
| integer(kind=inttype) | ibeg, | ||
| integer(kind=inttype) | iend, | ||
| integer(kind=inttype) | jbeg, | ||
| integer(kind=inttype) | jend, | ||
| logical, intent(inout) | allflowpresent, | ||
| logical, intent(inout) | allturbpresent | ||
| ) |
Definition at line 1816 of file BCData_b.f90.
References bcdatamod::axis, blockpointers::bcfaceid, bcdatamod::bcvarpresent, constants::eps, inputphysics::equations, constants::externalflow, inputphysics::flowtype, constants::fourth, constants::internalflow, constants::irho, constants::ivx, constants::ivy, constants::ivz, bcdatamod::length, bcdatamod::mass, flowvarrefstate::muref, blockpointers::nbkglobal, flowvarrefstate::nwt, constants::one, flowvarrefstate::pinfcorr, flowvarrefstate::pref, prescribedsupersonicinlet(), bcdatamod::radvec1, bcdatamod::radvec2, flowvarrefstate::rhoref, blockpointers::sectionid, section::sections, setbcvarturb(), utils_b::sidensity(), utils_b::sipressure(), utils_b::sitemperature(), utils_b::sivelocity(), utils_b::terminate(), bcdatamod::time, unitvectorscylsystem(), flowvarrefstate::uref, inputphysics::veldirfreestream, flowvarrefstate::winf, bcdatamod::xf, and constants::zero.

| subroutine bcdata_b::bcdatasupersonicinflow_b | ( | integer(kind=inttype), intent(in) | boco, |
| real(kind=realtype), dimension(ibeg:iend, jbeg:jend, nbcvarmax) | bcvararray, | ||
| real(kind=realtype), dimension(ibeg:iend, jbeg:jend, nbcvarmax) | bcvararrayd, | ||
| integer(kind=inttype) | ibeg, | ||
| integer(kind=inttype) | iend, | ||
| integer(kind=inttype) | jbeg, | ||
| integer(kind=inttype) | jend, | ||
| logical, intent(inout) | allflowpresent, | ||
| logical, intent(inout) | allturbpresent | ||
| ) |
Definition at line 1383 of file BCData_b.f90.
References blockpointers::bcdatad, blockpointers::bcfaceid, bcdatamod::bcvararrayd, bcdatamod::bcvarpresent, inputphysics::equations, constants::externalflow, inputphysics::flowtype, constants::internalflow, constants::irho, constants::ivx, constants::ivy, constants::ivz, flowvarrefstate::muref, flowvarrefstate::murefd, blockpointers::nbkglobal, flowvarrefstate::nwt, flowvarrefstate::pinfcorr, flowvarrefstate::pinfcorrd, flowvarrefstate::pref, flowvarrefstate::prefd, prescribedsupersonicinlet_b(), flowvarrefstate::rhoref, flowvarrefstate::rhorefd, blockpointers::sectionid, setbcvarturb_b(), utils_b::sidensity(), utils_b::sipressure(), utils_b::sitemperature(), utils_b::sivelocity(), utils_b::terminate(), flowvarrefstate::uref, flowvarrefstate::urefd, inputphysics::veldirfreestream, inputphysics::veldirfreestreamd, flowvarrefstate::winf, and flowvarrefstate::winfd.
Referenced by bcdata::setbcdatafinegrid_b().


| subroutine bcdata_b::computehtot | ( | real(kind=realtype), intent(in) | tt, |
| real(kind=realtype), intent(out) | ht | ||
| ) |
Definition at line 164 of file BCData_b.f90.
References constants::cpconstant, inputphysics::cpmodel, inputphysics::gammaconstant, communication::myid, constants::one, flowvarrefstate::pinfdim, and inputphysics::rgasdim.
Referenced by bcdatasubsonicinflow(), totalsubsonicinlet(), and totalsubsonicinlet_b().

| subroutine bcdata_b::computehtot_b | ( | real(kind=realtype), intent(in) | tt, |
| real(kind=realtype) | ttd, | ||
| real(kind=realtype) | ht, | ||
| real(kind=realtype) | htd | ||
| ) |
Definition at line 125 of file BCData_b.f90.
References constants::cpconstant, inputphysics::cpmodel, inputphysics::gammaconstant, communication::myid, constants::one, flowvarrefstate::pinfdim, flowvarrefstate::pinfdimd, and inputphysics::rgasdim.
Referenced by totalsubsonicinlet_b().

| subroutine bcdata_b::setbcvarnamesisothermalwall |
Definition at line 13 of file BCData_b.f90.
References bcdatamod::bcvarnames, cgnsnames::cgnstemp, bcdatamod::nbcvar, and constants::nbcvarisothermalwall.
| subroutine bcdata_b::setbcvarnamessubsonicinflow |
Definition at line 21 of file BCData_b.f90.
References bcdatamod::bcvarnames, cgnsnames::cgnsdensity, cgnsnames::cgnsptot, cgnsnames::cgnsrhotot, cgnsnames::cgnsttot, cgnsnames::cgnsvelanglex, cgnsnames::cgnsvelangley, cgnsnames::cgnsvelanglez, cgnsnames::cgnsvelr, cgnsnames::cgnsveltheta, cgnsnames::cgnsvelvecr, cgnsnames::cgnsvelvectheta, cgnsnames::cgnsvelvecx, cgnsnames::cgnsvelvecy, cgnsnames::cgnsvelvecz, cgnsnames::cgnsvelx, cgnsnames::cgnsvely, cgnsnames::cgnsvelz, inputphysics::equations, bcdatamod::nbcvar, constants::nbcvarsubsonicinflow, flowvarrefstate::nwt, constants::ransequations, and setbcvarnamesturb().

| subroutine bcdata_b::setbcvarnamessubsonicoutflow |
Definition at line 53 of file BCData_b.f90.
References bcdatamod::bcvarnames, cgnsnames::cgnspressure, bcdatamod::nbcvar, constants::nbcvarsubsonicoutflow, and flowvarrefstate::nwt.
| subroutine bcdata_b::setbcvarnamessupersonicinflow |
Definition at line 62 of file BCData_b.f90.
References bcdatamod::bcvarnames, cgnsnames::cgnsdensity, cgnsnames::cgnspressure, cgnsnames::cgnsvelr, cgnsnames::cgnsveltheta, cgnsnames::cgnsvelx, cgnsnames::cgnsvely, cgnsnames::cgnsvelz, inputphysics::equations, bcdatamod::nbcvar, constants::nbcvarsupersonicinflow, flowvarrefstate::nwt, constants::ransequations, and setbcvarnamesturb().

| subroutine bcdata_b::setbcvarnamesturb | ( | integer(kind=inttype), intent(in) | offset | ) |
Definition at line 80 of file BCData_b.f90.
References bcdatamod::bcvarnames, cgnsnames::cgnsturbepsilon, cgnsnames::cgnsturbf, cgnsnames::cgnsturbk, cgnsnames::cgnsturbomega, cgnsnames::cgnsturbsanu, cgnsnames::cgnsturbtau, cgnsnames::cgnsturbv2, inputphysics::equations, constants::komegamodified, constants::komegawilcox, constants::ktau, constants::mentersst, constants::ransequations, constants::spalartallmaras, constants::spalartallmarasedwards, inputphysics::turbmodel, and constants::v2f.
Referenced by setbcvarnamessubsonicinflow(), and setbcvarnamessupersonicinflow().

| logical function bcdata_b::setbcvarturb | ( | integer(kind=inttype), intent(in) | offset, |
| integer(kind=inttype), intent(in) | boco, | ||
| real(kind=realtype), dimension(ibeg:iend, jbeg:jend, nbcvarmax) | bcvararray, | ||
| integer(kind=inttype), intent(in) | ibeg, | ||
| integer(kind=inttype), intent(in) | iend, | ||
| integer(kind=inttype), intent(in) | jbeg, | ||
| integer(kind=inttype), intent(in) | jend, | ||
| real(kind=realtype), dimension(:, :, :), pointer | turbinlet | ||
| ) |
Definition at line 2208 of file BCData_b.f90.
References bcdatamod::bcvarnames, bcdatamod::bcvarpresent, inputphysics::equations, constants::itu1, constants::itu2, constants::itu3, constants::itu4, constants::komegamodified, constants::komegawilcox, constants::ktau, bcdatamod::length, bcdatamod::mass, constants::mentersst, flowvarrefstate::muref, flowvarrefstate::nt1, flowvarrefstate::nt2, flowvarrefstate::pref, constants::ransequations, flowvarrefstate::rhoref, utils_b::siturb(), constants::spalartallmaras, constants::spalartallmarasedwards, bcdatamod::temp, utils_b::terminate(), bcdatamod::time, inputphysics::turbmodel, constants::v2f, and flowvarrefstate::winf.
Referenced by bcdatasubsonicinflow(), bcdatasupersonicinflow(), and prescribedsupersonicinlet().


| subroutine bcdata_b::setbcvarturb_b | ( | integer(kind=inttype), intent(in) | offset, |
| integer(kind=inttype), intent(in) | boco, | ||
| real(kind=realtype), dimension(ibeg:iend, jbeg:jend, nbcvarmax) | bcvararray, | ||
| real(kind=realtype), dimension(ibeg:iend, jbeg:jend, nbcvarmax) | bcvararrayd, | ||
| integer(kind=inttype), intent(in) | ibeg, | ||
| integer(kind=inttype), intent(in) | iend, | ||
| integer(kind=inttype), intent(in) | jbeg, | ||
| integer(kind=inttype), intent(in) | jend, | ||
| real(kind=realtype), dimension(:, :, :), pointer | turbinlet, | ||
| real(kind=realtype), dimension(:, :, :), pointer | turbinletd | ||
| ) |
Definition at line 2031 of file BCData_b.f90.
References bcdatamod::bcvararrayd, bcdatamod::bcvarnames, bcdatamod::bcvarpresent, inputphysics::equations, constants::itu1, constants::itu2, constants::itu3, constants::itu4, constants::komegamodified, constants::komegawilcox, constants::ktau, bcdatamod::length, bcdatamod::mass, constants::mentersst, flowvarrefstate::muref, flowvarrefstate::murefd, flowvarrefstate::nt1, flowvarrefstate::nt2, flowvarrefstate::pref, flowvarrefstate::prefd, constants::ransequations, flowvarrefstate::rhoref, flowvarrefstate::rhorefd, utils_b::siturb(), constants::spalartallmaras, constants::spalartallmarasedwards, bcdatamod::temp, utils_b::terminate(), bcdatamod::time, inputphysics::turbmodel, constants::v2f, flowvarrefstate::winf, and flowvarrefstate::winfd.
Referenced by bcdatasubsonicinflow_b(), bcdatasupersonicinflow_b(), and prescribedsupersonicinlet_b().


| subroutine bcdata_b::unitvectorscylsystem | ( | integer(kind=inttype), intent(in) | boco | ) |
Definition at line 196 of file BCData_b.f90.
References bcdatamod::axassumed, bcdatamod::axis, blockpointers::bcfaceid, constants::half, blockpointers::il, constants::imax, constants::imin, blockpointers::jl, constants::jmax, constants::jmin, blockpointers::kl, constants::kmax, constants::kmin, constants::one, bcdatamod::radvec1, bcdatamod::radvec2, blockpointers::sectionid, section::sections, blockpointers::si, blockpointers::sj, blockpointers::sk, blockpointers::x, bcdatamod::xf, and constants::zero.
Referenced by bcdatasubsonicinflow(), bcdatasupersonicinflow(), prescribedsupersonicinlet(), prescribedsupersonicinlet_b(), and totalsubsonicinlet().
