CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > OpenFOAM Paraview & paraFoam

Paraview batch mode

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

Reply
 
LinkBack Thread Tools Display Modes
Old   March 17, 2006, 14:00
Default Did anyone use paraview batch
  #1
liu
Senior Member
 
Xiaofeng Liu
Join Date: Mar 2009
Location: State College, PA, USA
Posts: 118
Rep Power: 8
liu is on a distinguished road
Did anyone use paraview batch mode to create animation? My simulation data is huge. When I use GUI mode, it just crashed. So I tried my luck with batch mode. But it ended up with following error message:

ERROR: In ../../../../../paraview-2.2.0/Servers/Common/vtkProcessModule.cxx, line 548
vtkPVProcessModule (0x9ace538): Cannot create object of type "vtkFoamReader".
while processing
Message 0 = New
Argument 0 = string_value {vtkFoamReader}
Argument 1 = id_value {89}


ERROR: In ../../../../../paraview-2.2.0/Servers/Common/vtkProcessModule.cxx, line 550
vtkPVProcessModule (0x9ace538): Aborting execution for debugging purposes.
__________________
Xiaofeng Liu, Ph.D., P.E.,
Assistant Professor
Department of Civil and Environmental Engineering
Penn State University
223B Sackett Building
University Park, PA 16802


Web: http://water.engr.psu.edu/liu/
liu is offline   Reply With Quote

Old   March 17, 2006, 14:30
Default Not directly answering your qu
  #2
Super Moderator
 
Mattijs Janssens
Join Date: Mar 2009
Posts: 1,416
Rep Power: 16
mattijs is on a distinguished road
Not directly answering your question but can you do your animation on vtk files (so using foamToVTK)?

(I assume you have deselected the cache/record buttons in the animation panel?)
mattijs is offline   Reply With Quote

Old   March 17, 2006, 14:35
Default I didn't try vtk files for ani
  #3
liu
Senior Member
 
Xiaofeng Liu
Join Date: Mar 2009
Location: State College, PA, USA
Posts: 118
Rep Power: 8
liu is on a distinguished road
I didn't try vtk files for animation (I don't know how to do it honestly). Also my data is so huge that I can't afford to convert every time step to vtk files. That will double the data size.

When I use the GUI to record the animation, paraview complains about not enough memory and then terminated. Maybe that's because I didn't use cache. I will try it.
__________________
Xiaofeng Liu, Ph.D., P.E.,
Assistant Professor
Department of Civil and Environmental Engineering
Penn State University
223B Sackett Building
University Park, PA 16802


Web: http://water.engr.psu.edu/liu/
liu is offline   Reply With Quote

Old   March 17, 2006, 14:50
Default Well, I tried again. I am sure
  #4
liu
Senior Member
 
Xiaofeng Liu
Join Date: Mar 2009
Location: State College, PA, USA
Posts: 118
Rep Power: 8
liu is on a distinguished road
Well, I tried again. I am sure the cache is one. The problem is still like that. Here is the message of paraview:

new cannot satisfy memory request.
This does not necessarily mean you have run out of virtual memory.
It could be due to a stack violation caused by e.g. bad use of pointers or an out of date shared library
/home/liu19/research/OpenFOAM/OpenFOAM-1.2/bin/paraFoam: line 57: 10034 Aborted paraview paraFoam.pvs


Any thought?
__________________
Xiaofeng Liu, Ph.D., P.E.,
Assistant Professor
Department of Civil and Environmental Engineering
Penn State University
223B Sackett Building
University Park, PA 16802


Web: http://water.engr.psu.edu/liu/
liu is offline   Reply With Quote

Old   March 17, 2006, 15:04
Default Nah you're supposed to switch
  #5
Senior Member
 
Eugene de Villiers
Join Date: Mar 2009
Posts: 725
Rep Power: 12
eugene is on a distinguished road
Nah you're supposed to switch the cash OFF, otherwise it keeps everything for each timestep.
eugene is offline   Reply With Quote

Old   March 17, 2006, 15:29
Default There's a little button on the
  #6
Senior Member
 
Hrvoje Jasak
Join Date: Mar 2009
Location: London, England
Posts: 1,758
Rep Power: 21
hjasak will become famous soon enough
There's a little button on the Animation Control panel which say "Record All properties". Switch that off and all will be well.

I have done 500-odd frame animations this way so if the case fits into memory you should not have a problem.

Enjoy,

Hrv
__________________
Hrvoje Jasak
Providing commercial FOAM/OpenFOAM and CFD Consulting: http://wikki.co.uk
hjasak is offline   Reply With Quote

Old   March 17, 2006, 16:14
Default Now it's working fine. Thank
  #7
liu
Senior Member
 
Xiaofeng Liu
Join Date: Mar 2009
Location: State College, PA, USA
Posts: 118
Rep Power: 8
liu is on a distinguished road
Now it's working fine.
Thank you, guys.
__________________
Xiaofeng Liu, Ph.D., P.E.,
Assistant Professor
Department of Civil and Environmental Engineering
Penn State University
223B Sackett Building
University Park, PA 16802


Web: http://water.engr.psu.edu/liu/
liu is offline   Reply With Quote

Old   July 20, 2006, 13:17
Default Hi, I would like to be use t
  #8
New Member
 
kmurphy
Join Date: Mar 2009
Posts: 10
Rep Power: 8
kmurphy is on a distinguished road
Hi,
I would like to be use the paraview batch mode but I get a similar error to that reported in the original post in this thread. Does anyone know of a solution?

Regards,
KM
kmurphy 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
Batch mode in WB. cfdguy CFX 1 June 24, 2008 06:49
DPM in Batch Mode MM FLUENT 0 December 15, 2006 14:17
ParaView batch mode error michael OpenFOAM Paraview & paraFoam 0 August 3, 2006 03:04
UDF in batch mode Bogdan FLUENT 0 February 28, 2006 06:47
Batch mode swapnil CFX 5 November 23, 2002 10:38


All times are GMT -4. The time now is 04:52.