plateHole and mapFields - tutorial exercise with FOAM IO FATAL ERROR
in execise 18.104.22.168 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.
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.
Thanks a lot!
|All times are GMT -4. The time now is 05:38.|