|
ADflow
v1.0
ADflow is a finite volume RANS solver tailored for gradient-based aerodynamic design optimization.
|
Functions/Subroutines | |
| subroutine | readdensity (nTypeMismatch) |
| subroutine | readenergy (nTypeMismatch) |
| subroutine | readpressure (nTypeMismatch) |
| subroutine | readturbeddyvis (nTypeMismatch, eddyVisPresent) |
| subroutine | readturbkwtype (nTypeMismatch) |
| subroutine | readturbsa (nTypeMismatch) |
| subroutine | readturbv2f (nTypeMismatch) |
| subroutine | readturbvar (nTypeMismatch) |
| subroutine | readxmomentum (nTypeMismatch) |
| subroutine | readxvelocity (nTypeMismatch) |
| subroutine | readymomentum (nTypeMismatch) |
| subroutine | readyvelocity (nTypeMismatch) |
| subroutine | readzmomentum (nTypeMismatch) |
| subroutine | readzvelocity (nTypeMismatch) |
| subroutine | readtimehistory (fileIDs) |
| subroutine | scalefactors (fileIDs) |
| subroutine | readrestartvariable (cgnsVarName) |
Variables | |
| logical | halosread |
| integer | cgnsind |
| integer | cgnsbase |
| integer | cgnszone |
| integer | cgnssol |
| integer | location |
| integer(kind=inttype), dimension(:), allocatable | zonenumbers |
| character(len=maxcgnsnamelen), dimension(:), allocatable | zonenames |
| character(len=maxcgnsnamelen), dimension(:), allocatable | varnames |
| integer(kind=cgsize_t), dimension(3) | rangemin |
| integer(kind=cgsize_t), dimension(3) | rangemax |
| integer | nvar |
| integer(kind=inttype) | solid |
| logical | interpolspectral |
| logical | copyspectral |
| real(kind=realtype) | rhoscale |
| real(kind=realtype) | velscale |
| real(kind=realtype) | pscale |
| real(kind=realtype) | muscale |
| integer(kind=inttype) | nsolsread |
| character(len=maxstringlen), dimension(:), allocatable | solfiles |
| integer, dimension(:), allocatable | vartypes |
| real(kind=cgnsrealtype), dimension(:, :, :), allocatable | buffer |
| real(kind=cgnsrealtype), dimension(:, :, :), allocatable | buffervertex |
| subroutine variablereading::readdensity | ( | integer(kind=inttype), intent(inout) | nTypeMismatch | ) |
Definition at line 73 of file variableReading.F90.
References sorting::bsearchstrings(), buffer, cgnsnames::cgnsdensity, iomodule::iovar, constants::irho, blockpointers::nbklocal, readrestartvariable(), rhoscale, utils::setcgnsrealtype(), solid, utils::terminate(), varnames, vartypes, and blockpointers::w.
Referenced by initializeflow::readrestartfile().


| subroutine variablereading::readenergy | ( | integer(kind=inttype), intent(inout) | nTypeMismatch | ) |
Definition at line 161 of file variableReading.F90.
References sorting::bsearchstrings(), buffer, cgnsnames::cgnsenergy, cgnsnames::cgnspressure, flowutils::etot(), constants::imx, constants::imy, constants::imz, iomodule::iovar, constants::irho, constants::irhoe, constants::itu1, flowvarrefstate::kpresent, blockpointers::nbklocal, constants::one, pscale, readrestartvariable(), utils::setcgnsrealtype(), solid, utils::terminate(), varnames, vartypes, blockpointers::w, and constants::zero.
Referenced by initializeflow::readrestartfile().


| subroutine variablereading::readpressure | ( | integer(kind=inttype), intent(inout) | nTypeMismatch | ) |
Definition at line 323 of file variableReading.F90.
References sorting::bsearchstrings(), buffer, cgnsnames::cgnsenergy, cgnsnames::cgnspressure, flowutils::computepressure(), iomodule::iovar, constants::irhoe, blockpointers::nbklocal, pscale, readrestartvariable(), utils::setcgnsrealtype(), solid, utils::terminate(), varnames, vartypes, and blockpointers::w.
Referenced by initializeflow::readrestartfile().


