sandialabs / vorocrust-meshing

Other
9 stars 5 forks source link

Visualization of the polyhedral mesh data #1

Open yongjia0212 opened 1 year ago

yongjia0212 commented 1 year ago

I am writing to inquire about visualizing polyhedral mesh data. I have been able to successfully compile the data in my programming environment, but I'm unsure of how to go about visualizing it. Specifically, I am wondering if using a .vcg file is the appropriate solution and if so, how I can use it to render the mesh data.

If a .vcg file is indeed a viable solution, could you please advise me on how best to use it to visualize the polyhedral mesh data? If not, could you guide me towards alternative methods for achieving this task?

Thank you very much for your time and assistance. I look forward to hearing back from you soon.

wandadars commented 5 months ago

Any luck with this? I'm hoping the outputs are fairly standard.

jehsharp commented 1 month ago

Hello all, sorry for the late response. We typically visualize using the generated exodus file (.exo) and using a tool called Paraview (you can obtain a copy of it here: https://www.paraview.org/).

Once you get it installed using Paraview is hopefully simple. Once you are running Paraview, you would do a file -> open which is found on the topmost toolbar and then you would locate your exodus mesh and open it.

The only catch I have run in to is that on some of the latest versions of Paraview you will have to install a "LegacyExodusReader" plugin and view the meshes using that option. If you need to use the legacy reader than you would open your mesh as you would normally, except you will see a prompt that will ask how you want to open. Choose the Legacy Reader there.

I also know that some of my colleagues here use another tool for mesh visualization called cubit (https://cubit.sandia.gov/) but I am not very familiar with this product. Some people really like it for viewing meshes, so that would also be worth checking out.

Again, sorry for the late response and please do let me know if you need any additional help!