ADflow  v1.0
ADflow is a finite volume RANS solver tailored for gradient-based aerodynamic design optimization.
Data Types | Functions/Subroutines | Variables
tecplotio Module Reference

Data Types

type  slice
 
type  liftdist
 

Functions/Subroutines

subroutine addparaslice (sliceName, pt, normal, dir_vec, use_dir, famList, n)
 
subroutine addabsslice (sliceName, pt, normal, dir_vec, use_dir, famList, n)
 
subroutine addliftdistribution (nSegments, normal, normal_ind, distName, famList, n)
 
subroutine writetecplot (sliceFile, writeSlices, liftFile, writeLift, surfFile, writeSurf, famList, nFamList)
 
subroutine writeslicesfile (fileName, nodalValues)
 
subroutine writeliftdistributionfile (fileName, nodalValues)
 
subroutine writeliftdistributions (sps, fileID, nodalValues)
 
subroutine writetecplotsurfacefile (fileName, famList)
 
subroutine initializeliftdistributiondata
 
subroutine computesurfaceoutputnodaldata (exch, zipper, includeTractions, nodalValues)
 
subroutine createslice (pts, conn, elemFam, slc, pt, normal, dir_vec, use_dir, sliceName, famList)
 
subroutine destroyslice (slc)
 
subroutine integrateslice (lSlc, gSlc, nodalValues, nFields, doConnectivity)
 
subroutine writeslice (slc, fileID, nFields)
 

Variables

character(len=maxstringlen) sci6 = "(ES14.6)"
 
logical liftdistinitialized = .False.
 
integer(kind=inttype), dimension(16, 5) mscon1
 
integer(kind=inttype), dimension(4, 2) mscon2
 
integer(kind=inttype), parameter nslicemax = 1000
 
integer(kind=inttype) nparaslices = 0
 
integer(kind=inttype) nabsslices = 0
 
type(slice), dimension(:, :), allocatable paraslices
 
type(slice), dimension(:, :), allocatable absslices
 
integer(kind=inttype), parameter nliftdistmax = 100
 
integer(kind=inttype) nliftdists = 0
 
type(liftdist), dimension(nliftdistmax), target liftdists
 
character(len=maxcgnsnamelen), dimension(:), allocatable liftdistname
 
integer(kind=inttype), parameter nliftdistvar = 26
 

Function/Subroutine Documentation

◆ addabsslice()

subroutine tecplotio::addabsslice ( character(len=*), intent(in)  sliceName,
real(kind=realtype), dimension(3), intent(in)  pt,
real(kind=realtype), dimension(3), intent(in)  normal,
real(kind=realtype), dimension(3), intent(in)  dir_vec,
logical, intent(in)  use_dir,
integer(kind=inttype), dimension(n), intent(in)  famList,
integer(kind=inttype), intent(in)  n 
)

◆ addliftdistribution()

subroutine tecplotio::addliftdistribution ( integer(kind=inttype), intent(in)  nSegments,
real(kind=realtype), dimension(3)  normal,
integer(kind=inttype), intent(in)  normal_ind,
character(len=*), intent(in)  distName,
integer(kind=inttype), dimension(n), intent(in)  famList,
integer(kind=inttype), intent(in)  n 
)

Definition at line 186 of file tecplotIO.F90.

References liftdists, nliftdistmax, and nliftdists.

◆ addparaslice()

subroutine tecplotio::addparaslice ( character(len=*), intent(in)  sliceName,
real(kind=realtype), dimension(3), intent(in)  pt,
real(kind=realtype), dimension(3), intent(in)  normal,
real(kind=realtype), dimension(3), intent(in)  dir_vec,
logical, intent(in)  use_dir,
integer(kind=inttype), dimension(n), intent(in)  famList,
integer(kind=inttype), intent(in)  n 
)

◆ computesurfaceoutputnodaldata()

