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

[ParaView] SurfaceFlow filter in python script

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

Reply
 
LinkBack Thread Tools Display Modes
Old   March 15, 2012, 13:43
Question [ParaView] SurfaceFlow filter in python script
  #1
New Member
 
Yohey Ishizu
Join Date: May 2009
Location: Tokyo, Japan
Posts: 6
Rep Power: 8
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, 10 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: 11
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: 8
yohey is on a distinguished road
Dr. Oshima

Thank you. It worked successfully.

Yohey
yohey 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
Accumulating Dust on a Filter Cartridge WalterW CFX 20 April 22, 2014 06:19
how can use the LES filter? (laplace filter and anistropic filter) ethan oh OpenFOAM 7 February 7, 2014 17:13
[ParaView] Programmable Filter to repeat 2 degree segments laurensvd OpenFOAM Paraview & paraFoam 3 February 13, 2012 05:22
Bugs in LES filter codes yekaniyasari OpenFOAM Bugs 3 February 18, 2008 02:59
Filter lifetime aszbestos FLUENT 0 February 13, 2002 08:59


All times are GMT -4. The time now is 03:31.