CFD Online Discussion Forums

CFD Online Discussion Forums (https://www.cfd-online.com/Forums/)
-   OpenFOAM Running, Solving & CFD (https://www.cfd-online.com/Forums/openfoam-solving/)
-   -   Fatal Error in decomposePar (https://www.cfd-online.com/Forums/openfoam-solving/120970-fatal-error-decomposepar.html)

Ronan July 18, 2013 08:20

Fatal Error in decomposePar
 
I'm runnung the code in parallel, no probs with openFoam 2.0.1 version but when Im running with openFoam 2.2.1 I got this error:


--> FOAM FATAL IO ERROR:

Cannot find 'value' entry on patch inlet of field U in file "/(...)/0/U"
which is required to set the values of the generic patch field.
(Actual type timeVaryingUniformFixedValue)

Please add the 'value' entry to the write function of the user-defined boundary-condition


file: /(...)/0/U.boundaryField.inlet from line 27 to line 29.

From function genericFvPatchField<Type>::genericFvPatchField(con st fvPatch&, const Field<Type>&, const dictionary&)
in file genericFvPatchField/genericFvPatchField.C at line 71.

FOAM exiting

Any idea how to solve the problem?

Thanks

Ronan July 18, 2013 10:15

Solved! it was becuase timeVaryingUniformFixedValue is not more used in 2.1.X

mina.basta July 23, 2013 08:06

I have this message:

--> FOAM FATAL IO ERROR:
size 2629 is not equal to the given value of 14752

file: /home/fayez/Bureau/test1_clapet/0/ccz::boundaryField::stlSurface_entree from line 3386031 to line 3386032.

From function Field<Type>::Field(const word& keyword, const dictionary&, const label)
in file /home/opencfd/OpenFOAM/OpenFOAM-2.1.1/src/OpenFOAM/lnInclude/Field.C at line 236.

FOAM exiting



Anybody can help me to solve it?

ARTem July 23, 2013 08:33

Quote:

Originally Posted by mina.basta (Post 441475)
I have this message:

--> FOAM FATAL IO ERROR:
size 2629 is not equal to the given value of 14752

file: /home/fayez/Bureau/test1_clapet/0/ccz::boundaryField::stlSurface_entree from line 3386031 to line 3386032.

Anybody can help me to solve it?

It seems, in ccz variable in boundary field description (0/ folder) you set
value nonuniform List<Type> 2629(....);
but according to a mesh (constant/polyMesh/) that boundary has 14752 faces instead of 2629.

wyldckat August 16, 2013 10:31

Greetings to all!

To add to ARTem's answer: the files "0/cc*" usually can safely be removed, since those are only useful for debugging and certain cases of dynamic meshes.

Best regards,
Bruno


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