ADflow  v1.0
ADflow is a finite volume RANS solver tailored for gradient-based aerodynamic design optimization.
Functions/Subroutines
bcdata Module Reference

Functions/Subroutines

subroutine setbcvarnamesisothermalwall
 
subroutine setbcvarnamessubsonicinflow
 
subroutine setbcvarnamessubsonicoutflow
 
subroutine setbcvarnamessupersonicinflow
 
subroutine setbcvarnamesturb (offset)
 
subroutine computehtot (tt, ht)
 
subroutine unitvectorscylsystem (boco)
 
subroutine bcdataisothermalwall (boco, bcVarArray, iBeg, iEnd, jBeg, jEnd)
 
subroutine bcdatasubsonicinflow (boco, bcVarArray, iBeg, iEnd, jBeg, jEnd, allTurbPresent)
 
subroutine bcdatasubsonicoutflow (boco, bcVarArray, iBeg, iEnd, jBeg, jEnd)
 
subroutine bcdatasupersonicinflow (boco, bcVarArray, iBeg, iEnd, jBeg, jEnd, allFlowPresent, allTurbPresent)
 
logical function setbcvarturb (offset, boco, bcVarArray, iBeg, iEnd, jBeg, jEnd, turbInlet)
 
subroutine setbcdata (bcDataNamesIn, bcDataIn, famLists, sps, nVar, nFamMax)
 
subroutine setbcdata_d (bcDataNamesIn, bcDataIn, bcDataInd, famLists, sps, nVar, nFamMax)
 
subroutine setbcdata_b (bcDataNamesIn, bcDataIn, bcDataInd, famLists, sps, nVar, nFamMax)
 
subroutine extractfromdataset (bcVarArray)
 
subroutine extractfromdataset_d (bcVarArray, bcVarArrayd)
 
subroutine extractfromdataset_b (bcVarArray, bcVarArrayd)
 
subroutine inserttodataset (bcDataNamesIn, bcDataIn)
 
subroutine inserttodataset_d (bcDataNamesIn, bcDataIn, bcDataInd)
 
subroutine inserttodataset_b (bcDataNamesIn, bcDataIn, bcDataInd)
 
subroutine allocmembcdata
 
subroutine initbcdata
 
subroutine setbcdatafinegrid (initializationPart)
 
subroutine setbcdatafinegrid_d (initializationPart)
 
subroutine setbcdatafinegrid_b (initializationPart)
 
subroutine setbcdatacoarsegrid
 
subroutine errorcheckbcdatanamesin (setSubroutineName, bcDataNamesIn)
 

Function/Subroutine Documentation

◆ allocmembcdata()

subroutine bcdata::allocmembcdata

◆ bcdataisothermalwall()

subroutine bcdata::bcdataisothermalwall ( integer(kind=inttype)  boco,
real(kind=realtype), dimension(ibeg:iend, jbeg:jend, nbcvarmax)  bcVarArray,
integer(kind=inttype)  iBeg,
integer(kind=inttype)  iEnd,
integer(kind=inttype)  jBeg,
integer(kind=inttype)  jEnd 
)

Definition at line 413 of file BCData.F90.

References blockpointers::bcfaceid, bcdatamod::bcvarpresent, bcdatamod::cgnsboco, blockpointers::nbkglobal, utils::sitemperature(), commonformats::strings, bcdatamod::temp, utils::terminate(), and flowvarrefstate::tref.

Referenced by setbcdatafinegrid().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ bcdatasubsonicinflow()

subroutine bcdata::bcdatasubsonicinflow ( integer(kind=inttype), intent(in)  boco,
real(kind=realtype), dimension(ibeg:iend, jbeg:jend, nbcvarmax)  bcVarArray,
integer(kind=inttype)  iBeg,
integer(kind=inttype)  iEnd,
integer(kind=inttype)  jBeg,
integer(kind=inttype)  jEnd,
logical, intent(inout)  allTurbPresent 
)

