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

reconstructPar error

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

Reply
 
LinkBack Thread Tools Display Modes
Old   September 28, 2012, 11:13
Default reconstructPar error
  #1
New Member
 
Join Date: Sep 2012
Posts: 2
Rep Power: 0
umby is on a distinguished road
Hi,
I had an error message while computer was reconstructing the field U of the solution.
The command used is:
reconstructPar -latestTime -fields "(U)"
The log is:

Create time

Create mesh for time = 0

Time = 200

Reconstructing FV fields

Reconstructing volScalarFields


Reconstructing volVectorFields

U


--> FOAM FATAL IO ERROR:
error in IOstream "/scratch-locale/test_Poli/07_all_layers_laminar/200/U" for operation Ostream& operator<<(Ostream&, const UList&)

file: /scratch-locale/test_Poli/07_all_layers_laminar/200/U at line 35.

From function IOstream::check(const char*) const
in file db/IOstreams/IOstreams/IOstream.C at line 108.

FOAM exiting


I had the same message also using :
reconstructPar -latestTime
In this case the scalar fields were reconstructed, while at first vector fields (U) reconstruction was stopped.

The model is really big, about 130MLN of cells.

what is the reason of this error?how can I solve this problem?
Thanks
Umberto
umby is offline   Reply With Quote

Old   October 1, 2012, 17:15
Default
  #2
Super Moderator
 
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 8,526
Blog Entries: 34
Rep Power: 86
wyldckat is just really nicewyldckat is just really nicewyldckat is just really nicewyldckat is just really nice
Greetings Umberto and welcome to the forum!

OK, I think this is not enough information to infer the reason why it crashes.

Here's the information I think is missing from your description:
  1. If your mesh has 130 million cells, then how much RAM does your workstation have?
  2. You can also (sort-of) test if you have enough RAM by running checkMesh in parallel on your workstation, something like:
    Code:
    foamJob -s -p checkMesh -constant
  3. The mesh you have, does it exist in both serial and parallel forms? Or only in parallel?
Best regards,
Bruno
wyldckat is online now   Reply With Quote

Old   October 2, 2012, 05:58
Default
  #3
New Member
 
Join Date: Sep 2012
Posts: 2
Rep Power: 0
umby is on a distinguished road
Hi Bruno!
thanks a lot for your replay!

1- I'm using a workstation with 6cpu and a RAM of 72Gb for the reconstruction, while the mesh was genereted using 8 workstation with 12 cpu and RAM of 24GB each (total 96 cpu). I'm using workstation with 6 cpu to reconstruct the model because it has more RAM, but maybe it isn't enought!
2- I've tested the RAM of 96 cpu with checkMesh in parallel.It worked!now I will try if it work on the workstation where I've tried to reconstruct it.
3- I've just recostructed mesh so I have mesh recostructed and mesh decomposed!After that I've tried reconstructPar, but it crashed on the vectorial field U.
I don't know how it is possible but I've tried to recostruct the mesh again in an other folder and at this time workstation wasn't able to recostruct mesh again!

If you have any suggestions to solve this problem I can try it!
thanks a lot!
Best regards,
Umberto
umby is offline   Reply With Quote

Old   October 2, 2012, 16:01
Default
  #4
Super Moderator
 
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 8,526
Blog Entries: 34
Rep Power: 86
wyldckat is just really nicewyldckat is just really nicewyldckat is just really nicewyldckat is just really nice
Hi Umberto,

Well, it all depends on what you need to do with the results. You could use the internal reader in ParaView, which provides the ability to load parallel data into a single machine:
Code:
paraFoam -builtin
Or create a dummy file "case.foam" inside the case folder and then open that file in ParaView. To create the dummy file:
Code:
touch case.foam
Another possibility would be to do some of the necessary post-processing using the OpenFOAM application sample in parallel.

Best regards,
Bruno
wyldckat is online now   Reply With Quote

Old   May 27, 2015, 10:37
Default
  #5
New Member
 
Lorenzo Gomes
Join Date: Nov 2013
Location: Brazil
Posts: 12
Rep Power: 3
gomeslorenzo is on a distinguished road
I had this problem once and it was lack of memory. Maybe you need to create some space in your HD.
gomeslorenzo 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
CGNS Compiling Diego Main CFD Forum 17 December 21, 2014 02:40
GroovyBC the dynamic cousin of funkySetFields that lives on the suburb of the mesh gschaider OpenFOAM 300 October 29, 2014 19:00
c++ libraries and solver compiling vaina74 OpenFOAM Installation 13 February 3, 2012 18:43
Saving ParaFoam views and case sail OpenFOAM Paraview & paraFoam 9 November 25, 2011 16:46
user defined function cfduser CFX 0 April 29, 2006 10:58


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