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

[Commercial meshers] Convert a .msh file with infinitely thin walls

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   May 14, 2020, 07:14
Default Convert a .msh file with infinitely thin walls
  #1
Senior Member
 
Andrea
Join Date: Feb 2012
Location: Leeds, UK
Posts: 179
Rep Power: 16
Andrea1984 is on a distinguished road
Hi all,

I have tried to re-create the mixerVessel2D mesh in ICEM CFD. In this mesh, both the impeller blades and the the baffles at the tank wall have zero thickness.

I have successfully imported this mesh in Fluent (which, as expected, creates shadow walls for these zero-thickness walls).

However, when I try to convert the .msh file using fluent3DMeshToFoam I get te following error:

The mesh file is attached.

Code:
Create time

Dimension of grid: 3
Number of points: 3360
PointGroup: 8 start: 0 end: 3359.  Reading points...done.
Number of cells: 1600
CellGroup: 9 start: 0 end: 1599 type: 1
Number of faces: 6544
FaceGroup: 10 start: 0 end: 3055.  Reading uniform faces...done.
FaceGroup: 11 start: 3056 end: 4655.  Reading uniform faces...done.
FaceGroup: 12 start: 4656 end: 6255.  Reading uniform faces...done.
FaceGroup: 13 start: 6256 end: 6379.  Reading uniform faces...done.
FaceGroup: 14 start: 6380 end: 6479.  Reading uniform faces...done.
Zone: 9 name: FLUID type: fluid.  Reading zone data...done.
Zone: 10 name: int_FLUID type: interior.  Reading zone data...done.
Zone: 11 name: TOP type: wall.  Reading zone data...done.
Zone: 12 name: BOTTOM type: wall.  Reading zone data...done.
Zone: 13 name: ROTOR type: wall.  Reading zone data...done.
Zone: 14 name: STATOR type: wall.  Reading zone data...done.

FINISHED LEXING

Creating patch 0 for zone: 11 name: TOP type: wall
Creating patch 1 for zone: 12 name: BOTTOM type: wall
Creating patch 2 for zone: 13 name: ROTOR type: wall
Creating patch 3 for zone: 14 name: STATOR type: wall
Creating cellZone 0 name: FLUID type: fluid
Creating faceZone 0 name: int_FLUID type: interior
faceZone from Fluent indices: 0 to: 3055 type: interior
patch 0 from Fluent indices: 3056 to: 4655 type: wall
patch 1 from Fluent indices: 4656 to: 6255 type: wall
patch 2 from Fluent indices: 6256 to: 6379 type: wall
patch 3 from Fluent indices: 6380 to: 6479 type: wall


--> FOAM FATAL ERROR:
Illegal cell label -1 in neighbour addressing for face 6524

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

FOAM exiting
Any idea of what's going on here?

Thanks,
Andrea
Attached Files
File Type: zip 2dMixerVessel.zip (99.1 KB, 0 views)

Last edited by Andrea1984; May 14, 2020 at 07:16. Reason: forgot to upload the mesh file
Andrea1984 is offline   Reply With Quote

Old   May 20, 2020, 19:02
Default
  #2
HPE
Senior Member
 
HPE's Avatar
 
Herpes Free Engineer
Join Date: Sep 2019
Location: The Home Under The Ground with the Lost Boys
Posts: 931
Rep Power: 13
HPE is on a distinguished road
Hi,

Quote:
Illegal cell label -1 in neighbour addressing for face 6524
- `Cell` has to be 3-D in OF. So, I am not sure if zero-thickness entities can be converted to legitimate cells.
- Should the propeller patches act like a set of internal faces instead?
HPE is offline   Reply With Quote

Old   May 21, 2020, 04:47
Default
  #3
Senior Member
 
Andrea
Join Date: Feb 2012
Location: Leeds, UK
Posts: 179
Rep Power: 16
Andrea1984 is on a distinguished road
Can a set of internal faces be treated as a boundary (a wall in this specific case)?

Essentially, I am trying to replicate the mesh of the mixerVessel2D tutorial, where both the baffles and the impeller blades are zero-thickness wall.
Andrea1984 is offline   Reply With Quote

Old   May 31, 2020, 16:41
Default
  #4
HPE
Senior Member
 
HPE's Avatar
 
Herpes Free Engineer
Join Date: Sep 2019
Location: The Home Under The Ground with the Lost Boys
Posts: 931
Rep Power: 13
HPE is on a distinguished road
>> Can a set of internal faces be treated as a boundary (a wall in this specific case)?

Afaik (actually I have seen one), you can do this. But I have never done it by myself, I'm afraid. So I am not able to provide a MWE from scratch. Or so some other kind person may hopefully give a hand to you. My apologies.

But if you can provide a draft MWE for a start, may be we can go from there.
HPE is offline   Reply With Quote

Reply

Tags
fluent, fluent3dmeshtofoam, mesh, msh


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
Using PengRobinsonGas EoS with sprayFoam Jabo OpenFOAM Running, Solving & CFD 36 July 16, 2024 04:52
[OpenFOAM.com] swak4foam compiling issues on a cluster saj216 OpenFOAM Installation 5 January 17, 2023 17:05
[OpenFOAM.org] Compile OF 2.3 on Mac OS X .... the patch gschaider OpenFOAM Installation 225 August 25, 2015 20:43
centOS 5.6 : paraFoam not working yossi OpenFOAM Installation 2 October 9, 2013 02:41
friction forces icoFoam ofslcm OpenFOAM 3 April 7, 2012 11:57


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