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

Home Forums OpenFOAM Forum edges error

Tagged: ,

  • edges error

    Posted by Ali Hilo on September 7, 2022 at 8:29 am

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

    Create time

    Deleting polyMesh directory

    “/home/ali/OpenFOAM/ali-10/run/cavity/constant/polyMesh”

    Reading “blockMeshDict”

    Creating block mesh from

    “system/blockMeshDict”

    Creating block edges

    –> FOAM FATAL ERROR:

    Arc point (0.5 0.2 0.1) lies on the line of edge (32 33)

    From function void Foam::blockEdges::arcEdge::calc(const point&)

    in file blockEdges/arcEdge/arcEdge.C at line 51.

    FOAM aborting

    #0 Foam::error::printStack(Foam::Ostream&) at ??:?

    #1 Foam::error::abort() at ??:?

    #2 Foam::blockEdges::arcEdge::calc(Foam::Vector<double> const&) at ??:?

    #3 Foam::blockEdges::arcEdge::arcEdge(Foam::dictionary const&, int, Foam::searchableSurfaces const&, Foam::Field<Foam::Vector<double> > const&, Foam::Istream&) at ??:?

    #4 Foam::blockEdge::addIstreamConstructorToTable<Foam::blockEdges::arcEdge>::New(Foam::dictionary const&, int, Foam::searchableSurfaces const&, Foam::Field<Foam::Vector<double> > const&, Foam::Istream&) at ??:?

    #5 Foam::blockEdge::New(Foam::dictionary const&, int, Foam::searchableSurfaces const&, Foam::Field<Foam::Vector<double> > const&, Foam::Istream&) at ??:?

    #6 void Foam::PtrList<Foam::blockEdge>::read<Foam::blockEdge::iNew>(Foam::Istream&, Foam::blockEdge::iNew const&) at ??:?

    #7 Foam::blockMesh::createTopology(Foam::IOdictionary const&, Foam::word const&) at ??:?

    #8 Foam::blockMesh::blockMesh(Foam::IOdictionary const&, Foam::word const&) at ??:?

    #9 ? in “/opt/openfoam10/platforms/linux64GccDPInt32Opt/bin/blockMesh”

    #10 ? in “/lib/x86_64-linux-gnu/libc.so.6”

    #11 __libc_start_main in “/lib/x86_64-linux-gnu/libc.so.6”

    #12 ? in “/opt/openfoam10/platforms/linux64GccDPInt32Opt/bin/blockMesh”

    Aborted (core dumped)

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

    Moderator
    September 10, 2022 at 9:39 am

    Hi,

    I think that You have mistake on edge point definition. I think that you are doing different trail right?

    Could you paste here your geometry with edge points and their numbers. and show please which edge do you wanna create arc???

    Best.

    Baris

  • Ali Hilo

    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)
    );
    }
    );

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

  • Barış Bicer

    Moderator
    September 26, 2022 at 6:14 pm

    Hi Ali,

    Can you share directly this file with me.

    I will try and let you know what is wrong?

    thank you

  • Barış Bicer

    Moderator
    October 2, 2022 at 8:12 am

    Hi,

    I checked your blockMeshDict which was seny by you.

    However, it is different than what you pasted above.

    Could you tell me which one is the latest one?

    Because I dont get same errors.

    Could you please send me the last error with last blockMeshDict file where I can check properly.

    For your information.

    Best.

    Baris

    Here what you sent to me :

    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)
        (14 0 0)
        (14 4 0)
        (14 0 0.1)
        (14 4 0.1)
        (24 0 0)
        (24 4 0)
        (24 0 0.1)
        (24 4 0.1)
    );

Log in to reply.

error: Content is protected !!