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

[Commercial meshers] FluentMeshToFoam hangs with no error

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   November 26, 2006, 16:22
Default FluentMeshToFoam hangs with no error
  #1
egp
Senior Member
 
egp's Avatar
 
Eric Paterson
Join Date: Mar 2009
Location: Blacksburg, VA
Posts: 197
Blog Entries: 1
Rep Power: 18
egp is on a distinguished road
I generated a hex grid for a free-surface-piercing NACA 0024 using Gridgen from Pointwise, Inc. It is a simple c-type grid with clustering near the wall (for wall fxn) and near the waterplane. However, when I try to convert it, it simply hangs and does not report an error. Any suggestions on how to debug this?

Here is the output:


Exec : fluentMeshToFoam . SPNACA SPNACA/spnaca24_sublayer.cas
Date : Nov 26 2006
Time : 15:19:30
Host : ritchie.aset.psu.edu
PID : 4877
Root : /scratch/egp11
Case : SPNACA
Nprocs : 1
Create time

Reading header: "exported from Gridgen 15.09R3"
Dimension of grid: 3
Number of points: 345321
number of faces: 1005100
Number of cells: 330000
Reading points
Reading uniform cells
Reading zone data
Embedded blocks in comment or unknown
Found end of section in unknown
,Reading uniform faces



FINISHED LEXING


dimension of grid: 3
Creating shapes for 3-D cells
----------this is where it hangs---------------

thanks,

Eric Paterson
egp is offline   Reply With Quote

Old   November 26, 2006, 16:40
Default By the way, my Fluent case fil
  #2
egp
Senior Member
 
egp's Avatar
 
Eric Paterson
Join Date: Mar 2009
Location: Blacksburg, VA
Posts: 197
Blog Entries: 1
Rep Power: 18
egp is on a distinguished road
By the way, my Fluent case file was written as ASCII, and I deleted the DOS control characters using dos2unix (unfortunately, my desktop machine is a Dell).
egp is offline   Reply With Quote

Old   November 26, 2006, 17:08
Default This is a strange place for th
  #3
Senior Member
 
Hrvoje Jasak
Join Date: Mar 2009
Location: London, England
Posts: 1,907
Rep Power: 33
hjasak will become famous soon enough
This is a strange place for the converter to hang: you have successfully finished lexing. Can I have a look at this file if it's not confidential?

Hrv
__________________
Hrvoje Jasak
Providing commercial FOAM/OpenFOAM and CFD Consulting: http://wikki.co.uk
hjasak is offline   Reply With Quote

Old   November 26, 2006, 18:07
Default Hrv, You can download the f
  #4
egp
Senior Member
 
egp's Avatar
 
Eric Paterson
Join Date: Mar 2009
Location: Blacksburg, VA
Posts: 197
Blog Entries: 1
Rep Power: 18
egp is on a distinguished road
Hrv,

You can download the file from:

http://idisk.mac.com/egpaterson-Public

It is the only file there. Also, I mistyped my original email. This grid was designed for sublayer resolution.

Eric
egp is offline   Reply With Quote

Old   November 27, 2006, 05:55
Default I get a nice core dump over he
  #5
Senior Member
 
Hrvoje Jasak
Join Date: Mar 2009
Location: London, England
Posts: 1,907
Rep Power: 33
hjasak will become famous soon enough
I get a nice core dump over here:

--> FOAM FATAL ERROR : index 6 out of range 0 ... 5

It turns out that the cell number 182, defined as a hex, has got 7 (at least 7?) faces, which is wrong. The offending face index is 976015.

My guess is that you have defined a face of cell 182 to belong to two boundary patches at the same time. As usual, nothing wrong with my converter.

Hrv
__________________
Hrvoje Jasak
Providing commercial FOAM/OpenFOAM and CFD Consulting: http://wikki.co.uk
hjasak is offline   Reply With Quote

Old   November 27, 2006, 07:28
Default Thanks for the debug, Hrv. I'
  #6
egp
Senior Member
 
egp's Avatar
 
Eric Paterson
Join Date: Mar 2009
Location: Blacksburg, VA
Posts: 197
Blog Entries: 1
Rep Power: 18
egp is on a distinguished road
Thanks for the debug, Hrv. I'll double-check, but this would be impossible to explicitly do when using GridGen. Maybe there is a bug with the Gridgen -> Fluent converter, although I've not run into one before. I'll post back when I find the error.
egp is offline   Reply With Quote

Reply


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
Building OpenFOAM1.7.0 from source ata OpenFOAM Installation 46 March 6, 2022 14:21
OpenFOAM without MPI kokizzu OpenFOAM Installation 4 May 26, 2014 10:17
Errors in UDF shashank312 Fluent UDF and Scheme Programming 6 May 30, 2013 21:30
Problem with compile the setParabolicInlet ivanyao OpenFOAM Running, Solving & CFD 6 September 5, 2008 21:50
Compiling problems with hello worldC fw407 OpenFOAM Installation 21 January 6, 2008 18:38


All times are GMT -4. The time now is 02:50.