|
ADflow
v1.0
ADflow is a finite volume RANS solver tailored for gradient-based aerodynamic design optimization.
|
Functions/Subroutines | |
| character(len=n) function | char2str (chararray, n) |
| real(kind=realtype) function | tsbeta (degreepolbeta, coefpolbeta, degreefourbeta, omegafourbeta, coscoeffourbeta, sincoeffourbeta, t) |
| real(kind=realtype) function | tsbetadot (degreepolbeta, coefpolbeta, degreefourbeta, omegafourbeta, coscoeffourbeta, sincoeffourbeta, t) |
| real(kind=realtype) function | tsmach (degreepolmach, coefpolmach, degreefourmach, omegafourmach, coscoeffourmach, sincoeffourmach, t) |
| real(kind=realtype) function | tsmachdot (degreepolmach, coefpolmach, degreefourmach, omegafourmach, coscoeffourmach, sincoeffourmach, t) |
| real(kind=realtype) function | tsalpha (degreepolalpha, coefpolalpha, degreefouralpha, omegafouralpha, coscoeffouralpha, sincoeffouralpha, t) |
| real(kind=realtype) function | tsalphadot (degreepolalpha, coefpolalpha, degreefouralpha, omegafouralpha, coscoeffouralpha, sincoeffouralpha, t) |
| real(kind=realtype) function | derivativerigidrotangle (degreepolrot, coefpolrot, degreefourrot, omegafourrot, coscoeffourrot, sincoeffourrot, t) |
| subroutine | mydim_fast_b (x, xd, y, yd, mydimd) |
| real(kind=realtype) function | mydim (x, y) |
| logical function | getcorrectfork () |
| subroutine | terminate (routinename, errormessage) |
| subroutine | rotmatrixrigidbody (tnew, told, rotationmatrix, rotationpoint) |
| real(kind=realtype) function | secondderivativerigidrotangle (degreepolrot, coefpolrot, degreefourrot, omegafourrot, coscoeffourrot, sincoeffourrot, t) |
| real(kind=realtype) function | rigidrotangle (degreepolrot, coefpolrot, degreefourrot, omegafourrot, coscoeffourrot, sincoeffourrot, t) |
| subroutine | setbcpointers (nn, spatialpointers) |
| subroutine | computerootbendingmoment (cf, cm, bendingmoment) |
| subroutine | computeleastsquaresregression (y, x, npts, m, b) |
| subroutine | computetsderivatives (force, moment, coef0, dcdalpha, dcdalphadot, dcdq, dcdqdot) |
| subroutine | getdirangle (freestreamaxis, liftaxis, liftindex, alpha, beta) |
| subroutine | stabilityderivativedriver () |
| subroutine | setcoeftimeintegrator () |
| real(kind=realtype) function | mynorm2 (x) |
| logical function | iswalltype (btype) |
| subroutine | cross_prod (a, b, c) |
| subroutine | siangle (angle, mult, trans) |
| subroutine | sidensity (mass, len, mult, trans) |
| subroutine | silen (len, mult, trans) |
| subroutine | sipressure (mass, len, time, mult, trans) |
| subroutine | sitemperature (temp, mult, trans) |
| subroutine | siturb (mass, len, time, temp, turbname, mult, trans) |
| subroutine | sivelocity (length, time, mult, trans) |
| character(len=n) function utils_fast_b::char2str | ( | character, dimension(maxcgnsnamelen), intent(in) | chararray, |
| integer(kind=inttype), intent(in) | n | ||
| ) |
Definition at line 8 of file utils_fast_b.f90.
| subroutine utils_fast_b::computeleastsquaresregression | ( | real(kind=realtype), dimension(npts) | y, |
| real(kind=realtype), dimension(npts) | x, | ||
| integer(kind=inttype) | npts, | ||
| real(kind=realtype) | m, | ||
| real(kind=realtype) | b | ||
| ) |
Definition at line 944 of file utils_fast_b.f90.
Referenced by computetsderivatives().