| subroutine variablereading::readrestartvariable | ( | character(len=*), intent(in) | cgnsVarName | ) |
Definition at line 2644 of file variableReading.F90.
References buffer, buffervertex, cgnsbase, cgnsind, cgnssol, cgnszone, constants::eighth, blockpointers::il, blockpointers::jl, blockpointers::kl, location, rangemax, rangemin, utils::setcgnsrealtype(), and utils::terminate().
Referenced by readdensity(), readenergy(), readpressure(), readturbeddyvis(), readturbkwtype(), readturbsa(), readturbv2f(), readxmomentum(), readxvelocity(), readymomentum(), readyvelocity(), readzmomentum(), and readzvelocity().


| subroutine variablereading::readtimehistory | ( | integer, dimension(nsolsread), intent(in) | fileIDs | ) |
Definition at line 2078 of file variableReading.F90.
References utils::alloctimearrays(), sorting::bsearchstrings(), cgnsbase, cgnsind, cgnsnames::cgnstimevalue, monitor::monnames, monitor::nmon, inputunsteady::ntimestepsfine, monitor::ntimestepsrestart, sorting::qsortstrings(), utils::setcgnsrealtype(), commonformats::strings, utils::terminate(), monitor::timearray, monitor::timedataarray, monitor::timeunsteadyrestart, and constants::zero.

| subroutine variablereading::readturbeddyvis | ( | integer(kind=inttype), intent(inout) | nTypeMismatch, |
| logical, intent(out) | eddyVisPresent | ||
| ) |
Definition at line 458 of file variableReading.F90.
References sorting::bsearchstrings(), buffer, cgnsnames::cgnseddy, cgnsnames::cgnseddyratio, inputphysics::eddyvisinfratio, blockpointers::il, blockpointers::jl, blockpointers::kl, flowvarrefstate::muinf, muscale, blockpointers::nbklocal, readrestartvariable(), blockpointers::rev, utils::setcgnsrealtype(), utils::terminate(), varnames, vartypes, and blockpointers::w.
Referenced by readturbkwtype(), and readturbsa().


| subroutine variablereading::readturbkwtype | ( | integer(kind=inttype), intent(inout) | nTypeMismatch | ) |
Definition at line 576 of file variableReading.F90.
References sorting::bsearchstrings(), buffer, cgnsnames::cgnsturbk, cgnsnames::cgnsturbomega, cgnsnames::cgnsturbtau, constants::eps, blockpointers::il, turbutils::initkomega(), iomodule::iovar, constants::irho, constants::itu1, constants::itu2, blockpointers::jl, blockpointers::kl, constants::ktau, flowvarrefstate::muinf, muscale, communication::myid, blockpointers::nbklocal, constants::one, readrestartvariable(), readturbeddyvis(), blockpointers::rev, rhoscale, blockpointers::rlv, utils::setcgnsrealtype(), solid, utils::terminate(), inputphysics::turbmodel, varnames, vartypes, velscale, and blockpointers::w.

| subroutine variablereading::readturbsa | ( | integer(kind=inttype), intent(inout) | nTypeMismatch | ) |
Definition at line 912 of file variableReading.F90.
References sorting::bsearchstrings(), buffer, cgnsnames::cgnsturbsanu, iomodule::iovar, constants::irho, constants::itu1, flowvarrefstate::muinf, muscale, communication::myid, blockpointers::nbklocal, readrestartvariable(), readturbeddyvis(), blockpointers::rev, rhoscale, blockpointers::rlv, turbutils::sanuknowneddyratio(), utils::setcgnsrealtype(), solid, utils::terminate(), varnames, vartypes, blockpointers::w, and flowvarrefstate::winf.
Referenced by readturbvar().


