The proper way to run cfMesh in parallel
I can't find an example/tutorial where cfMesh is used and run in parallel.
If I am not mistaken, cfMesh should be run as simply as Code:
preparePar My problem is that on the TCFD's OF4Win package that's a cygwin version simply ignores everything and only runs on a single core. Do I have something misconfigured or am I missing something? Thanks! |
Hey,
I had also the same problem. I solved it runnig preparePar mpirun -n numberprocessor cartesianMesh -parallel This worked for me. Cheers, Carlo |
Thank you for reply. When I switched to Ubuntu on WSL, it seems to work fine.
I simply do preparePar cartesianMesh And it runs with the right number of processors, as defined in decomposePar. |
Although this thread is old, I think it requires some correction and clarification!
In cfMesh - as shipped with OpenFOAM v1712 and newer (www.openfoam.com) -, AFAIK, it makes sense to differentiate between the different available approaches, i.e. tetMesh, pMesh and cartesianMesh because to my knowledge they have different parallelsiation capabilities. With the latter (hex-dominant) generally being the most robust, fast and efficient in my experience, I am going to only refer to this one here:
I hope I did not forget anything important or mess something up. The above descriptions work fine for me.... |
All times are GMT -4. The time now is 20:39. |