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

Home Forums OpenFOAM Forum pisoFoam/icoFoam in CFD Foundaion in “pitzDaily” case

  • pisoFoam/icoFoam in CFD Foundaion in “pitzDaily” case

    Posted by tusharpandey1908 on March 10, 2022 at 4:49 pm

    Dear Baris,

    I was executed the “icoFoam” option but one fatal error was appearing. I have tried also the pisoFoam instead of icoFoam but still same issue appears.

    /*
    tushar@tushar-VirtualBox:~/OpenFOAM/tushar-7/run/pitzDaily$ icoFoam
    /*—————————————————————————*\
    ========= |
    \\ / F ield | OpenFOAM: The Open Source CFD Toolbox
    \\ / O peration | Website: https://openfoam.org
    \\ / A nd | Version: 7
    \\/ M anipulation |
    \*—————————————————————————*/
    Build : 7-1ff648926f77
    Exec : icoFoam
    Date : Mar 10 2022
    Time : 01:19:12
    Host : “tushar-VirtualBox”
    PID : 4373
    I/O : uncollated
    Case : /home/tushar/OpenFOAM/tushar-7/run/pitzDaily
    nProcs : 1
    sigFpe : Enabling floating point exception trapping (FOAM_SIGFPE).
    fileModificationChecking : Monitoring run-time modified files using timeStampMaster (fileModificationSkew 10)
    allowSystemOperations : Allowing user-supplied system call operations

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

    Create mesh for time = 0

    –> FOAM FATAL IO ERROR:
    keyword PISO is undefined in dictionary “/home/tushar/OpenFOAM/tushar-7/run/pitzDaily/system/fvSolution”

    file: /home/tushar/OpenFOAM/tushar-7/run/pitzDaily/system/fvSolution from line 22 to line 55.

    From function const Foam::dictionary& Foam::dictionary::subDict(const Foam::word&) const
    in file db/dictionary/dictionary.C at line 708.

    FOAM exiting
    */

    i am also sending the “fvSolution” file details.

    /*
    FoamFile
    {
    version 2.0;
    format ascii;
    class dictionary;
    location “system”;
    object fvSolution;
    }
    // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //

    solvers
    {
    p
    {
    solver GAMG;
    tolerance 1e-06;
    relTol 0.1;
    smoother GaussSeidel;
    }

    “(U|k|epsilon|omega|f|v2)”
    {
    solver smoothSolver;
    smoother symGaussSeidel;
    tolerance 1e-05;
    relTol 0.1;
    }
    }

    SIMPLE
    {
    nNonOrthogonalCorrectors 0;
    consistent yes;

    residualControl
    {
    p 1e-2;
    U 1e-3;
    “(k|epsilon|omega|f|v2)” 1e-3;
    }
    }

    relaxationFactors
    {
    equations
    {
    U 0.9; // 0.9 is more stable but 0.95 more convergent
    “.*” 0.9; // 0.9 is more stable but 0.95 more convergent
    }
    }

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

    */

    Barış Bicer replied 2 years, 3 months ago 2 Members · 2 Replies
  • 2 Replies
  • tusharpandey1908

    Member
    March 10, 2022 at 5:11 pm

    The execution run after changing the fvSolution file from previous (in above message) to below one.

    /*

    {
    p
    {
    solver GAMG;
    tolerance 1e-06;
    relTol 0.1;
    smoother GaussSeidel;
    }

    pFinal
    {
    $p;
    tolerance 1e-06;
    relTol 0.1;
    smoother GaussSeidel;
    }

    “(U|K|B|nuTilda|s)”
    {
    solver smoothSolver;
    tolerance 1e-05;
    relTol 0.1;
    smoother GaussSeidel;
    }
    }

    PISO
    {
    nCorrectors 2;
    nNonOrthogonalCorrectors 2;
    pRefCell 0;
    pRefValue 0;
    }

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

    */

  • Barış Bicer

    Moderator
    March 11, 2022 at 5:58 am

    Hi Tushar,

    Please be aware of that which solver you are using. I run pitzDaily with simpleFoam solver which is steady-state solver with SIMPLE algorithms. However, icoFoam solver is transient solver and works wih PISO algorithms. therefore, fvSolution & fvSchemes even controlDict should have difference than steady-state solver set up.

    But, I am happy to see that you were able to solve problem by yourself. Thats great and best side of using OpenFoam which let you have self-confidence and unlimited trial chance 🙂

    For your information.

    Best.

    Barış

Log in to reply.

error: Content is protected !!