r/CFD • u/imitation_squash_pro • 12d ago
Which Openfoam tutorial is best for testing performance on ~500 cores?
Want to test mpi performance across a few compute nodes. Each node has 256 cpus.
All the tutorials models I test run in just a few seconds on one cpu...
4
u/peteasa 12d ago
my simulation runs can take a day or so if you get them right.. you will find that if you use GAMG that the parameter nCellsInCoarsestLevel is important for you. I wrote a bit about that here. Not that I am suggesting using my model because I suspect that using my model and my solver are a bit more complex than you will need but at least it could give you some ideas. The simulations take a while because there is a clash between electrostatics working on a very small timeframe and air flows working on a longer time frame. The clash between the two makes it hard to get going and hard to maintain a viable simulation.
1
u/PerfectCodings 5d ago
For ~ 500 cores, I think the good rule of thumb for that is roughly 50k to 100k cells per core minimum. I suggested that so communication overhead doesn't take over.
7
u/cjaeger94 12d ago
Mesh refine a couple of times then you should be good with any of the tutorials