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

omegaFinal in IOstream.solvers / pimpleFoam

Register Blogs Members List Search Today's Posts Mark Forums Read

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   April 16, 2015, 09:08
Default omegaFinal in IOstream.solvers / pimpleFoam
  #1
ASo
New Member
 
Join Date: Mar 2015
Location: Brest, France
Posts: 15
Rep Power: 11
ASo is on a distinguished road
Hi All,

I'm a beginner in CFD/OpenFoam.

I'm trying to make a simulation with pimpleFoam. I would like to use kOmegaSST as turbulence model.

I used the pimpleFoam pitzDaily tutorial material as example.

I think I changed all the parameters in order to use the KomegaSST turbulence model but an error I can't understand remains. The error is about omegaFinal.

The error message in log.pimpleFoam
Code:
DeltaT = 0.000111111
Time = 0.000111111

smoothSolver:  Solving for Ux, Initial residual = 0.961556, Final residual = 0.00587764, No Iterations 1000
smoothSolver:  Solving for Uy, Initial residual = 0.999952, Final residual = 0.00642699, No Iterations 1000
smoothSolver:  Solving for Uz, Initial residual = 0.94829, Final residual = 0.00264515, No Iterations 1000
GAMG:  Solving for p, Initial residual = 0.866831, Final residual = 0.00840605, No Iterations 3
time step continuity errors : sum local = 1.48906e-05, global = -1.45615e-06, cumulative = -1.45615e-06
GAMG:  Solving for p, Initial residual = 0.0490086, Final residual = 9.64383e-08, No Iterations 14
time step continuity errors : sum local = 2.82694e-09, global = 3.34429e-10, cumulative = -1.45581e-06
[0] [6]
[6]
[6] --> FOAM FATAL IO ERROR:
[6] keyword omegaFinal is undefined in dictionary "IOstream.solvers"
[6]
[6] file: IOstream.solvers from line 0 to line 0.
[6]
[6]     From function dictionary::subDict(const word& keyword) const
[6]     in file db/di
The fvSchemes file :
Code:
/*--------------------------------*- C++ -*----------------------------------*\
| =========                 |                                                 |
| \\      /  F ield         | OpenFOAM: The Open Source CFD Toolbox           |
|  \\    /   O peration     | Version:  2.3.0                                 |
|   \\  /    A nd           | Web:      www.OpenFOAM.org                      |
|    \\/     M anipulation  |                                                 |
\*---------------------------------------------------------------------------*/
FoamFile
{
    version     2.0;
    format      ascii;
    class       dictionary;
    location    "system";
    object      fvSchemes;
}
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //

ddtSchemes
{
    default         Euler;
}

gradSchemes
{
    default         Gauss linear;
    grad(p)         Gauss linear;
    grad(U)         Gauss linear;
}

divSchemes
{
    default         none;
    div(phi,U)      bounded Gauss linearUpwind grad(U);
    div(phi,k)      bounded Gauss upwind;
    div(phi,epsilon) bounded Gauss upwind;
    div(phi,R)      bounded Gauss upwind;
    div(R)          Gauss linear;
    div(phi,nuTilda) bounded Gauss upwind;
    div((nuEff*dev(T(grad(U))))) Gauss linear;
}

laplacianSchemes
{
    default         none;
    laplacian(nuEff,U) Gauss linear corrected;
    laplacian(rAUf,p)  Gauss linear corrected;
    laplacian(DkEff,k) Gauss linear corrected;
    laplacian(DepsilonEff,epsilon) Gauss linear corrected;
    laplacian(DREff,R) Gauss linear corrected;
    laplacian(DnuTildaEff,nuTilda) Gauss linear corrected;
}

interpolationSchemes
{
    default         linear;
    interpolate(U)  linear;
}

snGradSchemes
{
    default         corrected;
}

fluxRequired
{
    default         no;
    p               ;
}


