|
[Sponsors] |
May 13, 2024, 07:33 |
parallel simpleFOAM very slow after cfMesh
|
#1 |
Member
Join Date: May 2024
Location: France
Posts: 35
Rep Power: 2 |
Hello foamers,
I am running the same case across a number of pre-processing tools and always using simplefoam. Up to now, I imported my mesh made on Salome into openfoam, decomposed the mesh, and ran a parallel calculation without issue. Today I am using cfMesh for the first time. I used this command to speed up the meshing process before I launched my Allrun file. Code:
export OMP_NUM_THREADS = 8,8 Code:
decomposePar Code:
mpirun -np 10 simpleFoam -parallel | tee simpleFoam.log The simulation is unusually slow. Any ideas as to why? The size of the mesh is the same, no issues with convergence, and no changes on the set up on my side. It's quite odd. Thank you in advance for your insights. |
|
May 13, 2024, 09:25 |
|
#3 |
Member
Join Date: May 2024
Location: France
Posts: 35
Rep Power: 2 |
At the moment, I have about 1 million cells. Previously, I was using around 700k cells with no issues on the parallel computation, so I don't believe the size is the issue.
|
|
May 13, 2024, 09:39 |
|
#5 |
Member
Join Date: May 2024
Location: France
Posts: 35
Rep Power: 2 |
Thank you for the quick reply. I am afraid I didn't fully understand what you meant in your last message. Could you rephrase?
|
|
May 13, 2024, 10:35 |
|
#6 |
Senior Member
|
Thank you for your reply.
I am looking to the issue you raise as outsider. The input I provide is limited by my outsider role. Having said this, you raise the issue on the parallel performance of simpleFoam given a mesh generated by cfMesh. I wonder: 1/ how does performance compare with the meshes generated by Salome? 2/ how is performance affected by the number of processors used? |
|
May 14, 2024, 05:26 |
|
#7 |
Member
Join Date: May 2024
Location: France
Posts: 35
Rep Power: 2 |
Hello,
I always use the same number of processors (10). The performance difference has to do with the computational time. The clock time would be 2 or 3 times slower that with the Salome Mesh. I have somewhat resolved the issue since yesterday. In the initial simulation I was using an stl file rather than an fms one. Since diving further into the user manual and other posts here on the forum I have managed to use the associated python scripts with Salome 9.12 to generate the fms file. Thanks for you help. |
|
Tags |
cfmesh, parallel calculation, simplefoam, slow |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
[cfMesh] The proper way to run cfMesh in parallel | kandelabr | OpenFOAM Community Contributions | 3 | June 20, 2023 05:06 |
[cfMesh] cfMesh - OpenFOAM v1812 not working in parallel | codygo | OpenFOAM Community Contributions | 1 | May 3, 2019 07:22 |
very slow case/data reading in parallel Fluent | Daniel_Khazaei | ANSYS | 0 | January 11, 2016 22:35 |
the speed of parallel computation for over 3 million grid is very slow | liujmljm | SU2 | 7 | June 27, 2014 17:45 |
slow down running in parallel | laf | FLUENT | 1 | April 4, 2007 03:48 |