Miscellaneous Tools for PySPH¶
Input/Output of data files¶
The following functions are handy functions when processing output generated by PySPH or to generate new files.
Interpolator¶
This module provides a convenient class called
interpolator.Interpolator
which can be used to interpolate any
scalar values from the points onto either a mesh or a collection of other
points. SPH interpolation is performed with a simple Shepard filtering.
SPH Evaluator¶
This module provides a class that allows one to evaluate a set of equations on a collection of particle arrays. This is very handy for non-trivial post-processing that needs to be quick.
STL Converter¶
The following function can be used to convert an STL file to a set of grid points.