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

[OpenFOAM] Paraview batch mode

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

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   March 17, 2006, 13:00
Default Paraview batch mode
  #1
liu
Senior Member
 
Xiaofeng Liu
Join Date: Mar 2009
Location: State College, PA, USA
Posts: 118
Rep Power: 17
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, 13:30
Default Not directly answering your qu
  #2
Senior Member
 
Mattijs Janssens
Join Date: Mar 2009
Posts: 1,419
Rep Power: 26
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, 13: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: 17
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, 13: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: 17
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, 14:04
Default Nah you're supposed to switch
  #5
Senior Member
 
Eugene de Villiers
Join Date: Mar 2009
Posts: 725
Rep Power: 21
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, 14:29
Default There's a little button on the
  #6
Senior Member
 
Hrvoje Jasak
Join Date: Mar 2009
Location: London, England
Posts: 1,905
Rep Power: 33
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, 15: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: 17
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: 17
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 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
[ICEM] icem cfd batch mode srobin11 ANSYS Meshing & Geometry 20 August 2, 2020 18:40
[PyFoam] Problems with the new PyFoam release zfaraday OpenFOAM Community Contributions 13 December 9, 2014 18:58
[PyFoam] having problems with pyfoam Installation vitorspadetoventurin OpenFOAM Community Contributions 3 December 2, 2014 07:18
Batch mode ICEM CFD parametrization problem sportsfun ANSYS 0 December 19, 2012 14:20
Prosurf in batch mode Dhruv Siemens 1 September 19, 2005 18:02


All times are GMT -4. The time now is 11:46.