Is it possible to export the material ID of each grid cell so I can be sure that they’re being assigned properly in some viewer (e.g. Paraview)? If so, what would be the command for this?
Yes, in fact this is done in most examples by default.
e.g. for cylinder2d the SuperLatticeGeometry2D functor is exported as VTK for the 0th timestep. You only need to open the tmp/vtkData/geometry_iT0000000.vtm file in Paraview after executing the simulation.
Hello, Sorry for my late reply and thank you for the explanation. I was able to visualize it.
Author
Posts
Viewing 3 posts - 1 through 3 (of 3 total)
You must be logged in to reply to this topic.
We use cookies to ensure that we give you the best experience on our website. If you continue to use this site we will assume that you are happy with it.Ok