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

slow "reconstructPar"

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

Like Tree2Likes
  • 2 Post By wyldckat

Reply
 
LinkBack Thread Tools Display Modes
Old   August 12, 2014, 14:50
Default slow "reconstructPar"
  #1
Senior Member
 
Join Date: Jan 2013
Posts: 311
Rep Power: 6
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
Super Moderator
 
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 9,748
Blog Entries: 39
Rep Power: 103
wyldckat is a glorious beacon of lightwyldckat is a glorious beacon of lightwyldckat is a glorious beacon of lightwyldckat is a glorious beacon of lightwyldckat is a glorious beacon of light
Quick answer: http://www.cfd-online.com/Forums/ope...structpar.html
elvis and jherb like this.
wyldckat is offline   Reply With Quote

Old   February 15, 2015, 18:17
Default
  #3
Senior Member
 
musaddeque hossein
Join Date: Mar 2009
Posts: 309
Rep Power: 10
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, 19:07
Default
  #4
Super Moderator
 
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 9,748
Blog Entries: 39
Rep Power: 103
wyldckat is a glorious beacon of lightwyldckat is a glorious beacon of lightwyldckat is a glorious beacon of lightwyldckat is a glorious beacon of lightwyldckat is a glorious beacon of light
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 16, 2015, 00:43
Default
  #5
Member
 
Peter
Join Date: Feb 2015
Location: California
Posts: 59
Rep Power: 3
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

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
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 05: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 02:20.