// ************************************************************************* //
And the fvSolution file :
Code:
/*--------------------------------*- C++ -*----------------------------------*\
| =========                 |                                                 |
| \\      /  F ield         | OpenFOAM: The Open Source CFD Toolbox           |
|  \\    /   O peration     | Version:  2.3.0                                 |
|   \\  /    A nd           | Web:      www.OpenFOAM.org                      |
|    \\/     M anipulation  |                                                 |
\*---------------------------------------------------------------------------*/
FoamFile
{
    version     2.0;
    format      ascii;
    class       dictionary;
    location    "system";
    object      fvSolution;
}
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //

solvers
{
    p
    {
        solver           GAMG;
        tolerance        1e-7;
        relTol           0.01;

        smoother         DICGaussSeidel;

        cacheAgglomeration true;
        nCellsInCoarsestLevel 10;
        agglomerator     faceAreaPair;
        mergeLevels      1;
    }

    pFinal
    {
        $p;
        relTol          0;
    }

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

    "(U|k|omega)Final"
    {
        $U;
        relTol          0;
    $omega;
    relTol 0.1
    }
}

PIMPLE
{
    nNonOrthogonalCorrectors 0;
    nCorrectors         2;
}


// ************************************************************************* //
Thanks for answers !!
ASo is offline   Reply With Quote

Old   April 16, 2015, 14:23
Default
  #2
Senior Member
 
Joachim Herb
Join Date: Sep 2010
Posts: 650
Rep Power: 21
jherb is on a distinguished road
I think it doesn't make sense to have two relTol and $U and $omega in your fvSolution file. Remove $omega and relTol 0.1.

Quote:
Originally Posted by ASo View Post
And the fvSolution file :
Code:
    "(U|k|omega)Final"
    {
        $U;
        relTol          0;
    $omega;
    relTol 0.1
    }
}
jherb is offline   Reply With Quote

Old   April 17, 2015, 10:36
Default
  #3
ASo
New Member
 
Join Date: Mar 2015
Location: Brest, France
Posts: 15
Rep Power: 11
ASo is on a distinguished road
Thanks

It was quite evident but I'm learning Openfoam
ASo is offline   Reply With Quote

Old   June 11, 2015, 10:32
Default omegaFinal undefined
  #4
New Member
 
Jesse Thomas
Join Date: Jun 2015
Posts: 2
Rep Power: 0
jessethomas5 is on a distinguished road
Help!

I am trying to use reactingFoam with reactions off to simulate gas spread, and need to use a turbulent solver rather than a laminar solver. In switching the solver I have a similar problem where my simulation crashes with the following error:

--> FOAM FATAL IO ERROR:
keyword omegaFinal is undefined in dictionary "/home/jessethomas/OpenFOAM/tutorials/combustion/reactingFoam/ras/myBuilding3/system/fvSolution.solvers"

file: /home/jessethomas/OpenFOAM/tutorials/combustion/reactingFoam/ras/myBuilding3/system/fvSolution.solvers from line 22 to line 52.

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

FOAM exiting

What do I need to change in my fvSolution and fvScheme dictionaries?
jessethomas5 is offline   Reply With Quote

Old   January 14, 2017, 03:07
Default
  #5
New Member
 
Lin Xiangfeng
Join Date: Dec 2016
Posts: 11
Rep Power: 9
Linxiangfeng is on a distinguished road
have you resolved your problem?
Linxiangfeng is offline   Reply With Quote

Reply

Tags
omegafinal pimplefoam

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

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
pimpleFoam - pisoFoam residuals RodriguezFatz OpenFOAM Running, Solving & CFD 1 September 25, 2014 09:37
pimpleFoam initialization? TBERGE OpenFOAM Running, Solving & CFD 2 April 2, 2014 09:20
pimpleFoam: turbulence->correct(); is not executed when using residualControl hfs OpenFOAM Running, Solving & CFD 3 October 29, 2013 09:35
Understanding pimpleFoam convergence criterion Nucleophobe OpenFOAM Running, Solving & CFD 0 March 13, 2013 19:46
Differences simpleFoam vs. pimpleFoam / RASModel.H vs turbulenceModel.H uli OpenFOAM Programming & Development 7 January 26, 2013 16:01


All times are GMT -4. The time now is 01:17.