| subroutine variablereading::readturbv2f | ( | integer(kind=inttype), intent(inout) | nTypeMismatch | ) |
Definition at line 1085 of file variableReading.F90.
References sorting::bsearchstrings(), buffer, cgnsnames::cgnsturbepsilon, cgnsnames::cgnsturbf, cgnsnames::cgnsturbk, cgnsnames::cgnsturbv2, iomodule::iovar, constants::itu1, constants::itu2, constants::itu3, constants::itu4, muscale, communication::myid, blockpointers::nbklocal, flowvarrefstate::nt1, flowvarrefstate::nt2, readrestartvariable(), rhoscale, utils::setcgnsrealtype(), solid, utils::terminate(), varnames, vartypes, velscale, blockpointers::w, and flowvarrefstate::winf.

| subroutine variablereading::readturbvar | ( | integer(kind=inttype), intent(inout) | nTypeMismatch | ) |
Definition at line 1233 of file variableReading.F90.
References communication::adflow_comm_world, inputphysics::equations, communication::myid, constants::ransequations, readturbsa(), constants::spalartallmaras, constants::spalartallmarasedwards, utils::terminate(), and inputphysics::turbmodel.
Referenced by initializeflow::readrestartfile().


| subroutine variablereading::readxmomentum | ( | integer(kind=inttype), intent(inout) | nTypeMismatch | ) |
Definition at line 1287 of file variableReading.F90.
References sorting::bsearchstrings(), buffer, cgnsnames::cgnsmomx, cgnsnames::cgnsvelx, constants::imx, iomodule::iovar, constants::irho, blockpointers::nbklocal, readrestartvariable(), rhoscale, utils::setcgnsrealtype(), solid, utils::terminate(), varnames, vartypes, velscale, and blockpointers::w.
Referenced by initializeflow::readrestartfile().


| subroutine variablereading::readxvelocity | ( | integer(kind=inttype), intent(inout) | nTypeMismatch | ) |
Definition at line 1419 of file variableReading.F90.
References sorting::bsearchstrings(), buffer, cgnsnames::cgnsmomx, cgnsnames::cgnsvelx, iomodule::iovar, constants::irho, constants::ivx, blockpointers::nbklocal, readrestartvariable(), rhoscale, utils::setcgnsrealtype(), solid, utils::terminate(), varnames, vartypes, velscale, and blockpointers::w.
Referenced by initializeflow::readrestartfile().


| subroutine variablereading::readymomentum | ( | integer(kind=inttype), intent(inout) | nTypeMismatch | ) |
Definition at line 1551 of file variableReading.F90.
References sorting::bsearchstrings(), buffer, cgnsnames::cgnsmomy, cgnsnames::cgnsvely, constants::imy, iomodule::iovar, constants::irho, blockpointers::nbklocal, readrestartvariable(), rhoscale, utils::setcgnsrealtype(), solid, utils::terminate(), varnames, vartypes, velscale, and blockpointers::w.
Referenced by initializeflow::readrestartfile().


| subroutine variablereading::readyvelocity | ( | integer(kind=inttype), intent(inout) | nTypeMismatch | ) |
Definition at line 1682 of file variableReading.F90.
References sorting::bsearchstrings(), buffer, cgnsnames::cgnsmomy, cgnsnames::cgnsvely, iomodule::iovar, constants::irho, constants::ivy, blockpointers::nbklocal, readrestartvariable(), rhoscale, utils::setcgnsrealtype(), solid, utils::terminate(), varnames, vartypes, velscale, and blockpointers::w.
Referenced by initializeflow::readrestartfile().


| subroutine variablereading::readzmomentum | ( | integer(kind=inttype), intent(inout) | nTypeMismatch | ) |
Definition at line 1815 of file variableReading.F90.
References sorting::bsearchstrings(), buffer, cgnsnames::cgnsmomz, cgnsnames::cgnsvelz, constants::imz, iomodule::iovar, constants::irho, blockpointers::nbklocal, readrestartvariable(), rhoscale, utils::setcgnsrealtype(), solid, utils::terminate(), varnames, vartypes, velscale, and blockpointers::w.
Referenced by initializeflow::readrestartfile().


