|
ADflow
v1.0
ADflow is a finite volume RANS solver tailored for gradient-based aerodynamic design optimization.
|
Functions/Subroutines | |
| subroutine | updatewalldistancesquickly (nn, level, sps) |
| subroutine | computewalldistance (level, allocMem) |
| subroutine | computenormalspacing (level, sps) |
| subroutine | initwalldistance (level, sps, allocMem) |
| subroutine | determinedistance (level, sps) |
| subroutine | localviscoussurfacemesh (multSections, level, sps) |
| subroutine | updatewalldistancealllevels |
| subroutine | viscoussurfacemesh (level, sps) |
| subroutine | determinewallassociation (level, sps) |
| subroutine | updatexsurf (level) |
| subroutine | destroywalldistancedata |
| subroutine | destroywalldistancedatalevel (level) |
Variables | |
| integer(kind=inttype) | nquadvisc |
| integer(kind=inttype) | nnodevisc |
| integer(kind=inttype) | nquadviscglob |
| integer(kind=inttype), dimension(:, :), allocatable | connvisc |
| real(kind=realtype), dimension(:, :), allocatable | coorvisc |
| real(kind=realtype), dimension(:, :, :), allocatable | rotmatrixsections |
| subroutine walldistance::computenormalspacing | ( | integer(kind=inttype), intent(in) | level, |
| integer(kind=inttype), intent(in) | sps | ||
| ) |
Definition at line 333 of file wallDistance.F90.
References blockpointers::bcfaceid, blockpointers::d2wall, constants::eighth, blockpointers::il, constants::imax, constants::imin, blockpointers::jl, constants::jmax, constants::jmin, blockpointers::kl, constants::kmax, constants::kmin, blockpointers::nviscbocos, blockpointers::nx, blockpointers::ny, blockpointers::nz, utils::setpointers(), and blockpointers::x.
Referenced by computewalldistance().


| subroutine walldistance::computewalldistance | ( | integer(kind=inttype), intent(in) | level, |
| logical, intent(in) | allocMem | ||
| ) |
Definition at line 129 of file wallDistance.F90.
References communication::adflow_comm_world, utils::allocatetempmemory(), computenormalspacing(), utils::deallocatetempmemory(), destroywalldistancedatalevel(), determinedistance(), determinewallassociation(), utils::echk(), inputphysics::equations, initwalldistance(), communication::myid, nquadviscglob, inputtimespectral::ntimeintervalsspectral, oversetdata::oversetpresent, constants::ransequations, communication::recvbuffer, communication::recvbuffersize, communication::sendbuffer, communication::sendbuffersize, utils::setpointers(), utils::terminate(), walldistancedata::updatelevelwallassociation, inputdiscretization::updatewallassociations, updatewalldistancesquickly(), updatexsurf(), inputdiscretization::useapproxwalldistance, viscoussurfacemesh(), inputphysics::walldistanceneeded, and walldistancedata::xsurf.
Referenced by preprocessingapi::preprocessing(), and updatewalldistancealllevels().


| subroutine walldistance::destroywalldistancedata |
Definition at line 2053 of file wallDistance.F90.
References destroywalldistancedatalevel(), and block::flowdoms.

| subroutine walldistance::destroywalldistancedatalevel | ( | integer(kind=inttype), intent(in) | level | ) |
Definition at line 2071 of file wallDistance.F90.
References utils::echk(), block::flowdoms, inputtimespectral::ntimeintervalsspectral, and walldistancedata::walldistancedataallocated.
Referenced by computewalldistance(), and destroywalldistancedata().


| subroutine walldistance::determinedistance | ( | integer(kind=inttype), intent(in) | level, |
| integer(kind=inttype), intent(in) | sps | ||
| ) |
Definition at line 518 of file wallDistance.F90.
References communication::adflow_comm_world, adtapi::adtbuildsurfaceadt(), adtapi::adtdeallocateadts(), adtapi::adtmindistancesearch(), connvisc, coorvisc, blockpointers::d2wall, constants::eighth, blockpointers::il, blockpointers::jl, blockpointers::kl, nnodevisc, nquadvisc, blockpointers::nx, blockpointers::ny, blockpointers::nz, rotmatrixsections, blockpointers::sectionid, section::sections, utils::setpointers(), utils::terminate(), inputphysics::walloffset, blockpointers::x, and constants::zero.
Referenced by computewalldistance().


| subroutine walldistance::determinewallassociation | ( | integer(kind=inttype), intent(in) | level, |
| integer(kind=inttype), intent(in) | sps | ||
| ) |
Definition at line 1663 of file wallDistance.F90.
References communication::adflow_comm_world, surfacefamilies::bcfamgroups, buildclusterwalls(), adtbuild::buildserialquad(), oversetdata::clusters, oversetdata::cumdomproc, adtbuild::destroyserialquad(), utils::echk(), constants::eighth, constants::ibcgroupwalls, blockpointers::il, blockpointers::jl, blockpointers::kl, constants::large, adtlocalsearch::mindistancetreesearchsinglepoint(), communication::myid, adjointvars::ncellslocal, oversetdata::nclusters, inputoverset::nearwalldist, adjointvars::nnodeslocal, inputtimespectral::ntimeintervalsspectral, oversetdata::oversetpresent, utils::setpointers(), adtutils::stack, sorting::unique(), inputphysics::walldistcutoff, and blockpointers::x.
Referenced by computewalldistance().


