|
[Sponsors] |
[OpenFOAM] XYZ starting points of streamtraces in Paraview |
|
LinkBack | Thread Tools | Search this Thread | Display Modes |
March 26, 2013, 09:37 |
XYZ starting points of streamtraces in Paraview
|
#1 | |
Member
Nico T
Join Date: Aug 2010
Location: Leipzig, Germany
Posts: 39
Rep Power: 16 |
Hello,
in Paraview I want to draw streamtraces with defined starting points xyz. In the Object Inspector I can only define the radius around a point (or a line) where Paraview creates randomized starting points. I recorded a python-macro, where I can define at least one single starting point ([12.02, 2.52, 1.66], with a radius of 0): Quote:
Thank's for your help. |
||
March 27, 2013, 06:00 |
|
#2 |
Member
Nico T
Join Date: Aug 2010
Location: Leipzig, Germany
Posts: 39
Rep Power: 16 |
Ok,
I found a solution, without using a python macro: 1. Save your xyz-coordinates as *.csv. 2. load them in Paraview, they appear as a table. 3. apply the filter "Table to points" (Filters>Alphabetical) to the table and define x,y,z directions. 4. Activate the velocity field/variable and apply the filter "Stream Tracer with Custom Source". 5. Choose "Source" on the left bar and choose the TableToPoints-variable (created under 3.) 6. Activate the Filter Hope that helps someone.... BTW: When exporting the streamtraces as *.csv the column "Integration Time Steps" can be used for travel time analysis. |
|
May 21, 2013, 15:17 |
|
#3 |
New Member
Anirban Jana
Join Date: Apr 2010
Location: Pittsburgh, PA, USA
Posts: 19
Rep Power: 16 |
This was really helpful
|
|
May 22, 2013, 04:02 |
|
#4 |
Member
Nico T
Join Date: Aug 2010
Location: Leipzig, Germany
Posts: 39
Rep Power: 16 |
Yes, but it's a bit intricate. In case of more than one run automatization with a script would be nice where loading xyz data, activating the filters, and finally write new csv file would be done by one click....
|
|
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
big difference between clockTime and executionTime | LM4112 | OpenFOAM Running, Solving & CFD | 21 | February 15, 2019 04:05 |
[OpenFOAM] Problem with paraView starting | PS87 | ParaView | 1 | August 2, 2012 16:28 |
paraFoam reader for OpenFOAM 1.6 | smart | OpenFOAM Installation | 13 | November 16, 2009 22:41 |
[blockMesh] BlockMeshmergePatchPairs | hjasak | OpenFOAM Meshing & Mesh Conversion | 11 | August 15, 2008 08:36 |
XYZ (ASCII format) data points into GAMBIT | Neil | FLUENT | 1 | August 7, 2007 10:24 |