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

Close Paraview after python script execution

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

Like Tree1Likes
  • 1 Post By wyldckat

Reply
 
LinkBack Thread Tools Display Modes
Old   October 7, 2013, 11:51
Default Close Paraview after python script execution
  #1
Member
 
taalf's Avatar
 
William Tougeron
Join Date: Jan 2011
Location: Czech Republic
Posts: 43
Rep Power: 6
taalf is on a distinguished road
Hi all,

I would like to launch Paraview from a bash command so as to execute a script and then exit automatically at the end of the script.

To launch Paraview and execute the script, I use:

Code:
paraview --script=script_name.py
But after the script execution, Paraview stays open...

Does anybody know how to make it close?

Thank you very much for help!

Best regards,

William
taalf is offline   Reply With Quote

Old   October 11, 2013, 18:20
Default
  #2
Super Moderator
 
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 8,312
Blog Entries: 34
Rep Power: 84
wyldckat is just really nicewyldckat is just really nicewyldckat is just really nicewyldckat is just really nice
Greetings William,

Why not use pvpython or pvbatch?

Beyond this, you can try the instructions given here: http://stackoverflow.com/questions/9...python-program

Best regards,
Bruno
taalf likes this.
wyldckat is offline   Reply With Quote

Old   October 14, 2013, 08:19
Default
  #3
Member
 
taalf's Avatar
 
William Tougeron
Join Date: Jan 2011
Location: Czech Republic
Posts: 43
Rep Power: 6
taalf is on a distinguished road
Quote:
Originally Posted by wyldckat View Post
Why not use pvpython or pvbatch?
Why not ?

Indeed, why not !

Exactly what I was looking for

Many many many thanks

Best regards,

William
taalf is offline   Reply With Quote

Reply

Tags
paraview 3.98

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
paraview and python install problem laurent98 OpenFOAM Installation 16 December 13, 2014 16:12
How to get Python Shell into ParaView 3.8.1? blaise OpenFOAM Installation 3 July 24, 2012 04:58
CentFOAM Python Script Installation: Error socon009 OpenFOAM Installation 2 May 26, 2012 09:36
paraView in shell mode (python script running) Prosiaczek OpenFOAM 2 March 19, 2012 08:54
paraFoam reader for OpenFOAM 1.6 smart OpenFOAM Installation 13 November 16, 2009 22:41


All times are GMT -4. The time now is 07:08.