|
[Sponsors] |
June 4, 2011, 17:42 |
No-win situation?
|
#1 |
Senior Member
Daniel
Join Date: Jul 2009
Location: Montreal, Canada
Posts: 156
Rep Power: 16 |
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 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 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 |
|
June 5, 2011, 02:04 |
|
#2 |
Senior Member
Martin
Join Date: Oct 2009
Location: Aachen, Germany
Posts: 255
Rep Power: 21 |
Hi Dan,
I just tested you mesh and although I do get the same warnings the simulation runs fine. There could be a problem with the polyLine definition: for example in lines 540 and 541 there is the same point defined two times. May be there are other doubles, too... If you want to get rid of the warnings you can try to split the front block (block 0) into two blocks. In the attachment you can find the running case, tested with OpenFOAM-1.7.x. The only modification to the original airfoil2D case are reduced relaxation factors and a faster solver. Martin |
|
June 5, 2011, 16:43 |
|
#3 |
Senior Member
Daniel
Join Date: Jul 2009
Location: Montreal, Canada
Posts: 156
Rep Power: 16 |
Hi Martin,
Thank you for taking the time to look at the problem I am having. I ran the case, and it looks like one issue was that the simulation was not running long enough to reach steady-state. There were two instances where polyLines had two identical points (as you pointed out), but commenting them had no effect. I might try splitting block 0 into two, but I do not understand why this would address the warnings. Thanks for your help, Dan |
|
|
|
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 |