Skip to content

Collection of python scripts for interfacing with paraview for the Chair for Electromagnetic Theory at Saarland University

Notifications You must be signed in to change notification settings

ju-kreber/paraview-scripts

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 

Repository files navigation

paraview-scripts

Collection of python scripts for interfacing with ParaView and/or VTK. Written for the Chair for Electromagnetic Theory at Saarland University.

Requirements

Some up-to-date Python 3 version. Tested with Python 3.6. All scripts need the numpy package. Those creating VTK files also need the vtk package.

File purposes

  • node_ordering.py generates a list of cartesian coordinates for the nodes of a single, right-angled Lagrange element at the origin in the right order (like the examples in this Kitware blogpost). Types: triangle, quadrilateral, tetrahedron, hexahedron, wedge. Order: 1 to 10.

  • sample_lagrange_element.py generates a VTK unstructured-grid XML vtu file containing a sample higher-order Lagrange element. Type and order must be specified in the script, see indicated lines. Uses node_ordering.py to get the coordinates.

About

Collection of python scripts for interfacing with paraview for the Chair for Electromagnetic Theory at Saarland University

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages