Jacobhh |
November 19, 2021 06:05 |
Entry 'UFinal' not found in dictionary
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
|