#### 5.1.3.1. Element Size Controls

Parameter

Discussion

Result example

Type

Determines whether the element size is defined as a relative or absolute size.

Relative Value

Maximum element edge length relative to 1/10th of the diagonal of the bounding box of the structure. Only visible if Type is Relative.

Consider a 1 cm x 1 cm rectangle. The diagonal of the bounding box of the structure is 1.414 cm. The default setting of the parameter produces a 140 element mesh.

Mesher_2.Get_IMeshSimMesher().SetExRelativeSize("1"):

Different values of this parameter produce element counts as follows:

Value

Element Count

5.0

14

2.0

38

1.1

116

1.0

140

0.9

164

0.5

542

Absolute Value

Maximum element edge length in length units. Only visible if Type is Absolute.

Consider a 1 cm x 1 cm rectangle. The diagonal of the bounding box of the structure is 1.414 cm. Setting the parameter to 1/10 of the diagonal of the bounding box (0.00141 meters) produces a 140 element mesh. Compare this to the Relative Value discussion above.

Mesher_2.Get_IMeshSimMesher().SetExSizeType("Absolute")

Mesher_2.Get_IMeshSimMesher().SetExAbsoluteSize("0.00141")

Different values of the parameter produce element counts as follows:

Value

Element Count

0.141 x 5 = 0.705

14

0.141 x 2 = 0.282

38

0.141 x 1.1 = 0.1551

110

0.141 x 1 = 0.141

140

0.141 x .9 = 0.1269

164

0.141 x .5 = 0.0705

540

Enforce Wavelength Requirements

Enforce an upper bound on element size based on the highest AMR frequency and basis set. The highest Ports Only AMR frequency is used for RF3p simulations.

Anisotropic Scaling Factor

Scales the mesh elements anisotropically in the x, y, and z directions in order to create elongated elements to reduce simulation time. There is a default upper bound of 5 for the anisotropic aspect ratio: if one or two components defining the size are more than 5 times larger than the smallest component, they are scaled back so they are only 5 times larger.

Mesher_1.Get_IMeshSimMesher().SetExAnisoScaleFactor("1, 1, 1") (default):

Mesher_1.Get_IMeshSimMesher().SetExAnisoScaleFactor("5, 1, 1"):