Read the restart file in the vtk format
Type | Visibility | Attributes | Name | Initial | |||
---|---|---|---|---|---|---|---|
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) |
Read all the variable for the vtk restart file
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
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 |
Skip read the header in the vtk file
Skip the grid read in the restart file
Read velocity vector from the vtk file
Read scalar from the vtk file
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
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 |
Skip read scalar from the vtk file