CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > Software User Forums > OpenFOAM > OpenFOAM Meshing & Mesh Conversion

[Commercial meshers] Problem with Mesh conversion from FLUENT Meshing to OpenFOAM

Register Blogs Members List Search Today's Posts Mark Forums Read

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   April 28, 2023, 11:51
Default Problem with Mesh conversion from FLUENT Meshing to OpenFOAM
  #1
New Member
 
Join Date: Mar 2023
Posts: 2
Rep Power: 0
mn17jyf is on a distinguished road
Hi All!

I've been trying to convert a mesh created with FLUENT Meshing to OpenFOAM. I exported this mesh in ASCII as msh.gz and then extracted it with gunzip before deleting the brackets [] from the file as described in this post: Fluent mesh to OF conversion. I then tried to convert it with both fluentMeshToFoam and fluent3DMeshToFoam. fluentMeshToFoam didn't run and threw the following error:

Code:
--> FOAM FATAL ERROR: 
unrecognised 3-D cell shape: 7

    From function int main(int, char**)
    in file fluentMeshToFoam.L at line 1120.

FOAM aborting

#0  Foam::error::printStack(Foam::Ostream&) addr2line failed
#1  Foam::error::abort() addr2line failed
#2  ?
#3  __libc_start_main addr2line failed
#4  ?
Aborted (core dumped)
fluent3dMeshToFoam ran successfully but this resulted in the following warning: "--> FOAM Warning : Found unknown block of type: "11"
on line 17".

Code:
/*---------------------------------------------------------------------------*\
  =========                 |
  \\      /  F ield         | OpenFOAM: The Open Source CFD Toolbox
   \\    /   O peration     | Website:  https://openfoam.org
    \\  /    A nd           | Version:  9
     \\/     M anipulation  |
\*---------------------------------------------------------------------------*/
Build  : 9
Exec   : fluent3DMeshToFoam periodic_mesh.msh
Date   : Apr 28 2023
Time   : 16:16:08
Host   : "comp-pc6125.leeds.ac.uk"
PID    : 17356
I/O    : uncollated
Case   : /usr/not-backed-up/mn17jyf/strip_fin/strip_fin_ansys
nProcs : 1
sigFpe : Enabling floating point exception trapping (FOAM_SIGFPE).
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: 1397211
--> FOAM Warning : Found unknown block of type: "11"
    on line 17
Number of faces: 7371995
Number of cells: 3017643
PointGroup: 62 start: 0 end: 233.  Reading points...done.
PointGroup: 64 start: 234 end: 255.  Reading points...done.
PointGroup: 66 start: 256 end: 271.  Reading points...done.
PointGroup: 68 start: 272 end: 289.  Reading points...done.
PointGroup: 70 start: 290 end: 311.  Reading points...done.
PointGroup: 77 start: 312 end: 9374.  Reading points...done.
PointGroup: 1118 start: 9375 end: 203414.  Reading points...done.
PointGroup: 1140 start: 203415 end: 1397210.  Reading points...done.
--> FOAM Warning : Found unknown block of type: "11"
    on line 1397247
--> FOAM Warning : Found unknown block of type: "11"
    on line 1397425
--> FOAM Warning : Found unknown block of type: "11"
    on line 1397571
--> FOAM Warning : Found unknown block of type: "11"
    on line 1397595errors
--> FOAM Warning : Found unknown block of type: "11"
    on line 1397613
--> FOAM Warning : Found unknown block of type: "11"
    on line 1397633
--> FOAM Warning : Found unknown block of type: "11"
    on line 1397657
--> FOAM Warning : Found unknown block of type: "11"
    on line 1397722
--> FOAM Warning : Found unknown block of type: "11"
    on line 1397851
--> FOAM Warning : Found unknown block of type: "11"
    on line 1398023
--> FOAM Warning : Found unknown block of type: "11"
    on line 1398204
--> FOAM Warning : Found unknown block of type: "11"
    on line 1398743
--> FOAM Warning : Found unknown block of type: "11"
    on line 1398808
--> FOAM Warning : Found unknown block of type: "11"
    on line 1398861
--> FOAM Warning : Found unknown block of type: "11"
    on line 1399110
--> FOAM Warning : Found unknown block of type: "11"
    on line 1399239
--> FOAM Warning : Found unknown block of type: "11"
    on line 1399267
--> FOAM Warning : Found unknown block of type: "11"
    on line 1399295
--> FOAM Warning : Found unknown block of type: "11"
    on line 1399460
--> FOAM Warning : Found unknown block of type: "11"
    on line 1399631Aborted (core dumped)

