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

reconstructPar error

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

Like Tree2Likes
  • 2 Post By gomeslorenzo

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   September 28, 2012, 12: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, 18:15
Default
  #2
Retired Super Moderator
 
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 10,974
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 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 offline   Reply With Quote

Old   October 2, 2012, 06: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, 17:01
Default
  #4
Retired Super Moderator
 
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 10,974
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
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 offline   Reply With Quote

Old   May 27, 2015, 11:37
Default
  #5
New Member
 
Lorenzo Gomes
Join Date: Nov 2013
Location: Brazil
Posts: 12
Rep Power: 12
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.
Coke Rivas Ordenes and Mansur like this.
gomeslorenzo is offline   Reply With Quote

Old   October 19, 2022, 07:46
Default
  #6
New Member
 
Qiuxiao Wang
Join Date: Mar 2022
Posts: 11
Rep Power: 4
wangqiuxiao is on a distinguished road
hi, how you solved this problem?I faced the same problem .
wangqiuxiao is offline   Reply With Quote

Old   January 8, 2024, 17:05
Default
  #7
New Member
 
ZsoltDraga
Join Date: Jan 2011
Location: Albertirsa, Hungary
Posts: 10
Rep Power: 15
dragazsolt is on a distinguished road
Hi Bruno,



I have an issue with reconstructPar in case of Openfoam2206 and 2306.

I ran a simulation using pimpleFoam and AMI and everything worked well, but I can not reconstructPar the processor folder. (polyMesh/pointProcAddressing). I have never seen this issue before. (128 core)

Thanks for your suggestions,

Zsolt
dragazsolt is offline   Reply With Quote

Old   January 9, 2024, 04:24
Default
  #8
Senior Member
 
Yann
Join Date: Apr 2012
Location: France
Posts: 1,026
Rep Power: 25
Yann will become famous soon enough
Hello,

Have you run reconstructParMesh before reconstructPar?

Yann
Yann 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
CGNS Compiling Diego Main CFD Forum 17 December 21, 2014 02:40
[swak4Foam] GroovyBC the dynamic cousin of funkySetFields that lives on the suburb of the mesh gschaider OpenFOAM Community Contributions 300 October 29, 2014 19:00
c++ libraries and solver compiling vaina74 OpenFOAM Installation 13 February 3, 2012 18:43
[OpenFOAM] Saving ParaFoam views and case sail ParaView 9 November 25, 2011 16:46
user defined function cfduser CFX 0 April 29, 2006 11:58


All times are GMT -4. The time now is 02:15.