CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > Software User Forums > OpenFOAM > OpenFOAM Running, Solving & CFD

precision in openfoam

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   May 28, 2021, 09:56
Default precision in openfoam
  #1
Senior Member
 
Hojatollah Gholami
Join Date: Jan 2019
Posts: 171
Rep Power: 7
Hgholami is on a distinguished road
Dear foamer
The etc/bashrc contains WM_PRECISION_OPTION that default is DP (double precision).
I try to refine the mesh in near a plate to ensure mesh independence. Unfortunately, before reaching 2% relative error, the result shows perturbation.
May it due to rounding variable? what about LDP, how many time it is bigger than DP?
Thanks
Hgholami is offline   Reply With Quote

Old   May 28, 2021, 18:20
Default
  #2
HPE
Senior Member
 
HPE's Avatar
 
Herpes Free Engineer
Join Date: Sep 2019
Location: The Home Under The Ground with the Lost Boys
Posts: 931
Rep Power: 13
HPE is on a distinguished road
I don't think there is LDP, and I don't think whatever the issue you are facing at the moment is related to the floating-point representation.
HPE is offline   Reply With Quote

Reply

Tags
mesh independence, precision


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
OpenFOAM course for beginners Jibran OpenFOAM Announcements from Other Sources 2 November 4, 2019 09:51
[OpenFOAM.org] A Mac OS X of23x Development Environment Using Docker rt08 OpenFOAM Installation 1 February 28, 2016 20:00
OpenFOAM v3.0.1 Training, London, Houston, Berlin, Jan-Mar 2016 cfd.direct OpenFOAM Announcements from Other Sources 0 January 5, 2016 04:18
Cross-compiling OpenFOAM 1.7.0 on Linux for Windows 32 and 64bits with Mingw-w64 wyldckat OpenFOAM Announcements from Other Sources 3 September 8, 2010 07:25
OpenFOAM Double precision vs Single Precision alexandrepereira OpenFOAM Running, Solving & CFD 1 June 11, 2008 15:30


All times are GMT -4. The time now is 16:40.