--> FOAM Warning : Found unknown block of type: "11"
    on line 1399659
--> FOAM Warning : Found unknown block of type: "11"
    on line 1400206
--> FOAM Warning : Found unknown block of type: "11"
    on line 1400387
--> FOAM Warning : Found unknown block of type: "11"
    on line 1400440
--> FOAM Warning : Found unknown block of type: "11"
    on line 1400468
--> FOAM Warning : Found unknown block of type: "11"
    on line 1401015
--> FOAM Warning : Found unknown block of type: "11"
    on line 1401553
--> FOAM Warning : Found unknown block of type: "11"
    on line 1401634
--> FOAM Warning : Found unknown block of type: "11"
    on line 1401798
--> FOAM Warning : Found unknown block of type: "11"
    on line 1401981
--> FOAM Warning : Found unknown block of type: "11"
    on line 1402164
FaceGroup: 1137 start: 372393 end: 7371994.  Reading mixed faces...done.
FaceGroup: 109 start: 0 end: 252619.  Reading uniform faces...done.
FaceGroup: 108 start: 252620 end: 265246.  Reading mixed faces...done.
FaceGroup: 107 start: 265247 end: 277692.  Reading mixed faces...done.
FaceGroup: 106 start: 277693 end: 294211.  Reading mixed faces...done.
FaceGroup: 105 start: 294212 end: 310641.  Reading mixed faces...done.
FaceGroup: 104 start: 310642 end: 341503.  Reading mixed faces...done.
FaceGroup: 103 start: 341504 end: 372392.  Reading mixed faces...done.
CellGroup: 1134 start: 0 end: 3017642 type: 1
Zone: 1134 name: fluid type: fluid.  Reading zone data...done.
Zone: 103 name: symmetry_right type: symmetry.  Reading zone data...done.
Zone: 104 name: symmetry_left type: symmetry.  Reading zone data...done.
Zone: 105 name: symmetry_top type: symmetry.  Reading zone data...done.
Zone: 106 name: symmetry_bottom type: symmetry.  Reading zone data...done.
Zone: 107 name: inlet type: velocity-inlet.  Reading zone data...done.
Zone: 108 name: outlet type: pressure-outlet.  Reading zone data...done.
Zone: 109 name: hot_wall type: wall.  Reading zone data...done.
Zone: 1137 name: interior--fluid type: interior.  Reading zone data...done.
Zone: 102 name: hot_wall:feature.102 type: boundary-edge.  Reading zone data...done.
Zone: 101 name: hot_wall:outlet:fluid:feature.1.101 type: boundary-edge.  Reading zone data...done.
Zone: 100 name: hot_wall:inlet:fluid:feature.1.100 type: boundary-edge.  Reading zone data...done.
Zone: 99 name: hot_wall:symmetry_bottom:fluid:feature.1.99 type: boundary-edge.  Reading zone data...done.
Zone: 98 name: hot_wall:symmetry_top:fluid:feature.1.98 type: boundary-edge.  Reading zone data...done.
Zone: 97 name: hot_wall:symmetry_right:fluid:feature.97 type: boundary-edge.  Reading zone data...done.
Zone: 96 name: hot_wall:outlet:fluid:feature.96 type: boundary-edge.  Reading zone data...done.
Zone: 95 name: outlet:symmetry_bottom:fluid:feature.1.95 type: boundary-edge.  Reading zone data...done.
Zone: 94 name: outlet:symmetry_top:fluid:feature.94 type: boundary-edge.  Reading zone data...done.
Zone: 93 name: outlet:symmetry_left:fluid:feature.93 type: boundary-edge.  Reading zone data...done.
Zone: 92 name: hot_wall:inlet:fluid:feature.92 type: boundary-edge.  Reading zone data...done.
Zone: 91 name: inlet:symmetry_bottom:fluid:feature.1.91 type: boundary-edge.  Reading zone data...done.
Zone: 90 name: inlet:symmetry_left:fluid:feature.90 type: boundary-edge.  Reading zone data...done.
Zone: 89 name: hot_wall:symmetry_bottom:fluid:feature.89 type: boundary-edge.  Reading zone data...done.
Zone: 88 name: outlet:symmetry_bottom:fluid:feature.88 type: boundary-edge.  Reading zone data...done.
Zone: 87 name: inlet:symmetry_bottom:fluid:feature.87 type: boundary-edge.  Reading zone data...done.
Zone: 86 name: symmetry_bottom:symmetry_left:fluid:feature.86 type: boundary-edge.  Reading zone data...done.
Zone: 85 name: hot_wall:symmetry_top:fluid:feature.85 type: boundary-edge.  Reading zone data...done.
Zone: 84 name: inlet:symmetry_top:fluid:feature.84 type: boundary-edge.  Reading zone data...done.
Zone: 83 name: symmetry_left:symmetry_top:fluid:feature.83 type: boundary-edge.  Reading zone data...done.
Zone: 82 name: hot_wall:symmetry_left:fluid:feature.82 type: boundary-edge.  Reading zone data...done.
Zone: 81 name: outlet:symmetry_right:fluid:feature.81 type: boundary-edge.  Reading zone data...done.
Zone: 80 name: inlet:symmetry_right:fluid:feature.80 type: boundary-edge.  Reading zone data...done.
Zone: 79 name: symmetry_bottom:symmetry_right:fluid:feature.79 type: boundary-edge.  Reading zone data...done.
Zone: 78 name: symmetry_right:symmetry_top:fluid:feature.78 type: boundary-edge.  Reading zone data...done.
Zone: 69 name: origin-symmetry_top__69 type: boundary-edge.  Reading zone data...done.
Zone: 67 name: origin-symmetry_right__67 type: boundary-edge.  Reading zone data...done.
Zone: 65 name: origin-symmetry_left__65 type: boundary-edge.  Reading zone data...done.
Zone: 63 name: origin-symmetry_bottom__63 type: boundary-edge.  Reading zone data...done.
Zone: 61 name: origin-hot_wall__61 type: interior-edge.  Reading zone data...done.
Zone: 60 name: origin-hot_wall__60 type: boundary-edge.  Reading zone data...done.
--> FOAM Warning : Found unknown block of type: "73"
    on line 8780082
