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

Home Forums OpenFOAM Forum codedFixedValue

  • codedFixedValue

    Posted by Osman Veysel Özdemir on January 10, 2023 at 8:33 am

    Hello,

    I am getting an error while I am trying to use codedFixedValue as a boundary type. I didn’t understand the problem. I copied some tutorials and tried, I will share one of them here.

    compressible/rhoPimpleFoam/squareBendLiq case p file:

    /*——————————–*- C++ -*———————————-*\
    | ========= | |
    | \\ / F ield | OpenFOAM: The Open Source CFD Toolbox |
    | \\ / O peration | Version: v2212 |
    | \\ / A nd | Website: http://www.openfoam.com |
    | \\/ M anipulation | |
    \*—————————————————————————*/
    FoamFile
    {
    version 2.0;
    format ascii;
    class volScalarField;
    object p;
    }
    // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //

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

    internalField uniform 1e5;

    boundaryField
    {
    inlet
    {
    type zeroGradient;
    }

    outlet
    {
    //type fixedValue;
    //value $internalField;

    type codedFixedValue;
    value $internalField;

    name blue;

    code
    #{
    const scalar t = this->db().time().value();
    const scalar s=100000;

    operator=((1+t)*s);
    #};

    codeInclude
    #{
    #include “fvCFD.H”
    #};

    codeOptions
    #{
    -I$(LIB_SRC)/finiteVolume/lnInclude
    #};
    }

    “(?i).*walls”
    {
    type zeroGradient;
    }
    }

    When I run rhoPimpleFoam, it gave an error:

    /*—————————————————————————*\
    | ========= | |
    | \\ / F ield | OpenFOAM: The Open Source CFD Toolbox |
    | \\ / O peration | Version: 2212 |
    | \\ / A nd | Website: http://www.openfoam.com |
    | \\/ M anipulation | |
    \*—————————————————————————*/
    Build : v2212 OPENFOAM=2212 version=v2212
    Arch : “LSB;label=32;scalar=64”
    Exec : rhoPimpleFoam
    Date : Jan 10 2023
    Time : 11:30:13
    Host : sand-Inspiron-14-5401
    PID : 8627
    I/O : uncollated
    Case : /home/sand/OpenFOAM/sand-v2212/run/angledDuct
    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

    Create mesh for time = 0

    PIMPLE: max iterations = 50
    field “(U|k|epsilon)” : relTol 0, tolerance 0.0001

    Reading thermophysical properties

    Selecting thermodynamics package
    {
    type hePsiThermo;
    mixture pureMixture;
    transport sutherland;
    thermo hConst;
    equationOfState perfectGas;
    specie specie;
    energy sensibleInternalEnergy;
    }

    Using dynamicCode for patch outlet on field p at line 56 in “/home/sand/OpenFOAM/sand-v2212/run/angledDuct/0/p.boundaryField.outlet”
    Could not load “/home/sand/OpenFOAM/sand-v2212/run/angledDuct/dynamicCode/platforms/linux64GccDPInt32Opt/lib/libblue_5ea3f45d921bbbbab0d523b76511a8ef02f55018.so”
    /home/sand/OpenFOAM/sand-v2212/run/angledDuct/dynamicCode/platforms/linux64GccDPInt32Opt/lib/libblue_5ea3f45d921bbbbab0d523b76511a8ef02f55018.so: cannot open shared object file: No such file or directory
    Creating new library in “dynamicCode/blue/platforms/linux64GccDPInt32Opt/lib/libblue_5ea3f45d921bbbbab0d523b76511a8ef02f55018.so”
    Invoking wmake libso /home/sand/OpenFOAM/sand-v2212/run/angledDuct/dynamicCode/blue
    wmake libso /home/sand/OpenFOAM/sand-v2212/run/angledDuct/dynamicCode/blue
    ln: ./lnInclude
    dep: fixedValueFvPatchFieldTemplate.C
    Ctoo: fixedValueFvPatchFieldTemplate.C
    /home/sand/OpenFOAM/sand-v2212/run/angledDuct/0/p.boundaryField.outlet: In member function ‘virtual void Foam::blueFixedValueFvPatchScalarField::updateCoeffs()’:
    /home/sand/OpenFOAM/sand-v2212/run/angledDuct/0/p.boundaryField.outlet:63:25: error: cannot convert ‘Foam::scalar’ {aka ‘double’} to ‘const Foam::blueFixedValueFvPatchScalarField&’
    In file included from fixedValueFvPatchFieldTemplate.C:29:
    fixedValueFvPatchFieldTemplate.H:52:7: note: initializing argument 1 of ‘Foam::blueFixedValueFvPatchScalarField& Foam::blueFixedValueFvPatchScalarField::operator=(const Foam::blueFixedValueFvPatchScalarField&)’
    52 | class blueFixedValueFvPatchScalarField
    | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    make: *** [/home/sand/OpenFOAM/OpenFOAM-v2212/wmake/rules/General/transform:38: Make/linux64GccDPInt32Opt/fixedValueFvPatchFieldTemplate.o] Error 1

    –> FOAM FATAL IO ERROR: (openfoam-2212)
    Failed wmake “dynamicCode/blue/platforms/linux64GccDPInt32Opt/lib/libblue_5ea3f45d921bbbbab0d523b76511a8ef02f55018.so”

    file: 0/p.boundaryField.outlet at line 56 to 72.

    From void Foam::codedBase::createLibrary(Foam::dynamicCode&, const Foam::dynamicCodeContext&) const
    in file db/dynamicLibrary/codedBase/codedBase.C at line 240.

    FOAM exiting

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

    Moderator
    January 10, 2023 at 10:08 pm

    Is this original openfoam boundary condition or you have implemented?

    Because error says that it is compiled correctly.

  • Osman Veysel Özdemir

    Member
    January 18, 2023 at 11:40 am

    This is original openfoam boundary condition but it is a dynamic condition. As I understand it is compiling again to use that kind of a condition. I also tried to use a coded postProcessing utility I got same error. I searched a lot about it, there is a problem with wmake, some bloggers says that reinstall make, it worked for codedFixedValue but I tried same thing for my coded functionObject utility it didn’t work.

    I tried it on a new installed OpenFOAM-v2212 and it didn’t give any error. So I really don’t know what is the problem. The other error message is:

    /*—————————————————————————*\
    | ========= | |
    | \\ / F ield | OpenFOAM: The Open Source CFD Toolbox |
    | \\ / O peration | Version: 2112 |
    | \\ / A nd | Website: http://www.openfoam.com |
    | \\/ M anipulation | |
    \*—————————————————————————*/
    Build : _14aeaf8dab-20211220 OPENFOAM=2112 version=v2112
    Arch : “LSB;label=32;scalar=64”
    Exec : rhoPimpleFoam -parallel
    Date : Jan 18 2023
    Time : 13:58:36
    Host : AI-Ubuntu
    PID : 13139
    I/O : uncollated
    Case : /home/ovozdemir/OpenFOAM/ovozdemir-v2112/run/hammershock_v3
    nProcs : 27
    Hosts :
    (
    (AI-Ubuntu 27)
    )
    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 = 9335.158765

    PIMPLE: no residual control data found. Calculations will employ 5 corrector loops

    Reading thermophysical properties

    Selecting thermodynamics package
    {
    type hePsiThermo;
    mixture pureMixture;
    transport sutherland;
    thermo hConst;
    equationOfState perfectGas;
    specie specie;
    energy sensibleInternalEnergy;
    }

    Using dynamicCode for patch outlet on field p at line 61511 in “/home/ovozdemir/OpenFOAM/ovozdemir-v2112/run/hammershock_v3/processor0/9335.158765/p.boundaryField.outlet”
    Reading field U

    Reading/calculating face flux field phi

    pressureControl
    pMax 2.10416e+06
    pMin 880.656

    Creating turbulence model

    Selecting turbulence model type RAS
    Selecting RAS turbulence model kOmegaSST
    Selecting patchDistMethod meshWave
    RAS
    {
    RASModel kOmegaSST;
    turbulence on;
    printCoeffs on;
    alphaK1 0.85;
    alphaK2 1;
    alphaOmega1 0.5;
    alphaOmega2 0.856;
    gamma1 0.555556;
    gamma2 0.44;
    beta1 0.075;
    beta2 0.0828;
    betaStar 0.09;
    a1 0.31;
    b1 1;
    c1 10;
    F3 false;
    decayControl false;
    kInf 0;
    omegaInf 0;
    }

    Creating field dpdt

    Creating field kinetic energy K

    No MRF models present

    No finite volume options present
    Courant Number mean: 0.00715818 max: 0.728324

    Starting time loop

    Could not load “/home/ovozdemir/OpenFOAM/ovozdemir-v2112/run/hammershocCould not load “/home/ovozdemir/OpenFOAM/ovozdemir-v2112/run/hammershock_v3/dynamicCode/platforms/linCould not load “/home/ovozdeCould not load “/home/ovozdemir/OpenFOAM/ovozdemir-v2112/run/hammershock_v3/dynamicCode/platforms/linux64GCould not load “/home/ovozdemir/OpenFOAM/ovozdemir-v2112/run/hammershock_v3/dynamicCode/platforms/linux64GccDPk_v3/dynamicCode/platforms/linux64GccDPInt32Opt/lib/libcodedCircle3_cabc211e51c1de2bc49a268aa4b52f3Could not load “/home/ovozdemir/OpenFOAM/ovozdemirux64GccDPInt32Opt/lib/libcodedCircle3_cabc211e51c1de2bc49a268aa4b52f356d460dfb.so”
    /home/ovozdemir/OpenFOAM/ovozdemir-v2112/run/hammershock_v3/dynamicCode/platforms/linux64GccDPInt32Opt/lib/libcodedCircle3_cabc211e51c1de2bc49a268aa4b52f356d460dfb.so: cannot open shared object file: No such file or directory
    -v2112/run/hammershock_v3/dynamicCode/platforms/linux64GccDPInt32Opt/lib/libcodedCircle3mir/OpenFOAM/ovozdemir-v2112/run/hammershock_v3/dynamicCode/platforms/linux64GccDPInt32Opt/lib/libcodedCircle3_Could not load “/home/ovozdemir/OpenFOAM/ovozdemir-v2112/run/hammccDPInt32Opt/lib/libcodedCircle3_cabc211e51c1de2bc49a268aa4b52f356d460dfb.so”
    /home/ovozdemir/OpenFOAM/ovozdemir-v2112/run/hammershock_v3/dynamicCode/platforms/linux64GccDPInt32Opt/lib/libcodedCircle3_cabc211e51c1de2bc49a268aa4b52f356d460dfb.so: cannot open shared object file: No such file or directory
    Int32Opt/lib/libcodedCircle3_cabc211e51c1de2bc49a268aa4b52f356d460dfb.so”
    /home/ovozdemir/OpenFOAM/ovozdemir-v2112/run/hammershock_v3/dynamicCode/platforms/linux64GccDPInt32Opt/lib/libcodedCircle3_cabc211e51c1de2bc49a268aa4b52f356d460dfb.so: cannot open shared object file: No such file or directory
    Could not load “/home/ovozdemir/OpenFOAM/ovozdemir-v2112/run/hammershock_v3/d56d460dfb.so”
    /home/ovozdemir/OpenFOAM/ovozdemir-v2112/run/hammershock_v3/dynamicCode/platforms/linux64GccDPInt32Opt/lib/libcodedCircle3_cabc211e51c1de2bc49a268aa4b52f356d460dfb.so: cannot open shared object file: No such file or directory
    Could not load “/home/ovozdemir/OpenFOAM/ovozdemir-v2112/run/hammershock_vCould not load “/home/ovozdemir/OpenFOAM/ovozdemir-v2112/run/hammershock_v3/dynamicCode/platforms/linux64GccDPInt32Opt/lib/libcodedCircle3_cabc211e51c1de2bCould not load “/home/ovozdemir/OpenFOAM/ovozdemir-v2112/run/hammershock_v3/dynamicCode/platforms/linux64GccDPInt32Opt/lib/libcodedCircle3_cabc211e51c1de2bc49a268aa4b52f356d460dfb.so”
    /home/ovozdemir/OpenFOAM/ovozdemir-v2112/run/hammershock_v3/dynamicCode/platforms/linux64GccDPInt32Opt/lib/libcodedCircle3_cabc211e51c1de2bc49a268aa4b52f356d460dfb.so: cannot open shared object file: No such file or directory
    3/dynamicCode/platforms/linux64GccDPInt32Opt/lib/libcodedCircle3_cabc211e51c1de2bc49a268aa4b52f356d460dfb.so”
    /home/ovozdemir/OpenFOAM/ovozdemir-v2112/run/hammershock_v3/dynamicCode/platforms/linux64GccDPInt32Opt/lib/libcodedCircle3_cabc211e51c1de2bc49a268aa4b52f356d460dfb.so: cannot open shared object file: No such file or directory
    Could not load “/home/ovozdemir/OpenFOAM/ovozdemir-v2112/run/hammershock_v3/dynamicCode/platforms/linux64GccDPInt32Opt/lib/libcodedCircle3_cabc211e51cUsing dynamicCode for functionObject codedCircle at line 3 in “/home/ovozdemir/OpenFOAM/ovozdemir-v2112/run/hammershock_v3/system/controlDict.functions.codedCircle”
    Could not load “/home/ovozdemir/OpenFOAM/ovozdemir-v2112/run/hammershock_v3/dynamicCode/platforms/linux64GccDPInt32Opt/lib/libcodedCircle3_cabcCould not load “/home/ovozdemir/OpenFOAM/ovozdemir-v2112/run/hammershock_v3/dynamicCode/platforms/linux64GccDPInt32Opt/lib/libcodedCircle3_cabc211e51c1de2bc49a268aa4b52f356d460dfb.so”
    /home/ovozdemir/OpenFOAM/ovozdemir-v2112/run/hammershock_v3/dynamicCode/platforms/linux64GccDPInt32Opt/lib/libcodedCircle3_cabc211e51c1de2bc49a268aa4b52f356d460dfb.so: cannot open shared object file: No such file or directory
    Could not load “/home/ovozdemir/OpenFOAM/ovozdemir-v2112/run/hammershock_v3/dynamicCode/platforms/linux64GccDPInt32Opt/lib/libcodedCircle3_cabc211e51c1de2bc49a268aa4b52f356d460dfb.so”
    /home/ovozdemir/OpenFOAM/ovozdemir-v2112/run/hammershock_v3/dynamicCode/platforms/linux64GccDPInt32Opt/lib/libcodedCircle3_cabc211e51c1de2bc49a268aa4b52f356d460dfb.so: cannot open shared object file: No such file or directory
    Could not load “/home/ovozdemir/OpenFOAM/ovozdemir-v2112/run/hammershock_v3/dynamicCode/platforms/linux64GccDPInt32Opt/lib/libcodedCircle3_cabc211e51c1de2bc49a268aa4b52f356d460dfb.so”
    /home/ovozdemir/OpenFOAM/ovozdemir-v2112/run/hammershock_v3/dynamicCode/platforms/linux64GccDPInt32Opt/lib/libcodedCircle3_cabc211e51c1de2bc49a268aa4b52f356d460dfb.so: cannot open shared object file: No such file or directory
    c49a268aa4b52f356d460dfb.so”
    /home/ovozdemir/OpenFOAM/ovozdemir-v2112/run/hammershock_v3/dynamicCode/platforms/linux64GccDPInt32Opt/lib/libcodedCircle3_cabc211e51c1de2bc49a268aa4b52f356d460dfb.so: cannot open shared object file: No such file or directory
    _cabc211e51c1de2bc49a268aa4b52f356d460dfb.so”
    /home/ovozdemir/OpenFOAM/ovozdemir-v2112/run/hammershock_v3/dynamicCode/platforms/linux64GccDPInt32Opt/lib/libcodedCircle3_cabc211e51c1de2bc49a268aa4b52f356d460dfb.so: cannot open shared object file: No such file or directory
    cabc211e51c1de2bc49a268aa4b52f356d460dfb.so”
    /home/ovozdemir/OpenFOAM/ovozdemir-v2112/run/hammershock_v3/dynamicCode/platforms/linux64GccDPInt32Opt/lib/libcodedCircle3_cabc211e51c1de2bc49a268aa4b52f356d460dfb.so: cannot open shared object file: No such file or directory
    ershock_v3/dynamicCode/platforms/linux64GccDPInt32Opt/lib/libcodedCircle3_cabc211e51c1de2bc49a268aa4b52f356d460dfb.so”
    /home/ovozdemir/OpenFOAM/ovozdemir-v2112/run/hammershock_v3/dynamicCode/platforms/linux64GccDPInt32Opt/lib/libcodedCircle3_cabc211e51c1de2bc49a268aa4b52f356d460dfb.so: cannot open shared object file: No such file or directory
    Could not load “/home/ovozdemir/OpenFOAM/ovozdemir-v2112/run/hammershock_v3/dynamicCode/platforms/linux64GccDPInt32Opt/lib/libcodedCircle3_cabc211e51c1de2bc49a268aa4b52f356d460dfb.so”
    /home/ovozdemir/OpenFOAM/ovozdemir-v2112/run/hammershock_v3/dynamicCode/platforms/linux64GccDPInt32Opt/lib/libcodedCircle3_cabc211e51c1de2bc49a268aa4b52f356d460dfb.so: cannot open shared object file: No such file or directory
    Could not load “/home/ovozdemir/OpenFOAM/ovozdemir-v2112/run/hammershock_v3/dynamicCode/platforms/linux64GccDPInt32Opt/lib/libcodedCircle3_cabc211e51c1de2bc49a268aa4b52f356d460dfb.so”
    /home/ovozdemir/OpenFOAM/ovozdemir-v2112/run/hammershock_v3/dynamicCode/platforms/linux64GccDPInt32Opt/lib/libcodedCircle3_cabc211e51c1de2bc49a268aa4b52f356d460dfb.so: cannot open shared object file: No such file or directory
    Could not load “/home/ovozdemir/OpenFOAM/ovozdemir-v2112/run/hammershock_v3/dynamicCode/platforms/linux64GccDPInt32Opt/lib/libcodedCircle3_cabc211e51c1de2bc49a268aa4b52f356d460dfb.so”
    /home/ovozdemir/OpenFOAM/ovozdemir-v2112/run/hammershock_v3/dynamicCode/platforms/linux64GccDPInt32Opt/lib/libcodedCircle3_cabc211e51c1de2bc49a268aa4b52f356d460dfb.so: cannot open shared object file: No such file or directory
    ynamicCode/platforms/linux64GccDPInt32Opt/lib/libcodedCircle3_cabc211e51c1de2bc49a268aa4b52f356d460dfb.so”
    /home/ovozdemir/OpenFOAM/ovozdemir-v2112/run/hammershock_v3/dynamicCode/platforms/linux64GccDPInt32Opt/lib/libcodedCircle3_cabc211e51c1de2bc49a268aa4b52f356d460dfb.so: cannot open shared object file: No such file or directory
    Could not load “/home/ovozdemir/OpenFOAM/ovozdemir-v2112/run/hammershock_v3/dynamicCode/platforms/linux64GccDPInt32Opt/lib/libcodedCircle3_cabc211e51c1de2bc49a268aa4b52f356d460dfb.so”
    /home/ovozdemir/OpenFOAM/ovozdemir-v2112/run/hammershock_v3/dynamicCode/platforms/linux64GccDPInt32Opt/lib/libcodedCircle3_cabc211e51c1de2bc49a268aa4b52f356d460dfb.so: cannot open shared object file: No such file or directory
    Could not load “/home/ovozdemir/OpenFOAM/ovozdemir-v2112/run/hammershock_v3/dynamicCode/platforms/linux64GccDPInt32Opt/lib/libcodedCircle3_cabc211e51c1de2bc49a268aa4b52f356d460dfb.so”
    /home/ovozdemir/OpenFOAM/ovozdemir-v2112/run/hammershock_v3/dynamicCode/platforms/linux64GccDPInt32Opt/lib/libcodedCircle3_cabc211e51c1de2bc49a268aa4b52f356d460dfb.so: cannot open shared object file: No such file or directory
    Could not load “/home/ovozdemir/OpenFOAM/ovozdemir-v2112/run/hammershock_v3/dynamicCode/platforms/linux64GccDPInt32Opt/lib/libcodedCircle3_cabc211e51c1de2bc49a268aa4b52f356d460dfb.so”
    /home/ovozdemir/OpenFOAM/ovozdemir-v2112/run/hammershock_v3/dynamicCode/platforms/linux64GccDPInt32Opt/lib/libcodedCircle3_cabc211e51c1de2bc49a268aa4b52f356d460dfb.so: cannot open shared object file: No such file or directory
    Could not load “/home/ovozdemir/OpenFOAM/ovozdemir-v2112/run/hammershock_v3/dynamicCode/platforms/linux64GccDPInt32Opt/lib/libcodedCircle3_cabc211e51c1de2bc49a268aa4b52f356d460dfb.so”
    /home/ovozdemir/OpenFOAM/ovozdemir-v2112/run/hammershock_v3/dynamicCode/platforms/linux64GccDPInt32Opt/lib/libcodedCircle3_cabc211e51c1de2bc49a268aa4b52f356d460dfb.so: cannot open shared object file: No such file or directory
    1de2bc49a268aa4b52f356d460dfb.so”
    /home/ovozdemir/OpenFOAM/ovozdemir-v2112/run/hammershock_v3/dynamicCode/platforms/linux64GccDPInt32Opt/lib/libcodedCircle3_cabc211e51c1de2bc49a268aa4b52f356d460dfb.so: cannot open shared object file: No such file or directory
    Could not load “/home/ovozdemir/OpenFOAM/ovozdemir-v2112/run/hammershock_v3/dynamicCode/platforms/linux64GccDPInt32Opt/lib/libcodedCi211e51c1de2bc49a268aa4b52f356d460dfb.so”
    /home/ovozdemir/OpenFOAM/ovozdemir-v2112/run/hammershock_v3/dynamicCode/platforms/linux64GccDPInt32Opt/lib/libcodedCircle3_cabc211e51c1de2bc49a268aa4b52f356d460dfb.so: cannot open shared object file: No such file or directory
    Invoking wmake libso /home/ovozdemir/OpenFOAM/ovozdemir-v2112/run/hammershock_v3/dynamicCode/codedCircle3
    rcle3_cabc211e51c1de2bc49a268aa4b52f356d460dfb.so”
    /home/ovozdemir/OpenFOAM/ovozdemir-v2112/run/hammershock_v3/dynamicCode/platforms/linux64GccDPInt32Opt/lib/libcodedCircle3_cabc211e51c1de2bc49a268aa4b52f356d460dfb.so: cannot open shared object file: No such file or directory
    Could not load “/home/ovozdemir/OpenCould not load “/home/ovozdemir/OpenFOACould not load “/home/ovozdemir/OpenFOAMFOAM/ovozdemir-v2112/ru/ovozdemir-v2112/run/hM/ovozdemir-v2112/run/hammershock_vn/hammershock_v3/dynamicCode/platforms/l3/dynamicCode/platforms/linux64GccDPIinux64GccDPInt32Opt/lib/libnt32Opt/lib/libcodedCircleammershock_v3/dynamicCode/platcodedCircle3_cabc211e51c1de2bforms/linux643_cabc211e51c1de2bc49a268aa4b5c49a268aa4b52f356d460dfb.so”
    /home/ovozdemir/OpenFOAM/ovozdemir-v2112/run/hammershock_v3/dynamicCode/platforms/linux64GccDPInt32Opt/lib/libcodedCircle3_cabc211e51c1de2bc49a268aa4b52f356d460dfb.so: cannot open shared object file: No such file or directory
    2f356d460dfb.so”
    /home/ovozdemir/OpenFOAM/ovozdemir-v2112/run/hammershock_v3/dynamicCode/platforms/linux64GccDPInt32Opt/lib/libcodedCircle3_cabc211e51c1de2bc49a268aa4b52f356d460dfb.so: cannot open shared object file: No such file or directory
    GccDPInt32Opt/lib/libcodedCircle3_cabc211e51c1de2bc49a268aa4b52f356d460dfb.so”
    /home/ovozdemir/OpenFOAM/ovozdemir-v2112/run/hammershock_v3/dynamicCode/platforms/linux64GccDPInt32Opt/lib/libcodedCircle3_cabc211e51c1de2bc49a268aa4b52f356d460dfb.so: cannot open shared object file: No such file or directory
    wmake libso /home/ovozdemir/OpenFOAM/ovozdemir-v2112/run/hammershock_v3/dynamicCode/codedCircle3
    make: *** No rule to make target ‘/home/ovozdemir/OpenFOAM/OpenFOAM-v2112/src/OpenFOAM/lnInclude/IOobjectOption.H’, needed by ‘Make/linux64GccDPInt32Opt/functionObjectTemplate.C.dep’. Stop.
    [0]
    [0]
    [0] –> FOAM FATAL IO ERROR: (openfoam-2112)
    [0] Failed wmake “dynamicCode/codedCircle3/platforms/linux64GccDPInt32Opt/lib/libcodedCircle3_cabc211e51c1de2bc49a268aa4b52f356d460dfb.so”
    [0]
    [0]
    [0] file: system/controlDict.functions.codedCircle at line 3 to 11.
    [0]
    [0] From void Foam::codedBase::createLibrary(Foam::dynamicCode&, const Foam::dynamicCodeContext&) const
    [0] in file db/dynamicLibrary/codedBase/codedBase.C at line 240.
    [0]
    FOAM parallel run exiting
    [0]
    ————————————————————————–
    MPI_ABORT was invoked on rank 0 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.
    ————————————————————————–

     

  • Barış Bicer

    Moderator
    January 20, 2023 at 1:05 pm

    So it works with new version of OF ha?

  • Osman Veysel Özdemir

    Member
    January 24, 2023 at 6:57 am

    I guess so. Also I deleted dynamicCode file when I got error, then it worked.

  • Barış Bicer

    Moderator
    January 24, 2023 at 4:47 pm

    Thats great…

Log in to reply.

error: Content is protected !!