View Issue Details Jump to Notes ] Issue History ] Print ]
IDProjectCategoryView StatusDate SubmittedLast Update
0001323OpenFOAM[All Projects] Bugpublic2014-06-10 09:522014-08-16 14:25
Reporterjl.stanus 
Assigned Tohenry 
PrioritynormalSeverityminorReproducibilityalways
StatusclosedResolutionno change required 
PlatformXubuntuOSUbuntuOS Version12.04 CAE
Product Version2.1.1 
Target VersionFixed in Version 
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.
Attached Files? file icon study7.hdf [^] (1,364,802 bytes) 2014-06-10 09:52

- Relationships

-  Notes
(0003130)
mattijs (manager)
2014-06-12 08:24

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?
(0003131)
jl.stanus (reporter)
2014-06-13 06:57

I run this code (for 2.3 ) in the OF 2.1.1. Is there a lot of difference?
(0003210)
wyldckat (reporter)
2014-08-16 13:47

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 09:52 jl.stanus New Issue
2014-06-10 09:52 jl.stanus File Added: study7.hdf
2014-06-12 08:24 mattijs Note Added: 0003130
2014-06-13 06:57 jl.stanus Note Added: 0003131
2014-08-16 13:47 wyldckat Note Added: 0003210
2014-08-16 14:25 henry Status new => closed
2014-08-16 14:25 henry Assigned To => henry
2014-08-16 14:25 henry Resolution open => no change required