|
[Sponsors] |
![]() |
![]() |
#1 |
New Member
Join Date: Mar 2015
Location: Brest, France
Posts: 15
Rep Power: 11 ![]() |
Hi All,
I'm trying to run a simulation with pimpleFoam. I'm using the Pimple parameters as explained here : http://www.cfd-online.com/Forums/blo...hm-part-i.html http://www.cfd-online.com/Forums/blo...m-part-ii.html The pimpleFoam solver is not running : the error message says : "U is undefined in dictionary "". " Does anyone know what could be my error. I give you the fvSolution file and an extract of log.pimpleFoam with the error message. Thanks for answers fvSolution : 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; } // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // PIMPLE { nNonOrthogonalCorrectors 0; nCorrectors 1; nOuterCorrectors 50; residualControl { U { tolerance 1e-5; relTol 0; } p { tolerance 5e-4; relTol 0; } } } relaxationFactors { fields { p 0.3; pFinal 1; } equations { "U|k|omega" 0.3; "(U|k|omega)Final" 1; } } potentialFlow { nNonOrthogonalCorrectors 10; pRefCell 0; pRefValue 0; residualControl { p 1e-5; U 1e-5; k 1e-5; omega 1e-5; } } // ************************************************************************* // Code:
IMPLE: iteration 1 [18] [1] [6] [12] [19] [0] [7] [13] [7] [7] --> FOAM FATAL IO ERROR: [7] keyword U is undefined in dictionary "" [7] [7] file: [7] [7] From function dictionary::subDict(const word& keyword) const [7] in file db/dictionary/dictionary.C at line 643. [7] FOAM parallel run exiting [7] [1] [1] --> FOAM FATAL IO ERROR: [1] keyword U is undefined in dictionary "" [1] [1] file: [1] [1] From function dictionary::subDict(const word& keyword) const [1] in file db/dictionary/dictionary.C at line 643. [1] FOAM parallel run exiting [1] |
|
![]() |
![]() |
![]() |
![]() |
#2 |
Senior Member
Troy Snyder
Join Date: Jul 2009
Location: Akron, OH
Posts: 220
Rep Power: 19 ![]() |
Your fvSolution has many issues. For example, it does not state the solvers for the U
and p equations. The links in your post are only showing subsections of the fvSolution file. Take a look at the tutorials for an example. |
|
![]() |
![]() |
![]() |
![]() |
#3 |
New Member
Join Date: Mar 2015
Location: Brest, France
Posts: 15
Rep Power: 11 ![]() |
Thanks for the answer.
|
|
![]() |
![]() |
![]() |
|
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
keyword filter is undefined in dictionary "" | lakeat | OpenFOAM Bugs | 16 | November 16, 2022 05:27 |
Error: keyword gradient is undefined in dictionary ? (pimpleFoam) | Dan1788 | OpenFOAM Running, Solving & CFD | 2 | February 19, 2015 12:12 |
writing subDict in a dictionary | ubaid | OpenFOAM Programming & Development | 3 | October 25, 2014 18:17 |
Problem with rhoSimpleFoam | matteo_gautero | OpenFOAM Running, Solving & CFD | 0 | February 28, 2008 07:51 |
FoamX error aachenBomb case | Ervin Adorean (Adorean) | OpenFOAM Pre-Processing | 13 | March 7, 2005 04:50 |