CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > ParaView

periodic visualization in paraview

Register Blogs Members List Search Today's Posts Mark Forums Read

Like Tree1Likes
  • 1 Post By Flowkersma

Reply
 
LinkBack Thread Tools 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: 6
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: 106
Rep Power: 4
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
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: 6
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: 106
Rep Power: 4
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.
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: 106
Rep Power: 4
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: 6
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

Thread Tools
Display Modes

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 On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
[ICEM] how to define periodic in icem ? mingersai ANSYS Meshing & Geometry 1 February 3, 2012 18:46
Problems with visualization (bundled ParaView 3.8) in Ubuntu 10.04 eiffleduarte OpenFOAM 1 July 13, 2010 17:59
Visualization with ParaView (in general) sega OpenFOAM Paraview & paraFoam 7 February 1, 2010 03:24
paraFoam reader for OpenFOAM 1.6 smart OpenFOAM Installation 13 November 16, 2009 22:41
PARAVIEW Grid visualization simone Marras ParaView 2 January 23, 2007 09:05


All times are GMT -4. The time now is 23:25.