| subroutine utils_fast_b::computerootbendingmoment | ( | real(kind=realtype), dimension(3), intent(in) | cf, |
| real(kind=realtype), dimension(3), intent(in) | cm, | ||
| real(kind=realtype), intent(out) | bendingmoment | ||
| ) |
Definition at line 909 of file utils_fast_b.f90.
References inputphysics::lengthref, inputphysics::liftindex, inputphysics::pointref, inputphysics::pointrefec, and constants::zero.
| subroutine utils_fast_b::computetsderivatives | ( | real(kind=realtype), dimension(3, ntimeintervalsspectral) | force, |
| real(kind=realtype), dimension(3, ntimeintervalsspectral) | moment, | ||
| real(kind=realtype), dimension(8) | coef0, | ||
| real(kind=realtype), dimension(8) | dcdalpha, | ||
| real(kind=realtype), dimension(8) | dcdalphadot, | ||
| real(kind=realtype), dimension(8) | dcdq, | ||
| real(kind=realtype), dimension(8) | dcdqdot | ||
| ) |
Definition at line 973 of file utils_fast_b.f90.
References inputmotion::coefpolalpha, computeleastsquaresregression(), inputmotion::coscoeffouralpha, inputmotion::degreefouralpha, inputmotion::degreepolalpha, derivativerigidrotangle(), inputphysics::dragdirection, inputphysics::equationmode, flowvarrefstate::gammainf, inputphysics::lengthref, inputphysics::liftdirection, flowvarrefstate::lref, inputphysics::machcoef, inputphysics::machgrid, section::nsections, inputtimespectral::ntimeintervalsspectral, inputmotion::omegafouralpha, flowvarrefstate::pinf, flowvarrefstate::pinfdim, flowvarrefstate::rhoinfdim, secondderivativerigidrotangle(), section::sections, inputmotion::sincoeffouralpha, inputphysics::surfaceref, terminate(), constants::timespectral, monitor::timeunsteadyrestart, tsalpha(), tsalphadot(), inputtsstabderiv::tsalphamode, inputtsstabderiv::tsqmode, and constants::two.
Referenced by surfaceintegrations_fast_b::getcostfunctions().


| subroutine utils_fast_b::cross_prod | ( | real(kind=realtype), dimension(3), intent(in) | a, |
| real(kind=realtype), dimension(3), intent(in) | b, | ||
| real(kind=realtype), dimension(3), intent(out) | c | ||
| ) |
Definition at line 1422 of file utils_fast_b.f90.
| real(kind=realtype) function utils_fast_b::derivativerigidrotangle | ( | integer(kind=inttype), intent(in) | degreepolrot, |
| real(kind=realtype), dimension(0:*), intent(in) | coefpolrot, | ||
| integer(kind=inttype), intent(in) | degreefourrot, | ||
| real(kind=realtype), intent(in) | omegafourrot, | ||
| real(kind=realtype), dimension(0:*), intent(in) | coscoeffourrot, | ||
| real(kind=realtype), dimension(*), intent(in) | sincoeffourrot, | ||
| real(kind=realtype), intent(in) | t | ||
| ) |
Definition at line 346 of file utils_fast_b.f90.
References inputphysics::equationmode, constants::steady, flowvarrefstate::timeref, and constants::zero.
Referenced by computetsderivatives(), and flowutils_fast_b::derivativerotmatrixrigid().

| logical function utils_fast_b::getcorrectfork |
Definition at line 425 of file utils_fast_b.f90.
References iteration::currentlevel, iteration::groundlevel, and flowvarrefstate::kpresent.
Referenced by bcroutines_fast_b::applyallbc_block(), flowutils_fast_b::computelamviscosity(), flowutils_fast_b::computespeedofsoundsquared(), fluxes_fast_b::invisciddissfluxmatrix(), fluxes_fast_b::invisciddissfluxmatrix_fast_b(), fluxes_fast_b::invisciddissfluxmatrixapprox(), fluxes_fast_b::inviscidupwindflux(), and fluxes_fast_b::inviscidupwindflux_fast_b().

