Thermics Regularize Field: Position of Thin Volume Region (Minor Issue)
The position of the thin volume when Flag_Regularization == 1
in the thermics tutorial seems to be off slightly (as far as I understand the model). Talking only about the left boundary of window 1, the line for the thin shell is located at x = 15mm while the outer bound for the thin volume is at x = 13.5mm and the inner boundary at x = 14.5mm. Hence, the regularized window is slightly bigger than the thin shell window.
This is of course only a minor issue (but possibly confusing) and can be easily fixed by changing the assignments in this part of brick_common.pro
If( Flag_Regularization )
dx_Win1 += 1*e_layer;
dy_Win1 += 1*e_layer;
EndIf
into either += 0*e_layer //i.e. equiv to deleting the assignment
(thin shell coincides with inner boundary of the thin volume window), -= 1*e_layer
(thin shell is in the middle of the two boundaries of the thin volume, probably preferred?) or -= 2*e_layer
(thin shell coincides with outer boundary).
Many thanks for the great tutorial and GetDP/gmsh in general!