CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > OpenFOAM Other Meshers: ICEM, Star, Ansys, Pointwise, GridPro, Ansa, ...

fluent3DMeshToFoam conversion problem

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

Like Tree1Likes
  • 1 Post By bluebase

Reply
 
LinkBack Thread Tools Display Modes
Old   September 25, 2013, 05:01
Default fluent3DMeshToFoam conversion problem
  #1
Member
 
Join Date: Jul 2013
Posts: 62
Rep Power: 3
CFDnewbie147 is on a distinguished road
Hello together,

I'm having some trouble with converting an .msh- Mesh into the OF- format. I'm Using fluent3DMeshToFoam. The mesh consists of tetrahedras, prisms and polyhedras. If I make fluent3DMeshToFoam the conversion happens, but if I do checkMesh, I get the following output:
Code:
/*---------------------------------------------------------------------------*\
| =========                 |                                                 |
| \\      /  F ield         | OpenFOAM: The Open Source CFD Toolbox           |
|  \\    /   O peration     | Version:  2.2.1                                 |
|   \\  /    A nd           | Web:      www.OpenFOAM.org                      |
|    \\/     M anipulation  |                                                 |
\*---------------------------------------------------------------------------*/
Build  : 2.2.1-57f3c3617a2d
Exec   : checkMesh -constant
Date   : Sep 25 2013
Time   : 10:59:15
Host   : "karman"
PID    : 22015
Case   : /z/pro/cfdtmp03/zachjoer/test/sim
nProcs : 1
sigFpe : Enabling floating point exception trapping (FOAM_SIGFPE).
fileModificationChecking : Monitoring run-time modified files using timeStampMaster
allowSystemOperations : Disallowing user-supplied system call operations
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
Create time
Create polyMesh for time = constant
Time = constant
Mesh stats
    points:           579505
    faces:            4478543
    internal faces:   4436101
    cells:            2060402
    faces per cell:   4.3266528
    boundary patches: 10
    point zones:      0
    face zones:       1
    cell zones:       2
Overall number of cells of each type:
    hexahedra:     0
    prisms:        674616
    wedges:        0
    pyramids:      0
    tet wedges:    717
    tetrahedra:    1383038
    polyhedra:     2031
    Breakdown of polyhedra by number of faces:
        faces   number of cells
            2   306
            3   968
            4   757
Checking topology...
    Boundary definition OK.
    Illegal cells (less than 4 faces or out of range faces) found,  number of cells: 1274
  <<Writing 1274 illegal cells to set illegalCells
    Point usage OK.
    Upper triangular ordering OK.
    Face vertices OK.
    Number of regions: 1 (OK).
Checking patch topology for multiply connected surfaces...
                   Patch    Faces   Points                  Surface topology
                    B_11     1209      641  ok (non-closed singly connected)
                    B_10    13030     6617  ok (non-closed singly connected)
                    B_13     3350     2716  ok (non-closed singly connected)
                    B_12     6488     3348  ok (non-closed singly connected)
                    B_14     3356     2719  ok (non-closed singly connected)
                     B_2     2640     1431  ok (non-closed singly connected)
                     B_4      396      228  ok (non-closed singly connected)
                     B_7      158       92  ok (non-closed singly connected)
                     B_6     4960     2506  ok (non-closed singly connected)
                     B_9     6855     3470  ok (non-closed singly connected)
Checking geometry...
    Overall domain bounding box (-0.65547 -0.3 -0.3) (1.99753 0.3 0.3)
    Mesh (non-empty, non-wedge) directions (1 1 1)
    Mesh (non-empty) directions (1 1 1)
    Boundary openness (3.2271105e-16 2.0610033e-17 -7.3297854e-17) OK.
 ***Open cells found, max cell openness: 1, number of open cells 2748
  <<Writing 2748 non closed cells to set nonClosedCells
  <<Writing 27330 cells with high aspect ratio to set highAspectRatioCells
    Minimum face area = 3.127814e-09. Maximum face area = 0.0061901726.  Face area magnitudes OK.
    Min volume = 3.8690058e-13. Max volume = 0.00015677402.  Total volume = 0.95395743.  Cell volumes OK.
    Mesh non-orthogonality Max: 88.836451 average: 17.259755
   *Number of severely non-orthogonal faces: 5758.
    Non-orthogonality check OK.
  <<Writing 5758 non-orthogonal faces to set nonOrthoFaces
    Face pyramids OK.
    Max skewness = 3.6532294 OK.
    Coupled point location match (average 0) OK.
