CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > Software User Forums > OpenFOAM > OpenFOAM Pre-Processing

--> FOAM FATAL IO ERROR: keyword adjoint is undefined in dictionary

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   June 10, 2014, 06:26
Unhappy --> FOAM FATAL IO ERROR: keyword adjoint is undefined in dictionary
  #1
New Member
 
JL Stanus
Join Date: May 2014
Posts: 1
Rep Power: 0
rammstan is on a distinguished road
Hello, it's my first simulating with OpenFoam. I m trying to run this tutorial with linux CAE 2013 (12.04), and OpenFoam 2.1.1 terminal.

When i tun decomposePar, i get this output error:

Code:
Number of processor faces = 3271
Max number of cells = 15912 (128.354% above average 6968.12)
Max number of processor patches = 6 (26.3158% above average 4.75)
Max number of faces between processors = 1624 (98.5937% above average 817.75)

Time = 0


--> FOAM FATAL IO ERROR: 
keyword adjoint is undefined in dictionary "/home/jean-louis/Documents/OpenFoam/casting_OF_2.3/0/p_rgh::boundaryField::wall"

file: /home/jean-louis/Documents/OpenFoam/casting_OF_2.3/0/p_rgh::boundaryField::wall from line 25 to line 26.

    From function dictionary::lookupEntry(const word&, bool, bool) const
    in file db/dictionary/dictionary.C at line 400.

FOAM exiting
I don't find any "adjoint" in p_rgh file :

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       volScalarField;
    object      p_rgh;
}
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //

dimensions      [1 -1 -2 0 0 0 0];

internalField   uniform 0;

boundaryField
{
    wall
    {
        type            fixedFluxPressure;
        value           uniform 0;
    }

    inlet
    {
        type            totalPressure;
        p0              uniform 0;
        U               U;
        phi             phi;
        rho             rho;
        psi             none;
        gamma           1;
        value           uniform 0;
    }

//    lowerWall
//    {
//        type            fixedFluxPressure;
//        value           uniform 0;
//    }

    outlet
    {
        type            totalPressure;
        p0              uniform 0;
        U               U;
        phi             phi;
        rho             rho;
        psi             none;
        gamma           1;
        value           uniform 0;
    }

//    defaultFaces
//    {
//       type            empty;
//    }
}

// ************************************************************************* //

Someone has an idea from where is the problem?

Thank you
rammstan is offline   Reply With Quote

Old   June 10, 2014, 08:26
Default
  #2
Senior Member
 
Alexey Matveichev
Join Date: Aug 2011
Location: Nancy, France
Posts: 1,930
Rep Power: 38
alexeym has a spectacular aura aboutalexeym has a spectacular aura about
Send a message via Skype™ to alexeym
Hi,

As you are trying to run the case with 2.1.1, you can take a look at source code for fixedFluxPressure BC (in 2.1.1 sources):

Code:
...
        //- Is the pressure adjoint, i.e. has the opposite sign
        Switch adjoint_;
...
In 2.3.0 this option was removed from BC, so it's not in tutorial files. You should add "adjoint false;" to walls dictionary in p_rgh file.
alexeym is offline   Reply With Quote

Reply

Tags
decomposepar, openfoam


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 04:28
OpenFOAM 1.6-ext git installation on Ubuntu 11.10 x64 Attesz OpenFOAM Installation 45 January 13, 2012 12:38
OpenFOAM on MinGW crosscompiler hosted on Linux allenzhao OpenFOAM Installation 127 January 30, 2009 19:08
Problem with rhoSimpleFoam matteo_gautero OpenFOAM Running, Solving & CFD 0 February 28, 2008 06:51
G95 + CGNS Bruno Main CFD Forum 1 January 30, 2007 00:34


All times are GMT -4. The time now is 21:38.