read_output_vtk Module

Read the restart file in the vtk format


Uses

  • module~~read_output_vtk~~UsesGraph module~read_output_vtk read_output_vtk module~utils utils module~read_output_vtk->module~utils module~vartypes vartypes module~read_output_vtk->module~vartypes iso_fortran_env iso_fortran_env module~vartypes->iso_fortran_env

Used by

  • module~~read_output_vtk~~UsedByGraph module~read_output_vtk read_output_vtk module~read_output read_output module~read_output->module~read_output_vtk module~state state module~state->module~read_output module~solver solver module~solver->module~state program~main main program~main->module~solver

Contents


Variables

TypeVisibility AttributesNameInitial
integer, private :: IN_FILE_UNIT
integer, private :: imx
integer, private :: jmx
integer, private :: kmx
integer, private :: i
integer, private :: j
integer, private :: k
real(kind=wp), private, dimension(:, :, :), pointer:: density

Rho pointer, point to slice of qp (:,:,:,1)

real(kind=wp), private, dimension(:, :, :), pointer:: x_speed

U pointer, point to slice of qp (:,:,:,2)

real(kind=wp), private, dimension(:, :, :), pointer:: y_speed

V pointer, point to slice of qp (:,:,:,3)

real(kind=wp), private, dimension(:, :, :), pointer:: z_speed

W pointer, point to slice of qp (:,:,:,4)

real(kind=wp), private, dimension(:, :, :), pointer:: pressure

P pointer, point to slice of qp (:,:,:,5)

real(kind=wp), private, dimension(:, :, :), pointer:: tk

TKE, point to slice of qp (:,:,:,6)

real(kind=wp), private, dimension(:, :, :), pointer:: tw

Omega, point to slice of qp (:,:,:,7)

real(kind=wp), private, dimension(:, :, :), pointer:: te

Dissipation, point to slice of qp (:,:,:,7)

real(kind=wp), private, dimension(:, :, :), pointer:: tv

SA visocity, point to slice of qp (:,:,:,6)

real(kind=wp), private, dimension(:, :, :), pointer:: tkl

KL K-KL method, point to slice of qp (:,:,:,7)

real(kind=wp), private, dimension(:, :, :), pointer:: tgm

Intermittency of LCTM2015, point to slice of qp (:,:,:,8)


Subroutines

public subroutine read_file(file_handler, state, control, scheme, dims)

Read all the variable for the vtk restart file

Arguments

Type IntentOptional AttributesName
integer, intent(in) :: file_handler
real(kind=wp), intent(inout), dimension(-2:dims%imx+2, -2:dims%jmx+2, -2:dims%kmx+2, 1:dims%n_var), target:: state
type(controltype), intent(in) :: control
type(schemetype), intent(in) :: scheme
type(extent), intent(in) :: dims

private subroutine read_header()

Skip read the header in the vtk file

Arguments

None

private subroutine read_grid()

Skip the grid read in the restart file

Arguments

None

private subroutine read_velocity()

Read velocity vector from the vtk file

Arguments

None

private subroutine read_scalar(var, name, index)

Read scalar from the vtk file

Arguments

Type IntentOptional AttributesName
real(kind=wp), intent(out), dimension(index:imx-index,index:jmx-index,index:kmx-index):: var
character(len=*), intent(in) :: name
integer, intent(in) :: index

private subroutine skip_scalar()

Skip read scalar from the vtk file

Arguments

None