| subroutine utils_fast_b::getdirangle | ( | real(kind=realtype), dimension(3), intent(in) | freestreamaxis, |
| real(kind=realtype), dimension(3), intent(in) | liftaxis, | ||
| integer(kind=inttype), intent(out) | liftindex, | ||
| real(kind=realtype), intent(out) | alpha, | ||
| real(kind=realtype), intent(out) | beta | ||
| ) |
Definition at line 1129 of file utils_fast_b.f90.
References terminate().
Referenced by solverutils_fast_b::gridvelocitiesfinelevel_block(), and solverutils_fast_b::slipvelocitiesfinelevel_block().


| logical function utils_fast_b::iswalltype | ( | integer(kind=inttype) | btype | ) |
Definition at line 1412 of file utils_fast_b.f90.
References constants::eulerwall, constants::nswalladiabatic, and constants::nswallisothermal.
| real(kind=realtype) function utils_fast_b::mydim | ( | real(kind=realtype) | x, |
| real(kind=realtype) | y | ||
| ) |
Definition at line 416 of file utils_fast_b.f90.
Referenced by bcroutines_fast_b::bceulerwall(), fluxes_fast_b::invisciddissfluxmatrix(), fluxes_fast_b::invisciddissfluxmatrix_fast_b(), fluxes_fast_b::invisciddissfluxscalar(), fluxes_fast_b::invisciddissfluxscalar_fast_b(), and mydim_fast_b().

| subroutine utils_fast_b::mydim_fast_b | ( | real(kind=realtype) | x, |
| real(kind=realtype) | xd, | ||
| real(kind=realtype) | y, | ||
| real(kind=realtype) | yd, | ||
| real(kind=realtype) | mydimd | ||
| ) |
Definition at line 403 of file utils_fast_b.f90.
References mydim().
Referenced by fluxes_fast_b::invisciddissfluxmatrix_fast_b(), and fluxes_fast_b::invisciddissfluxscalar_fast_b().


| real(kind=realtype) function utils_fast_b::mynorm2 | ( | real(kind=realtype), dimension(3), intent(in) | x | ) |
Definition at line 1403 of file utils_fast_b.f90.
Referenced by surfaceintegrations_fast_b::flowintegrationface().

| real(kind=realtype) function utils_fast_b::rigidrotangle | ( | integer(kind=inttype), intent(in) | degreepolrot, |
| real(kind=realtype), dimension(0:*), intent(in) | coefpolrot, | ||
| integer(kind=inttype), intent(in) | degreefourrot, | ||
| real(kind=realtype), intent(in) | omegafourrot, | ||
| real(kind=realtype), dimension(0:*), intent(in) | coscoeffourrot, | ||
| real(kind=realtype), dimension(*), intent(in) | sincoeffourrot, | ||
| real(kind=realtype), intent(in) | t | ||
| ) |
Definition at line 610 of file utils_fast_b.f90.
References inputphysics::equationmode, constants::steady, and constants::zero.
Referenced by flowutils_fast_b::derivativerotmatrixrigid(), and rotmatrixrigidbody().

| subroutine utils_fast_b::rotmatrixrigidbody | ( | real(kind=realtype), intent(in) | tnew, |
| real(kind=realtype), intent(in) | told, | ||
| real(kind=realtype), dimension(3, 3), intent(out) | rotationmatrix, | ||
| real(kind=realtype), dimension(3), intent(out) | rotationpoint | ||
| ) |
Definition at line 453 of file utils_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, flowvarrefstate::lref, inputmotion::omegafourxrot, inputmotion::omegafouryrot, inputmotion::omegafourzrot, rigidrotangle(), inputmotion::rotpoint, inputmotion::sincoeffourxrot, inputmotion::sincoeffouryrot, and inputmotion::sincoeffourzrot.
Referenced by solverutils_fast_b::gridvelocitiesfinelevel_block(), and solverutils_fast_b::slipvelocitiesfinelevel_block().


| real(kind=realtype) function utils_fast_b::secondderivativerigidrotangle | ( | integer(kind=inttype), intent(in) | degreepolrot, |
| real(kind=realtype), dimension(0:*), intent(in) | coefpolrot, | ||
| integer(kind=inttype), intent(in) | degreefourrot, | ||
| real(kind=realtype), intent(in) | omegafourrot, | ||
| real(kind=realtype), dimension(0:*), intent(in) | coscoeffourrot, | ||
| real(kind=realtype), dimension(*), intent(in) | sincoeffourrot, | ||
| real(kind=realtype), intent(in) | t | ||
| ) |
Definition at line 556 of file utils_fast_b.f90.
References inputphysics::equationmode, constants::steady, flowvarrefstate::timeref, and constants::zero.
Referenced by computetsderivatives().

| subroutine utils_fast_b::setbcpointers | ( | integer(kind=inttype), intent(in) | nn, |
| logical, intent(in) | spatialpointers | ||
| ) |
Definition at line 664 of file utils_fast_b.f90.
References blockpointers::addgridvelocities, blockpointers::bcfaceid, inputphysics::cpmodel, blockpointers::d2wall, bcpointers::dd2wall, inputphysics::equations, blockpointers::gamma, bcpointers::gamma0, bcpointers::gamma1, bcpointers::gamma2, bcpointers::gamma3, bcpointers::gcp, blockpointers::globalcell, blockpointers::ib, blockpointers::ie, bcpointers::iend, blockpointers::il, constants::imax, constants::imin, bcpointers::isize, bcpointers::istart, blockpointers::jb, blockpointers::je, bcpointers::jend, blockpointers::jl, constants::jmax, constants::jmin, bcpointers::jsize, bcpointers::jstart, blockpointers::kb, blockpointers::ke, blockpointers::kl, constants::kmax, constants::kmin, blockpointers::nx, blockpointers::ny, blockpointers::nz, blockpointers::p, bcpointers::pp0, bcpointers::pp1, bcpointers::pp2, bcpointers::pp3, constants::ransequations, blockpointers::rev, bcpointers::rev0, bcpointers::rev1, bcpointers::rev2, bcpointers::rev3, blockpointers::rlv, bcpointers::rlv0, bcpointers::rlv1, bcpointers::rlv2, bcpointers::rlv3, blockpointers::s, bcpointers::sface, blockpointers::sfacei, blockpointers::sfacej, blockpointers::sfacek, blockpointers::si, blockpointers::sj, blockpointers::sk, bcpointers::ss, bcpointers::ssi, bcpointers::ssj, bcpointers::ssk, blockpointers::w, bcpointers::ww0, bcpointers::ww1, bcpointers::ww2, bcpointers::ww3, blockpointers::x, and bcpointers::xx.
Referenced by bcroutines_fast_b::applyallbc_block().

| subroutine utils_fast_b::setcoeftimeintegrator |
Definition at line 1276 of file utils_fast_b.f90.
References iteration::coefmeshale, iteration::coeftime, iteration::coeftimeale, inputphysics::equationmode, constants::firstorder, constants::fourth, constants::half, iteration::noldlevels, iteration::noldsolavail, constants::secondorder, constants::sqrtthree, constants::thirdorder, constants::threefourth, inputunsteady::timeaccuracy, constants::unsteady, inputunsteady::useale, and constants::zero.
Referenced by solverutils_fast_b::gridvelocitiesfinelevel_block(), solverutils_fast_b::slipvelocitiesfinelevel_block(), and aleutils_fast_b::slipvelocitiesfinelevelale_block().

| subroutine utils_fast_b::siangle | ( | integer, intent(in) | angle, |
| real(kind=realtype), intent(out) | mult, | ||
| real(kind=realtype), intent(out) | trans | ||
| ) |
Definition at line 1434 of file utils_fast_b.f90.
References constants::one, constants::pi, terminate(), and constants::zero.

| subroutine utils_fast_b::sidensity | ( | integer, intent(in) | mass, |
| integer, intent(in) | len, | ||
| real(kind=realtype), intent(out) | mult, | ||
| real(kind=realtype), intent(out) | trans | ||
| ) |
Definition at line 1458 of file utils_fast_b.f90.
References constants::one, terminate(), and constants::zero.

