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

foam Mesh to Fluent

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

Reply
 
LinkBack Thread Tools Display Modes
Old   October 19, 2009, 16:25
Default foam Mesh to Fluent
  #1
New Member
 
Join Date: Sep 2009
Posts: 17
Rep Power: 8
tachyon_me is on a distinguished road
I'm trying to get foam mesh converted to fluent with
foamMeshToFluent

I'm not sure how to get this correct ... my fluent mesh is missing all the cellZone information. So I dont have any additional fluid/porous zones in the mesh converted in fluent format ..

Any help appreciated .. thanks
tachyon_me is offline   Reply With Quote

Old   October 21, 2009, 02:59
Default
  #2
Member
 
toto
Join Date: Jun 2009
Posts: 71
Rep Power: 8
ronaldo is on a distinguished road
Hi tachyon_me,

let me know ! It is 2D or 3D?
ronaldo is offline   Reply With Quote

Old   October 21, 2009, 10:16
Default
  #3
New Member
 
Join Date: Sep 2009
Posts: 17
Rep Power: 8
tachyon_me is on a distinguished road
Thanks, it's 3d mesh. I was able to get them after splitting the mesh based on cellzones. Let me also know if there are quick and better way of doing ....
tachyon_me is offline   Reply With Quote

Old   October 22, 2009, 02:06
Default
  #4
Member
 
toto
Join Date: Jun 2009
Posts: 71
Rep Power: 8
ronaldo is on a distinguished road
use fluent3DMeshToFoam and let me know ...
ronaldo is offline   Reply With Quote

Old   October 22, 2009, 07:02
Default
  #5
Senior Member
 
Gijsbert Wierink
Join Date: Mar 2009
Posts: 383
Rep Power: 9
gwierink is on a distinguished road
Code:
fluentMeshToFoam myMesh.msh -writeSets -writeZones -scale 0.001
also works most of the time for me (for a mesh called myMesh.msh in mm).

Cheers, Gijs
gwierink is offline   Reply With Quote

Old   October 22, 2009, 10:26
Default
  #6
New Member
 
Join Date: Sep 2009
Posts: 17
Rep Power: 8
tachyon_me is on a distinguished road
Thanks , Thats helpful...

But In my case I would like to convert SnappyHexMesh "FOAM Mesh" to fluent format while keeping all cellZone as separate fluid zones in fluent...


I guess for this matter I cant do

foamMeshToFluent -time 4 -writeSets -writeZones


But otherwise if you would like to convert fluent mesh to foam the command suggested by Wierink works without a problem ...
tachyon_me is offline   Reply With Quote

Old   September 9, 2011, 06:39
Default hello every one
  #7
Member
 
Jignesh
Join Date: Aug 2011
Location: India
Posts: 68
Rep Power: 6
jignesh_thaker2007 is on a distinguished road
Send a message via Yahoo to jignesh_thaker2007
hi
how i run my openfoam case in to fluent. because when i apply foamDataToFluent then it only convert .dat file but how i generate case file?

plz tel me
jignesh_thaker2007 is offline   Reply With Quote

Old   January 27, 2012, 07:43
Default
  #8
Member
 
Tibor Nyers
Join Date: Jul 2010
Location: Hungary
Posts: 91
Rep Power: 8
Toorop is on a distinguished road
Hi,

as I see, the problem of exporting the correct region names from a foamMesh to fluentMesh is still present in foamMeshToFluent command. The whole domain is exported, all the regions, but without any distinctive label, merged under the same placeholder / default region name.

How can one overcome this limitation?

How does the splitting method works that is mentioned earlier? I came up with this one:
Code:
splitMeshRegions -cellZonesOnly -makeCellZones -overwrite
I can make cellSets based on the regions, but it wont help foamMeshToFluent and I cannot see any special flag for the command.
Toorop is offline   Reply With Quote

Old   October 20, 2014, 22:39
Default
  #9
Member
 
Kan
Join Date: Feb 2014
Location: Australia
Posts: 51
Rep Power: 3
nwpukaka is on a distinguished road
Quote:
Originally Posted by Toorop View Post
Hi,

as I see, the problem of exporting the correct region names from a foamMesh to fluentMesh is still present in foamMeshToFluent command. The whole domain is exported, all the regions, but without any distinctive label, merged under the same placeholder / default region name.

How can one overcome this limitation?

How does the splitting method works that is mentioned earlier? I came up with this one:
Code:
splitMeshRegions -cellZonesOnly -makeCellZones -overwrite
I can make cellSets based on the regions, but it wont help foamMeshToFluent and I cannot see any special flag for the command.
Hi Tibor:

Are you now able to solve this limitation for foamMeshtoFluent?
nwpukaka is offline   Reply With Quote

Old   September 16, 2015, 14:02
Default
  #10
Member
 
R. P.
Join Date: Jul 2010
Posts: 68
Rep Power: 7
Rophys is on a distinguished road
Hi all,

I manage to export a mesh from fluent to OpenFoam; however, when I check the mesh (command checkMesh), I have 5 failures (see below). In addition, when I initialized the case I received a warming (see below). Anybody knows how to solve this problem?

Thanks.

CheckMesh

Code:
Create time

Create polyMesh for time = 0

Time = 0

Mesh stats
    points:           1463379
    faces:            4298112
    internal faces:   4207320
    cells:            1417572
    faces per cell:   6
    boundary patches: 5
    point zones:      0
    face zones:       1
    cell zones:       1

Overall number of cells of each type:
    hexahedra:     1417572
    prisms:        0
    wedges:        0
    pyramids:      0
    tet wedges:    0
    tetrahedra:    0
    polyhedra:     0

