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

Home Forums OpenFOAM Forum blockMesh

  • blockMesh

    Posted by Srinivas K on March 30, 2023 at 6:56 am

    I have run the blockMesh, when I open in paraview it shows following error.

    following is my blockMesh Dict

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

    scale 1;

    vertices
    (
    (-3 -5 -3)
    (10 -5 -3)
    (10 5 -3)
    (-3 5 -3)
    (-3 -5 3)
    (10 -5 3)
    (10 5 3)
    (-3 5 3)
    );

    blocks
    (
    hex (0 1 2 3 4 5 6 7) (70 54 33 ) simpleGrading (1 1 1)
    );

    edges
    (
    );

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

    );

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

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

    Member
    March 30, 2023 at 6:57 am

  • Barış Bicer

    Moderator
    March 30, 2023 at 9:14 pm

    do you try to solve multiphase flow?

    If so then recopy zero folder and then use blockMesh and open in paraview

Log in to reply.

error: Content is protected !!