ADflow  v1.0
ADflow is a finite volume RANS solver tailored for gradient-based aerodynamic design optimization.
Modules | Functions/Subroutines
utils.F90 File Reference

Go to the source code of this file.

Modules

module  utils
 

Functions/Subroutines

character(len=n) function utils::char2str (charArray, n)
 
real(kind=realtype) function utils::tsbeta (degreePolBeta, coefPolBeta, degreeFourBeta, omegaFourBeta, cosCoefFourBeta, sinCoefFourBeta, t)
 
real(kind=realtype) function utils::tsbetadot (degreePolBeta, coefPolBeta, degreeFourBeta, omegaFourBeta, cosCoefFourBeta, sinCoefFourBeta, t)
 
real(kind=realtype) function utils::tsmach (degreePolMach, coefPolMach, degreeFourMach, omegaFourMach, cosCoefFourMach, sinCoefFourMach, t)
 
real(kind=realtype) function utils::tsmachdot (degreePolMach, coefPolMach, degreeFourMach, omegaFourMach, cosCoefFourMach, sinCoefFourMach, t)
 
real(kind=realtype) function utils::tsalpha (degreePolAlpha, coefPolAlpha, degreeFourAlpha, omegaFourAlpha, cosCoefFourAlpha, sinCoefFourAlpha, t)
 
real(kind=realtype) function utils::tsalphadot (degreePolAlpha, coefPolAlpha, degreeFourAlpha, omegaFourAlpha, cosCoefFourAlpha, sinCoefFourAlpha, t)
 
real(kind=realtype) function utils::derivativerigidrotangle (degreePolRot, coefPolRot, degreeFourRot, omegaFourRot, cosCoefFourRot, sinCoefFourRot, t)
 
real(kind=realtype) function utils::mydim (x, y)
 
logical function utils::getcorrectfork ()
 
subroutine utils::terminate (routineName, errorMessage)
 
subroutine utils::rotmatrixrigidbody (tNew, tOld, rotationMatrix, rotationPoint)
 
real(kind=realtype) function utils::secondderivativerigidrotangle (degreePolRot, coefPolRot, degreeFourRot, omegaFourRot, cosCoefFourRot, sinCoefFourRot, t)
 
real(kind=realtype) function utils::rigidrotangle (degreePolRot, coefPolRot, degreeFourRot, omegaFourRot, cosCoefFourRot, sinCoefFourRot, t)
 
subroutine utils::setbcpointers (nn, spatialPointers)
 
subroutine utils::computerootbendingmoment (cf, cm, bendingMoment)
 
subroutine utils::computeleastsquaresregression (y, x, npts, m, b)
 
subroutine utils::computetsderivatives (force, moment, coef0, dcdalpha, dcdalphadot, dcdq, dcdqdot)
 
subroutine utils::getdirangle (freeStreamAxis, liftAxis, liftIndex, alpha, beta)
 
subroutine utils::stabilityderivativedriver
 
subroutine utils::setcoeftimeintegrator
 
real(kind=realtype) function utils::mynorm2 (x)
 
logical function utils::iswalltype (bType)
 
subroutine utils::cross_prod (a, b, c)
 
subroutine utils::siangle (angle, mult, trans)
 
subroutine utils::sidensity (mass, len, mult, trans)
 
subroutine utils::silen (len, mult, trans)
 
subroutine utils::sipressure (mass, len, time, mult, trans)
 
subroutine utils::sitemperature (temp, mult, trans)
 
subroutine utils::siturb (mass, len, time, temp, turbName, mult, trans)
 
subroutine utils::sivelocity (length, time, mult, trans)
 
subroutine utils::setbcpointers_d (nn, spatialpointers)
 
subroutine utils::maxeddyv (eddyvisMax)
 
subroutine utils::maxhdiffmach (hdiffMax, MachMax)
 
integer(kind=inttype) function utils::delta (val1, val2)
 
subroutine utils::nullifycgnsdompointers (nn)
 
subroutine utils::nullifyflowdompointers (nn, level, sps)
 
subroutine utils::reallocateinteger (intArray, newSize, oldSize, alwaysFreeMem)
 
subroutine utils::reallocatempioffsetkindinteger (intArray, newSize, oldSize, alwaysFreeMem)
 
subroutine utils::reallocateinteger2 (intArray, newSize1, newSize2, oldSize1, oldSize2, alwaysFreeMem)
 
subroutine utils::reallocatereal (realArray, newSize, oldSize, alwaysFreeMem)
 
subroutine utils::reallocatereal2 (realArray, newSize1, newSize2, oldSize1, oldSize2, alwaysFreeMem)
 
subroutine utils::setbuffersizes (level, sps, determine1to1Buf, determineOversetBuf)
 
subroutine utils::setpointers (nn, mm, ll)
 
subroutine utils::setpointers_b (nn, level, sps)
 
subroutine utils::setpointers_d (nn, level, sps)
 
subroutine utils::spectralinterpolcoef (nsps, t, alpScal, alpMat)
 
subroutine utils::deallocatetempmemory (resNeeded)
 
subroutine utils::allocatetempmemory (resNeeded)
 
subroutine utils::getliftdirfromsymmetry (liftDir)
 
subroutine utils::writeintromessage
 
subroutine utils::pointreduce (pts, N, tol, uniquePts, link, nUnique)
 
subroutine utils::releasememorypart1
 
subroutine utils::deallocatecommtype (comm)
 
subroutine utils::deallocateinternalcommtype (comm)
 
subroutine utils::deallocderivativevalues (level)
 
subroutine utils::releasememorypart2
 
subroutine utils::deallocateblock (nn, level, sps)
 
integer function utils::setcgnsrealtype ()
 
subroutine utils::returnfail (routineName, errorMessage)
 
subroutine utils::echk (errorcode, file, line)
 
subroutine utils::converttolowercase (string)
 
logical function utils::eulerwallspresent ()
 
subroutine utils::allocconvarrays (nIterTot)
 
subroutine utils::alloctimearrays (nTimeTot)
 
subroutine utils::getmonitorvariablenames (nvar, monitor_variables)
 
subroutine utils::getsolvertypearray (niter, nsps, type_array)
 
subroutine utils::convergenceheader
 
subroutine utils::sumresiduals (nn, mm)
 
subroutine utils::sumallresiduals (mm)
 
subroutine utils::unsteadyheader
 
subroutine utils::getcellcenters (level, n, xCen)
 
subroutine utils::getcellcgnsblockids (level, n, cellID)
 
subroutine utils::getncgnszones (nZones)
 
subroutine utils::getcgnszonename (i, zone)
 
subroutine utils::getrotmatrix (vec1, vec2, rotMat)
 
real(kind=realtype) function utils::norm2cplx (v)