Checking topology...
 ****Problem with boundary patch 0 named Inlet of type patch. The patch should start on face no 4207320 and the patch specifies 4229394.
Possibly consecutive patches have this same problem. Suppressing future warnings.
 ***Boundary definition is in error.
    Cell to face addressing OK.
    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                  
    Inlet               9945     10132    ok (non-closed singly connected)  
    Sym                 39780    40512    ok (non-closed singly connected)  
    Outlet              7527     7683     ok (non-closed singly connected)  
    Inlet2              11466    11692    ok (non-closed singly connected)  
    Wall                22074    22397    ok (non-closed singly connected)  

Checking geometry...
    Overall domain bounding box (-0.3000000142 -3.024070027e-14 -3.241690292e-09) (0.6500000309 0.800000038 0.800000038)
    Mesh (non-empty, non-wedge) directions (1 1 1)
    Mesh (non-empty) directions (1 1 1)
 ***Boundary openness (1.281722558e-05 0.01952710315 0.01952386798) possible hole in boundary description.
 ***Open cells found, max cell openness: 0.9711407906, number of open cells 4602
  <<Writing 4602 non closed cells to set nonClosedCells
  <<Writing 89739 cells with high aspect ratio to set highAspectRatioCells
    Minimum face area = 3.116805768e-07. Maximum face area = 0.0001277530998.  Face area magnitudes OK.
 ***Zero or negative cell volume detected.  Minimum negative volume: -2.707374999e-08, Number of negative volume cells: 89739
  <<Writing 89739 zero volume cells to set zeroVolumeCells
    Mesh non-orthogonality Max: 179.8440355 average: 35.79636703
 ***Number of non-orthogonality errors: 265395.
  <<Writing 265395 non-orthogonal faces to set nonOrthoFaces
 ***Error in face pyramids: 538434 faces are incorrectly oriented.
  <<Writing 273039 faces with incorrect orientation to set wrongOrientedFaces
    Max skewness = 1.793962489 OK.
    Coupled point location match (average 0) OK.

Failed 5 mesh checks.

End
Create time

Create polyMesh for time = 0

Time = 0

Mesh stats
    points:           1463379
    faces:            4298112
    internal faces:   4207320
    cells:            1417572
    faces per cell:   6
    boundary patches: 5
    point zones:      0
    face zones:       1
    cell zones:       1

Overall number of cells of each type:
    hexahedra:     1417572
    prisms:        0
    wedges:        0
    pyramids:      0
    tet wedges:    0
    tetrahedra:    0
    polyhedra:     0

Checking topology...
 ****Problem with boundary patch 0 named Inlet of type patch. The patch should start on face no 4207320 and the patch specifies 4229394.
Possibly consecutive patches have this same problem. Suppressing future warnings.
 ***Boundary definition is in error.
    Cell to face addressing OK.
    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                  
    Inlet               9945     10132    ok (non-closed singly connected)  
    Sym                 39780    40512    ok (non-closed singly connected)  
    Outlet              7527     7683     ok (non-closed singly connected)  
    Inlet2              11466    11692    ok (non-closed singly connected)  
    Wall                22074    22397    ok (non-closed singly connected)  

Checking geometry...
    Overall domain bounding box (-0.3000000142 -3.024070027e-14 -3.241690292e-09) (0.6500000309 0.800000038 0.800000038)
    Mesh (non-empty, non-wedge) directions (1 1 1)
    Mesh (non-empty) directions (1 1 1)
 ***Boundary openness (1.281722558e-05 0.01952710315 0.01952386798) possible hole in boundary description.
 ***Open cells found, max cell openness: 0.9711407906, number of open cells 4602
  <<Writing 4602 non closed cells to set nonClosedCells
  <<Writing 89739 cells with high aspect ratio to set highAspectRatioCells
    Minimum face area = 3.116805768e-07. Maximum face area = 0.0001277530998.  Face area magnitudes OK.
 ***Zero or negative cell volume detected.  Minimum negative volume: -2.707374999e-08, Number of negative volume cells: 89739
  <<Writing 89739 zero volume cells to set zeroVolumeCells
    Mesh non-orthogonality Max: 179.8440355 average: 35.79636703
 ***Number of non-orthogonality errors: 265395.
  <<Writing 265395 non-orthogonal faces to set nonOrthoFaces
 ***Error in face pyramids: 538434 faces are incorrectly oriented.
  <<Writing 273039 faces with incorrect orientation to set wrongOrientedFaces
    Max skewness = 1.793962489 OK.
    Coupled point location match (average 0) OK.

Failed 5 mesh checks.

End
Warning during the initialization

Code:
--> FOAM Warning : 
    From function List<tetIndices> polyMeshTetDecomposition::faceTetIndices(const polyMesh&, label, label)
    in file meshes/polyMesh/polyMeshTetDecomposition/polyMeshTetDecomposition.C at line 570
    No base point for face 544557, 4(4 192002 192003 6), produces a valid tet decomposition.
Rophys 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
[ICEM] Unstructure Meshing Around Imported Plot3D Structured Mesh ICEM kawamatt2 ANSYS Meshing & Geometry 17 December 20, 2011 12:45
Importing TrueGrid mesh in Fluent dipankar FLUENT 0 October 16, 2009 18:22
Problem with rhoSimpleFoam matteo_gautero OpenFOAM Running, Solving & CFD 0 February 28, 2008 07:51
fluent add additional zones for the mesh file SSL FLUENT 2 January 26, 2008 12:55
Axisymmetrical mesh Rasmus Gjesing (Gjesing) OpenFOAM Native Meshers: blockMesh 10 April 2, 2007 14:00


All times are GMT -4. The time now is 06:43.