| subroutine variablereading::readzvelocity | ( | integer(kind=inttype), intent(inout) | nTypeMismatch | ) |
Definition at line 1945 of file variableReading.F90.
References sorting::bsearchstrings(), buffer, cgnsnames::cgnsmomz, cgnsnames::cgnsvelz, iomodule::iovar, constants::irho, constants::ivz, blockpointers::nbklocal, readrestartvariable(), rhoscale, utils::setcgnsrealtype(), solid, utils::terminate(), varnames, vartypes, velscale, and blockpointers::w.
Referenced by initializeflow::readrestartfile().


| subroutine variablereading::scalefactors | ( | integer, dimension(nsolsread), intent(in) | fileIDs | ) |
Definition at line 2341 of file variableReading.F90.
References communication::adflow_comm_world, sorting::bsearchstrings(), cgnsbase, cgnsnames::cgnsdensity, cgnsind, cgnsnames::cgnslength, cgnsnames::cgnspressure, cgnsnames::cgnsvelocity, cgnsnames::cgnsvisckin, cgnsnames::cgnsviscmol, inputio::checkrestartsol, flowvarrefstate::muref, muscale, communication::myid, constants::one, flowvarrefstate::pref, pscale, sorting::qsortstrings(), flowvarrefstate::rhoref, rhoscale, utils::setcgnsrealtype(), utils::terminate(), and velscale.
Referenced by initializeflow::readrestartfile().


