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

Home Forums OpenFOAM Forum Rotating Machines Simulation Snappy Hex mesh error

  • Rotating Machines Simulation Snappy Hex mesh error

    Posted by Adityan on June 2, 2022 at 1:04 pm

    Hi Everyone,
    Hope all of you are doing fine.
    Today i tried to do the Rotating Machines case.
    There, I found that I have issues with the snappyHexMesh
    here it goes.
    I can’t figure out what’s the problem
    ————————————————————————–
    WARNING: Linux kernel CMA support was requested via the
    btl_vader_single_copy_mechanism MCA variable, but CMA support is
    not available due to restrictive ptrace settings.

    The vader shared memory BTL will fall back on another single-copy
    mechanism if one is available. This may result in lower performance.

    Local host: DESKTOP-QJKQ6RU
    ————————————————————————–
    /*—————————————————————————*\
    | ========= | |
    | \\ / F ield | OpenFOAM: The Open Source CFD Toolbox |
    | \\ / O peration | Version: 2112 |
    | \\ / A nd | Website: http://www.openfoam.com |
    | \\/ M anipulation | |
    \*—————————————————————————*/
    Build : _d44c8318-20220111 OPENFOAM=2112 version=2112
    Arch : “LSB;label=32;scalar=64”
    Exec : snappyHexMesh -overwrite -parallel
    Date : Jun 02 2022
    Time : 18:24:37
    Host : DESKTOP-QJKQ6RU
    PID : 607
    I/O : uncollated
    Case : /home/adityan/OpenFOAM/adityan-v2112/run/propeller
    nProcs : 4
    Hosts :
    (
    (DESKTOP-QJKQ6RU 4)
    )
    Pstream initialized with:
    floatTransfer : 0
    nProcsSimpleSum : 0
    commsType : nonBlocking
    polling iterations : 0
    trapFpe: Floating point exception trapping enabled (FOAM_SIGFPE).
    fileModificationChecking : Monitoring run-time modified files using timeStampMaster (fileModificationSkew 5, maxFileModificationPolls 20)
    allowSystemOperations : Allowing user-supplied system call operations

    // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
    Create time

    Create mesh for time = 0

    Read mesh in = 0.01 s

    Overall mesh bounding box : (-0.3 -0.81 -0.3) (0.3 0.21 0.3)
    Relative tolerance : 1e-06
    Absolute matching distance : 1.3268e-06

    [0]
    [0]
    [0] –> FOAM FATAL ERROR: (openfoam-2112)[1]

    [0] Cannot find surface starting from “/home/adityan/OpenFOAM/adityan-v2112/run/propeller/processor0/constant/triSurface/propellerTip.obj.gz”
    [0]
    [0]
    [0] From static Foam::fileName Foam::fileFormats::surfaceFormatsCore::checkFile(const Foam::IOobject&, const Foam::dictionary&, bool)
    [0] in file surfaceFormats/surfaceFormatsCore.C at line 314.
    [0]
    FOAM parallel run exiting
    [0]
    [1]
    [1] –> FOAM FATAL ERROR: (openfoam-2112)
    [1] Cannot find surface starting from “/home/adityan/OpenFOAM/adityan-v2112/run/propeller/processor1/constant/triSurface/propellerTip.obj.gz”
    [1]
    [1]
    [1] From static Foam::fileName Foam::fileFormats::surfaceFormatsCore::checkFile(const Foam::IOobject&, const Foam::dictionary&, bool)
    [1] in file surfaceFormats/surfaceFormatsCore.C at line 314.
    [1]
    FOAM parallel run exiting
    [1]
    [2]
    [2]
    [2] –> FOAM FATAL ERROR: (openfoam-2112)
    [2] Cannot find surface starting from “/home/adityan/OpenFOAM/adityan-v2112/run/propeller/processor2/constant/triSurface/propellerTip.obj.gz”
    [2]
    [2]
    [2] From static Foam::fileName Foam::fileFormats::surfaceFormatsCore::checkFile(const Foam::IOobject&, const Foam::dictionary&, bool)
    [2] in file surfaceFormats/surfaceFormatsCore.C at line 314.
    [2]
    FOAM parallel run exiting
    [2]
    [3]
    [3]
    [3] –> FOAM FATAL ERROR: (openfoam-2112)
    [3] Cannot find surface starting from “/home/adityan/OpenFOAM/adityan-v2112/run/propeller/processor3/constant/triSurface/propellerTip.obj.gz”
    [3]
    [3]
    [3] From static Foam::fileName Foam::fileFormats::surfaceFormatsCore::checkFile(const Foam::IOobject&, const Foam::dictionary&, bool)
    [3] in file surfaceFormats/surfaceFormatsCore.C at line 314.
    [3]
    FOAM parallel run exiting
    [3]
    ————————————————————————–
    MPI_ABORT was invoked on rank 3 in communicator MPI_COMM_WORLD
    with errorcode 1.

    NOTE: invoking MPI_ABORT causes Open MPI to kill all MPI processes.
    You may or may not see output from other processes, depending on
    exactly when Open MPI kills them.
    ————————————————————————–
    [DESKTOP-QJKQ6RU:00602] 3 more processes have sent help message help-btl-vader.txt / cma-permission-denied
    [DESKTOP-QJKQ6RU:00602] Set MCA parameter “orte_base_help_aggregate” to 0 to see all help / error messages
    [DESKTOP-QJKQ6RU:00602] 3 more processes have sent help message help-mpi-api.txt / mpi-abort

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

    Moderator
    June 5, 2022 at 9:13 am

    Hi Adityan,

    Problem is related to your .obj file located in constant/triSurface. could you let me what files are there inside /triSurface folder.

    I think that before decompose you have to untar the obj.gz file then try decompose and parallel run of snappyHexMesh.

    For your info.

    Barış

  • Adityan

    Member
    June 12, 2022 at 1:10 pm

    Hi Baris,
    I sorted out the issue, I also copied the zip files again, and then tried to run snappyHexMesh, it worked.
    Thanks alot
    Regards

  • Barış Bicer

    Moderator
    June 13, 2022 at 8:40 pm

    Great Adityan.

    Good to know that you solved it.

    Best.

    Barış

Log in to reply.

error: Content is protected !!