View Issue Details
ID | Project | Category | View Status | Date Submitted | Last Update |
---|---|---|---|---|---|
0003330 | OpenFOAM | Bug | public | 2019-08-19 06:53 | 2019-08-19 11:08 |
Reporter | joegi | Assigned To | henry | ||
Priority | normal | Severity | minor | Reproducibility | always |
Status | resolved | Resolution | fixed | ||
Platform | linux | OS | OpenSuSE | OS Version | 15.1 |
Fixed in Version | dev | ||||
Summary | 0003330: fluent3DMeshToFoam -> Do not understand characters: ; | ||||
Description | When converting 3D meshes generated using Ansys workbench or Fluent mesher, it gives the following error: > FOAM FATAL ERROR: Do not understand characters: ; on line 6101 From function virtual int yyFlexLexer::yylex() in file fluent3DMeshToFoam.L at line 748. FOAM exiting The error is related to a semi-colon. I think I started to see this problem after Ansys version 17 (I guess they changed something in the format). This error happens with any kind of cell type, and input file (.case or .msh). To fix this issue, I just use sed to erase the offending semi-colon (just two): sed -i 's/;/ /g' input_file.cas | ||||
Steps To Reproduce | In the attached case, try to convert the mesh poly1.cas, fluent3DMeshToFoam poly1.cas and you will get the error: --> FOAM FATAL ERROR: Do not understand characters: ; on line 6101 From function virtual int yyFlexLexer::yylex() in file fluent3DMeshToFoam.L at line 748. FOAM exiting To fix the problem use sed as follows (be sure to backup the mesh first): sed -i 's/;/ /g' polu1.cas So far the workaround using sed seems to work fine (I have use it with meshes upto 200 million cells). | ||||
Tags | No tags attached. | ||||
Date Modified | Username | Field | Change |
---|---|---|---|
2019-08-19 06:53 | joegi | New Issue | |
2019-08-19 07:13 | joegi | File Added: dummy.tar.gz | |
2019-08-19 07:13 | joegi | Note Added: 0010677 | |
2019-08-19 11:08 | henry | Assigned To | => henry |
2019-08-19 11:08 | henry | Status | new => resolved |
2019-08-19 11:08 | henry | Resolution | open => fixed |
2019-08-19 11:08 | henry | Fixed in Version | => dev |
2019-08-19 11:08 | henry | Note Added: 0010679 |