CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > Visualization & Post-Processing Software > ParaView

[OpenFOAM] XYZ starting points of streamtraces in Paraview

Register Blogs Community New Posts Updated Threads Search

 
 
LinkBack Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
Old   March 26, 2013, 08:37
Default XYZ starting points of streamtraces in Paraview
  #1
Member
 
Nico T
Join Date: Aug 2010
Location: Leipzig, Germany
Posts: 39
Rep Power: 15
deniggo is on a distinguished road
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:
try: paraview.simple
except: from paraview.simple import *
paraview.simple._DisableFirstRenderCameraReset()

Calc_U1 = GetActiveSource()
StreamTracer2 = StreamTracer( SeedType="Point Source" )
StreamTracer2.SeedType.Center = [12.02, 2.52, 1.66]
StreamTracer2.Vectors = ['POINTS', 'U']
StreamTracer2.MaximumStreamlineLength = 29.85
StreamTracer2.TerminalSpeed = 1e-12
StreamTracer2.MaximumError = 1e-06
StreamTracer2.SeedType.Radius = 0.0
StreamTracer2.SeedType.NumberOfPoints = 1

RenderView1 = GetRenderView()
DataRepresentation4 = Show()
DataRepresentation4.EdgeColor = [0.0, 0.0, 0.5]
Render()
I there a possibility to import a list of more than one starting points into Paraview? Just adding a similar block under this one, does not work.

Thank's for your help.
deniggo is offline   Reply With Quote

 


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
big difference between clockTime and executionTime LM4112 OpenFOAM Running, Solving & CFD 21 February 15, 2019 03:05
[OpenFOAM] Problem with paraView starting PS87 ParaView 1 August 2, 2012 15:28
paraFoam reader for OpenFOAM 1.6 smart OpenFOAM Installation 13 November 16, 2009 21:41
[blockMesh] BlockMeshmergePatchPairs hjasak OpenFOAM Meshing & Mesh Conversion 11 August 15, 2008 07:36
XYZ (ASCII format) data points into GAMBIT Neil FLUENT 1 August 7, 2007 09:24


All times are GMT -4. The time now is 15:58.