|
[Sponsors] |
[cfMesh] CFMesh with OpenFOAM 7, binary format |
|
LinkBack | Thread Tools | Search this Thread | Display Modes |
March 26, 2020, 08:05 |
CFMesh with OpenFOAM 7, binary format
|
#1 |
Member
benoit paillard
Join Date: Mar 2010
Posts: 96
Rep Power: 16 |
Hi all,
When trying to mesh a case in binary format in openfoam 7, the meshing works but checkMesh and solvers crash with "Expected a ')' while reading binaryBlock" Which reminds me of WM_LABEL_SIZE issues If you mesh for instance sawOctree in the tutorials, checkMesh will crash. I tried looking at the issue but no luck so far. Any idea ? Thanks. |
|
April 5, 2020, 20:27 |
|
#2 |
New Member
Gabriel dos Santos
Join Date: Jul 2015
Posts: 1
Rep Power: 0 |
I'm having the same issue here.
Fortunately, there are some possible workarounds. 1) Use another OpenFOAM version (e.g., OpenFOAM 5 or OpenFOAM v1912) to "convert" the constant/polyMesh data via the foamFormatConvert utility. I know, it is kinda redundant; but it works. 2) If one doesn't have another OpenFOAM distribution available, an alternative is to save the polyMesh data in ASCII and then convert it to binary. For that, I would suggest to set a higher writePrecision value in system/controlDict. Perhaps, something around 16 is good enough. Then, just generate the mesh using cfMesh, set writeFormat back to binary in system/controlDict, and run foamFormatConvert. Hope this helps. Last edited by Niteck; April 6, 2020 at 10:06. Reason: corrected typo |
|
April 18, 2020, 18:18 |
|
#3 |
Member
benoit paillard
Join Date: Mar 2010
Posts: 96
Rep Power: 16 |
Hi ! thanks for your idea.
Unfortunately, using ASCII is not an option because the files would get a lot larger than I can afford. |
|
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Parse OpenFoam polyMesh in binary stream format | Daniel1966 | OpenFOAM Programming & Development | 2 | September 24, 2020 09:12 |
[cfMesh] Compiling cfMesh with OpenFOAM 4.x | dkokron | OpenFOAM Community Contributions | 16 | August 15, 2018 11:26 |
[Commercial meshers] ICEM mesh file in correct format for OpenFOAM | SamEngD | OpenFOAM Meshing & Mesh Conversion | 0 | April 5, 2017 06:29 |
OpenFOAM Training Jan-Apr 2017, Virtual, London, Houston, Berlin | cfd.direct | OpenFOAM Announcements from Other Sources | 0 | September 21, 2016 11:50 |
Suggestion for a new sub-forum at OpenFOAM's Forum | wyldckat | Site Help, Feedback & Discussions | 20 | October 28, 2014 09:04 |