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

slow "reconstructPar"

Register Blogs Community New Posts Updated Threads Search

Like Tree3Likes
  • 3 Post By wyldckat

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   August 12, 2014, 14:50
Default slow "reconstructPar"
  #1
Senior Member
 
Join Date: Jan 2013
Posts: 372
Rep Power: 14
openfoammaofnepo is on a distinguished road
Dear All,

In my case, I need to reconstruct the data in the folders for different processors. I found that "reconstructPar" is so slow. I have 9-million cells and use 80 processors. For each time step, it needs over 5 mins to even get one quantity. Does this also occur in your cases? Any methods to speed up this process?

Thank you very much !
OFFO
openfoammaofnepo is offline   Reply With Quote

Old   August 12, 2014, 18:31
Default
  #2
Retired Super Moderator
 
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 10,975
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
Quick answer: http://www.cfd-online.com/Forums/ope...structpar.html
elvis, jherb and sourav90 like this.
wyldckat is offline   Reply With Quote

Old   February 15, 2015, 17:17
Default
  #3
Senior Member
 
musaddeque hossein
Join Date: Mar 2009
Posts: 309
Rep Power: 18
musahossein is on a distinguished road
Quote:
Originally Posted by wyldckat View Post
Can any OpenFOAMers tell me whether, reconstructPar was modified to increase the speed at which it processes the data after the parallel run, or do we still have to run the above script to speed up the process? I am reconstructing a parallel case with over 300,000 cells and it is taking me over 5 hours to do the reconstruction for 40 seconds of simulation time.

Thankyou
Musa
musahossein is offline   Reply With Quote

Old   February 15, 2015, 18:07
Default
  #4
Retired Super Moderator
 
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 10,975
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
Quick answer:
Quote:
Originally Posted by musahossein View Post
reconstructPar was modified to increase the speed at which it processes the data after the parallel run,
AFAIK, it has not changed. At least not up and including to OpenFOAM 2.3.x.

Quote:
Originally Posted by musahossein View Post
or do we still have to run the above script to speed up the process?
AFAIK, yes.
wyldckat is offline   Reply With Quote

Old   February 15, 2015, 23:43
Default
  #5
Member
 
Peter
Join Date: Feb 2015
Location: New York
Posts: 73
Rep Power: 11
opedrofunk is on a distinguished road
Hi All,

I usually just do this with a bash one-liner:

Code:
$ foamListTimes  -processor > log.foamTimes; awk 'NR%4==1' log.foamTimes | parallel --halt=0 -j8 reconstructPar -newTimes -time {}:
For complete explanation see post: http://www.cfd-online.com/Forums/ope...tml#post531947

Cheers,
Peter
opedrofunk is offline   Reply With Quote

Reply


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
Coal combustion, big node, slow calculation, parallel Whitebear CFX 1 April 8, 2014 03:27
Calculation to slow A.A. OpenFOAM Running, Solving & CFD 2 January 10, 2013 04:44
slow down running in parallel laf FLUENT 1 April 4, 2007 02:48
Slow convergence Jesper CFX 1 July 7, 2004 16:59
How to simulate very slow flow? Anna FLUENT 0 July 22, 2003 23:02


All times are GMT -4. The time now is 10:39.