|
[Sponsors] |
March 16, 2023, 07:00 |
Repeatability testing on cfMesh
|
#1 |
New Member
Join Date: Sep 2020
Posts: 6
Rep Power: 6 |
Hi all,
I have been using cfMesh for a while and I noticed a weird problem about the mesh results. I run cfMesh with cartesianMesh on two identical testcases (same input on same machine) but I found that the points' coordinates of the results appear to be different (last 2/3 decimals can be different). I know that cfMesh sets dynamically the number of threads to use. I am not an expert in parallelization and omp library but if i force it to use only one thread the results are identical, while with more than one thread (set from bash env variable or using omp.h) the are not. I tried setting omp_set_dynamic equal to 0 at beginning of the code (as suggested in this https://stackoverflow.com/questions/...is-not-working thread) but it didn't work. Could someone tell me if there is any way to make the results to be perfectly identical even with more than one thread (by using idk some barriers or commands)? |
|
Tags |
cfmesh, omp, parallel, repeatability, threads |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
[Commercial meshers] Is it good to move from SHM to cfMesh | chandra shekhar pant | OpenFOAM Meshing & Mesh Conversion | 7 | February 14, 2024 18:06 |
[cfMesh] cfmesh installation on openfoam v9 | daylen | OpenFOAM Community Contributions | 3 | February 15, 2022 12:17 |
[mesh manipulation] cfMesh + extrudeMesh -> bad quality mesh? | aerospacious | OpenFOAM Meshing & Mesh Conversion | 1 | July 28, 2020 03:57 |
[cfMesh] How to start using cfMesh with OpenFOAM v1706? | Carno | OpenFOAM Community Contributions | 1 | November 1, 2018 17:28 |
[cfMesh] CFMesh for blue core CFD | naveen.hariprasad | OpenFOAM Community Contributions | 2 | March 4, 2018 17:11 |