| real(kind=cgnsrealtype), dimension(:, :, :), allocatable variablereading::buffer |
Definition at line 69 of file variableReading.F90.
Referenced by readdensity(), readenergy(), readpressure(), initializeflow::readrestartfile(), readrestartvariable(), readturbeddyvis(), readturbkwtype(), readturbsa(), readturbv2f(), readxmomentum(), readxvelocity(), readymomentum(), readyvelocity(), readzmomentum(), and readzvelocity().
| real(kind=cgnsrealtype), dimension(:, :, :), allocatable variablereading::buffervertex |
Definition at line 70 of file variableReading.F90.
Referenced by initializeflow::readrestartfile(), and readrestartvariable().
| integer variablereading::cgnsbase |
Definition at line 15 of file variableReading.F90.
Referenced by initializeflow::getsortedvarnumbers(), initializeflow::getsortedzonenumbers(), initializeflow::readrestartfile(), readrestartvariable(), readtimehistory(), and scalefactors().
| integer variablereading::cgnsind |
Definition at line 15 of file variableReading.F90.
Referenced by initializeflow::getsortedvarnumbers(), initializeflow::getsortedzonenumbers(), initializeflow::readrestartfile(), readrestartvariable(), readtimehistory(), and scalefactors().
| integer variablereading::cgnssol |
Definition at line 15 of file variableReading.F90.
Referenced by initializeflow::getsortedvarnumbers(), initializeflow::readrestartfile(), and readrestartvariable().
| integer variablereading::cgnszone |
Definition at line 15 of file variableReading.F90.
Referenced by initializeflow::getsortedvarnumbers(), initializeflow::readrestartfile(), and readrestartvariable().
| logical variablereading::copyspectral |
Definition at line 45 of file variableReading.F90.
Referenced by initializeflow::determinesolfilenames(), and initializeflow::initflowrestart().
| logical variablereading::halosread |
Definition at line 6 of file variableReading.F90.
Referenced by initializeflow::initflow(), initializeflow::initflowrestart(), initializeflow::readrestartfile(), and initializeflow::setiovar().
| logical variablereading::interpolspectral |
Definition at line 45 of file variableReading.F90.
Referenced by initializeflow::determinesolfilenames(), initializeflow::initflowrestart(), and initializeflow::setiovar().
| integer variablereading::location |
Definition at line 15 of file variableReading.F90.
Referenced by initializeflow::readrestartfile(), and readrestartvariable().
| real(kind=realtype) variablereading::muscale |
Definition at line 52 of file variableReading.F90.
Referenced by readturbeddyvis(), readturbkwtype(), readturbsa(), readturbv2f(), and scalefactors().
| integer(kind=inttype) variablereading::nsolsread |
Definition at line 57 of file variableReading.F90.
Referenced by initializeflow::checksolfilenames(), initializeflow::determinesolfilenames(), initializeflow::interpolatespectralsolution(), initializeflow::readrestartfile(), initializeflow::setiovar(), and initializeflow::setsolfilenames().
| integer variablereading::nvar |
Definition at line 37 of file variableReading.F90.
Referenced by initializeflow::getsortedvarnumbers().
| real(kind=realtype) variablereading::pscale |
Definition at line 52 of file variableReading.F90.
Referenced by readenergy(), readpressure(), and scalefactors().
| integer(kind=cgsize_t), dimension(3) variablereading::rangemax |
Definition at line 32 of file variableReading.F90.
Referenced by initializeflow::readrestartfile(), and readrestartvariable().
| integer(kind=cgsize_t), dimension(3) variablereading::rangemin |
Definition at line 32 of file variableReading.F90.
Referenced by initializeflow::readrestartfile(), and readrestartvariable().
| real(kind=realtype) variablereading::rhoscale |
Definition at line 52 of file variableReading.F90.
Referenced by readdensity(), readturbkwtype(), readturbsa(), readturbv2f(), readxmomentum(), readxvelocity(), readymomentum(), readyvelocity(), readzmomentum(), readzvelocity(), and scalefactors().
| character(len=maxstringlen), dimension(:), allocatable variablereading::solfiles |
Definition at line 58 of file variableReading.F90.
Referenced by initializeflow::checksolfilenames(), initializeflow::determinesolfilenames(), initializeflow::initflowrestart(), initializeflow::readrestartfile(), and initializeflow::setsolfilenames().
| integer(kind=inttype) variablereading::solid |
Definition at line 38 of file variableReading.F90.
Referenced by readdensity(), readenergy(), readpressure(), initializeflow::readrestartfile(), readturbkwtype(), readturbsa(), readturbv2f(), readxmomentum(), readxvelocity(), readymomentum(), readyvelocity(), readzmomentum(), and readzvelocity().
| character(len=maxcgnsnamelen), dimension(:), allocatable variablereading::varnames |
Definition at line 26 of file variableReading.F90.
Referenced by initializeflow::getsortedvarnumbers(), readdensity(), readenergy(), readpressure(), initializeflow::readrestartfile(), readturbeddyvis(), readturbkwtype(), readturbsa(), readturbv2f(), readxmomentum(), readxvelocity(), readymomentum(), readyvelocity(), readzmomentum(), and readzvelocity().
| integer, dimension(:), allocatable variablereading::vartypes |
Definition at line 61 of file variableReading.F90.
Referenced by initializeflow::getsortedvarnumbers(), readdensity(), readenergy(), readpressure(), initializeflow::readrestartfile(), readturbeddyvis(), readturbkwtype(), readturbsa(), readturbv2f(), readxmomentum(), readxvelocity(), readymomentum(), readyvelocity(), readzmomentum(), and readzvelocity().
| real(kind=realtype) variablereading::velscale |
Definition at line 52 of file variableReading.F90.
Referenced by readturbkwtype(), readturbv2f(), readxmomentum(), readxvelocity(), readymomentum(), readyvelocity(), readzmomentum(), readzvelocity(), and scalefactors().
| character(len=maxcgnsnamelen), dimension(:), allocatable variablereading::zonenames |
Definition at line 25 of file variableReading.F90.
Referenced by initializeflow::getsortedzonenumbers(), and initializeflow::readrestartfile().
| integer(kind=inttype), dimension(:), allocatable variablereading::zonenumbers |
Definition at line 24 of file variableReading.F90.
Referenced by initializeflow::getsortedzonenumbers(), and initializeflow::readrestartfile().