|
[Sponsors] |
[cfMesh] The proper way to run cfMesh in parallel |
|
LinkBack | Thread Tools | Search this Thread | Display Modes |
June 27, 2018, 14:02 |
The proper way to run cfMesh in parallel
|
#1 |
Senior Member
Nejc
Join Date: Feb 2017
Location: Slovenia
Posts: 196
Rep Power: 9 |
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 cartesianMesh 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! |
|
August 5, 2019, 07:14 |
|
#2 |
Senior Member
Carlo_P
Join Date: May 2019
Location: Italy
Posts: 176
Rep Power: 8 |
Hey,
I had also the same problem. I solved it runnig preparePar mpirun -n numberprocessor cartesianMesh -parallel This worked for me. Cheers, Carlo |
|
August 5, 2019, 07:19 |
|
#3 |
Senior Member
Nejc
Join Date: Feb 2017
Location: Slovenia
Posts: 196
Rep Power: 9 |
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. |
|
June 20, 2023, 05:06 |
|
#4 |
New Member
NYTRYN
Join Date: Nov 2022
Location: Germany
Posts: 1
Rep Power: 0 |
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.... Last edited by NYTRYN; June 20, 2023 at 10:10. |
|
Tags |
cfmesh, cygwin, of4win, parallel |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Parallel run: bool ipstream::init attempt to run parallel on 1 processor | SarahLee | OpenFOAM Running, Solving & CFD | 2 | January 11, 2017 04:24 |
Explicitly filtered LES | saeedi | Main CFD Forum | 16 | October 14, 2015 12:58 |
Can not run OpenFOAM in parallel in clusters, help! | ripperjack | OpenFOAM Running, Solving & CFD | 5 | May 6, 2014 16:25 |
parallel Grief: BoundaryFields ok in single CPU but NOT in Parallel | JR22 | OpenFOAM Running, Solving & CFD | 2 | April 19, 2013 17:49 |
Script to Run Parallel Jobs in Rocks Cluster | asaha | OpenFOAM Running, Solving & CFD | 12 | July 4, 2012 23:51 |