CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > Software User Forums > OpenFOAM > OpenFOAM Community Contributions

[cfMesh] Repeatability testing on cfMesh

Register Blogs Community New Posts Updated Threads Search

Like Tree1Likes
  • 1 Post By furystep

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   March 16, 2023, 06:00
Default Repeatability testing on cfMesh
  #1
New Member
 
Join Date: Sep 2020
Posts: 6
Rep Power: 5
furystep is on a distinguished road
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)?
frubicle93 likes this.
furystep is offline   Reply With Quote

Reply

Tags
cfmesh, omp, parallel, repeatability, threads


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are On


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 17:06
[cfMesh] cfmesh installation on openfoam v9 daylen OpenFOAM Community Contributions 3 February 15, 2022 11:17
[mesh manipulation] cfMesh + extrudeMesh -> bad quality mesh? aerospacious OpenFOAM Meshing & Mesh Conversion 1 July 28, 2020 02:57
[cfMesh] How to start using cfMesh with OpenFOAM v1706? Carno OpenFOAM Community Contributions 1 November 1, 2018 16:28
[cfMesh] CFMesh for blue core CFD naveen.hariprasad OpenFOAM Community Contributions 2 March 4, 2018 16:11


All times are GMT -4. The time now is 09:57.