Output configuration
KitAMR.jl outputs the field as .jld2 and .pvtu files for post-processing.
KitAMR.Output — Type
mutable struct OutputStructure of output information.
Fields
vtk_celltype::Type{Tp} where Tp<:KitAMR.AbstractVTKCellType: VTK cell type in physical space. Available options:PixelandTrianglefor 2D;VoxelandTetrafor 3D. Default isTrianglefor 2D andTetrafor 3D.vs_vtk_celltype::Type{Tv} where Tv<:KitAMR.AbstractVTKCellType: VTK cell type in velocity space. Available options:Pixelfor 2D.anim_dt::Float64: Time interval between animation frames.vs_output_criterion::Function: User-defined-function determining the physical cells need to output the velocity space.anim_index::Int64: Index of the last saved animation frame.
Supported vtk cell types are
KitAMR.Pixel — Type
abstract type Pixel <: KitAMR.AbstractVTKCellTypeKitAMR.Voxel — Type
abstract type Voxel <: KitAMR.AbstractVTKCellTypeKitAMR.Triangle — Type
abstract type Triangle <: KitAMR.AbstractVTKCellTypeKitAMR.Tetra — Type
abstract type Tetra <: KitAMR.AbstractVTKCellTypeNote that the vertices in .pvtu file are redundant. To obtain contour of the field, a cleaning process in post-process software is required. For example, using Paraview, one needs to execute Clean to Grid before contour.
Triangle and Tetra are chosen for smoother field visualization, but will not improve the accuracy of the solution. The variables on their vertices are linearly reconstructed.