CFD Online Discussion Forums

CFD Online Discussion Forums (http://www.cfd-online.com/Forums/)
-   OpenFOAM Post-Processing (http://www.cfd-online.com/Forums/openfoam-post-processing/)
-   -   plateHole and mapFields - tutorial exercise with FOAM IO FATAL ERROR (http://www.cfd-online.com/Forums/openfoam-post-processing/126020-platehole-mapfields-tutorial-exercise-foam-io-fatal-error.html)

Gwind November 6, 2013 08:48

plateHole and mapFields - tutorial exercise with FOAM IO FATAL ERROR
 
Hi folks,

in execise 2.2.4.1 of the tutorial, I manage to refine the mesh for plateHole. However, when I try to map the final coarse mesh results from section 2.2.3 to the initial conditions for the fine mesh, I get the following answer.

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

file: /home/yoda/OpenFOAM/yoda-2.2.1/run/tutorials/stressAnalysis/solidDisplacementFoam/plateHolefino/100/sigmaxz from line 18 to line 1145.

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

FOAM exiting


I understand that sizes should not be the same, because of mesh refining. So, why is it giving this error?

Thanks in advance.

leroyv November 20, 2013 10:23

Dear Gwind,

I had this exact same error. While I'm not certain of what caused it to happen, I noticed that things went okay when I deleted every run directories (0/, 20/, ..., 100/) in the directory of the refined mesh case (plateHoleFineMesh/ in my case). I hope this helps you.

V

Gwind November 26, 2013 07:19

Thanks a lot!

Gwind


All times are GMT -4. The time now is 15:26.