/vtk4cfd

VTK4CFD is a package designed to post-process CFD results and produce publishable flow visualization plots with simple lines of codes.

Primary LanguagePythonMIT LicenseMIT

VTK4CFD

VTK4CFD is a package designed to post-process CFD results and produce publishable flow visualization plots with simple lines of codes. This code is built based on python interface of the visualization tool kit (VTK) and plotting library matplotlib. The author, Tianbo (Raye) Xie, is a PhD candidate at USC Aerodynamic Design and Research Lab (ADRL) and he used this code to produce result plots for his thesis and publications. Contact: tianboxi@usc.edu

Supported File Formats

  • CGNS, VTK

Supported Functions

  • Slice domain (plannar or cylindrical)
  • Clip domain
  • Transform domain
  • Flow property integration over a slice surface
  • Mass averaged integration over a slice surface
  • Flow property sample over an arbitrary curve
  • Computation of new variables with existing variables
  • Export processed result as a new VTK file

Supported Plotting Functions

  • Flow property contours
  • Streamline (with Overset grid)
  • Glyph/vector
  • Boundary edges

Example Plots

M_chk V_far0 075_f30 0_a8 0_BFM Figure_1 (1)

LICENSE

Copyright 2020 Tianbo Raye Xie. See LICENCE file for more details.