| subroutine utils_fast_b::silen | ( | integer, intent(in) | len, |
| real(kind=realtype), intent(out) | mult, | ||
| real(kind=realtype), intent(out) | trans | ||
| ) |
Definition at line 1485 of file utils_fast_b.f90.
References constants::one, terminate(), and constants::zero.

| subroutine utils_fast_b::sipressure | ( | integer, intent(in) | mass, |
| integer, intent(in) | len, | ||
| integer, intent(in) | time, | ||
| real(kind=realtype), intent(out) | mult, | ||
| real(kind=realtype), intent(out) | trans | ||
| ) |
Definition at line 1522 of file utils_fast_b.f90.
References constants::one, terminate(), and constants::zero.

| subroutine utils_fast_b::sitemperature | ( | integer, intent(in) | temp, |
| real(kind=realtype), intent(out) | mult, | ||
| real(kind=realtype), intent(out) | trans | ||
| ) |
Definition at line 1550 of file utils_fast_b.f90.
References constants::one, terminate(), and constants::zero.

| subroutine utils_fast_b::siturb | ( | integer, intent(in) | mass, |
| integer, intent(in) | len, | ||
| integer, intent(in) | time, | ||
| integer, intent(in) | temp, | ||
| character(len=*), intent(in) | turbname, | ||
| real(kind=realtype), intent(out) | mult, | ||
| real(kind=realtype), intent(out) | trans | ||
| ) |
Definition at line 1594 of file utils_fast_b.f90.
References constants::one, terminate(), and constants::zero.

| subroutine utils_fast_b::sivelocity | ( | integer, intent(in) | length, |
| integer, intent(in) | time, | ||
| real(kind=realtype), intent(out) | mult, | ||
| real(kind=realtype), intent(out) | trans | ||
| ) |
Definition at line 1623 of file utils_fast_b.f90.
References constants::one, terminate(), and constants::zero.

| subroutine utils_fast_b::stabilityderivativedriver |
Definition at line 1258 of file utils_fast_b.f90.
| subroutine utils_fast_b::terminate | ( | character(len=*), intent(in) | routinename, |
| character(len=*), intent(in) | errormessage | ||
| ) |
Definition at line 438 of file utils_fast_b.f90.
References communication::adflow_comm_world, and communication::myid.
Referenced by bcroutines_fast_b::bcsubsonicinflow(), bcroutines_fast_b::computeetot(), computetsderivatives(), flowutils_fast_b::computettot(), getdirangle(), flowutils_fast_b::getdirvector(), solverutils_fast_b::gridvelocitiesfinelevel_block(), fluxes_fast_b::inviscidupwindflux(), fluxes_fast_b::inviscidupwindflux_fast_b(), riemannflux(), siangle(), sidensity(), silen(), sipressure(), sitemperature(), siturb(), sivelocity(), solverutils_fast_b::slipvelocitiesfinelevel_block(), solverutils_fast_b::timestep_block(), and solverutils_fast_b::timestep_block_fast_b().

| real(kind=realtype) function utils_fast_b::tsalpha | ( | integer(kind=inttype), intent(in) | degreepolalpha, |
| real(kind=realtype), dimension(0:*), intent(in) | coefpolalpha, | ||
| integer(kind=inttype), intent(in) | degreefouralpha, | ||
| real(kind=realtype), intent(in) | omegafouralpha, | ||
| real(kind=realtype), dimension(0:*), intent(in) | coscoeffouralpha, | ||
| real(kind=realtype), dimension(*), intent(in) | sincoeffouralpha, | ||
| real(kind=realtype), intent(in) | t | ||
| ) |
Definition at line 240 of file utils_fast_b.f90.
References inputphysics::equationmode, constants::steady, and constants::zero.
Referenced by computetsderivatives(), solverutils_fast_b::gridvelocitiesfinelevel_block(), and solverutils_fast_b::slipvelocitiesfinelevel_block().

