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

Home Forums OpenFOAM Forum Lesson 19 – nacaAirfoil case postprocessing

  • Lesson 19 – nacaAirfoil case postprocessing

    Posted by Jebin Joshua on November 13, 2022 at 8:03 pm

    Sir,

    I am facing the below error when I execute blockMesh command in nacaAirfoil case.

    jebin-joshua@LAPTOP-TBAV265A:~/OpenFOAM/jebin-joshua-v2112/run/nacaAirfoil$ blockMesh
    /*—————————————————————————*\
    | ========= | |
    | \\ / F ield | OpenFOAM: The Open Source CFD Toolbox |
    | \\ / O peration | Version: 2112 |
    | \\ / A nd | Website: http://www.openfoam.com |
    | \\/ M anipulation | |
    \*—————————————————————————*/
    Build : _6e1fca0e-20220610 OPENFOAM=2112 patch=220610 version=2112
    Arch : “LSB;label=32;scalar=64”
    Exec : blockMesh
    Date : Nov 14 2022
    Time : 01:31:10
    Host : LAPTOP-TBAV265A
    PID : 2157
    I/O : uncollated
    Case : /home/jebin-joshua/OpenFOAM/jebin-joshua-v2112/run/nacaAirfoil
    nProcs : 1
    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

     

    –> FOAM FATAL ERROR: (openfoam-2112 patch=220610)
    “/home/jebin-joshua/OpenFOAM/jebin-joshua-v2112/run/nacaAirfoil/system/blockMeshDict”

    From int main(int, char**)
    in file findBlockMeshDict.H at line 78.

    FOAM exiting

    jebin-joshua@LAPTOP-TBAV265A:~/OpenFOAM/jebin-joshua-v2112/run/nacaAirfoil$

    Strangely, there is no blockMeshDict file in the parent directory as well from which we copy the case to the run directory.

    Is this an installation error? I did check a few websites, but there is no conclusive solution except a few suggestions to reinstall openfoam due to some dependency issue.

    Please assist me in this regard.

     

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

    Moderator
    November 14, 2022 at 4:19 pm

    Hi Joshue,

    This is really strange…

    could you please download nacaAirfoil case from here and try it again : tutorials/compressible/sonicFoam/RAS/nacaAirfoil · master · Development / openfoam · GitLab

    Let me know if it doesnt work.

    Best.

    Baris

     

     

  • Jebin Joshua

    Member
    November 14, 2022 at 7:15 pm

    Sir,

    I tried that also but doesn’t help. Same error is persisting. Even in that GitLab there is no blockMeshDict.

     

  • Barış Bicer

    Moderator
    November 14, 2022 at 9:16 pm

    Hi Joshua,

    Oh I just recognized. Of course no need using of blockMesh here since the mesh is created in starcmm+ and then converted to OpenFOAM.

    Ok first rule if you use a tutorial in OpenFOAM :

    ALWAYS FOLLOW THE ALLRUN SCRIPT! Then you will see the steps of simulations.

    # Convert mesh from resources directory
    runApplication star4ToFoam -scale 1 \
    “$FOAM_TUTORIALS”/resources/geometry/nacaAirfoil/nacaAirfoil

    For your info.

    Best regards.

    Baris

     

Log in to reply.

error: Content is protected !!