CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > General Forums > Main CFD Forum

pimpleFoam error in dictionary ""

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   April 22, 2015, 11:00
Default pimpleFoam error in dictionary ""
  #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 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;
    }
}

// ************************************************************************* //
Extract of log.pimpleFoam :
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]
ASo is offline   Reply With Quote

Old   April 22, 2015, 14:09
Default
  #2
Senior Member
 
Troy Snyder
Join Date: Jul 2009
Location: Akron, OH
Posts: 219
Rep Power: 18
tas38 is on a distinguished road
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.
tas38 is offline   Reply With Quote

Old   April 23, 2015, 02:41
Default
  #3
ASo
New Member
 
Join Date: Mar 2015
Location: Brest, France
Posts: 15
Rep Power: 11
ASo is on a distinguished road
Thanks for the answer.
ASo is offline   Reply With Quote

Reply


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
keyword filter is undefined in dictionary "" lakeat OpenFOAM Bugs 16 November 16, 2022 04:27
Error: keyword gradient is undefined in dictionary ? (pimpleFoam) Dan1788 OpenFOAM Running, Solving & CFD 2 February 19, 2015 11:12
writing subDict in a dictionary ubaid OpenFOAM Programming & Development 3 October 25, 2014 17:17
Problem with rhoSimpleFoam matteo_gautero OpenFOAM Running, Solving & CFD 0 February 28, 2008 06:51
FoamX error aachenBomb case Ervin Adorean (Adorean) OpenFOAM Pre-Processing 13 March 7, 2005 03:50


All times are GMT -4. The time now is 06:05.