When running checkMesh, I received the following warning:
Code:
Checking topology...
    Boundary definition OK.
    Cell to face addressing OK.
 ***Unused points found in the mesh, number unused by faces: 9375 number unused by cells: 9375
  <<Writing 9375 unused points to set unusedPoints
    Upper triangular ordering OK.
    Face vertices OK.
    Number of regions: 1 (OK).
When opening the mesh with paraview, several elements are missing, see the attached picture.

I've tried different meshes including poly, hexcore and tet meshes, but I always get these warnings, which then results in missing mesh elements.

Has anyone come across something similar and has an easy solution to this?

Thanks for helping,

Julie
Attached Images
File Type: png image_of_mesh_with_missing_elements.png (53.9 KB, 22 views)
mn17jyf is offline   Reply With Quote

Old   June 8, 2023, 12:49
Default
  #2
Member
 
Join Date: Apr 2022
Posts: 31
Rep Power: 4
AMR96 is on a distinguished road
Hi Julie,

I'm currently trying to use the poly-hex core mesh using Fluent meshing and I'm facing the same problems.

Did you manage to find a solution in your case?

In the case of unused points, I used the Merge node feature in Fluent to delete all the unused nodes. This didn't fully solve the problem since OpenFoam still found unused points in my mesh but it did greatly reduce the number of unused points.
Best regards,

Amirmohammad

Last edited by AMR96; June 8, 2023 at 12:52. Reason: Added more information
AMR96 is offline   Reply With Quote

Old   June 20, 2023, 08:18
Default
  #3
New Member
 
Join Date: Mar 2023
Posts: 2
Rep Power: 0
mn17jyf is on a distinguished road
Hi Amirmohammad,

Sorry for the late response, didn't see your message. Saddly haven't found a fix for this yet. I'll have a go at using merge node and see if that helps in my case.

Thanks!

Julie
mn17jyf is offline   Reply With Quote

Old   November 1, 2023, 09:49
Default
  #4
New Member
 
Nilotpal Dhar
Join Date: Nov 2022
Location: United Kingdom
Posts: 4
Rep Power: 3
ndhar is on a distinguished road
Check out the latest reply to this thread: Illegal cell label -1, fluent3DMeshToFoam
ndhar is offline   Reply With Quote

Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Strange Mesh Problem in Fluent alpcfd FLUENT 1 October 8, 2020 12:47
Suggestion for a new sub-forum at OpenFOAM's Forum wyldckat Site Help, Feedback & Discussions 20 October 28, 2014 09:04
[Commercial meshers] Mesh conversion from fluent to OpenFOAM harsha_kulkarni OpenFOAM Meshing & Mesh Conversion 1 June 28, 2014 17:26
Moving mesh Niklas Wikstrom (Wikstrom) OpenFOAM Running, Solving & CFD 122 June 15, 2014 06:20
OpenFoam to Fluent data conversion Problem vemps OpenFOAM 1 August 8, 2011 02:30


All times are GMT -4. The time now is 05:03.