CFD Online Discussion Forums

CFD Online Discussion Forums (https://www.cfd-online.com/Forums/)
-   OpenFOAM Meshing & Mesh Conversion (https://www.cfd-online.com/Forums/openfoam-meshing/)
-   -   [blockMesh] circular plate mesh with cyclic (https://www.cfd-online.com/Forums/openfoam-meshing/162226-circular-plate-mesh-cyclic.html)

blackbow November 6, 2015 05:05

circular plate mesh with cyclic
 
Hi!

I'm trying to create a Mesh for a circular plate. The goal is to simulate the distribution of a fluid which enters the plate from a hole in the middle.
I have some problems with the cyclic boundary condition! The Mesh itself doesn't look so wrong. It should be 90 degree of a full circle.
http://i63.tinypic.com/2yla2hu.png

But if i do a checkMesh, i get the following 2 errors:
Code:

Mesh non-orthogonality Max: 179.858 average: 14.9863
 ***Number of non-orthogonality errors: 4000.
**Error in coupled point location: 2000 faces have their 0th or consecutive vertex not opposite their coupled equivalent. Average mismatch 0.
  <<Writing 2000 faces with incorrectly matched 0th (or consecutive) vertex to set coupledFaces

Failed 2 mesh checks.

Here's the content of my blockMesh File:
Code:

vertices
(
    (0 -0.1 0)  //0   
    (0.5 -0.6 0)  //1   
    (0  0.1 0)  //2
    (0.5  0.6 0)  //3
   
    (0 -0.1 0.01)  //4
    (0.5 -0.6 0.01)  //5
    (0  0.1 0.01)  //6
    (0.5  0.6 0.01)  //7
);

blocks
(
    hex (0 1 3 2 4 5 7 6)  (100 20 20) simpleGrading (1 2 1)
);

edges
(
arc 0 2 (0.041421 0 0)   
arc 4 6 (0.041421 0 0.01)

arc 1 3 (0.748528 0 0)   
arc 5 7 (0.748528 0 0.01)
);

boundary
(
  top
  {
    type wall;
    faces
    (
        (4 5 7 6)
    );
    }

    bottom
    {
    type wall;
    faces
    (
        (0 1 3 2)
    );
    }

  inlet
    {
        type patch;
        faces
        (
            (0 4 6 2)
        );
    }
  outlet
    {
        type patch;
        faces
        (
            (1 5 7 3)
        );
    }

    patch0_half0
    {
        type cyclic;
        neighbourPatch patch0_half1;
        rotationAxis (0 0 1);
        rotationCentre (-0.1 0 0);
        faces
        (
            (2 3 7 6)   
          );
    }
   
    patch0_half1
    {
        type cyclic;
        neighbourPatch patch0_half0;
        rotationAxis (0 0 1);
        rotationCentre (-0.1 0 0);
        faces
        (
         
        (0 1 5 4) 
        );
    }
);
mergePatchPairs
(
);

Did i understand it right, that the "rotationAxis" value is the direction of the axis, and the "rotationCentre" value the position of it?
I already tried to change the axe positions, but i get the same error. Probably it's a easy fault, like a syntax problem, but i can't find it. Can anybody help me?

Thank you!
Dani


All times are GMT -4. The time now is 12:15.