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

[General] Off-screen rendering with ParaView

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

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   October 7, 2013, 11:34
Default Off-screen rendering with ParaView
  #1
Senior Member
 
kilroy's Avatar
 
Join Date: Mar 2013
Location: USA
Posts: 120
Rep Power: 13
kilroy is on a distinguished road
Hello,

I have a headless (no video card and no screen) Ubuntu server. I am using this machine to run my OpenFoam simulations. Now I am trying to write a python script, which generates a video of the simulation and saves it. I know how to create a video of the simulation with ParaView GUI (File>Save Animation) which uses onscreen rendering. Since the machine I have has no screen, I need to create the video with offscreen rendering.

I setup Mesa and ParaView in the server by following the instructions in the link below:

http://paraview.org/Wiki/ParaView/ParaView_And_Mesa_3D

Is there an example code or a documentation for creating a python script for generating OpenFoam simulation videos by using offscreen rendering with ParaView?

Thank you for the help in advance.
kilroy is offline   Reply With Quote

Old   October 11, 2013, 19:25
Default
  #2
Retired Super Moderator
 
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 10,981
Blog Entries: 45
Rep Power: 128
wyldckat is a name known to allwyldckat is a name known to allwyldckat is a name known to allwyldckat is a name known to allwyldckat is a name known to allwyldckat is a name known to all
Greetings Kilroy,

The closest thing I can remember related to this, is this thread: http://www.cfd-online.com/Forums/par...rendering.html

Beyond this, have you tried on your workstation to use ParaView's "Python Trace" feature to figure out what's necessary to save the animation? Because in theory, once you are using the off-screen option from the command line, then the script should be able to perform as it does on the workstation on-screen.

Best regards,
Bruno
__________________
wyldckat is offline   Reply With Quote

Reply

Thread Tools Search this Thread
Search this Thread:

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


Similar Threads
Thread Thread Starter Forum Replies Last Post
[General] Paraview 5.0.1: ParticleTracer and ParticlePath lead to a blank screen SFr ParaView 0 July 22, 2016 16:07
[OpenFOAM] Off-screen rendering with ParaView kilroy ParaView 0 October 7, 2013 11:33
[General] Paraview rendering Tobi ParaView 4 May 25, 2013 10:44
CFX-Pre problem, pls help!!! cth_yao CFX 0 February 17, 2012 01:52
paraFoam reader for OpenFOAM 1.6 smart OpenFOAM Installation 13 November 16, 2009 22:41


All times are GMT -4. The time now is 22:49.