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

[General] SurfaceFlow filter in python script

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   March 15, 2012, 13:43
Question SurfaceFlow filter in python script
  #1
New Member
 
Yohey Ishizu
Join Date: May 2009
Location: Tokyo, Japan
Posts: 6
Rep Power: 17
yohey is on a distinguished road
Hi.

I'd like to calculate SurfaceFlow in batch mode.

The attached case runs correctly in ParaView GUI (Run Script).
But in batch mode, with pvpython or pvbatch, I get empty output.

Would anyone help me on this problem?

I'm using ParaView 3.12.0 + Python 2.6.6.


Sincerely.

Yohey
Attached Files
File Type: gz surfaceFlowTest.tar.gz (702 Bytes, 18 views)
yohey is offline   Reply With Quote

Old   March 16, 2012, 06:25
Default
  #2
Super Moderator
 
Takuya OSHIMA
Join Date: Mar 2009
Location: Niigata City, Japan
Posts: 518
Blog Entries: 1
Rep Power: 20
7islands is on a distinguished road
Hi Yohey

Giving answer without knowing exactly why it works only for the GUI but removing the UpdatePipeline() calls except the last one should work. Typically you only need UpdatePipeline() (if any is required) to the last object in the pipeline since ParaView's demand-driven pipeline mechanism propagates the update pipeline request upstream.

T
7islands is offline   Reply With Quote

Old   March 18, 2012, 08:43
Default
  #3
New Member
 
Yohey Ishizu
Join Date: May 2009
Location: Tokyo, Japan
Posts: 6
Rep Power: 17
yohey is on a distinguished road
Dr. Oshima

Thank you. It worked successfully.

Yohey
yohey 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] Using python script for automatic post processing of openFoam vPaquet ParaView 12 December 16, 2021 04:30
[General] Generating isosurface from vtk file with python script Leios ParaView 1 March 26, 2018 13:33
[General] Get data from Calculator filter in python script taalf ParaView 17 February 15, 2018 05:53
python script to create geometry for salome, and then mesh 6863523 Mesh Generation & Pre-Processing 4 March 18, 2017 10:00
CentFOAM Python Script Installation: Error socon009 OpenFOAM Installation 2 May 26, 2012 10:36


All times are GMT -4. The time now is 14:30.