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

[blockMesh] No-win situation?

Register Blogs Community New Posts Updated Threads Search

 
 
LinkBack Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
Old   June 4, 2011, 17:42
Default No-win situation?
  #1
Senior Member
 
Daniel
Join Date: Jul 2009
Location: Montreal, Canada
Posts: 156
Rep Power: 16
dancfd is on a distinguished road
Hello all,

I am having trouble running the case /simpleFoam/airfoil2D when I replace the default mesh with mine, a NACA 0012 in a C-grid (blockMeshDict attached). The problem is that the results show pressure/velocity fluctuations in the far field, and no characteristic pressure field around the airfoil. I thought this might be due to the mesh, since blockMesh gives me the following warnings:


Code:
Creating block mesh topology
--> FOAM Warning : 
    From function cellModel::mag(const labelList&, const pointField&)
    in file meshes/meshShapes/cellModel/cellModel.C at line 128
    zero or negative pyramid volume: -0.000497689 for face 0
--> FOAM Warning : 
    From function cellModel::mag(const labelList&, const pointField&)
    in file meshes/meshShapes/cellModel/cellModel.C at line 128
    zero or negative pyramid volume: -1.26062e-08 for face 2
--> FOAM Warning : 
    From function cellModel::mag(const labelList&, const pointField&)
    in file meshes/meshShapes/cellModel/cellModel.C at line 128
    zero or negative pyramid volume: -1.26063e-08 for face 3
--> FOAM Warning : 
    From function cellModel::mag(const labelList&, const pointField&)
    in file meshes/meshShapes/cellModel/cellModel.C at line 128
    zero or negative pyramid volume: -1.26063e-08 for face 4
--> FOAM Warning : 
    From function cellModel::mag(const labelList&, const pointField&)
    in file meshes/meshShapes/cellModel/cellModel.C at line 128
    zero or negative pyramid volume: -1.26063e-08 for face 5
--> FOAM Warning : 
    From function blockMesh::createTopology(IOdictionary&)
    in file createTopology.C at line 397
    negative volume block : 0, probably defined inside-out
I tried to resolve the issue by changing the order of the vertex numbering in block 0 from hex (2 4 6 0 3 5 7 1) to hex (3 5 7 1 2 4 6 0), and that yielded only the following:

Code:
Creating block mesh topology
--> FOAM Warning : 
    From function cellModel::mag(const labelList&, const pointField&)
    in file meshes/meshShapes/cellModel/cellModel.C at line 128
    zero or negative pyramid volume: -0.000497664 for face 1
The problem is that now simpleFoam will not even run! (log attached) I am not surprised, because the interface between two of the blocks clearly looks inside out. CheckMesh was not kind either (see checkMeshAdjusted). However, checkMesh had no problem with the first mesh (log.checkMesh).

In a nutshell, the problem is this: blockMesh gives me several warnings when building my mesh that runs; blockMesh only gives one error (which I do not know how to fix) when building the mesh that will not run. CheckMesh gives a worse report to the mesh that blockMesh liked best, and simpleFoam will not run the mesh checkMesh does not like, but will run the other one with poor results.

Can anyone tell me what is wrong with this mesh? I would appreciate any advice.

Thank you,

Dan
Attached Files
File Type: zip thesis.zip (8.9 KB, 14 views)
dancfd is offline   Reply With Quote

 


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
Run AVL FIRE in win 10 Fluent learner AVL FIRE 0 May 10, 2016 16:10
Win 7 64 bit Installer ??? lotuseater OpenFOAM Installation 8 April 13, 2014 03:44
STAR CCM & WIN 8 pro hyderkhan74 STAR-CCM+ 3 March 5, 2014 04:56
GAMBIT and win xp Philip FLUENT 10 January 1, 2007 13:33
Exceed 7.0 on Win 2000 Yoshi CFX 8 October 11, 2001 06:09


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