read_output_tec Module

Read the restart file in the tecplot format


Uses

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

Used by

  • module~~read_output_tec~~UsedByGraph module~read_output_tec read_output_tec module~read_output read_output module~read_output->module~read_output_tec 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 tecplot 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(control)

Skip read the header in the tecplot file

Arguments

Type IntentOptional AttributesName
type(controltype), intent(in) :: control

private subroutine read_grid()

Skip the grid read in the restart file

Arguments

None

private subroutine read_scalar(var, name, index)

Read scalar from the tecplot 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 tecplot file

Arguments

None