|November 6, 2013, 08:48||
plateHole and mapFields - tutorial exercise with FOAM IO FATAL ERROR
Join Date: Oct 2013
Location: Rio de Janeiro
Posts: 7Rep Power: 3
in execise 220.127.116.11 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.
I understand that sizes should not be the same, because of mesh refining. So, why is it giving this error?
Thanks in advance.
|November 20, 2013, 10:23||
Join Date: Jul 2012
Location: Bordeaux, France
Posts: 38Rep Power: 5
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.