|
[Sponsors] | |||||
|
|
|
#1 |
|
New Member
Join Date: Mar 2015
Location: Brest, France
Posts: 15
Rep Power: 12 ![]() |
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 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 ;
}
// ************************************************************************* //
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;
}
// ************************************************************************* //
|
|
|
|
|
|
|
|
|
#2 |
|
Senior Member
Joachim Herb
Join Date: Sep 2010
Posts: 650
Rep Power: 23 ![]() |
||
|
|
|
|
|
|
|
#3 |
|
New Member
Join Date: Mar 2015
Location: Brest, France
Posts: 15
Rep Power: 12 ![]() |
Thanks
It was quite evident but I'm learning Openfoam |
|
|
|
|
|
|
|
|
#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? |
|
|
|
|
|
|
|
|
#5 |
|
New Member
Lin Xiangfeng
Join Date: Dec 2016
Posts: 12
Rep Power: 11 ![]() |
have you resolved your problem?
|
|
|
|
|
|
![]() |
| Tags |
| omegafinal pimplefoam |
| Thread Tools | Search this Thread |
| Display Modes | |
|
|
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 |