|
ADflow
v1.0
ADflow is a finite volume RANS solver tailored for gradient-based aerodynamic design optimization.
|
Functions/Subroutines | |
| subroutine | getcostfunctions_b (globalvals, globalvalsd, funcvalues, funcvaluesd) |
| subroutine | getcostfunctions (globalvals, funcvalues) |
| subroutine | wallintegrationface_b (localvalues, localvaluesd, mm) |
| subroutine | wallintegrationface (localvalues, mm) |
| subroutine | ksaggregationfunction_b (g, gd, max_g, g_rho, ks_g, ks_gd) |
| subroutine | ksaggregationfunction (g, max_g, g_rho, ks_g) |
| subroutine | flowintegrationface_b (isinflow, localvalues, localvaluesd, mm) |
| subroutine | flowintegrationface (isinflow, localvalues, mm) |
| subroutine surfaceintegrations_b::flowintegrationface | ( | logical, intent(in) | isinflow, |
| real(kind=realtype), dimension(nlocalvalues), intent(inout) | localvalues, | ||
| integer(kind=inttype), intent(in) | mm | ||
| ) |
Definition at line 3222 of file surfaceIntegrations_b.f90.
References blockpointers::addgridvelocities, blockpointers::bcfaceid, blockpointers::bctype, flowutils_b::computeptot(), flowutils_b::computettot(), inputphysics::flowtype, constants::fourth, flowvarrefstate::gammainf, constants::half, constants::iarea, constants::iareaps, constants::iareaptot, constants::icoforcex, constants::icoforcey, constants::icoforcez, constants::iflowfm, constants::iflowmm, constants::iflowmp, constants::ifp, constants::imassa, constants::imassflow, constants::imassmn, constants::imassnx, constants::imassny, constants::imassnz, constants::imassps, constants::imassptot, constants::imassrho, constants::imassttot, constants::imassvi, constants::imassvx, constants::imassvy, constants::imassvz, constants::imax, constants::imin, constants::internalflow, constants::irho, constants::ivx, constants::ivy, constants::ivz, constants::jmax, constants::jmin, constants::kmax, constants::kmin, flowvarrefstate::lref, utils_b::mynorm2(), constants::one, flowvarrefstate::pinf, inputphysics::pointref, flowvarrefstate::pref, flowvarrefstate::rgas, inputphysics::rgasdim, flowvarrefstate::rhoinf, flowvarrefstate::rhoref, flowvarrefstate::timeref, flowvarrefstate::tref, constants::two, flowvarrefstate::uinf, flowvarrefstate::uref, and constants::zero.

| subroutine surfaceintegrations_b::flowintegrationface_b | ( | logical, intent(in) | isinflow, |
| real(kind=realtype), dimension(nlocalvalues), intent(inout) | localvalues, | ||
| real(kind=realtype), dimension(nlocalvalues), intent(inout) | localvaluesd, | ||
| integer(kind=inttype), intent(in) | mm | ||
| ) |
Definition at line 2783 of file surfaceIntegrations_b.f90.
References blockpointers::addgridvelocities, blockpointers::bcdatad, blockpointers::bcfaceid, blockpointers::bctype, flowutils_b::computeptot(), flowutils_b::computeptot_b(), flowutils_b::computettot(), flowutils_b::computettot_b(), inputphysics::flowtype, constants::fourth, flowvarrefstate::gammainf, constants::half, constants::iarea, constants::iareaps, constants::iareaptot, constants::icoforcex, constants::icoforcey, constants::icoforcez, constants::iflowfm, constants::iflowmm, constants::iflowmp, constants::ifp, constants::imassa, constants::imassflow, constants::imassmn, constants::imassnx, constants::imassny, constants::imassnz, constants::imassps, constants::imassptot, constants::imassrho, constants::imassttot, constants::imassvi, constants::imassvx, constants::imassvy, constants::imassvz, constants::imax, constants::imin, constants::internalflow, constants::irho, constants::ivx, constants::ivy, constants::ivz, constants::jmax, constants::jmin, constants::kmax, constants::kmin, flowvarrefstate::lref, utils_b::mynorm2(), constants::one, flowvarrefstate::pinf, flowvarrefstate::pinfd, inputphysics::pointref, inputphysics::pointrefd, flowvarrefstate::pref, flowvarrefstate::prefd, flowvarrefstate::rgas, flowvarrefstate::rgasd, inputphysics::rgasdim, flowvarrefstate::rhoinf, flowvarrefstate::rhoinfd, flowvarrefstate::rhoref, flowvarrefstate::rhorefd, flowvarrefstate::timeref, flowvarrefstate::timerefd, flowvarrefstate::tref, flowvarrefstate::trefd, constants::two, flowvarrefstate::uinf, flowvarrefstate::uinfd, flowvarrefstate::uref, flowvarrefstate::urefd, and constants::zero.
Referenced by surfaceintegrations::integratesurfaces_b().