subroutine tecplotio::computesurfaceoutputnodaldata ( type(familyexchange exch,
type(zippermesh zipper,
logical  includeTractions,
real(kind=realtype), dimension(:, :), intent(inout)  nodalValues 
)

◆ createslice()

subroutine tecplotio::createslice ( real(kind=realtype), dimension(:, :), intent(in)  pts,
integer(kind=inttype), dimension(:, :), intent(in)  conn,
integer(kind=inttype), dimension(:), intent(in)  elemFam,
type(slice), intent(inout)  slc,
real(kind=realtype), dimension(3), intent(in)  pt,
real(kind=realtype), dimension(3), intent(in)  normal,
real(kind=realtype), dimension(3), intent(in)  dir_vec,
logical, intent(in)  use_dir,
character(len=*), intent(in)  sliceName,
integer(kind=inttype), dimension(:), intent(in)  famList 
)

Definition at line 1665 of file tecplotIO.F90.

References sorting::faminlist(), mscon1, mscon2, constants::one, utils::pointreduce(), utils::reallocateinteger2(), utils::reallocatereal2(), and constants::zero.

Referenced by addabsslice(), addparaslice(), writeliftdistributions(), and writeslicesfile().

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

◆ destroyslice()

subroutine tecplotio::destroyslice ( type(slice), intent(inout)  slc)

Definition at line 1837 of file tecplotIO.F90.

Referenced by writeliftdistributions(), and writeslicesfile().

Here is the caller graph for this function:

◆ initializeliftdistributiondata()

subroutine tecplotio::initializeliftdistributiondata

Definition at line 1262 of file tecplotIO.F90.

References liftdistinitialized, mscon1, and mscon2.

◆ integrateslice()

subroutine tecplotio::integrateslice ( type(slice lSlc,
type(slice gSlc,
real(kind=realtype), dimension(:, :), intent(in)  nodalValues,
integer(kind=inttype), intent(in)  nFields,
logical, intent(in)  doConnectivity 
)

◆ writeliftdistributionfile()

subroutine tecplotio::writeliftdistributionfile ( character(len=*), intent(in)  fileName,
real(kind=realtype), dimension(:, :, :), allocatable  nodalValues 
)

Definition at line 417 of file tecplotIO.F90.

References inputphysics::equationmode, communication::myid, nliftdists, inputtimespectral::ntimeintervalsspectral, inputiteration::printiterations, constants::timespectral, and writeliftdistributions().

Referenced by solvers::checkwriteunsteadyinloop(), and writetecplot().

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

◆ writeliftdistributions()

subroutine tecplotio::writeliftdistributions ( integer(kind=inttype), intent(in)  sps,
integer(kind=inttype), intent(in)  fileID,
real(kind=realtype), dimension(:, :), intent(in)  nodalValues 
)

◆ writeslice()

subroutine tecplotio::writeslice ( type(slice), intent(in)  slc,
integer(kind=inttype), intent(in)  fileID,
integer(kind=inttype), intent(in)  nFields 
)

Definition at line 2250 of file tecplotIO.F90.

References commonformats::int5, sci6, and constants::zero.

Referenced by writeslicesfile().

Here is the caller graph for this function:

◆ writeslicesfile()

subroutine tecplotio::writeslicesfile ( character(len=*), intent(in)  fileName,
real(kind=realtype), dimension(:, :, :), intent(inout)  nodalValues 
)

◆ writetecplot()

subroutine tecplotio::writetecplot ( character(len=*), intent(in)  sliceFile,
logical, intent(in)  writeSlices,
character(len=*), intent(in)  liftFile,
logical, intent(in)  writeLift,
character(len=*), intent(in)  surfFile,
logical, intent(in)  writeSurf,
integer(kind=inttype), dimension(nfamlist), intent(in)  famList,
integer(kind=inttype), intent(in)  nFamList 
)

◆ writetecplotsurfacefile()

subroutine tecplotio::writetecplotsurfacefile ( character(len=*), intent(in)  fileName,
integer(kind=inttype), dimension(:), intent(in)  famList 
)

Variable Documentation

◆ absslices

type(slice), dimension(:, :), allocatable tecplotio::absslices

Definition at line 65 of file tecplotIO.F90.

Referenced by addabsslice(), and writeslicesfile().

◆ liftdistinitialized

logical tecplotio::liftdistinitialized = .False.

Definition at line 58 of file tecplotIO.F90.

Referenced by initializeliftdistributiondata().

◆ liftdistname

character(len=maxcgnsnamelen), dimension(:), allocatable tecplotio::liftdistname

Definition at line 73 of file tecplotIO.F90.

◆ liftdists

type(liftdist), dimension(nliftdistmax), target tecplotio::liftdists

Definition at line 70 of file tecplotIO.F90.

Referenced by addliftdistribution(), and writeliftdistributions().

◆ mscon1

integer(kind=inttype), dimension(16, 5) tecplotio::mscon1

Definition at line 59 of file tecplotIO.F90.

Referenced by createslice(), and initializeliftdistributiondata().

◆ mscon2

integer(kind=inttype), dimension(4, 2) tecplotio::mscon2

Definition at line 59 of file tecplotIO.F90.

Referenced by createslice(), and initializeliftdistributiondata().

◆ nabsslices

integer(kind=inttype) tecplotio::nabsslices = 0

Definition at line 64 of file tecplotIO.F90.

Referenced by addabsslice(), and writeslicesfile().

◆ nliftdistmax

integer(kind=inttype), parameter tecplotio::nliftdistmax = 100

Definition at line 68 of file tecplotIO.F90.

Referenced by addliftdistribution().

◆ nliftdists

integer(kind=inttype) tecplotio::nliftdists = 0

◆ nliftdistvar

integer(kind=inttype), parameter tecplotio::nliftdistvar = 26

Definition at line 74 of file tecplotIO.F90.

Referenced by writeliftdistributions().

◆ nparaslices

integer(kind=inttype) tecplotio::nparaslices = 0

Definition at line 63 of file tecplotIO.F90.

Referenced by addparaslice(), and writeslicesfile().

◆ nslicemax

integer(kind=inttype), parameter tecplotio::nslicemax = 1000

Definition at line 62 of file tecplotIO.F90.

Referenced by addabsslice(), and addparaslice().

◆ paraslices

type(slice), dimension(:, :), allocatable tecplotio::paraslices

Definition at line 65 of file tecplotIO.F90.

Referenced by addparaslice(), and writeslicesfile().

◆ sci6

character(len=maxstringlen) tecplotio::sci6 = "(ES14.6)"

Definition at line 7 of file tecplotIO.F90.

Referenced by writeliftdistributions(), and writeslice().