◆ bcdatasubsonicoutflow()

subroutine bcdata::bcdatasubsonicoutflow ( integer(kind=inttype)  boco,
real(kind=realtype), dimension(ibeg:iend, jbeg:jend, nbcvarmax)  bcVarArray,
integer(kind=inttype)  iBeg,
integer(kind=inttype)  iEnd,
integer(kind=inttype)  jBeg,
integer(kind=inttype)  jEnd 
)

Definition at line 929 of file BCData.F90.

References blockpointers::bcfaceid, bcdatamod::bcvarpresent, bcdatamod::cgnsboco, bcdatamod::length, bcdatamod::mass, blockpointers::nbkglobal, flowvarrefstate::pref, utils::sipressure(), commonformats::strings, utils::terminate(), and bcdatamod::time.

Referenced by setbcdatafinegrid().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ bcdatasupersonicinflow()

subroutine bcdata::bcdatasupersonicinflow ( integer(kind=inttype), intent(in)  boco,
real(kind=realtype), dimension(ibeg:iend, jbeg:jend, nbcvarmax)  bcVarArray,
integer(kind=inttype)  iBeg,
integer(kind=inttype)  iEnd,
integer(kind=inttype)  jBeg,
integer(kind=inttype)  jEnd,
logical, intent(inout)  allFlowPresent,
logical, intent(inout)  allTurbPresent 
)

◆ computehtot()

subroutine bcdata::computehtot ( real(kind=realtype), intent(in)  tt,
real(kind=realtype), intent(out)  ht 
)

◆ errorcheckbcdatanamesin()

subroutine bcdata::errorcheckbcdatanamesin ( character(len=*), intent(in)  setSubroutineName,
character, dimension(:, :), intent(in)  bcDataNamesIn 
)

Definition at line 3389 of file BCData.F90.

References utils::char2str(), and utils::terminate().

Referenced by setbcdata(), setbcdata_b(), and setbcdata_d().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ extractfromdataset()

subroutine bcdata::extractfromdataset ( real(kind=realtype), dimension(:, :, :)  bcVarArray)

◆ extractfromdataset_b()

subroutine bcdata::extractfromdataset_b ( real(kind=realtype), dimension(:, :, :)  bcVarArray,
real(kind=realtype), dimension(:, :, :)  bcVarArrayd 
)

◆ extractfromdataset_d()

subroutine bcdata::extractfromdataset_d ( real(kind=realtype), dimension(:, :, :)  bcVarArray,
real(kind=realtype), dimension(:, :, :)  bcVarArrayd 
)

◆ initbcdata()

subroutine bcdata::initbcdata

◆ inserttodataset()

subroutine bcdata::inserttodataset ( character, dimension(:), intent(in)  bcDataNamesIn,
real(kind=realtype), intent(in)  bcDataIn 
)

Definition at line 1981 of file BCData.F90.

References bcdatamod::bcvarpresent, utils::char2str(), bcdatamod::dataset, constants::maxcgnsnamelen, and bcdatamod::ndataset.

Referenced by setbcdata().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ inserttodataset_b()

subroutine bcdata::inserttodataset_b ( character, dimension(:), intent(in)  bcDataNamesIn,
real(kind=realtype), intent(in)  bcDataIn,
real(kind=realtype), intent(out)  bcDataInd 
)

Definition at line 2072 of file BCData.F90.

References bcdatamod::bcvarpresent, utils::char2str(), bcdatamod::dataset, bcdatamod::datasetd, constants::maxcgnsnamelen, and bcdatamod::ndataset.

Referenced by setbcdata_b().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ inserttodataset_d()

subroutine bcdata::inserttodataset_d ( character, dimension(:), intent(in)  bcDataNamesIn,
real(kind=realtype), intent(in)  bcDataIn,
real(kind=realtype), intent(in)  bcDataInd 
)

Definition at line 2025 of file BCData.F90.

