HDF5 to .pvd
animation file
MaterialPointVisualizer.animation Method
julia
animation(conf::NamedTuple)
Description:
Generates animation by using the data from HDF5 file (2D/3D).
conf
is defined through MaterialPointSolver.jl and by default includes the fields prjdst
(project directory path) and prjname
(project name). If the original conf
is lost, please construct it yourself, for example:
julia
conf = (prjdst="path/to/your/project", prjname="project_name").
Note:
Inside the function, use
prjdst/prjname.h5
as the path to the HDF5 file.This feature primarily provides animation support for HDF5 files generated by
MaterialPointSolver.jl
.
If your HDF5 file is generated by other means, please refer to WriteVTK.jl.
source