CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > Software User Forums > OpenFOAM > OpenFOAM Post-Processing

How to use "evenly spaced streamlines 2D" in paraView for streamline visualization

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   August 30, 2020, 00:11
Default How to use "evenly spaced streamlines 2D" in paraView for streamline visualization
  #1
Member
 
Wenming Yang
Join Date: Jun 2018
Posts: 42
Rep Power: 8
ywem is on a distinguished road
Dear all
I am tring to visualize the OpenFoam data (velocity, U) by streamlines in paraView. The streamlines with equally space are wanted. But when I use "evenly spaced streamlines 2D" filter on a clip plane parallel to XY plane, it always display "*** does not support planes not aligned with XY" or close the program automatically. Dose anyone have used this filter and have some ideas about doing this?
Thanks in advance.
ywem is offline   Reply With Quote

Old   March 12, 2024, 11:06
Default How to use "evenly spaced streamlines 2D" in paraView for streamline visualizationRep
  #2
New Member
 
Marcus
Join Date: Jul 2022
Posts: 8
Rep Power: 4
MarcusAng is on a distinguished road
Hi Wenming,

A late response to your post but hopefully this is helpful for someone else. The Evenly Spaced Streamlines 2D filter only works in XY plane so before you use it, you must transform it as such.

Then,
1. Use the calculator filter to create a new array with only Ux and Uy
Code:
U_X*iHat+U_Y*jHat
2. Use the calculator filter to create a new array for the coordinates
Code:
coordsX*iHat+coordsY*jHat
And tick on Coordinate Results
3. Use Evenly Spaced Streamlines 2D filter

Marcus
MarcusAng is offline   Reply With Quote

Old   November 29, 2024, 01:41
Default
  #3
New Member
 
AVA
Join Date: Feb 2024
Posts: 1
Rep Power: 0
Ava123 is on a distinguished road
Hi Marcus,

Thank you for your help.
I followed the steps you mentioned, but I am getting this error. Do you know what might be causing it and how I can resolve it?

ERROR: In vtkExecutive.cxx, line 741
vtkPVCompositeDataPipeline (000001B19B657230): Algorithm vtkEvenlySpacedStreamlines2D (000001B158F4A050) returned failure for request: vtkInformation (000001B164A585A0)
Debug: Off
Modified Time: 1500000
Reference Count: 1
Registered Events: (none)
Request: REQUEST_DATA
FORWARD_DIRECTION: 0
ALGORITHM_AFTER_FORWARD: 1
FROM_OUTPUT_PORT: 0
Ava123 is offline   Reply With Quote

Reply

Tags
paraview, streamlines


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
[General] Wisualising streamlines using ParaView IwantTobeGood ParaView 3 November 27, 2019 14:16
[General] ParaView - limited Streamlines Kappa ParaView 7 July 5, 2019 15:27
Using streamlines for flow visualization and diverging residuals kmiller STAR-CCM+ 1 July 16, 2018 16:50
[General] Generating streamlines in paraview ahirekar10 ParaView 0 November 1, 2017 08:01
paraFoam reader for OpenFOAM 1.6 smart OpenFOAM Installation 13 November 16, 2009 22:41


All times are GMT -4. The time now is 10:40.