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:
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.
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.
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,
|All times are GMT -4. The time now is 04:45.|