CFD Online Discussion Forums

CFD Online Discussion Forums (https://www.cfd-online.com/Forums/)
-   OpenFOAM Meshing & Mesh Conversion (https://www.cfd-online.com/Forums/openfoam-meshing/)
-   -   [Commercial meshers] Unknown error when converting fluent mesh to openfoam (https://www.cfd-online.com/Forums/openfoam-meshing/249151-unknown-error-when-converting-fluent-mesh-openfoam.html)

Yutao April 23, 2023 02:30

Unknown error when converting fluent mesh to openfoam
 
I'm trying to use fluent meshing to deal with my mesh. But I met the following problem when using fluent3DMeshToFoam. The fluent version is Ansys 2023r1 and I'm sure the .msh file is in ascii format. I can't find any similar error information on google.

Code:

>>fluent3DMeshToFoam reactor.msh

Create time

Dimension of grid: 3
Number of points: 155034
--> FOAM Warning : Found unknown block of type: "11"
    on line 17
Number of faces: 802867
Number of cells: 329001
PointGroup: 1 start: 0 end: 1073.  Reading points...done.
PointGroup: 5988 start: 1074 end: 1387.  Reading points...done.
PointGroup: 6346 start: 1388 end: 17471.  Reading points...done.
PointGroup: 6459 start: 17472 end: 155033.  Reading points...done.
--> FOAM Warning : Found unknown block of type: "11"
    on line 155062
--> FOAM Warning : Found unknown block of type: "11"
    on line 155100
--> FOAM Warning : Found unknown block of type: "11"
    on line 155138
--> FOAM Warning : Found unknown block of type: "11"
    on line 155176
--> FOAM Warning : Found unknown block of type: "11"
    on line 155384
--> FOAM Warning : Found unknown block of type: "11"
    on line 155592
--> FOAM Warning : Found unknown block of type: "11"
    on line 155630
--> FOAM Warning : Found unknown block of type: "11"
    on line 155668
FaceGroup: 6457 start: 33317 end: 802866.  Reading mixed faces...done.
FaceGroup: 1971 start: 0 end: 373.  Reading mixed faces...done.
FaceGroup: 1972 start: 374 end: 727.  Reading mixed faces...done.
FaceGroup: 1973 start: 728 end: 1089.  Reading mixed faces...done.
FaceGroup: 1974 start: 1090 end: 31803.  Reading uniform faces...done.
FaceGroup: 5 start: 31804 end: 31837.  Reading uniform faces...done.
FaceGroup: 4 start: 31838 end: 31871.  Reading uniform faces...done.
FaceGroup: 3 start: 31872 end: 31905.  Reading uniform faces...done.
FaceGroup: 2 start: 31906 end: 33316.  Reading uniform faces...done.
CellGroup: 6451 start: 0 end: 329000 type: 1
--> FOAM Warning : Found unknown block of type: "71"
    on line 958593
--> FOAM Warning : Found unknown block of type: "71"
    on line 974013
--> FOAM Warning : Found unknown block of type: "71"
    on line 974279
--> FOAM Warning : Found unknown block of type: "71"
    on line 974541
Zone: 6451 name: reactor type: fluid.  Reading zone data...done.
Zone: 2 name: reactor:reactor-reactor type: wall.  Reading zone data...done.
Zone: 3 name: inlet1 type: wall.  Reading zone data...done.
Zone: 4 name: inlet2 type: wall.  Reading zone data...done.
Zone: 5 name: outlet type: wall.  Reading zone data...done.
Zone: 1974 name: reactor:reactor-reactor:1974 type: wall.  Reading zone data...done.
Zone: 1973 name: inlet1:1973 type: velocity-inlet.  Reading zone data...done.
Zone: 1972 name: inlet2:1972 type: velocity-inlet.  Reading zone data...done.
Zone: 1971 name: outlet:1971 type: pressure-outlet.  Reading zone data...done.
Zone: 6457 name: interior-6457 type: interior.  Reading zone data...done.
Zone: 1979 name: inlet1:feature:1979 type: boundary-edge.  Reading zone data...done.
Zone: 1978 name: inlet2:feature:1978 type: boundary-edge.  Reading zone data...done.
Zone: 1977 name: outlet:feature:1977 type: boundary-edge.  Reading zone data...done.
Zone: 1976 name: reactor:reactor-reactor:feature:1976 type: boundary-edge.  Reading zone data...done.
Zone: 9 name: reactor:reactor-reactor:feature type: boundary-edge.  Reading zone data...done.
Zone: 8 name: outlet:feature type: boundary-edge.  Reading zone data...done.
Zone: 7 name: inlet2:feature type: boundary-edge.  Reading zone data...done.
Zone: 6 name: inlet1:feature type: boundary-edge.  Reading zone data...done.
--> FOAM Warning : Found unknown block of type: "73"
    on line 975991

FINISHED LEXING

Creating patch 0 for zone: 1971 name: outlet:1971 type: pressure-outlet
Creating patch 1 for zone: 1972 name: inlet2:1972 type: velocity-inlet
Creating patch 2 for zone: 1973 name: inlet1:1973 type: velocity-inlet
Creating patch 3 for zone: 1974 name: reactor:reactor-reactor:1974 type: wall
Creating patch 4 for zone: 5 name: outlet type: wall
Creating patch 5 for zone: 4 name: inlet2 type: wall
Creating patch 6 for zone: 3 name: inlet1 type: wall
Creating patch 7 for zone: 2 name: reactor:reactor-reactor type: wall
Creating cellZone 0 name: reactor type: fluid
Creating faceZone 0 name: interior-6457 type: interior
faceZone from Fluent indices: 33317 to: 802866 type: interior
patch 0 from Fluent indices: 0 to: 373 type: pressure-outlet
patch 1 from Fluent indices: 374 to: 727 type: velocity-inlet
patch 2 from Fluent indices: 728 to: 1089 type: velocity-inlet
patch 3 from Fluent indices: 1090 to: 31803 type: wall
patch 4 from Fluent indices: 31804 to: 31837 type: wall
patch 5 from Fluent indices: 31838 to: 31871 type: wall
patch 6 from Fluent indices: 31872 to: 31905 type: wall
patch 7 from Fluent indices: 31906 to: 33316 type: wall


--> FOAM FATAL ERROR: (openfoam-2206)
Illegal cell label -1 in owner addressing for face 801354

    From void Foam::polyMesh::initMesh()
    in file meshes/polyMesh/polyMeshInitMesh.C at line 64.

FOAM exiting

Someone said that in the msh file after ansys 2021, the section
Code:

(0 "Cortex variables:")

(0 "TGrid variables:")

should be deleted. But that doesn't work.

Can somebody help me?

I also tried to save the file as file.cas.gz and file.msh.gz, and gunzip them. but this error also happens. And it can't be opened with paraview too


All times are GMT -4. The time now is 14:50.