foamResultVTKStorageConverter Module



Derived Types

type, public ::  VTK1D_t

Components

Type Visibility Attributes Name Initial
real(kind=RP), public, ALLOCATABLE :: data(:)

type, public ::  VTK2D_t

Components

Type Visibility Attributes Name Initial
real(kind=RP), public, ALLOCATABLE :: data(:,:)

type, public ::  VTKResult_t

Components

Type Visibility Attributes Name Initial
character(len=LINE_LENGTH), public :: resultName
integer, public :: nPoints
type(VTK2D_t), public :: x
type(VTK2D_t), public :: U
type(VTK1D_t), public :: p
type(VTK1D_t), public :: rho
real(kind=RP), public, ALLOCATABLE :: Q(:,:)
real(kind=RP), public :: Re
real(kind=RP), public :: Mach
real(kind=RP), public :: rhoRef
real(kind=RP), public :: VRef
real(kind=RP), public :: pRef
real(kind=RP), public :: TRef

Type-Bound Procedures

procedure, public :: Construct => constructVTKResult

Functions

public function putVTKFileInReadDataMode(VTKfile) result(fid)

Arguments

Type IntentOptional Attributes Name
character(len=*), intent(in) :: VTKfile

Return Value integer


Subroutines

public subroutine constructVTKResult(self, VTKfile, Ref)

Arguments

Type IntentOptional Attributes Name
class(VTKResult_t) :: self
character(len=*), intent(in) :: VTKfile
real(kind=RP), intent(in) :: Ref(4)

public subroutine read1DVTKData(self, fid, nPoints)

Arguments

Type IntentOptional Attributes Name
class(VTK1D_t), intent(inout) :: self
integer, intent(in) :: fid
integer, intent(in) :: nPoints

public subroutine read2DVTKData(self, fid, nPoints, nsize)

Arguments

Type IntentOptional Attributes Name
class(VTK2D_t), intent(inout) :: self
integer, intent(in) :: fid
integer, intent(in) :: nPoints
integer, intent(in) :: nsize