View Issue Details
|ID||Project||Category||View Status||Date Submitted||Last Update|
|0003469||OpenFOAM||Bug||public||2020-03-19 10:22||2020-03-23 14:11|
|Reporter||Aristotelis Iordanidis||Assigned To||henry|
|Status||closed||Resolution||unable to reproduce|
|Fixed in Version||dev|
|Summary||0003469: error if faces contains binary faceList|
|Description||Check the attached example.|
In the file:
the binary section is written as faceList.
In OpenFOAM v7, when executing a utility, e.g. checkMesh, it crashes with this error:
--> FOAM FATAL IO ERROR:
Expected a ')' while reading binaryBlock, found on line 25 an error
file: /.../2volumes/constant/polyMesh/faces at line 25.
From function Foam::Istream& Foam::Istream::readEnd(const char*)
in file db/IOstreams/IOstreams/Istream.C at line 109.
In OpenFOAM v6, utilities are able to process this case.
|Tags||No tags attached.|
2volumes.tar.gz (2,649 bytes)
How was the constant/polyMesh/faces file generated?
Can you provide the steps to reproduce including the method to generate the constant/polyMesh/faces file?
Can you reproduce the problem in a tutorial case?
It looks like there is a bug in the ANSA OpenFOAM export function, you will need to contact the producers of ANSA about this as their software in not open-source.
If you can reproduce the problem using any of the mesh generation or manipulation tools in OpenFOAM we can take a look at it.
||Do you support OpenFOAM v7? Is looks like your export module needs updating.|
I've actually been using ANSA recently and for me the version 20.1.1 of ANSA is exporting the "faces" file as type "faceCompactList", which OpenFOAM 7 has no problems using.
I suspect that in ANSA, the export to v1.5 version compatibility option was used, instead of the v4.0.
We are unable to reproduce this problem in OpenFOAM and do not have access to ANSA which is closed-source. It appears the bug is in ANSA rather than OpenFOAM.
|2020-03-19 10:22||Aristotelis Iordanidis||New Issue|
|2020-03-19 10:22||Aristotelis Iordanidis||File Added: 2volumes.tar.gz|
|2020-03-19 10:30||henry||Note Added: 0011255|
|2020-03-19 11:45||henry||Note Added: 0011257|
|2020-03-19 12:17||henry||Note Added: 0011259|
|2020-03-19 13:38||wyldckat||Note Added: 0011260|
|2020-03-23 14:11||henry||Assigned To||=> henry|
|2020-03-23 14:11||henry||Status||new => closed|
|2020-03-23 14:11||henry||Resolution||open => unable to reproduce|
|2020-03-23 14:11||henry||Fixed in Version||=> dev|
|2020-03-23 14:11||henry||Note Added: 0011274|