| subroutine walldistance::initwalldistance | ( | integer(kind=inttype), intent(in) | level, |
| integer(kind=inttype), intent(in) | sps, | ||
| logical, intent(in) | allocMem | ||
| ) |
Definition at line 470 of file wallDistance.F90.
References constants::large, and utils::terminate().
Referenced by computewalldistance().


| subroutine walldistance::localviscoussurfacemesh | ( | integer(kind=inttype), dimension(*), intent(in) | multSections, |
| integer(kind=inttype), intent(in) | level, | ||
| integer(kind=inttype), intent(in) | sps | ||
| ) |
Definition at line 907 of file wallDistance.F90.
References communication::adflow_comm_world, blockpointers::bcfaceid, blockpointers::bctype, connvisc, coorvisc, constants::eps, constants::half, blockpointers::il, constants::imax, constants::imin, blockpointers::jl, constants::jmax, constants::jmin, blockpointers::kl, constants::kmax, constants::kmin, communication::myid, blockpointers::nbocos, section::nsections, constants::nswalladiabatic, constants::nswallisothermal, constants::one, constants::pi, rotmatrixsections, blockpointers::sectionid, section::sections, utils::setpointers(), utils::terminate(), constants::two, blockpointers::x, and constants::zero.
Referenced by viscoussurfacemesh().


| subroutine walldistance::updatewalldistancealllevels |
Definition at line 1523 of file wallDistance.F90.
References computewalldistance(), inputphysics::equations, block::flowdoms, iteration::groundlevel, and constants::ransequations.
Referenced by solvers::initstagerk(), solvers::solverunsteadystep(), and solvers::updateunsteadygeometry().


| subroutine walldistance::updatewalldistancesquickly | ( | integer(kind=inttype) | nn, |
| integer(kind=inttype) | level, | ||
| integer(kind=inttype) | sps | ||
| ) |
Definition at line 36 of file wallDistance.F90.
References blockpointers::d2wall, constants::eighth, blockpointers::il, blockpointers::jl, blockpointers::kl, constants::large, blockpointers::nx, blockpointers::ny, blockpointers::nz, constants::one, blockpointers::x, and walldistancedata::xsurf.
Referenced by blockette::blocketteres(), computewalldistance(), and masterroutines::master().

| subroutine walldistance::updatexsurf | ( | integer(kind=inttype), intent(in) | level | ) |
Definition at line 2004 of file wallDistance.F90.
References utils::echk(), blockpointers::il, blockpointers::jl, blockpointers::kl, inputtimespectral::ntimeintervalsspectral, utils::setpointers(), blockpointers::x, and walldistancedata::xvolume.
Referenced by adjointdebug::computematrixfreeproductfwdcs(), adjointdebug::computematrixfreeproductfwdfd(), and computewalldistance().


| subroutine walldistance::viscoussurfacemesh | ( | integer(kind=inttype), intent(in) | level, |
| integer(kind=inttype), intent(in) | sps | ||
| ) |
Definition at line 1553 of file wallDistance.F90.
References communication::adflow_comm_world, connvisc, coorvisc, block::flowdoms, localviscoussurfacemesh(), communication::myid, block::ndom, nnodevisc, nquadvisc, nquadviscglob, section::nsections, constants::nswalladiabatic, constants::nswallisothermal, section::sections, and utils::terminate().
Referenced by computewalldistance().


| integer(kind=inttype), dimension(:, :), allocatable walldistance::connvisc |
Definition at line 21 of file wallDistance.F90.
Referenced by determinedistance(), localviscoussurfacemesh(), and viscoussurfacemesh().
| real(kind=realtype), dimension(:, :), allocatable walldistance::coorvisc |
Definition at line 22 of file wallDistance.F90.
Referenced by determinedistance(), localviscoussurfacemesh(), and viscoussurfacemesh().
| integer(kind=inttype) walldistance::nnodevisc |
Definition at line 18 of file wallDistance.F90.
Referenced by determinedistance(), and viscoussurfacemesh().
| integer(kind=inttype) walldistance::nquadvisc |
Definition at line 18 of file wallDistance.F90.
Referenced by determinedistance(), and viscoussurfacemesh().
| integer(kind=inttype) walldistance::nquadviscglob |
Definition at line 19 of file wallDistance.F90.
Referenced by computewalldistance(), and viscoussurfacemesh().
| real(kind=realtype), dimension(:, :, :), allocatable walldistance::rotmatrixsections |
Definition at line 31 of file wallDistance.F90.
Referenced by determinedistance(), and localviscoussurfacemesh().