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

Home Forums OpenFOAM Forum SnappyHexMesh Assisgnment

  • SnappyHexMesh Assisgnment

    Posted by Sidharth on December 4, 2023 at 12:01 pm

    Dear sir,

    I have created the box and imported the cylinder stl file. The box dimensions diagonal are (-1 -1 -4) (1 1 10) but still, I am getting the following error after typing the command “snappyHexMesh |tee log.snappy”

    \\

    Added patches in = 0 s

    Edge intersection testing:

    Number of edges : 22500

    Number of edges to retest : 0

    Number of intersected edges : 248

    Decomposition method none [1]

    Refinement phase

    —————-

    –> FOAM FATAL ERROR: (openfoam-2306)

    Point (3.0001 3.0001 0.43) is not inside the mesh or on a face or edge.

    Bounding box of the mesh:(-1 -1 -4) (1 1 10)

    From static Foam::labelList Foam::refinementParameters::findCells(bool, const Foam::polyMesh&, const pointField&)

    in file snappyHexMeshDriver/refinementParameters/refinementParameters.C at line 249.

    FOAM exiting

    \\

    Could you please help me with this error? I have attached the image of the box and cylinder inside it.

    Thank you

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

    Moderator
    December 4, 2023 at 9:50 pm

    Hi,

    Could you please check again your point which is out of the box… coordinates (x, y, z) your points x and y are 3m. Look at your box? 1m!!

    Be careful!

    • Sidharth

      Member
      December 5, 2023 at 7:23 am

      Dear sir,

      Thank you. I have rectified that error. But after running the command “snappyHeMesh | tee log.snappy”, the mesh is not getting generated.

      //

      Smoothing patch points …

      Smoothing iteration 0

      Found 2 non-manifold point(s).

      Scaling iteration 0

      Moving mesh using displacement scaling : min:1 max:1

      Correcting 2-D mesh motion–> FOAM Warning :

      From void Foam::twoDPointCorrector::calcAddressing() const

      in file twoDPointCorrector/twoDPointCorrector.C at line 154

      the number of vertices in the geometry is odd – this should not be the case for a 2-D case. Please check the geometry.

      –> FOAM Warning :

      From void Foam::twoDPointCorrector::calcAddressing() const

      in file twoDPointCorrector/twoDPointCorrector.C at line 163

      The number of points in the mesh is not equal to twice the number of edges normal to the plane – this may be OK only for wedge geometries.

      Please check the geometry or adjust the orthogonality tolerance.

      Number of normal edges: 2447911 number of points: 2553589

      //

      The terminal is still typing. Sir will it be possible to schedule one Zoom meeting to clear this? I have been struggling with this assignment for quite some time and I need to complete the course before 15 Jan.

      I am fine with scheduling this meeting with any junior engineer also.

      Thank you

      • Sidharth

        Member
        December 5, 2023 at 8:34 am

        No need for a meeting. I have resolved the error. Thank you

  • Barış Bicer

    Moderator
    December 5, 2023 at 4:44 pm

    Please be careful when you use openfoam and typing of the command… You mistyped the command of snappyHexMesh

Log in to reply.

error: Content is protected !!