References bcdatamod::bcvarpresent, utils::char2str(), bcdatamod::dataset, bcdatamod::datasetd, constants::maxcgnsnamelen, and bcdatamod::ndataset.

Referenced by setbcdata_d().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ setbcdata()

subroutine bcdata::setbcdata ( character, dimension(nvar, maxcgnsnamelen), intent(in)  bcDataNamesIn,
real(kind=realtype), dimension(nvar), intent(in)  bcDataIn,
integer(kind=inttype), dimension(nvar, nfammax)  famLists,
integer(kind=inttype), intent(in)  sps,
integer(kind=inttype), intent(in)  nVar,
integer(kind=inttype), intent(in)  nFamMax 
)

◆ setbcdata_b()

subroutine bcdata::setbcdata_b ( character, dimension(nvar, maxcgnsnamelen), intent(in)  bcDataNamesIn,
real(kind=realtype), dimension(nvar), intent(in)  bcDataIn,
real(kind=realtype), dimension(nvar), intent(out)  bcDataInd,
integer(kind=inttype), dimension(nvar, nfammax)  famLists,
integer(kind=inttype), intent(in)  sps,
integer(kind=inttype), intent(in)  nVar,
integer(kind=inttype), intent(in)  nFamMax 
)

◆ setbcdata_d()

subroutine bcdata::setbcdata_d ( character, dimension(nvar, maxcgnsnamelen), intent(in)  bcDataNamesIn,
real(kind=realtype), dimension(nvar), intent(in)  bcDataIn,
real(kind=realtype), dimension(nvar), intent(in)  bcDataInd,
integer(kind=inttype), dimension(nvar, nfammax)  famLists,
integer(kind=inttype), intent(in)  sps,
integer(kind=inttype), intent(in)  nVar,
integer(kind=inttype), intent(in)  nFamMax 
)

◆ setbcdatacoarsegrid()

subroutine bcdata::setbcdatacoarsegrid

◆ setbcdatafinegrid()

subroutine bcdata::setbcdatafinegrid ( logical, intent(in)  initializationPart)

◆ setbcdatafinegrid_b()

subroutine bcdata::setbcdatafinegrid_b ( logical, intent(in)  initializationPart)

◆ setbcdatafinegrid_d()

subroutine bcdata::setbcdatafinegrid_d ( logical, intent(in)  initializationPart)

◆ setbcvarnamesisothermalwall()

subroutine bcdata::setbcvarnamesisothermalwall

Definition at line 10 of file BCData.F90.

References bcdatamod::bcvarnames, cgnsnames::cgnstemp, bcdatamod::nbcvar, and constants::nbcvarisothermalwall.

Referenced by setbcdatafinegrid(), setbcdatafinegrid_b(), and setbcdatafinegrid_d().

Here is the caller graph for this function:

◆ setbcvarnamessubsonicinflow()

subroutine bcdata::setbcvarnamessubsonicinflow

◆ setbcvarnamessubsonicoutflow()

subroutine bcdata::setbcvarnamessubsonicoutflow

◆ setbcvarnamessupersonicinflow()

subroutine bcdata::setbcvarnamessupersonicinflow

◆ setbcvarnamesturb()

subroutine bcdata::setbcvarnamesturb ( integer(kind=inttype), intent(in)  offset)

◆ setbcvarturb()

logical function bcdata::setbcvarturb ( integer(kind=inttype), intent(in)  offset,
integer(kind=inttype), intent(in)  boco,
real(kind=realtype), dimension(ibeg:iend, jbeg:jend, nbcvarmax)  bcVarArray,
integer(kind=inttype), intent(in)  iBeg,
integer(kind=inttype), intent(in)  iEnd,
integer(kind=inttype), intent(in)  jBeg,
integer(kind=inttype), intent(in)  jEnd,
real(kind=realtype), dimension(:, :, :), pointer  turbInlet 
)

◆ unitvectorscylsystem()

subroutine bcdata::unitvectorscylsystem ( integer(kind=inttype), intent(in)  boco)