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

[Commercial meshers] Problems converting a Fluent case file

Register Blogs Community New Posts Updated Threads Search

Like Tree2Likes
  • 1 Post By Lieven
  • 1 Post By McFly

 
 
LinkBack Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
Old   May 19, 2013, 03:37
Default Problems converting a Fluent case file
  #1
New Member
 
Martin Goddard
Join Date: Mar 2013
Location: Melbourne, AU
Posts: 22
Rep Power: 13
McFly is on a distinguished road
Hello,

I have been trying to convert a Fluent .cas file (saved in ASCII) for use in OpenFOAM 2.1.1. The mesh has been adapted in Fluent and has hanging nodes, so there is no mesh file. I'm not sure if this is the problem.

The first error message when converting the case file is usually something like:
Code:
--> FOAM FATAL ERROR:
Do not understand characters: |
    on line 4337

    From function fluentMeshToFoam::lexer
    in file fluent3DMeshToFoam.L at line 748.

FOAM exiting
So the file was edited with a text editor (EditPadLite7, as the ASCII file is 1GB size) to remove the offending characters (the “|” symbol). This could be done as these were not part of the mesh data. The conversion process then gets a bit further until this error:
Code:
--> FOAM FATAL ERROR:
15 not found in table.  Valid entries:
13
(
1
2
3
4
5
6
7
8
9
10
11
12
14
)
Looking at the case file there are 14 zones specified. I can add at 15th, such as is done in this thread. This means finding the area in the .cas file:
Code:
(39 (14 interior default-interior 1)(
 (is-not-a-rans-les-interface . #t)
))
And adding another zone:
Code:
(39 (14 interior default-interior 1)(
 (is-not-a-rans-les-interface . #t)
))
(39 (15 interior bananas 1)(
 (is-not-a-rans-les-interface . #t)
))
With this modification fluent3DMeshToFoam runs, and completes without further errors. However, running checkMesh on this case fails with a bunch of errors that look like this:
Code:
Checking topology...
    Boundary definition OK.
--> FOAM Serious Error : 
    From function bool zone::checkDefinition(const label maxSize, const bool report) const
    in file meshes/polyMesh/zones/zone/zone.C at line 211
    Zone bananas contains invalid index label 1009794

... <SNIP> ...

--> FOAM FATAL ERROR:
Too many errors
If, instead of adding zones in the .cas file, one merely changes the last zone to 15:
Code:
(39 (15 interior default-interior 1)(
 (is-not-a-rans-les-interface . #t)
))
then errors such as this occur:
Code:
Zipping mesh to remove hanging nodes
--> FOAM Warning : 
    From function void polyMeshZipUpCells(polyMesh& mesh)
    in file polyMeshZipUpCells/polyMeshZipUpCells.C at line 697
    Duplicate point found in the new face. 
Point: 39132 face: 8(31989 31543 31542 34169 31542 51478 39132 51483)
Does anyone have any thoughts as to why this cannot be converted? Is it just the hanging node issue?
McFly is offline   Reply With Quote

 

Tags
case, convert, error, fluent


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
how to calculate mass flow rate on patches and summation of that during the run? immortality OpenFOAM Post-Processing 104 February 16, 2021 08:46
[OpenFOAM.org] Patches to compile OpenFOAM 2.2 on Mac OS X gschaider OpenFOAM Installation 136 October 10, 2017 17:25
[swak4Foam] groovyBC in openFOAM-2.0 for parabolic velocity bc ofslcm OpenFOAM Community Contributions 25 March 6, 2017 10:03
polynomial BC srv537 OpenFOAM Pre-Processing 4 December 3, 2016 09:07
SparceImage v1.7.x Issue on MAC OS X rcarmi OpenFOAM Installation 4 August 14, 2014 06:42


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