Writing solution in the output file in tecplot format with node data instead of cell-center data.
Type | Visibility | Attributes | Name | Initial | |||
---|---|---|---|---|---|---|---|
integer, | private | :: | OUT_FILE_UNIT | ||||
integer, | private | :: | i | ||||
integer, | private | :: | j | ||||
integer, | private | :: | k | ||||
character(len=*), | private, | parameter | :: | format | = | "(35e25.15)" | |
integer, | private | :: | imx | ||||
integer, | private | :: | jmx | ||||
integer, | private | :: | kmx | ||||
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) |
Write output file in the tecplot format with node data
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
integer, | intent(in) | :: | file_handler | |||
real(kind=wp), | intent(in), | dimension(-2:dims%imx+2, -2:dims%jmx+2, -2:dims%kmx+2, 1:dims%n_var), target | :: | state | ||
type(nodetype), | intent(in), | dimension(-2:dims%imx+3,-2:dims%jmx+3,-2:dims%kmx+3) | :: | nodes | ||
type(controltype), | intent(in) | :: | control | |||
type(schemetype), | intent(in) | :: | scheme | |||
type(extent), | intent(in) | :: | dims |
Write the header in the output file
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
type(controltype), | intent(in) | :: | control |
Write grid information in the output file
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
type(nodetype), | intent(in), | dimension(-2:imx+3,-2:jmx+3,-2:kmx+3) | :: | nodes |
Write scalar variable in the output file
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
real(kind=wp), | intent(in), | dimension(index:imx-index,index:jmx-index,index:kmx-index) | :: | var | ||
character(len=*), | intent(in) | :: | name | |||
integer, | intent(in) | :: | index |