|
[Sponsors] |
October 4, 2015, 12:13 |
particleTracks to Matlab
|
#1 |
Member
Join Date: Jul 2015
Location: Aalborg
Posts: 83
Rep Power: 10 |
Hi
I need to put the particle tracks to put to Matlab or Scilab. My only problem is, that the particleTracks.vtk is basically only a list of all particle positions. The beginning is something like this: Code:
# vtk DataFile Version 2.0 particleTracks ASCII DATASET POLYDATA POINTS 10442 float -2.24536432e-08 0.986388977 0.00383200466 -5.19153517e-08 0.982761592 0.00767320536 -8.83598122e-08 0.97915399 0.0114858042 the end a list of lines: Code:
LINES 55 10497 168 0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33.... My particles are following in y-direction, so it would be easy to say something like: if y(i)>y(i-1) than make new vector for a new particle. But for the case a particle makes a step backwards (turbulences) this idea is non-sense... I am open for all suggestions |
|
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
How to start Fluent with Matlab?? | Jay Hu | FLUENT | 8 | November 9, 2022 06:30 |
Export/Import data contour plots with Matlab | meangreen | FLUENT | 11 | October 28, 2020 10:06 |
ARPACK example driver gives different results from Matlab | jollage | Main CFD Forum | 0 | December 3, 2014 18:00 |
Linking with Matlab?? | LostinSpace | Phoenics | 0 | March 25, 2013 05:39 |
Live connection Matlab VS OF | levka | OpenFOAM Running, Solving & CFD | 0 | July 10, 2012 04:15 |