read_output Module

Read output files from the restart folder

Free-stream velocity magnitude


Uses

  • module~~read_output~~UsesGraph module~read_output read_output module~read_output_vtk read_output_vtk module~read_output->module~read_output_vtk module~utils utils module~read_output->module~utils module~check_output_control check_output_control module~read_output->module~check_output_control module~vartypes vartypes module~read_output->module~vartypes module~read_output_tec read_output_tec module~read_output->module~read_output_tec module~read_output_vtk->module~utils module~read_output_vtk->module~vartypes module~check_output_control->module~vartypes iso_fortran_env iso_fortran_env module~vartypes->iso_fortran_env module~read_output_tec->module~utils module~read_output_tec->module~vartypes

Used by

  • module~~read_output~~UsedByGraph module~read_output read_output 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
character(len=8), private :: file_format

Read file format

character(len=16), private :: data_format

Read file data type


Subroutines

public subroutine read_file(files, qp, control, scheme, dims)

Read restart file

Arguments

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

private subroutine setup_file(control)

Steup the file to read the restart state.

Arguments

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

private subroutine open_file(files, control)

Open file from the restart folder

Arguments

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

private subroutine close_file(files)

Close the file after reading

Arguments

Type IntentOptional AttributesName
type(filetype), intent(in) :: files

private subroutine read_restart_file(RESTART_FILE_UNIT, control)

Read the sub-directory log file in the restart folder

Arguments

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