Skip to content

Visualizing Material ID

Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • #6416
    anandanandan86
    Participant

    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?

    #6417
    Adrian
    Keymaster

    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.

    #6421
    anandanandan86
    Participant

    Hello, Sorry for my late reply and thank you for the explanation. I was able to visualize it.

Viewing 3 posts - 1 through 3 (of 3 total)
  • You must be logged in to reply to this topic.