View Issue Details

IDProjectCategoryView StatusLast Update
0001323OpenFOAMBugpublic2014-08-16 15:25
Reporteruser946Assigned Tohenry  
PrioritynormalSeverityminorReproducibilityalways
Status closedResolutionno change required 
PlatformXubuntuOSUbuntuOS Version12.04 CAE
Summary0001323: When i run 'decomposePar' i have error
DescriptionWhe i run the decomposePar command, i have this output:

Number of processor faces = 2601
Max number of cells = 2627 (6.20578% above average 2473.5)
Max number of processor patches = 4 (0% above average 4)
Max number of faces between processors = 757 (16.4168% above average 650.25)

Time = 0


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

file: /home/jean-louis/Documents/OpenFoam/test/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

But i don't find the "adjoint" word...
Steps To Reproducei run the tutorial http://www.youtube.com/watch?v=1zQbU-E4k1U but whith my own pipe schema
Additional Information/*--------------------------------*- 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;
// }
}

// ************************************************************************* //
TagsNo tags attached.

Activities

user946

2014-06-10 10:52

 

study7.hdf (1,364,802 bytes)

user4

2014-06-12 09:24

  ~0003130

decomposePar knows about all the boundary conditions in the finiteVolume library so there should be no problem. Which version of the code are you running?

user946

2014-06-13 07:57

  ~0003131

I run this code (for 2.3 ) in the OF 2.1.1. Is there a lot of difference?

wyldckat

2014-08-16 14:47

updater   ~0003210

The boundary condition "fixedFluxPressure" changed considerably with the release of OpenFOAM 2.3.0.

For comparison, in OpenFOAM 2.2 the documentation gives this example:

    myPatch
    {
        type fixedFluxPressure;
        phiHbyA phiHbyA;
        phi phi;
        rho rho;
        Dp Dp;
    }

The keyword "adjoint" was optional... but so are all of the other 4 after "type".
But as of OpenFOAM 2.3.0, it's for example simply this:

    wall
    {
        type fixedFluxPressure;
        value uniform 0;
    }


I went back to testing decomposePar with OpenFOAM 2.1.x and 2.1.1 and the reported problem occurs in 2.1.1, but not in 2.1.x.
Therefore, it's a bug that has already been fixed in 2.1.x.

More specifically, this was solved in 2012-07-20 16:24:58, in commit 9f3dd6a37d69e37da337791423bfedce3ddcbb83: https://github.com/OpenFOAM/OpenFOAM-2.1.x/commits/9f3dd6a37d69e37da337791423bfedce3ddcbb83

Issue History

Date Modified Username Field Change
2014-06-10 10:52 user946 New Issue
2014-06-10 10:52 user946 File Added: study7.hdf
2014-06-12 09:24 user4 Note Added: 0003130
2014-06-13 07:57 user946 Note Added: 0003131
2014-08-16 14:47 wyldckat Note Added: 0003210
2014-08-16 15:25 henry Status new => closed
2014-08-16 15:25 henry Assigned To => henry
2014-08-16 15:25 henry Resolution open => no change required