|
[Sponsors] |
June 25, 2019, 17:05 |
fluentMeshToFoam error
|
#1 |
Senior Member
Lee Strobel
Join Date: Jun 2016
Posts: 133
Rep Power: 10 |
Hi, I am trying to use fluentMeshToFoam to convert a fluent mesh to OpenFOAM format; however, when I run the program, I get the following error:
Code:
<a lot of output like the following:> ... ... Found end of section in unknown:$ Embedded blocks in comment or unknown: �Embedded blocks in comment or unknown:\� Found end of section in unknown:� ��ݻFound end of section in unknown:? ]�Embedded blocks in comment or unknown:�� Found end of section in unknown:= �Embedded blocks in comment or unknown:� ▒�E��UEmbedded blocks in comment or unknown:M� Found end of section in unknown:� �n�I --> FOAM FATAL IO ERROR: wrong token type - expected int32_t, found on line 0 the punctuation token ')' file: IStringStream.sourceFile at line 0. From function Foam::Istream &Foam::operator>>(Foam::Istream &, int &) in file primitives/ints/int32/int32IO.C at line 62. FOAM exiting |
|
July 2, 2019, 17:30 |
|
#2 |
Senior Member
Lee Strobel
Join Date: Jun 2016
Posts: 133
Rep Power: 10 |
No-one has any idea about this?
|
|
July 2, 2019, 17:45 |
|
#3 |
Senior Member
Lee Strobel
Join Date: Jun 2016
Posts: 133
Rep Power: 10 |
I also tried using fluent3DMeshToFoam and got a different error, as shown below:
Code:
/*---------------------------------------------------------------------------*\ ========= | \\ / F ield | OpenFOAM: The Open Source CFD Toolbox \\ / O peration | Website: https://openfoam.org \\ / A nd | Version: 6 \\/ M anipulation | \*---------------------------------------------------------------------------*/ Build : 6 Exec : fluent3DMeshToFoam 16_FTO_LRS6.msh Date : Jul 02 2019 Time : 16:26:56 Host : *** PID : *** I/O : uncollated Case : *** nProcs : 1 fileModificationChecking : Monitoring run-time modified files using timeStampMaster (fileModificationSkew 10) allowSystemOperations : Allowing user-supplied system call operations // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // Create time Dimension of grid: 3 Number of points: 2092605 Number of faces: 15563604 Number of cells: 7085600 --> FOAM Warning : Found unknown block of type: "3010" on line 14 --> FOAM FATAL ERROR: Do not understand characters: � on line 15 From function int yyFlexLexer::yylex() in file fluent3DMeshToFoam.L at line 753. FOAM exiting |
|
July 3, 2019, 00:14 |
|
#4 |
Senior Member
Join Date: Aug 2013
Posts: 407
Rep Power: 16 |
Hi,
Perhaps you want to check with another version of OF? If it works in say OF 5.x, then it is probably a bug in OF 6. Else, maybe something else is the issue. Hope this helps. Cheers, Antimony |
|
July 3, 2019, 10:33 |
|
#5 |
Senior Member
Lee Strobel
Join Date: Jun 2016
Posts: 133
Rep Power: 10 |
@Antimony: Thanks for your reply. I am using OF on a shared system and they only have versions 6 and 1.7.1 installed. I tried it with 1.7.1 and got exactly the same error about not understanding characters on line 15.
I also tried it with a much simpler mesh (literally just a simple tube) and got exactly the same thing. |
|
July 3, 2019, 14:21 |
|
#6 |
Senior Member
Lee Strobel
Join Date: Jun 2016
Posts: 133
Rep Power: 10 |
Ah, I figured it out. In the ANSYS options, there is one that selects either binary or ASCII format for the mesh export. I changed it from binary to ASCII, re-exported the mesh and it now works fine.
I guess fluentMeshToFoam likes ASCII data, but not binary. Good to know |
|
July 3, 2019, 23:31 |
|
#7 |
Senior Member
Join Date: Aug 2013
Posts: 407
Rep Power: 16 |
Hi,
Yes, most of the tools in OF prefer the ASCII format - especially the ones that deal with conversion. Cheers, Antimony |
|
July 30, 2021, 09:01 |
|
#8 |
New Member
saba basiri
Join Date: Jul 2021
Posts: 2
Rep Power: 0 |
Hi Time4Tea
I got exactly the same error, but my mesh format is ASCII and no binary. Do you have a solution to my problem? |
|
Tags |
mesh, openfoam 6 |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
[blockMesh] blockMesh with double grading. | spwater | OpenFOAM Meshing & Mesh Conversion | 92 | January 12, 2019 10:00 |
[swak4Foam] GroovyBC the dynamic cousin of funkySetFields that lives on the suburb of the mesh | gschaider | OpenFOAM Community Contributions | 300 | October 29, 2014 19:00 |
OpenFOAM without MPI | kokizzu | OpenFOAM Installation | 4 | May 26, 2014 10:17 |
Errors in UDF | shashank312 | Fluent UDF and Scheme Programming | 6 | May 30, 2013 21:30 |
Ansys Fluent 13.0 UDF compilation problem in Window XP (32 bit) | Yogini | Fluent UDF and Scheme Programming | 7 | October 3, 2012 08:24 |