| subroutine surfaceintegrations_b::getcostfunctions | ( | real(kind=realtype), dimension(:, :), intent(in) | globalvals, |
| real(kind=realtype), dimension(:), intent(out) | funcvalues | ||
| ) |
Definition at line 1063 of file surfaceIntegrations_b.f90.
References inputphysics::alpha, inputphysics::beta, inputcostfunctions::computecavitation, inputcostfunctions::computesepsensorks, utils_b::computetsderivatives(), constants::costfuncaavgps, constants::costfuncaavgptot, constants::costfuncarea, constants::costfuncaxismoment, constants::costfunccavitation, constants::costfunccofliftx, constants::costfunccoflifty, constants::costfunccofliftz, constants::costfunccoforcexx, constants::costfunccoforcexy, constants::costfunccoforcexz, constants::costfunccoforceyx, constants::costfunccoforceyy, constants::costfunccoforceyz, constants::costfunccoforcezx, constants::costfunccoforcezy, constants::costfunccoforcezz, constants::costfunccperror2, constants::costfunccpmin, constants::costfuncdrag, constants::costfuncdragcoef, constants::costfuncdragcoefmomentum, constants::costfuncdragcoefpressure, constants::costfuncdragcoefviscous, constants::costfuncdragmomentum, constants::costfuncdragpressure, constants::costfuncdragviscous, constants::costfuncflowpower, constants::costfuncforcex, constants::costfuncforcexcoef, constants::costfuncforcexcoefmomentum, constants::costfuncforcexcoefpressure, constants::costfuncforcexcoefviscous, constants::costfuncforcexmomentum, constants::costfuncforcexpressure, constants::costfuncforcexviscous, constants::costfuncforcey, constants::costfuncforceycoef, constants::costfuncforceycoefmomentum, constants::costfuncforceycoefpressure, constants::costfuncforceycoefviscous, constants::costfuncforceymomentum, constants::costfuncforceypressure, constants::costfuncforceyviscous, constants::costfuncforcez, constants::costfuncforcezcoef, constants::costfuncforcezcoefmomentum, constants::costfuncforcezcoefpressure, constants::costfuncforcezcoefviscous, constants::costfuncforcezmomentum, constants::costfuncforcezpressure, constants::costfuncforcezviscous, constants::costfunclift, constants::costfuncliftcoef, constants::costfuncliftcoefmomentum, constants::costfuncliftcoefpressure, constants::costfuncliftcoefviscous, constants::costfuncliftmomentum, constants::costfuncliftpressure, constants::costfuncliftviscous, constants::costfuncmavga, constants::costfuncmavgmn, constants::costfuncmavgps, constants::costfuncmavgptot, constants::costfuncmavgrho, constants::costfuncmavgttot, constants::costfuncmavgvi, constants::costfuncmavgvx, constants::costfuncmavgvy, constants::costfuncmavgvz, constants::costfuncmdot, constants::costfuncmomx, constants::costfuncmomxcoef, constants::costfuncmomy, constants::costfuncmomycoef, constants::costfuncmomz, constants::costfuncmomzcoef, constants::costfuncsepsensor, constants::costfuncsepsensoravgx, constants::costfuncsepsensoravgy, constants::costfuncsepsensoravgz, constants::costfuncsepsensorks, constants::costfuncsepsensorksarea, inputphysics::cpmin_family, inputphysics::cpmin_rho, inputphysics::dragdirection, flowvarrefstate::gammainf, flowutils_b::getdirvector(), constants::iarea, constants::iareaps, constants::iareaptot, constants::iaxismoment, constants::icavitation, constants::icoforcex, constants::icoforcey, constants::icoforcez, constants::icperror2, constants::icpmin, constants::iflowfm, constants::iflowmm, constants::ifp, constants::ifv, constants::imassa, constants::imassflow, constants::imassmn, constants::imassnx, constants::imassny, constants::imassnz, constants::imassps, constants::imassptot, constants::imassrho, constants::imassttot, constants::imassvi, constants::imassvx, constants::imassvy, constants::imassvz, constants::imp, constants::imv, constants::ipower, constants::isepavg, constants::isepsensor, constants::isepsensorarea, constants::isepsensorks, constants::isepsensorksarea, inputphysics::lengthref, inputphysics::liftdirection, inputphysics::liftindex, flowvarrefstate::lref, inputphysics::machcoef, inputtimespectral::ntimeintervalsspectral, constants::one, flowvarrefstate::pinf, flowvarrefstate::pref, flowvarrefstate::rhoref, inputphysics::sepsenmaxfamily, inputphysics::sepsenmaxrho, inputcostfunctions::sepsensorksoffset, inputcostfunctions::sepsensorkssharpness, inputphysics::surfaceref, flowvarrefstate::tref, inputtsstabderiv::tsstability, constants::two, flowvarrefstate::uinf, flowvarrefstate::uref, and constants::zero.

