|
[Sponsors] |
October 10, 2014, 11:24 |
gmshTofoam pbm with cyclicAMI
|
#1 |
New Member
Adrien Cahuzac
Join Date: Oct 2014
Posts: 6
Rep Power: 12 |
Hello,
I am trying to simulate a Savonius turbine in 2D with OpenFoam. I need it to rotate and thought about using the "cyclicAMI" BC. I created my mesh using Gmsh. The geo file is enclosed : "profile2D.geo". The mesh generates correctly. My problem arises when i try to gmshTofoam it. Code:
Starting to read mesh format at line 2 Read format version 2.2 ascii 0 Starting to read physical names at line 5 Physical names:8 Surface 1 Sides Surface 2 Inlet Surface 3 Outlet Surface 4 Walls Surface 5 InterInt Surface 6 InterExt Volume 7 InterInt Volume 8 InterExt Starting to read points at line 16 Vertices to be read:252182 Vertices read:252182 Starting to read cells at line 252201 Cells to be read:745608 Mapping region 1 to Foam patch 0 Mapping region 5 to Foam patch 1 Mapping region 4 to Foam patch 2 Mapping region 3 to Foam patch 3 Mapping region 2 to Foam patch 4 Mapping region 6 to Foam patch 5 Mapping region 7 to Foam cellZone 0 Mapping region 8 to Foam cellZone 1 Cells: total:248000 hex :0 prism:248000 pyr :0 tet :0 CellZones: Zone Size 0 99334 1 148666 Skipping tag at line 997812 Patch 0 gets name Sides Patch 1 gets name InterInt Patch 2 gets name Walls Patch 3 gets name Outlet Patch 4 gets name Inlet Patch 5 gets name InterExt --> FOAM Warning : From function polyMesh::polyMesh(... construct from shapes...) in file meshes/polyMesh/polyMeshFromShapeMesh.C at line 627 Found 499498 undefined faces in mesh; adding to default patch. Finding faces of patch 0 Finding faces of patch 1 --> FOAM Warning : From function gmshToFoam in file gmshToFoam.C at line 972 Could not match gmsh face 4(16 1830 3268 33) to any of the interior or exterior faces that share the same 0th point Code:
--> FOAM Warning : From function gmshToFoam in file gmshToFoam.C at line 972 Could not match gmsh face 4(16 1830 3268 33) to any of the interior or exterior faces that share the same 0th point I first tried to put Code:
Geometry.AutoCoherence = 0; Then I tried to define the two surfaces in contact with a different number of point through "transfinite". I found a post about an error to gmshTofoam (http://www.cfd-online.com/Forums/ope...eset-gmsh.html) but the solution give there did not work either. Pbms similar to mine : http://www.cfd-online.com/Forums/ope...mshtofoam.html http://www.cfd-online.com/Forums/ope...mshtofoam.html thanks for the help ! |
|
October 10, 2014, 12:25 |
|
#2 |
New Member
Adrien Cahuzac
Join Date: Oct 2014
Posts: 6
Rep Power: 12 |
Ho, I forgot to mention the "epsilon" parameter used to separate the two cylinders. Using it or not yields the same problem.
|
|
October 20, 2014, 04:53 |
|
#3 |
New Member
Adrien Cahuzac
Join Date: Oct 2014
Posts: 6
Rep Power: 12 |
Solved :
I had to make two distinct mesh, and then merge them with "mergeMeshes". |
|
Tags |
ami, ami patches, gmsh, gmsh2tofoam |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Using createPatch and cyclicAMI in FOAM Extend to create periodicbox | manuc | OpenFOAM Running, Solving & CFD | 1 | April 12, 2022 12:36 |
cyclicAMI - kOmegaSST - divergence issue | cyln | OpenFOAM Running, Solving & CFD | 1 | October 5, 2018 11:06 |
time step continuity problem in VAWT simulation | lpz_michele | OpenFOAM Running, Solving & CFD | 5 | February 22, 2018 20:50 |
cyclic / cyclicAMI boundary conditon - ICEM Mesh | cyln | OpenFOAM Running, Solving & CFD | 0 | November 7, 2017 16:26 |
Boundary Layer strange result | fernexda | OpenFOAM Running, Solving & CFD | 14 | January 15, 2015 08:21 |