/3D-streamlines-obj-generator

Computes streamlines from 3D velocity fields and generates .obj files

Primary LanguagePython

Usage

1 - Prepare the workdir with ./run.sh, or set up a box mesh yourself (explained in run.sh)

2 - Set up the field by editing scripts/StreamlineAux.py, or write yourself a plugin to consume an external .csv

3 - Generate N streamlines by running python3 scripts/Streamline.py N

Example 1

Given the following almost linear field

Results visualized in Meshlab are

Example 2

Given the following almost 'whirly' field

Results visualized in Meshlab are