# omegaFinal in IOstream.solvers / pimpleFoam

 User Name Remember Me Password
 Register Blogs Members List Search Today's Posts Mark Forums Read

 April 16, 2015, 08:08 omegaFinal in IOstream.solvers / pimpleFoam #1 New Member   Join Date: Mar 2015 Location: Brest, France Posts: 15 Rep Power: 2 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 !!

April 16, 2015, 13:23
#2
Senior Member

Joachim Herb
Join Date: Sep 2010
Posts: 317
Rep Power: 10
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 And the fvSolution file : Code: ``` "(U|k|omega)Final" { \$U; relTol 0; \$omega; relTol 0.1 } }```

 April 17, 2015, 09:36 #3 New Member   Join Date: Mar 2015 Location: Brest, France Posts: 15 Rep Power: 2 Thanks It was quite evident but I'm learning Openfoam

 June 11, 2015, 09:32 omegaFinal undefined #4 New Member   Jesse Thomas Join Date: Jun 2015 Posts: 2 Rep Power: 0 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?

 Tags omegafinal pimplefoam

 Thread Tools Display Modes Linear Mode

 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 OffTrackbacks are On Pingbacks are On Refbacks are On Forum Rules

 Similar Threads Thread Thread Starter Forum Replies Last Post RodriguezFatz OpenFOAM Running, Solving & CFD 1 September 25, 2014 08:37 TBERGE OpenFOAM Running, Solving & CFD 2 April 2, 2014 08:20 hfs OpenFOAM Running, Solving & CFD 3 October 29, 2013 09:35 Nucleophobe OpenFOAM Running, Solving & CFD 0 March 13, 2013 19:46 uli OpenFOAM Programming & Development 7 January 26, 2013 16:01

All times are GMT -4. The time now is 09:41.

 Contact Us - CFD Online - Top