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

Home Forums OpenFOAM Forum nacaAirfoil – Solver Reply To: nacaAirfoil – Solver

  • Harshavardhan

    Member
    January 16, 2023 at 4:28 am

    Hi baris,

    I was able to run the simulation. when I try to use the postprocess utility I am getting the following error

     

    hk3956@hk3956-VirtualBox:~/OpenFOAM/hk3956-v2206/run/nacaAirfoil$ postProcess -func CourantNo
    /*—————————————————————————*\
    | ========= | |
    | \\ / F ield | OpenFOAM: The Open Source CFD Toolbox |
    | \\ / O peration | Version: 2206 |
    | \\ / A nd | Website: http://www.openfoam.com |
    | \\/ M anipulation | |
    \*—————————————————————————*/
    Build : _76d719d1e6-20220624 OPENFOAM=2206 version=v2206
    Arch : “LSB;label=32;scalar=64”
    Exec : postProcess -func CourantNo
    Date : Jan 16 2023
    Time : 15:26:07
    Host : hk3956-VirtualBox
    PID : 11372
    I/O : uncollated
    Case : /home/hk3956/OpenFOAM/hk3956-v2206/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

    Create mesh for time = 0

    Time = 0
    –> FOAM Warning :
    From virtual bool Foam::functionObjects::fieldSelection::checkSelection()
    in file functionObjects/fieldSelections/fieldSelection/fieldSelection.C at line 166
    Field phi not found

    Reading fields:

    Executing functionObjects
    –> FOAM Warning : functionObjects::CourantNo CourantNo cannot find required object phi of type surfaceScalarField
    –> FOAM Warning : functionObjects::CourantNo CourantNo failed to execute.

    Time = 0.0002

    Reading fields:
    surfaceScalarField: phi

    Executing functionObjects

    –> FOAM FATAL ERROR: (openfoam-2206)

    failed lookup of rho (objectRegistry region0)
    available objects of type volScalarField:
    1(surfaceSum(mag(phi)))

    From const Type& Foam::objectRegistry::lookupObject(const Foam::word&, bool) const [with Type = Foam::GeometricField<double, Foam::fvPatchField, Foam::volMesh>]
    in file /home/hk3956/Desktop/openfoam/OpenFOAM-v2206/src/OpenFOAM/lnInclude/objectRegistryTemplates.C at line 571.

    FOAM exiting

error: Content is protected !!