| subroutine surfaceintegrations_b::getcostfunctions_b | ( | real(kind=realtype), dimension(:, :), intent(in) | globalvals, |
| real(kind=realtype), dimension(:, :) | globalvalsd, | ||
| real(kind=realtype), dimension(:) | funcvalues, | ||
| real(kind=realtype), dimension(:) | funcvaluesd | ||
| ) |
Definition at line 15 of file surfaceIntegrations_b.f90.
References inputphysics::alpha, inputphysics::alphad, inputphysics::beta, inputphysics::betad, inputcostfunctions::computecavitation, inputcostfunctions::computesepsensorks, utils_b::computetsderivatives(), constants::costfuncaavgps, constants::costfuncaavgptot, constants::costfuncarea, constants::costfuncaxismoment, constants::costfunccavitation, constants::costfunccofliftx, constants::costfunccoflifty, constants::costfunccofliftz, constants::costfunccoforcexx, constants::costfunccoforcexy, constants::costfunccoforcexz, constants::costfunccoforceyx, constants::costfunccoforceyy, constants::costfunccoforceyz, constants::costfunccoforcezx, constants::costfunccoforcezy, constants::costfunccoforcezz, constants::costfunccperror2, constants::costfunccpmin, constants::costfuncdrag, constants::costfuncdragcoef, constants::costfuncdragcoefmomentum, constants::costfuncdragcoefpressure, constants::costfuncdragcoefviscous, constants::costfuncdragmomentum, constants::costfuncdragpressure, constants::costfuncdragviscous, constants::costfuncflowpower, constants::costfuncforcex, constants::costfuncforcexcoef, constants::costfuncforcexcoefmomentum, constants::costfuncforcexcoefpressure, constants::costfuncforcexcoefviscous, constants::costfuncforcexmomentum, constants::costfuncforcexpressure, constants::costfuncforcexviscous, constants::costfuncforcey, constants::costfuncforceycoef, constants::costfuncforceycoefmomentum, constants::costfuncforceycoefpressure, constants::costfuncforceycoefviscous, constants::costfuncforceymomentum, constants::costfuncforceypressure, constants::costfuncforceyviscous, constants::costfuncforcez, constants::costfuncforcezcoef, constants::costfuncforcezcoefmomentum, constants::costfuncforcezcoefpressure, constants::costfuncforcezcoefviscous, constants::costfuncforcezmomentum, constants::costfuncforcezpressure, constants::costfuncforcezviscous, constants::costfunclift, constants::costfuncliftcoef, constants::costfuncliftcoefmomentum, constants::costfuncliftcoefpressure, constants::costfuncliftcoefviscous, constants::costfuncliftmomentum, constants::costfuncliftpressure, constants::costfuncliftviscous, constants::costfuncmavga, constants::costfuncmavgmn, constants::costfuncmavgps, constants::costfuncmavgptot, constants::costfuncmavgrho, constants::costfuncmavgttot, constants::costfuncmavgvi, constants::costfuncmavgvx, constants::costfuncmavgvy, constants::costfuncmavgvz, constants::costfuncmdot, constants::costfuncmomx, constants::costfuncmomxcoef, constants::costfuncmomy, constants::costfuncmomycoef, constants::costfuncmomz, constants::costfuncmomzcoef, constants::costfuncsepsensor, constants::costfuncsepsensoravgx, constants::costfuncsepsensoravgy, constants::costfuncsepsensoravgz, constants::costfuncsepsensorks, constants::costfuncsepsensorksarea, inputphysics::cpmin_family, inputphysics::cpmin_rho, inputphysics::dragdirection, inputphysics::dragdirectiond, flowvarrefstate::gammainf, flowutils_b::getdirvector(), constants::iarea, constants::iareaps, constants::iareaptot, constants::iaxismoment, constants::icavitation, constants::icoforcex, constants::icoforcey, constants::icoforcez, constants::icperror2, constants::icpmin, constants::iflowfm, constants::iflowmm, constants::ifp, constants::ifv, constants::imassa, constants::imassflow, constants::imassmn, constants::imassnx, constants::imassny, constants::imassnz, constants::imassps, constants::imassptot, constants::imassrho, constants::imassttot, constants::imassvi, constants::imassvx, constants::imassvy, constants::imassvz, constants::imp, constants::imv, constants::ipower, constants::isepavg, constants::isepsensor, constants::isepsensorarea, constants::isepsensorks, constants::isepsensorksarea, inputphysics::lengthref, inputphysics::liftdirection, inputphysics::liftdirectiond, inputphysics::liftindex, flowvarrefstate::lref, inputphysics::machcoef, inputphysics::machcoefd, inputtimespectral::ntimeintervalsspectral, constants::one, flowvarrefstate::pinf, flowvarrefstate::pinfd, flowvarrefstate::pref, flowvarrefstate::prefd, flowvarrefstate::rhoref, flowvarrefstate::rhorefd, inputphysics::sepsenmaxfamily, inputphysics::sepsenmaxrho, inputcostfunctions::sepsensorksoffset, inputcostfunctions::sepsensorkssharpness, inputphysics::surfaceref, flowvarrefstate::tref, flowvarrefstate::trefd, inputtsstabderiv::tsstability, constants::two, flowvarrefstate::uinf, flowvarrefstate::uinfd, flowvarrefstate::uref, flowvarrefstate::urefd, and constants::zero.
Referenced by surfaceintegrations::getsolution_b().


