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

Too many time folders crash foamToVTK

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

Reply
 
LinkBack Thread Tools Display Modes
Old   September 22, 2008, 05:21
Default Hi, I am using foamToVTK on
  #1
Senior Member
 
John Deas
Join Date: Mar 2009
Posts: 160
Rep Power: 8
johndeas is on a distinguished road
Hi,

I am using foamToVTK on my Ubuntu machine (I need to export the VTK folder to postprocess on another machine).

On version 1.5, if I have too many time folders in my case (around 50 it seems) I get this error notification:

--> FOAM Serious Error :

Too many errors#0 Foam::error::printStack(Foam:stream&) in "/home/flurec/commun/OpenFOAM/1.5-x86_64/OpenFOAM-1.5/lib/linux64GccDPOpt/libOpe nFOAM.so"
#1 Foam::error::abort() in "/home/flurec/commun/OpenFOAM/1.5-x86_64/OpenFOAM-1.5/lib/linux64GccDPOpt/libOpe nFOAM.so"
#2 Foam:stream& Foam::operator<<>(Foam:stream&, Foam::errorManip<foam::error>) in "/home/flurec/commun/OpenFOAM/1.5-x86_64/OpenFOAM-1.5/applications/bin/linux64Gc cDPOpt/foamToVTK"
#3 Foam::messageStream::operator Foam:Sstream&() in "/home/flurec/commun/OpenFOAM/1.5-x86_64/OpenFOAM-1.5/lib/linux64GccDPOpt/libOpe nFOAM.so"
#4 Foam::messageStream::operator()(char const*, char const*, int, Foam::string const&, int, int) in "/home/flurec/commun/OpenFOAM/1.5-x86_64/OpenFOAM-1.5/lib/linux64GccDPOpt/libOpe nFOAM.so"
#5 Foam::messageStream::operator()(char const*, char const*, int, Foam::IOstream const&) in "/home/flurec/commun/OpenFOAM/1.5-x86_64/OpenFOAM-1.5/lib/linux64GccDPOpt/libOpe nFOAM.so"
#6 Foam::IOobject::readHeader(Foam::Istream&) in "/home/flurec/commun/OpenFOAM/1.5-x86_64/OpenFOAM-1.5/lib/linux64GccDPOpt/libOpe nFOAM.so"
#7 Foam::IOobject::headerOk() in "/home/flurec/commun/OpenFOAM/1.5-x86_64/OpenFOAM-1.5/lib/linux64GccDPOpt/libOpe nFOAM.so"
#8 Foam::IOobjectList::IOobjectList(Foam::objectRegis try const&, Foam::fileName const&, Foam::fileName const&) in "/home/flurec/commun/OpenFOAM/1.5-x86_64/OpenFOAM-1.5/lib/linux64GccDPOpt/libOpe nFOAM.so"
#9 main in "/home/flurec/commun/OpenFOAM/1.5-x86_64/OpenFOAM-1.5/applications/bin/linux64Gc cDPOpt/foamToVTK"
#10 __libc_start_main in "/lib64/libc.so.6"
#11 Foam::regIOobject::readIfModified() in "/home/flurec/commun/OpenFOAM/1.5-x86_64/OpenFOAM-1.5/applications/bin/linux64Gc cDPOpt/foamToVTK"


From function messageStream::operator OSstream&()
in file lnInclude/messageStream.C at line 203.

FOAM aborting

Abandon

Can anyone help ? Thank you ?
johndeas is offline   Reply With Quote

Old   September 22, 2008, 07:36
Default only 50? thats nothing. dis
  #2
Super Moderator
 
niklas's Avatar
 
Niklas Nordin
Join Date: Mar 2009
Location: Stockholm, Sweden
Posts: 693
Rep Power: 20
niklas will become famous soon enoughniklas will become famous soon enough
only 50? thats nothing.

disk full perhaps?

1 create a bck directory,
2 move the last timestep to the bck-dir.
3 run foamToVTK
4 if it fails go to 2
5 it works - you've found the directory causing the problem.

or move all timesteps to the bck directory and then move them back 1 by 1 until it fails.

It could be that you've lost the connection for a while to the disk while writing the data (if you're working agains an nfs disk or similar)
niklas is offline   Reply With Quote

Old   September 22, 2008, 12:06
Default I have found a workaround: I l
  #3
Senior Member
 
John Deas
Join Date: Mar 2009
Posts: 160
Rep Power: 8
johndeas is on a distinguished road
I have found a workaround: I launch

foamToVTK -time xxx

using a script, for all my timesteps. It works, so the problem really is the number of time directories, and not a specific one. I have the same problem with both redhat and ubuntu.
johndeas is offline   Reply With Quote

Old   September 23, 2008, 15:04
Default Hi John, Very strange. Do y
  #4
Super Moderator
 
Mattijs Janssens
Join Date: Mar 2009
Posts: 1,416
Rep Power: 16
mattijs is on a distinguished road
Hi John,

Very strange. Do you have sample case that goes wrong? Or can you just do an 'ls' so we can see what time directories you have.
mattijs is offline   Reply With Quote

Old   September 25, 2008, 15:07
Default I tried at home outputing 75 t
  #5
Senior Member
 
John Deas
Join Date: Mar 2009
Posts: 160
Rep Power: 8
johndeas is on a distinguished road
I tried at home outputing 75 time directories and importing them without problem to paraview. I though it was related to my linux distro but it is not then. I will try to isolate more the problem then report here.
johndeas 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
Strange foamToVTK problem hsieh OpenFOAM Running, Solving & CFD 4 January 4, 2009 01:03
Strategy for keeping track of files and folders? Dre CFX 1 October 30, 2008 14:00
FoamToVTK and MayaVi alexandrepereira OpenFOAM Post-Processing 57 August 11, 2008 04:15
FoamToVTK problem oevermann OpenFOAM Paraview & paraFoam 6 July 11, 2006 15:10
FoamToVTK error with OF 13 melanie OpenFOAM Paraview & paraFoam 1 May 22, 2006 04:40


All times are GMT -4. The time now is 01:18.