Failed 2 mesh checks.
End
I don't know what these errors mean! Can you help me?
Best regards,
CFDnewbie147
CFDnewbie147 is offline   Reply With Quote

Old   September 27, 2013, 02:34
Default
  #2
Super Moderator
 
-mAx-'s Avatar
 
Maxime Perelli
Join Date: Mar 2009
Location: Switzerland
Posts: 2,964
Rep Power: 30
-mAx- will become famous soon enough
check where are those open cells
OF write those cells in the "nonClosedCells" subset.
So you can display them in Paraview for instance
>foamToVTK -cellSet nonClosedCells

Which software did you use to generate your mesh?
__________________
In memory of my friend Hervé: CFD engineer & freerider
-mAx- is offline   Reply With Quote

Old   September 28, 2013, 07:56
Default
  #3
Member
 
Join Date: Jul 2013
Posts: 62
Rep Power: 3
CFDnewbie147 is on a distinguished road
Hey,

i did what you told me and those cells are everywhere (not only the non closed cells, also the illegal cells(why are they illegal? they are polyhedra with 2 or 3 faces!) and the non-orthogonal faces.

I used an enterprise intern mesher (from TAU- Code) and converted the netcdf- format- mesh to a fluent mesh. And this .msh mesh i imported via fluent3DMeshToFoam to the OF mesh format.

Can u help me what i have to do? Is this a problem caused by converting the mesh two times or is the mesh really bad???

Thank you for ur help!
CFDnewbie147 is offline   Reply With Quote

Old   September 30, 2013, 01:47
Default
  #4
Super Moderator
 
-mAx-'s Avatar
 
Maxime Perelli
Join Date: Mar 2009
Location: Switzerland
Posts: 2,964
Rep Power: 30
-mAx- will become famous soon enough
If you have the possibility, try to run a check mesh in fluent
__________________
In memory of my friend Hervé: CFD engineer & freerider
-mAx- is offline   Reply With Quote

Old   September 30, 2013, 02:40
Default
  #5
Member
 
Join Date: Jul 2013
Posts: 62
Rep Power: 3
CFDnewbie147 is on a distinguished road
Thank you for your quick reply.

But I don't have the opportunity to check the mesh in fluent, only when I'm back at university in a few weeks. Is there a "button" for checking the mesh in fluent or how do you mean I should check the mesh?

Best regards,
cfdnewbie147
CFDnewbie147 is offline   Reply With Quote

Old   September 30, 2013, 02:53
Default
  #6
Super Moderator
 
-mAx-'s Avatar
 
Maxime Perelli
Join Date: Mar 2009
Location: Switzerland
Posts: 2,964
Rep Power: 30
-mAx- will become famous soon enough
you load your mesh in fluent, then in define/check mesh:
http://www.sharcnet.ca/Software/Flue...e178.htm#21267
__________________
In memory of my friend Hervé: CFD engineer & freerider
-mAx- is offline   Reply With Quote

Old   January 10, 2014, 06:07
Default
  #7
Senior Member
 
Ke Wu
Join Date: Jan 2012
Posts: 179
Rep Power: 5
itsme_kit is on a distinguished road
Quote:
Originally Posted by CFDnewbie147 View Post
Hello together,

I'm having some trouble with converting an .msh- Mesh into the OF- format. I'm Using fluent3DMeshToFoam. The mesh consists of tetrahedras, prisms and polyhedras. If I make fluent3DMeshToFoam the conversion happens, but if I do checkMesh, I get the following output:
Code:
/*---------------------------------------------------------------------------*\
| =========                 |                                                 |
| \\      /  F ield         | OpenFOAM: The Open Source CFD Toolbox           |
|  \\    /   O peration     | Version:  2.2.1                                 |
|   \\  /    A nd           | Web:      www.OpenFOAM.org                      |
|    \\/     M anipulation  |                                                 |
\*---------------------------------------------------------------------------*/
Build  : 2.2.1-57f3c3617a2d
Exec   : checkMesh -constant
Date   : Sep 25 2013
Time   : 10:59:15
Host   : "karman"
PID    : 22015
Case   : /z/pro/cfdtmp03/zachjoer/test/sim
nProcs : 1
sigFpe : Enabling floating point exception trapping (FOAM_SIGFPE).
fileModificationChecking : Monitoring run-time modified files using timeStampMaster
allowSystemOperations : Disallowing user-supplied system call operations
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
Create time
Create polyMesh for time = constant
Time = constant
Mesh stats
    points:           579505
    faces:            4478543
    internal faces:   4436101
    cells:            2060402
    faces per cell:   4.3266528
    boundary patches: 10
    point zones:      0
    face zones:       1
    cell zones:       2
Overall number of cells of each type:
    hexahedra:     0
    prisms:        674616
    wedges:        0
    pyramids:      0
    tet wedges:    717
    tetrahedra:    1383038
    polyhedra:     2031
    Breakdown of polyhedra by number of faces:
        faces   number of cells
            2   306
            3   968
            4   757
Checking topology...
    Boundary definition OK.
    Illegal cells (less than 4 faces or out of range faces) found,  number of cells: 1274
  <<Writing 1274 illegal cells to set illegalCells
    Point usage OK.
    Upper triangular ordering OK.
    Face vertices OK.
    Number of regions: 1 (OK).
Checking patch topology for multiply connected surfaces...
                   Patch    Faces   Points                  Surface topology
                    B_11     1209      641  ok (non-closed singly connected)
                    B_10    13030     6617  ok (non-closed singly connected)
                    B_13     3350     2716  ok (non-closed singly connected)
                    B_12     6488     3348  ok (non-closed singly connected)
                    B_14     3356     2719  ok (non-closed singly connected)
                     B_2     2640     1431  ok (non-closed singly connected)
                     B_4      396      228  ok (non-closed singly connected)
                     B_7      158       92  ok (non-closed singly connected)
                     B_6     4960     2506  ok (non-closed singly connected)
                     B_9     6855     3470  ok (non-closed singly connected)
Checking geometry...
    Overall domain bounding box (-0.65547 -0.3 -0.3) (1.99753 0.3 0.3)
    Mesh (non-empty, non-wedge) directions (1 1 1)
    Mesh (non-empty) directions (1 1 1)
    Boundary openness (3.2271105e-16 2.0610033e-17 -7.3297854e-17) OK.
 ***Open cells found, max cell openness: 1, number of open cells 2748
  <<Writing 2748 non closed cells to set nonClosedCells
  <<Writing 27330 cells with high aspect ratio to set highAspectRatioCells
    Minimum face area = 3.127814e-09. Maximum face area = 0.0061901726.  Face area magnitudes OK.
    Min volume = 3.8690058e-13. Max volume = 0.00015677402.  Total volume = 0.95395743.  Cell volumes OK.
    Mesh non-orthogonality Max: 88.836451 average: 17.259755
   *Number of severely non-orthogonal faces: 5758.
    Non-orthogonality check OK.
  <<Writing 5758 non-orthogonal faces to set nonOrthoFaces
    Face pyramids OK.
    Max skewness = 3.6532294 OK.
    Coupled point location match (average 0) OK.
Failed 2 mesh checks.
End
I don't know what these errors mean! Can you help me?
Best regards,
CFDnewbie147
Hi

How you saved the fluent mesh file in ascii format?

I have no idea about it

Thanks
itsme_kit is offline   Reply With Quote

Old   January 10, 2014, 07:55
Default
  #8
Super Moderator
 
-mAx-'s Avatar
 
Maxime Perelli
Join Date: Mar 2009
Location: Switzerland
Posts: 2,964
Rep Power: 30
-mAx- will become famous soon enough
the msh file isn't created from fluent, but from the mesher: gambit for instance
__________________
In memory of my friend Hervé: CFD engineer & freerider
-mAx- is offline   Reply With Quote

Old   January 10, 2014, 09:42
Default
  #9
Senior Member
 
Ke Wu
Join Date: Jan 2012
Posts: 179
Rep Power: 5
itsme_kit is on a distinguished road
Quote:
Originally Posted by -mAx- View Post
the msh file isn't created from fluent, but from the mesher: gambit for instance
Hi

I'm using ANSYS workbench to generate mesh

However, I have no idea to make the file in ascii format
itsme_kit is offline   Reply With Quote

Old   January 10, 2014, 10:13
Default
  #10
Super Moderator
 
-mAx-'s Avatar
 
Maxime Perelli
Join Date: Mar 2009
Location: Switzerland
Posts: 2,964
Rep Power: 30
-mAx- will become famous soon enough
I don't have ANSYS, so I am not helpfull
Maybe you should ask on ANSYS Meshing subforum
__________________
In memory of my friend Hervé: CFD engineer & freerider
-mAx- is offline   Reply With Quote

Old   February 3, 2014, 06:10
Default
  #11
Member
 
Join Date: Jul 2013
Posts: 62
Rep Power: 3
CFDnewbie147 is on a distinguished road
Hello together,

I have to say I don't know how to save a ANSYS-mesh-file in an ASCII format because I didn't use ANSYS to create this mesh. I used a selfmade python script for converting into the .msh format. I hope you will find an answer.

Best regards
CFDNewbie147
CFDnewbie147 is offline   Reply With Quote

Old   February 13, 2014, 16:57
Default
  #12
Member
 
Sebastian Engel
Join Date: Jun 2011
Location: Germany
Posts: 92
Rep Power: 7
bluebase is on a distinguished road
Quote:
Originally Posted by itsme_kit View Post
Hi

I'm using ANSYS workbench to generate mesh

However, I have no idea to make the file in ascii format
This reply is late, but I have found an old thread which might be useful for you:

ANSYS to Fluent mesh export in ASCII format

With regards,
Sebastian
wyldckat likes this.
bluebase is offline   Reply With Quote

Old   February 16, 2014, 15:32
Default
  #13
Super Moderator
 
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 8,253
Blog Entries: 34
Rep Power: 84
wyldckat is just really nicewyldckat is just really nicewyldckat is just really nicewyldckat is just really nice
Greetings Sebastian,

Thanks for the late reply. It reminded me that we needed a FAQ for this. I've added it here: http://openfoamwiki.net/index.php/FA...sh_in_ASCII.3F

Best regards,
Bruno
wyldckat is online now   Reply With Quote

Old   March 12, 2014, 06:07
Default
  #14
Senior Member
 
Paritosh Vasava
Join Date: Oct 2012
Location: Lappeenranta, Finland
Posts: 544
Rep Power: 12
vasava will become famous soon enough
Quote:
Originally Posted by CFDnewbie147 View Post
Hello together,

I have to say I don't know how to save a ANSYS-mesh-file in an ASCII format because I didn't use ANSYS to create this mesh. I used a selfmade python script for converting into the .msh format. I hope you will find an answer.

Best regards
CFDNewbie147
In the top bar in Anysy meshing there must be 'options' where you can select the format in which the mesh is exported. If not then you can look for same in work bench.
vasava is offline   Reply With Quote

Old   March 12, 2014, 06:16
Default
  #15
Senior Member
 
Paritosh Vasava
Join Date: Oct 2012
Location: Lappeenranta, Finland
Posts: 544
Rep Power: 12
vasava will become famous soon enough
If you are using the default meshing method in Ansys meshing then it is heavily probable that you will keep receiving these errors no matter how good your mesh looks in fluent. The default meshing method creates very nice mesh in some parts and fills in rest of the part with some poor quality elements (poor for openfoam, fluent will happily except it).

You could do one of following:

1. You can always visualize elements based on their quality in Ansys meshing. Decide if they are good or not and keep on trying until you get a mesh with proper quality.

2. You can chose a method that has only one type of elements (hexa or tetra). It is more easy to control the quality of mesh if you have only one type elements by simply controlling the size.

Someone please correct me if I am wrong.
vasava is offline   Reply With Quote

Reply

Thread Tools
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 On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
UDF compiling problem Wouter Fluent UDF and Scheme Programming 6 June 6, 2012 04:43
Problem Importing Geometry ProE to CFX fatb0y CFX 3 January 14, 2012 20:42
natural convection problem for a CHT problem Se-Hee CFX 2 June 10, 2007 06:29
Adiabatic and Rotating wall (Convection problem) ParodDav CFX 5 April 29, 2007 19:13
Unit Conversion Problem lambuhere CFX 0 August 20, 2004 04:49


All times are GMT -4. The time now is 20:10.