|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: 5
in execise 126.96.36.199 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: Rhode-Saint-Genèse, Belgium
Posts: 43Rep Power: 6
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.