| subroutine surfaceintegrations_b::ksaggregationfunction | ( | real(kind=realtype), intent(in) | g, |
| real(kind=realtype), intent(in) | max_g, | ||
| real(kind=realtype), intent(in) | g_rho, | ||
| real(kind=realtype), intent(inout) | ks_g | ||
| ) |
Definition at line 2764 of file surfaceIntegrations_b.f90.
Referenced by wallintegrationface(), and wallintegrationface_b().

| subroutine surfaceintegrations_b::ksaggregationfunction_b | ( | real(kind=realtype), intent(in) | g, |
| real(kind=realtype) | gd, | ||
| real(kind=realtype), intent(in) | max_g, | ||
| real(kind=realtype), intent(in) | g_rho, | ||
| real(kind=realtype), intent(inout) | ks_g, | ||
| real(kind=realtype), intent(inout) | ks_gd | ||
| ) |
Definition at line 2753 of file surfaceIntegrations_b.f90.
Referenced by wallintegrationface_b().

| subroutine surfaceintegrations_b::wallintegrationface | ( | real(kind=realtype), dimension(nlocalvalues), intent(inout) | localvalues, |
| integer(kind=inttype) | mm | ||
| ) |
Definition at line 2327 of file surfaceIntegrations_b.f90.
References blockpointers::bcfaceid, blockpointers::bctype, inputcostfunctions::cavexponent, inputphysics::cavitationnumber, inputcostfunctions::cavsensoroffset, inputcostfunctions::cavsensorsharpness, inputcostfunctions::computecavitation, inputcostfunctions::computesepsensorks, inputphysics::cpmin_family, inputphysics::cpmin_rho, constants::degtorad, inputphysics::equations, constants::fourth, flowvarrefstate::gammainf, constants::half, constants::iaxismoment, constants::icavitation, constants::icoforcex, constants::icoforcey, constants::icoforcez, constants::icperror2, constants::icpmin, constants::ifp, constants::ifv, constants::imax, constants::imin, constants::imp, constants::imv, blockpointers::inbeg, constants::isepavg, constants::isepsensor, constants::isepsensorarea, constants::isepsensorks, constants::isepsensorksarea, constants::ivx, constants::ivy, constants::ivz, constants::jmax, constants::jmin, constants::kmax, constants::kmin, ksaggregationfunction(), flowvarrefstate::lref, inputphysics::machcoef, inputphysics::momentaxis, constants::nswalladiabatic, constants::nswallisothermal, constants::one, flowvarrefstate::pinf, inputphysics::pointref, flowvarrefstate::pref, inputphysics::sepsenmaxfamily, inputphysics::sepsenmaxrho, inputcostfunctions::sepsensorksoffset, inputcostfunctions::sepsensorksphi, inputcostfunctions::sepsensorkssharpness, inputcostfunctions::sepsensoroffset, inputcostfunctions::sepsensorsharpness, blockpointers::spectralsol, constants::two, inputphysics::veldirfreestream, blockpointers::viscsubface, and constants::zero.

