Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

export mesh graphics #1595

Open
jinchi-wang opened this issue Apr 18, 2023 · 4 comments
Open

export mesh graphics #1595

jinchi-wang opened this issue Apr 18, 2023 · 4 comments

Comments

@jinchi-wang
Copy link

How to export high resolution mesh graphics in Cubit.

@danielpeter
Copy link
Contributor

can you be more specific? there is some documentation in the user manual on exporting CUBIT meshes into a SPECFEM-readable format - but not sure if that is your question...

@jinchi-wang
Copy link
Author

can you be more specific? there is some documentation in the user manual on exporting CUBIT meshes into a SPECFEM-readable format - but not sure if that is your question...

The files required by SPECFEM can be exported. What I need is a high-resolution grid model diagram. Can I export it directly in Cubit or export the grid file to create a graph in Paraview?

@danielpeter
Copy link
Contributor

for the SPECFEM3D examples, the mesh in CUBIT only contains the element anchor points for either a linear hex-element (i.e., 8 corner points) or a quadratic hex27-element (27 shape nodes per element). that is the most in terms of resolution you can export in CUBIT. the GLL quadrature points are added when running xgenerate_databases to create the mesh for a simulation. those higher-resolution meshes can be visualized by turning on the SAVE_MESH_FILES flag in Par_file, and then converted into a VTK/VTU format by the xcombine_vol_data_** tools.

regarding the export format in CUBIT, something that works with Paraview is to export the mesh in CUBIT as Exodus file (e.g. File -> Export... -> mesh.e), and open it in Paraview for visualization.

@jinchi-wang
Copy link
Author

Thank you very much for your patient answer.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants