CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > Software User Forums > OpenFOAM > OpenFOAM Running, Solving & CFD

Error: keyword gradient is undefined in dictionary ? (pimpleFoam)

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   February 18, 2015, 18:13
Question Error: keyword gradient is undefined in dictionary ? (pimpleFoam)
  #1
Member
 
Daniel
Join Date: Jun 2014
Posts: 60
Rep Power: 12
Dan1788 is on a distinguished road
Hello,

I am running a pipe flow simulation with cyclic boundary conditions in parallel using the pimpleFoam solver in OpenFOAM-2.2.x. After it reached 0.06 seconds of CPU time I used 'reconstructPar -latestTime' to reconstruct the parallel results.

When it restarted the simulation from 0.06 seconds I got the following error:

Code:
[0] --> FOAM FATAL IO ERROR: 
[0] keyword gradient is undefined in dictionary "/scratch/carter/d/Daniel/all_walls_10D_duct_target_pipe_LES/processor0/0.06/uniform/momentumSourceProperties"
[0] 
[0] file: /scratch/carter/h/hlalit/all_walls_10D_duct_target_pipe_LES/processor0/0.06/uniform/momentumSourceProperties
[0] 
[0]     From function dictionary::lookupEntry(const word&, bool, bool) const
[0]     in file db/dictionary/dictionary.C at line 422.
[0] 
FOAM parallel run exiting
I am using a dynamicSmagonrinsky model and the following are my boundary conditions:

Code:
U:

internalField   nonuniform List<vector>
(
                   ........................
                   ........................
);

boundaryField
{
    Inlet
    {
        type            cyclic;
    }
    Outlet
    {
        type            cyclic;
    }
    Side
    {
        type            fixedValue;
        value           uniform (0 0 0);
    }
}

P:

internalField   nonuniform List<vector>
(
                   ........................
                   ........................
);

boundaryField
{
    Inlet
    {
        type            cyclic;
    }
    Outlet
    {
        type            cyclic;
    }
    Side
    {
        type            zeroGradient;
    }
}

nuSgs:

internalField   nonuniform List<vector>
(
                   ........................
                   ........................
);

boundaryField
{
    Inlet
    {
        type            cyclic;
    }
    Outlet
    {
        type            cyclic;
    }
    Side
    {
        type            zeroGradient;
    }
}
Can someone please help me out ???

Thanks!
Dan1788 is offline   Reply With Quote

Old   February 19, 2015, 03:31
Default
  #2
Senior Member
 
Alexey Matveichev
Join Date: Aug 2011
Location: Nancy, France
Posts: 1,938
Rep Power: 39
alexeym has a spectacular aura aboutalexeym has a spectacular aura about
Send a message via Skype™ to alexeym
Hi,

According to http://www.openfoam.org/mantisbt/view.php?id=922 it was resolved by commit 4046562d705c527e2e6f6eebc16c459e151215c7.
alexeym is offline   Reply With Quote

Old   February 19, 2015, 12:12
Default
  #3
Member
 
Daniel
Join Date: Jun 2014
Posts: 60
Rep Power: 12
Dan1788 is on a distinguished road
Thanks so much for your reply Alexeym
Dan1788 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
Second Derivative Zero - Boundary Condition fu-ki-pa OpenFOAM 11 March 27, 2021 05:28
OpenFOAM 1.6-ext git installation on Ubuntu 11.10 x64 Attesz OpenFOAM Installation 45 January 13, 2012 13:38
OpenFOAM on MinGW crosscompiler hosted on Linux allenzhao OpenFOAM Installation 127 January 30, 2009 20:08
Problem with rhoSimpleFoam matteo_gautero OpenFOAM Running, Solving & CFD 0 February 28, 2008 07:51
G95 + CGNS Bruno Main CFD Forum 1 January 30, 2007 01:34


All times are GMT -4. The time now is 07:47.