-
Dear Romain Quey,
Marc Josien
|
Beta Was this translation helpful? Give feedback.
Replies: 2 comments
-
For example, if the domain is the usual unit cube and the aspect ratios are 2:1:0.5, the domain is first scaled to a cube of dimensions 0.5 x 1 x 2, the tessellation is generated, and the tessellation is scaled by factors of 2:1:0.5. Therefore, the grains have the expected aspect ratios (2:1:0.5) and the domain is the unit cube.
And yes, there are some inconsistencies with the seed weights. I've been reluctant to change this for backward compatibility reasons, but it may happen in a future major release. |
Beta Was this translation helpful? Give feedback.
-
Dear Romain Quey, Marc (Sorry for my previous message, which was not well-displayed, for I thought it would be displayed in plain text.) |
Beta Was this translation helpful? Give feedback.
-morpho aspratio
defines the aspect ratio of the cells. It is used independently of-morpho diameq
. The aspect ratios are indeed normalized so that the 3 values multiply to 1 (they are ratios...). The method to get the expected aspect ratios for the cells is to 1/ apply the inverse transformation to the domain, 2/ generate the tessellation into equiaxed cells (as usual) and 3/ apply the aspect-ratio transformation to the whole tessellation. In this way, the domain is as expected and the cells have the expected aspect ratios.For example, if the domain is the usual unit cube and the aspect ratios are 2:1:0.5, the domain is first scaled to a cube of dimensions 0.5 x 1 x 2, the tessellation …