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

Home Forums OpenFOAM Forum edges error Reply To: edges error

  • Ali

    Member
    September 15, 2022 at 5:35 am

    /*——————————–*- C++ -*———————————-*\
    ========= |
    \\ / F ield | OpenFOAM: The Open Source CFD Toolbox
    \\ / O peration | Website: https://openfoam.org
    \\ / A nd | Version: 10
    \\/ M anipulation |
    \*—————————————————————————*/
    FoamFile
    {
    format ascii;
    class dictionary;
    object blockMeshDict;
    }
    // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //

    convertToMeters 0.1;

    vertices
    (
    (0 0 0)
    (10 0 0)
    (10 4 0)
    (0 4 0)
    (0 0 0.1)
    (10 0 0.1)
    (10 4 0.1)
    (0 4 0.1)
    (10 0 0)
    (14 0 0)
    (14 4 0)
    (10 4 0)
    (10 0 0.1)
    (14 0 0.1)
    (14 4 0.1)
    (10 4 0.1)
    (14 0 0)
    (24 0 0)
    (24 4 0)
    (14 4 0)
    (14 0 0.1)
    (24 0 0.1)
    (24 4 0.1)
    (14 4 0.1)
    );

    blocks
    (
    hex (0 1 2 3 4 5 6 7) (40 20 1) simpleGrading (1 1 1)
    hex (8 9 10 11 12 13 14 15) (40 20 1) simpleGrading (1 1 1)
    hex (16 17 18 19 20 21 22 23) (40 20 1) simpleGrading (1 1 1)
    );

    edges
    (
    arc 12 13 (0.5 0.1 0.1)
    arc 8 9 (0.5 0.1 0)

    );

    boundary
    (
    movingWall
    {
    type wall;
    faces
    (
    (3 7 6 2)
    );
    }
    fixedWalls
    {
    type wall;
    faces
    (
    (0 4 7 3)
    (2 6 5 1)
    (1 5 4 0)
    );
    }
    frontAndBack
    {
    type empty;
    faces
    (
    (0 3 2 1)
    (4 5 6 7)
    );
    }
    );

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

error: Content is protected !!