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

Home Forums OpenFOAM Forum error

  • Posted by Srinivas on January 16, 2023 at 7:48 am

    facing some problem

    error is shone below

    shri@UNLRNDSVR03:~$ run
    shri@UNLRNDSVR03:~/OpenFOAM/shri-v2212/run$ ls
    motorBike nacaAirfoil pitzDaily propeller
    shri@UNLRNDSVR03:~/OpenFOAM/shri-v2212/run$ cd nacaAirfoil/
    shri@UNLRNDSVR03:~/OpenFOAM/shri-v2212/run/nacaAirfoil$ blockmesh
    blockmesh: command not found
    shri@UNLRNDSVR03:~/OpenFOAM/shri-v2212/run/nacaAirfoil$ blockMesh
    /*—————————————————————————*\
    | ========= | |
    | \\ / F ield | OpenFOAM: The Open Source CFD Toolbox |
    | \\ / O peration | Version: 2212 |
    | \\ / A nd | Website: http://www.openfoam.com |
    | \\/ M anipulation | |
    \*—————————————————————————*/
    Build : _fd8c5e00-20221221 OPENFOAM=2212 version=2212
    Arch : “LSB;label=32;scalar=64”
    Exec : blockMesh
    Date : Jan 16 2023
    Time : 12:59:21
    Host : UNLRNDSVR03
    PID : 433
    I/O : uncollated
    Case : /home/shri/OpenFOAM/shri-v2212/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-2212)
    “/home/shri/OpenFOAM/shri-v2212/run/nacaAirfoil/system/blockMeshDict”

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

    FOAM exiting

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

    Member
    January 16, 2023 at 12:22 pm

    i have solved previous problem
    but now…

    > FOAM FATAL IO ERROR: (openfoam-2212)
    Cannot find patchField entry for inlet_1

    file: 0/p.boundaryField at line 27 to 48.

    From void Foam::GeometricBoundaryField<Type, PatchField, GeoMesh>::readField(const Foam::DimensionedField<TypeR, GeoMesh>&, const Foam::dictionary&) [with Type = double; PatchField = Foam::fvPatchField; GeoMesh = Foam::volMesh]
    in file /usr/src/packages/BUILD/src/OpenFOAM/lnInclude/GeometricBoundaryField.C at line 177.

    FOAM exiting

  • Srinivas

    Member
    January 16, 2023 at 12:23 pm

    my 0/P folder shown below:

    #include “include/initialConditions”

    dimensions [1 -1 -2 0 0 0 0];

    internalField uniform $pressure;

    boundaryField
    {
    inlet
    {
    type zeroGradient;
    }

    outlet
    {
    type waveTransmissive;
    field p;
    psi thermo:psi;
    gamma 1.4;
    fieldInf $pressure;
    lInf 1;
    value $internalField;
    }

    sym
    {
    type empty;
    }

    wall
    {
    type zeroGradient;
    }
    }

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

  • Barış Bicer

    Moderator
    January 16, 2023 at 9:43 pm

    Hi,

    it says that the boundary name in polyMesh/boundary name inlet_1 is not same in your field. Make all boundaries identical name then the error will be disappeared.

    For your info.

    Best

Log in to reply.

error: Content is protected !!