Skip to content

About

ParaView Python reader plugin for SU2 .su2 mesh files (volume + boundary markers).

Topics

Resources

Stars

2 stars

Watchers

0 watching

Forks

Latest commit

 

History

7 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 

Repository files navigation

SU2 Mesh Reader for ParaView

A ParaView Python plugin for reading .su2 meshes and displaying the interior mesh and boundary markers as separate outputs.

SU2 mesh and wing boundary displayed in ParaView

Both 2D and 3D meshes are supported, including triangles, quadrilaterals, tetrahedra, hexahedra, prisms, and pyramids. Boundary markers retain their SU2 names and can be displayed individually.

Installation

Download SU2Reader.py and save it locally. In ParaView:

  1. Open Tools > Manage Plugins.
  2. Click Load New and select SU2Reader.py.
  3. Check that SU2Reader is marked Loaded.
  4. Enable Auto Load if you want the plugin to load at startup.

SU2Reader loaded in the ParaView Plugin Manager

No compilation is needed. Use a ParaView installation with Python support. To update the plugin, replace the file and restart ParaView.

Tested with ParaView 6.0.1 on Ubuntu 24.04 LTS and ParaView 5.13.3 on Windows 11.

Usage

Open a mesh

Open a .su2 file through File > Open and click Apply. If ParaView asks for a reader, choose SU2 Mesh Reader.

Expand the reader in the Pipeline Browser to access its outputs:

Output Contents
Volume Mesh All interior elements
Boundary Meshes One block per boundary marker

Use the eye icons beside the outputs to switch their visibility. Select Surface With Edges to show the mesh edges.

Select boundary markers

  1. Open View > MultiBlock Inspector.
  2. Select Boundary Meshes in the Pipeline Browser and click its eye icon to show it.
  3. Expand the block tree to see the marker names.
  4. Use the checkboxes to show or hide individual markers.

Output ports and boundary marker controls highlighted in ParaView

License

MIT

About

ParaView Python reader plugin for SU2 .su2 mesh files (volume + boundary markers).

Topics

Resources

Stars

2 stars

Watchers

0 watching

Forks

Releases

Contributors

Languages