|
[Sponsors] |
September 10, 2009, 22:14 |
The calculation efficiency of OpenFOAM
|
#1 |
Senior Member
J. Cai
Join Date: Apr 2009
Posts: 180
Rep Power: 17 |
As we know, OpenFOAM is an amazing CFD software. However, these time, I meet the problem about how to improve the calculation efficiency. I use OpenFoam to solve multi-phase flow. In my case, there are about a million mesh volumes. The time step is 0.00028s to ensure the maximum Courant number of 0.2. Parallel calculation with 64 processors is performed. However, 18 Execution Hours can only finish 1.15s time. About 20s are necessary for my case, this means about 300 Execution Hours will be needed for a case. This is a terrible number.
Has anybody used OpenFOAM to finish the large calculation? Let's discuss how to improve the calculation efficiency. Best regards, Chiven |
|
September 11, 2009, 03:49 |
|
#2 |
Senior Member
matej forman
Join Date: Mar 2009
Location: Brno, Czech Republic
Posts: 182
Rep Power: 17 |
Hi,
well according to my experience, this does not need to be a problem of OpenFOAM itself. Have you checked the efficiency of the computation? How mush of the time is the actual computing and how much is the node-node communication? If you divide 1e6 by 64 processors you have ~15e3 cells per node. Maybe too many processors. It will be faster, than on fewer nodes only if the paralel speed-up beats the communication overhead. On the other hand, if you know how to speed-up OpenFOAM, everyone would be gratefull. matej |
|
September 11, 2009, 04:42 |
|
#3 | |
Senior Member
J. Cai
Join Date: Apr 2009
Posts: 180
Rep Power: 17 |
Quote:
Hi, dear matej, thank you for your comments. I have ever seen a thread and know that ~15e3 cells per node are recommended. In my case, the execution time and clock time are 9576.23 s and 10778 s, respectively. Maybe it does have a space to up. I am wondering how to speed-up the calculation. Best regards, Chiven |
||
September 14, 2009, 05:08 |
|
#4 |
Senior Member
Markus Rehm
Join Date: Mar 2009
Location: Erlangen (Germany)
Posts: 184
Rep Power: 17 |
Hi Chiven,
it is very difficult to give general numbers and answers for decomposition. It depends on the solver, the discretization, the interconnect, CPU, .... So I would recommend to run benchmarks and plot the result against #cores (1,2,4,8,16,32,64). Then you'll see where your problem runs more efficient and you can decide. You could also try different modes of decomposition to minimize the communication overhead and check different linear solvers. Regards, Markus. |
|
September 14, 2009, 05:44 |
|
#5 |
Senior Member
J. Cai
Join Date: Apr 2009
Posts: 180
Rep Power: 17 |
Hi, dear Markus, thank you for your comments. I shall try your sugestions. These days, I am struggling for this point.
Best regards, Chiven |
|
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Superlinear speedup in OpenFOAM 13 | msrinath80 | OpenFOAM Running, Solving & CFD | 18 | March 3, 2015 06:36 |
Modified OpenFOAM Forum Structure and New Mailing-List | pete | Site News & Announcements | 0 | June 29, 2009 06:56 |
64bitrhel5 OF installation instructions | mirko | OpenFOAM Installation | 2 | August 12, 2008 19:07 |
Warning 097- | AB | Siemens | 6 | November 15, 2004 05:41 |