CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > Software User Forums > OpenFOAM > OpenFOAM Running, Solving & CFD

Entry 'UFinal' not found in dictionary

Register Blogs Community New Posts Updated Threads Search

Like Tree1Likes
  • 1 Post By tomf

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   November 19, 2021, 06:05
Default Entry 'UFinal' not found in dictionary
  #1
New Member
 
Jacob H
Join Date: Aug 2021
Posts: 3
Rep Power: 4
Jacobhh is on a distinguished road
Hi, OpenFoam newbie here.
Im trying to implement a pimpleFoam solver for the OpenFoam v2106 simpleFoam tutorialcase for a backwards facing step.
No matter what i do the same error seems to arrise. What am i doing wrong here?

fvSolution file;
Code:
/*--------------------------------*- C++ -*----------------------------------*\
| =========                 |                                                 |
| \\      /  F ield         | OpenFOAM: The Open Source CFD Toolbox           |
|  \\    /   O peration     | Version:  v2106                                 |
|   \\  /    A nd           | Website:  www.openfoam.com                      |
|    \\/     M anipulation  |                                                 |
\*---------------------------------------------------------------------------*/
FoamFile
{
    version     2.0;
    format      ascii;
    class       dictionary;
    object      fvSolution;
}
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //

{
    p
    {
        solver           GAMG;
        smoother         DICGaussSeidel;
        tolerance        1e-4;
        relTol           0.001;
    }
    pFinal
    {
        $p;
        relTol          0;
    }

    "(U|k|epsilon|omega)"
    {
        solver          smoothSolver;
        smoother        symGaussSeidel;
        tolerance       1e-6;
        relTol          0.1;
    }

    "(U|k|epsilon|omega)Final"
    {
        $U;
        tolerance       1e-06;
        relTol          0;
    }

}

PIMPLE
{
    nNonOrthogonalCorrectors 0;
    nCorrectors          1;
    nOuterCorrectors    50;

    residualControl
    {
        U
        {
                tolerance  1e-5;
                relTol      0;
        }
        p
        {
                tolerance  1e-4;
                relTol      0;
        }
     }
}

relaxationFactors
{
    fields
    {
        p      0.8;
        pFinal   1;
    }
    equations
    {
        "(U|k|epsilon|omega)"     0.8;
        "(U|k|epsilon|omega)Final"   1;
    }
}

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




Error log;
Code:
Create time

Create mesh for time = 0


PIMPLE: Operating solver in PISO mode

Reading field p

Reading field U

Reading/calculating face flux field phi

Selecting incompressible transport model Newtonian
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;
}

No MRF models present

No finite volume options present
Courant Number mean: 0.00934313 max: 0.11311
turbulenceFields stressComponents: storing fields:
    turbulenceProperties:devReff

pressure pressureCoefficient:
    Operating mode: staticCoeff
    Not including hydrostatic effects

Reading set description:
    Uref
    x_by_h_m04
    x_by_h_01
    x_by_h_04
    x_by_h_06
    x_by_h_10

wallShearStress wallShearStress:
    processing all wall patches


Starting time loop

Courant Number mean: 0.00934313 max: 0.11311
deltaT = 0.00120005
Time = 0.00120005

PIMPLE: iteration 1


--> FOAM FATAL IO ERROR: (openfoam-2106)
Entry 'UFinal' not found in dictionary ""


    From const Foam::dictionary& Foam::dictionary::subDict(const Foam::word&, Foam::keyType::option) const
    in file db/dictionary/dictionary.C at line 537.

FOAM exiting
Best,
J
Jacobhh is offline   Reply With Quote

Old   November 23, 2021, 16:18
Default
  #2
Senior Member
 
Tom Fahner
Join Date: Mar 2009
Location: Breda, Netherlands
Posts: 634
Rep Power: 32
tomf will become famous soon enoughtomf will become famous soon enough
Send a message via MSN to tomf Send a message via Skype™ to tomf
Hi J,

My guess would be that you miss the solvers keyword:

Code:
/*--------------------------------*- C++ -*----------------------------------*\
| =========                 |                                                 |
| \\      /  F ield         | OpenFOAM: The Open Source CFD Toolbox           |
|  \\    /   O peration     | Version:  v2106                                 |
|   \\  /    A nd           | Website:  www.openfoam.com                      |
|    \\/     M anipulation  |                                                 |
\*---------------------------------------------------------------------------*/
FoamFile
{
    version     2.0;
    format      ascii;
    class       dictionary;
    object      fvSolution;
}
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //

solvers
{
    p
    {
        solver           GAMG;
        smoother         DICGaussSeidel;
        tolerance        1e-4;
        relTol           0.001;
    }
    pFinal
    {
        $p;
        relTol          0;
    }

    "(U|k|epsilon|omega)"
    {
        solver          smoothSolver;
        smoother        symGaussSeidel;
        tolerance       1e-6;
        relTol          0.1;
    }

    "(U|k|epsilon|omega)Final"
    {
        $U;
        tolerance       1e-06;
        relTol          0;
    }

}

PIMPLE
{
    nNonOrthogonalCorrectors 0;
    nCorrectors          1;
    nOuterCorrectors    50;

    residualControl
    {
        U
        {
                tolerance  1e-5;
                relTol      0;
        }
        p
        {
                tolerance  1e-4;
                relTol      0;
        }
     }
}

relaxationFactors
{
    fields
    {
        p      0.8;
        pFinal   1;
    }
    equations
    {
        "(U|k|epsilon|omega)"     0.8;
        "(U|k|epsilon|omega)Final"   1;
    }
}

// ************************************************************************* //
In your example the bold line is missing. Not 100% sure if that would solve it, but worth a try.

Cheers,
Tom
ayubsulong likes this.
tomf is offline   Reply With Quote

Reply

Tags
backward facing step, pimple. openfoam


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
error in fireFoam, when running the case wallFireSpread2D zhoubiao1088 OpenFOAM Running, Solving & CFD 9 February 1, 2018 18:45
[Other] Mesh Importing Problem cuteapathy ANSYS Meshing & Geometry 2 June 24, 2017 05:29
8x icoFoam speed up with Cufflink CUDA solver library kmooney OpenFOAM Running, Solving & CFD 42 November 6, 2012 11:37
missing vtf3.h BPatch.h papi.h linch OpenFOAM Installation 41 July 24, 2012 14:45
OpenFOAM 1.7.1 installation problem on OpenSUSE 11.3 flakid OpenFOAM Installation 16 December 28, 2010 08:48


All times are GMT -4. The time now is 13:24.