| real(kind=realtype) function utils_fast_b::tsalphadot | ( | integer(kind=inttype), intent(in) | degreepolalpha, |
| real(kind=realtype), dimension(0:*), intent(in) | coefpolalpha, | ||
| integer(kind=inttype), intent(in) | degreefouralpha, | ||
| real(kind=realtype), intent(in) | omegafouralpha, | ||
| real(kind=realtype), dimension(0:*), intent(in) | coscoeffouralpha, | ||
| real(kind=realtype), dimension(*), intent(in) | sincoeffouralpha, | ||
| real(kind=realtype), intent(in) | t | ||
| ) |
Definition at line 294 of file utils_fast_b.f90.
References inputphysics::equationmode, constants::steady, and constants::zero.
Referenced by computetsderivatives().

| real(kind=realtype) function utils_fast_b::tsbeta | ( | integer(kind=inttype), intent(in) | degreepolbeta, |
| real(kind=realtype), dimension(0:*), intent(in) | coefpolbeta, | ||
| integer(kind=inttype), intent(in) | degreefourbeta, | ||
| real(kind=realtype), intent(in) | omegafourbeta, | ||
| real(kind=realtype), dimension(0:*), intent(in) | coscoeffourbeta, | ||
| real(kind=realtype), dimension(*), intent(in) | sincoeffourbeta, | ||
| real(kind=realtype), intent(in) | t | ||
| ) |
Definition at line 29 of file utils_fast_b.f90.
References inputphysics::equationmode, constants::steady, and constants::zero.
Referenced by solverutils_fast_b::gridvelocitiesfinelevel_block(), and solverutils_fast_b::slipvelocitiesfinelevel_block().

| real(kind=realtype) function utils_fast_b::tsbetadot | ( | integer(kind=inttype), intent(in) | degreepolbeta, |
| real(kind=realtype), dimension(0:*), intent(in) | coefpolbeta, | ||
| integer(kind=inttype), intent(in) | degreefourbeta, | ||
| real(kind=realtype), intent(in) | omegafourbeta, | ||
| real(kind=realtype), dimension(0:*), intent(in) | coscoeffourbeta, | ||
| real(kind=realtype), dimension(*), intent(in) | sincoeffourbeta, | ||
| real(kind=realtype), intent(in) | t | ||
| ) |
Definition at line 82 of file utils_fast_b.f90.
References inputphysics::equationmode, constants::steady, and constants::zero.
| real(kind=realtype) function utils_fast_b::tsmach | ( | integer(kind=inttype), intent(in) | degreepolmach, |
| real(kind=realtype), dimension(0:*), intent(in) | coefpolmach, | ||
| integer(kind=inttype), intent(in) | degreefourmach, | ||
| real(kind=realtype), intent(in) | omegafourmach, | ||
| real(kind=realtype), dimension(0:*), intent(in) | coscoeffourmach, | ||
| real(kind=realtype), dimension(*), intent(in) | sincoeffourmach, | ||
| real(kind=realtype), intent(in) | t | ||
| ) |
Definition at line 134 of file utils_fast_b.f90.
References inputphysics::equationmode, constants::steady, and constants::zero.
Referenced by solverutils_fast_b::gridvelocitiesfinelevel_block(), and solverutils_fast_b::slipvelocitiesfinelevel_block().

| real(kind=realtype) function utils_fast_b::tsmachdot | ( | integer(kind=inttype), intent(in) | degreepolmach, |
| real(kind=realtype), dimension(0:*), intent(in) | coefpolmach, | ||
| integer(kind=inttype), intent(in) | degreefourmach, | ||
| real(kind=realtype), intent(in) | omegafourmach, | ||
| real(kind=realtype), dimension(0:*), intent(in) | coscoeffourmach, | ||
| real(kind=realtype), dimension(*), intent(in) | sincoeffourmach, | ||
| real(kind=realtype), intent(in) | t | ||
| ) |
Definition at line 188 of file utils_fast_b.f90.
References inputphysics::equationmode, constants::steady, and constants::zero.