Closed ktiqbal closed 8 months ago
There was in fact a bug for Saramito (+Log) and ML_IKH models related with N and the I tensor components (affecting the deviatoric). The code could compute those from vector dims
provided by the user or deduce it from the mesh. The former approach was correct (you can try it by defining dims (1 1 0)
without recompiling the code), but there was a bug in the second one.
The bug was fixed by requiring vector dims
to be always user defined with the remaining parameters under constant/constitutiveProperties/parameters
dict. In your case, for example, being 2D, you should have dims (1 1 0)
. For a 3D case (including axisymmetric), it would be dims (1 1 1)
and in 1D dims (1 0 0)
.
Note: this only affects the above mentioned rheological models.
Discussed in https://github.com/fppimenta/rheoTool/discussions/120