Find answers, ask questions, and connect with our <br>community around the world.

Home Forums OpenFOAM Forum block mesh assignment

  • block mesh assignment

    Posted by Deleted User on March 31, 2023 at 11:23 pm

    `Hello, I am trying to create block mesh to the assigned geometry 1 but I failed. I am sharing  my blockMeshDict file here, if anyone can help us I appreciate, thanks.

    scale 1;

    vertices
    (
    (0 0 0)
    (0 0 1)
    (1 0 1)
    (1 0 0)
    (1 3 0)
    (1 3 1)
    (0 3 1)
    (0 3 0)
    (1 1.9 0)
    (1 1.9 1)
    (2.5 1.9 1)
    (2.5 3 1)
    (2.5 3 0)
    (2.5 1.9 0)
    );

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

    blocks
    (
    hex (5 4 8 9 10 11 12 13) (20 20 1) simpleGrading (1 1 1)
    );

    edges
    (
    );

    boundary
    (
    movingWall
    {
    type wall;
    faces
    (
    (6 7 12 11)
    );
    }
    fixedWalls
    {
    type wall;
    faces
    (
    (0 1 6 7)
    (0 1 2 3)
    (9 8 3 2)
    (10 13 8 9)
    (10 11 12 13)
    );
    }
    frontAndBack
    {
    type empty;
    faces
    (
    (0 3 8 13 12 4 7)
    (1 2 9 10 11 5 6)
    );
    }
    );

    // ************************************************************************* //

    Barış Bicer replied 1 year, 2 months ago 2 Members · 4 Replies
  • 4 Replies
  • Barış Bicer

    Moderator
    April 1, 2023 at 10:41 am

    Hi,

    Can you paste here your error please!

  • Barış Bicer

    Moderator
    April 1, 2023 at 10:42 am

    And also please draw the geometry with your hand on a paper and show the numbers of vertices!

  • Deleted User

    Deleted User
    April 1, 2023 at 1:22 pm

    I did it now like you said sir and achieved on second problem. As you said in lecture this type blocking mesh is seeming very challenging and time consuming.

    Thanks, best regards.

     

  • Barış Bicer

    Moderator
    April 3, 2023 at 9:24 pm

    great!

Log in to reply.

error: Content is protected !!