View Issue Details
ID | Project | Category | View Status | Date Submitted | Last Update |
---|---|---|---|---|---|
0001323 | OpenFOAM | Bug | public | 2014-06-10 10:52 | 2014-08-16 15:25 |
Reporter | Assigned To | henry | |||
Priority | normal | Severity | minor | Reproducibility | always |
Status | closed | Resolution | no change required | ||
Platform | Xubuntu | OS | Ubuntu | OS Version | 12.04 CAE |
Summary | 0001323: When i run 'decomposePar' i have error | ||||
Description | Whe 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 Reproduce | i 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; // } } // ************************************************************************* // | ||||
Tags | No tags attached. | ||||
2014-06-10 10:52
|
|
|
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? |
|
I run this code (for 2.3 ) in the OF 2.1.1. Is there a lot of difference? |
|
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 |
Date Modified | Username | Field | Change |
---|---|---|---|
2014-06-10 10:52 |
|
New Issue | |
2014-06-10 10:52 |
|
File Added: study7.hdf | |
2014-06-12 09:24 |
|
Note Added: 0003130 | |
2014-06-13 07:57 |
|
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 |