Python™ Link for PIV and PTV in DynamicStudio

Python™ Link can be used for PIV, image processing, and more. It allows you to add ideas, create analysis methods, and advance your measurement knowledge.

Screenshots showcasing the Python™ integration in DynamicStudio. Use the Python™ link for PIV, image processing and much more. A versatile prototyping language akin to MATLAB or Octave™, seamlessly integrates with DynamicStudio, enabling users to write and execute custom scripts and analysis methods for data processing and post-processing.

Python™ is a powerful and frequently used prototyping language that works quickly and integrates your systems more effectively. Similar to MATLAB or Octave™, we have added a full Python™. This addition allows your scripts and processing routines to be seamlessly integrated into DynamicStudio. Users can write their own scripts and analysis methods to process or post-process their data. It also allows users to access open source Python codes and implement the processing approaches on data acquired inside DynamicStudio.

This tool allows you to share scripts with your colleagues while still using the powerful database, visualization, and acquisition tools and principles of DynamicStudio. No matter if you need to convert one dataset into another, or if you need multiple input data sets, the Python™ link can do it all.

In the example below, with a tomographic PTV setup with four cameras, images are acquired from leapfrogging vortex rings around an accelerating pulsed water jet.

The images are then pre-processed to remove background and noise, before a tomographic PTV approach computes the time resolved Lagrangian particle tracks. These are smoothed, and then a Physics Informed Interpolation is applied to filter and interpolate the velocity onto a regular grid, while also computing the pressures.

With the help of the Python Link, the 3 first vortex rings can be separated from each other before others interact, by their vorticity magnitude or the Q-criterion.

To get better insights on the dynamics of these vortices, the Eulerian point belonging to the kth ring in the initial condition, when we discern the vortices through Q-criterion or vorticity magnitude, can be advected with the flow by using our Eulerian field. All these synthetic particles are then introduced into DynamicStudio as separate Tracking dataset and visualized, as shown in the video below.

Presentation of Python link application

With Python™ link, many different types of data sets can be accessed, and users can utilize the Python link for PIV or PTV data processing or post-processing. Data processed with Python™ codes can also be brought back into DynamicStudio easily to compare results and apply further post-processing.

For more information on Python™ Link for PIV and DynamicStudio, please contact one of our experts.

If you have plans to implement or use our Python link for PIV or another technique, let us know! We would love to hear about how you have used this tool and promote your work to our community to share the benefits you have experienced.

Data Sheets and Literature

TITLE
DOWNLOAD FILE