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

[General] periodic visualization in paraview

Register Blogs Community New Posts Updated Threads Search

Like Tree4Likes
  • 2 Post By Flowkersma
  • 1 Post By Flowkersma
  • 1 Post By Flowkersma

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   September 13, 2015, 08:16
Default periodic visualization in paraview
  #1
New Member
 
mohamed mohsen
Join Date: Oct 2012
Posts: 29
Rep Power: 13
sehs15 is on a distinguished road
hello,
I'm solving a 10 degrees sector with periodic boundary conditions. I need to view the solution in the entire 360 degrees. Any help about periodic viewing in paraview inducing linear and rotational periodics.

Thanks in advance
sehs15 is offline   Reply With Quote

Old   September 15, 2015, 01:48
Default
  #2
Senior Member
 
Mikko
Join Date: Jul 2014
Location: The Hague, The Netherlands
Posts: 243
Rep Power: 12
Flowkersma is on a distinguished road
Hi mohamed,

Unfortunately, there is no native filter which can do this for you. However, you can play with transform filter. Here is a example script how to build the full 360 view from 10 degrees sectors (axis in z-direction) with Python Shell:

Code:
source = GetActiveSource()
t = transforms = []
for i in range(0,360,10):
   t=Transform(source)
   t.Transform.Rotate = [0,0,i]
   transforms.append(t)
group = GroupDatasets()
group.Input = transforms
Now the GroupDatasets filter contains the full 360 degrees. Note that this is not memory efficient and the streamlines will not pass the boundaries.

-Mikko
arvindpj and BSengupta like this.
Flowkersma is offline   Reply With Quote

Old   September 15, 2015, 09:06
Default
  #3
New Member
 
mohamed mohsen
Join Date: Oct 2012
Posts: 29
Rep Power: 13
sehs15 is on a distinguished road
Thank you Mikko .. how can i load the source?
sehs15 is offline   Reply With Quote

Old   September 15, 2015, 09:51
Default
  #4
Senior Member
 
Mikko
Join Date: Jul 2014
Location: The Hague, The Netherlands
Posts: 243
Rep Power: 12
Flowkersma is on a distinguished road
After the first line of my script the source points to your active source in Paraview which should be the 10 degrees sector that you have opened before.

For completeness, here are all the steps:
1. Open the file with 10 degrees sector
2. Open the Python Shell inside Paraview (Tools->Python Shell)
3. Copy-Paste the script in my previous message to the shell

Now the last filter in your Pipeline Browser (GroupDatasets) should have the full 360 degrees.
BSengupta likes this.
Flowkersma is offline   Reply With Quote

Old   September 19, 2015, 06:06
Default
  #5
Senior Member
 
Mikko
Join Date: Jul 2014
Location: The Hague, The Netherlands
Posts: 243
Rep Power: 12
Flowkersma is on a distinguished road
The latest ParaView 4.4 supports this, look at http://www.kitware.com/blog/home/post/906.
wyldckat likes this.
Flowkersma is offline   Reply With Quote

Old   September 21, 2015, 05:08
Default
  #6
New Member
 
mohamed mohsen
Join Date: Oct 2012
Posts: 29
Rep Power: 13
sehs15 is on a distinguished road
thank you .. it opened a window for browsing for a python script?!
sehs15 is offline   Reply With Quote

Reply


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
[OpenFOAM] Visualization of a 3D Flow field (paraview) Chris123 ParaView 2 November 27, 2018 08:51
[Other] Mesh quality visualization in paraview Lieven OpenFOAM Meshing & Mesh Conversion 3 June 20, 2018 19:03
[ICEM] Multizone periodic fails herudae ANSYS Meshing & Geometry 2 April 1, 2013 06:46
Visualization of Secondary Flow with ParaView idrama OpenFOAM 2 May 12, 2012 13:37
OpenFoam 2.0 hopper case visualization with Paraview amscosta OpenFOAM 11 September 15, 2011 02:44


All times are GMT -4. The time now is 20:19.