| subroutine surfaceintegrations_b::wallintegrationface_b | ( | real(kind=realtype), dimension(nlocalvalues), intent(inout) | localvalues, |
| real(kind=realtype), dimension(nlocalvalues), intent(inout) | localvaluesd, | ||
| integer(kind=inttype) | mm | ||
| ) |
Definition at line 1432 of file surfaceIntegrations_b.f90.
References blockpointers::bcdatad, blockpointers::bcfaceid, blockpointers::bctype, inputcostfunctions::cavexponent, inputphysics::cavitationnumber, inputcostfunctions::cavsensoroffset, inputcostfunctions::cavsensorsharpness, inputcostfunctions::computecavitation, inputcostfunctions::computesepsensorks, inputphysics::cpmin_family, inputphysics::cpmin_rho, constants::degtorad, inputphysics::equations, constants::fourth, flowvarrefstate::gammainf, constants::half, constants::iaxismoment, constants::icavitation, constants::icoforcex, constants::icoforcey, constants::icoforcez, constants::icperror2, constants::icpmin, constants::ifp, constants::ifv, constants::imax, constants::imin, constants::imp, constants::imv, blockpointers::inbeg, constants::isepavg, constants::isepsensor, constants::isepsensorarea, constants::isepsensorks, constants::isepsensorksarea, constants::ivx, constants::ivy, constants::ivz, constants::jmax, constants::jmin, constants::kmax, constants::kmin, ksaggregationfunction(), ksaggregationfunction_b(), flowvarrefstate::lref, inputphysics::machcoef, inputphysics::machcoefd, inputphysics::momentaxis, constants::nswalladiabatic, constants::nswallisothermal, constants::one, flowvarrefstate::pinf, flowvarrefstate::pinfd, inputphysics::pointref, inputphysics::pointrefd, flowvarrefstate::pref, flowvarrefstate::prefd, inputphysics::sepsenmaxfamily, inputphysics::sepsenmaxrho, inputcostfunctions::sepsensorksoffset, inputcostfunctions::sepsensorksphi, inputcostfunctions::sepsensorkssharpness, inputcostfunctions::sepsensoroffset, inputcostfunctions::sepsensorsharpness, blockpointers::spectralsol, constants::two, inputphysics::veldirfreestream, inputphysics::veldirfreestreamd, blockpointers::viscsubface, blockpointers::viscsubfaced, and constants::zero.
Referenced by surfaceintegrations::integratesurfaces_b().

