Descriptions of Local Sizing Control Options

Use the options described below to further define local mesh sizing. The choices that are available depend on the selected topology, as noted in the individual option descriptions. You can set the following local sizing options:

Definition Options:

Advanced Options:

Element Size

If you selected a body, face, or edge, Element Size (default) is one of the available options in the Type field. Enter a positive value (decimals are allowed) in this field. Smaller values generate more divisions. A value of "0" instructs the sizing control to use its defaults.

The following series of figures shows the effect of the Element Size option applied to the central face at 5mm.

Element Size set to 5mm.
Element Size default.

Additional details about the Element Size option differs depending on whether a curvature, proximity, or uniform size function is set. If a size function is set, the description of Element Size is as follows:

Sphere of Influence

The Sphere of Influence option is available in the Type field after you select an entity such as a body, face, edge, or vertex.

If Size Function is Adaptive. the option is available after you select a body, face, edge, or vertex, and affects only the entities it is scoped to. If scoping to a body, the body must be a sheet or solid body; line bodies are not supported.

If Size Function is Uniform, Curvature, Proximity, or Proximity and Curvature, the option is available only when scoped to a vertex or body, and affects all bodies in the model.

Although the Behavior option is not available for Sphere of Influence, Sphere of Influence behaves as a Hard setting. That is, in the vicinity of a Sphere of Influence, the Sphere of Influence sizing overrides pre-existing sizing information regardless of whether the pre-existing sizes are larger or smaller than the Sphere of Influence sizing. This is in contrast to the Body of Influence option, which behaves as a Soft setting.

For bodies, faces, and edges, Sphere of Influence allows you to apply mesh sizing within the confines of a sphere in space that you define as follows:

  1. Create a local coordinate system whose origin you intend to be the center of the sphere.

  2. Select this coordinate system in the Sphere Center field.

  3. Enter the radius of the sphere in the Sphere Radius field.

  4. Enter a value in the Element Size field. The element size will be applied to all topologies within the confines of the sphere. For example, if you are applying the element size to a face, the size will also be applied to the edges of that face, and to the vertices of those edges, but only within the confines of the sphere. An example is shown below.

If you selected a vertex, the only option available in the Type field is Sphere of Influence. The description is the same as presented above except that the center of the sphere is the vertex. There is no need to create or use a local coordinate system to define the center of the sphere. After applying element size to a vertex using Sphere of Influence, the element size is applied to all topologies connected to that vertex, such as all edges and faces containing that vertex, if they fall within the sphere. An example is shown below.

Body of Influence

The Body of Influence option is available in the Type field if you selected a body and Size Function is Uniform, Curvature, Proximity, or Proximity and Curvature. (Body of Influence is not active when Size Function is Adaptive.) Using this option, you can set one body as a source of another body (that is, a Body of Influence). The Body of Influence will influence the mesh density of the body that it is scoped to, but it will not be a part of the model geometry nor will it be meshed. Body of Influence bodies are noted in the Details View of each prototype.

Although the Behavior option is not available for Body of Influence, Body of Influence behaves as a Soft setting. That is, in the vicinity of a Body of Influence, the specified Body of Influence sizing must be larger than the smallest Min Size/Proximity Min Size and smaller than the global Max Tet Size to have an effect on the mesh size distribution. The specified Body of Influence sizing imposes a local maximum size on all elements that are inside the boundary of the body. This is in contrast to the Sphere of Influence option, which behaves as a Hard setting.

Remember the following notes when using Body of Influence:

Factor of Global Size

If you select a body, face, or edge, Factor of Global Size is one of the available options in the Type field (unless Size Function is Adaptive). Choose Factor of Global Size and enter a value for Element Size Factor to define the local minimum and defeature sizes as factors of the global element size. If local sizings are defined as a factor of global size and you modify the Element Size, the local sizings are recalculated.

Number of Divisions

Number of Divisions can be used with all meshers except for Assembly Meshing algorithms.

If you select an edge, the options available in the Type field are Element Size and Sphere of Influence, along with the Number of Divisions option. Choosing Number of Divisions and entering a value in the Number of Divisions field is an alternative to choosing Element Size if you are interested in having the mesh be sized according to a discrete number of divisions along an edge. If you set Number of Divisions to a value greater than 1000, the number of divisions will not be drawn on the edge in the Geometry window.

Defeature Size

For body sizing and face sizing controls, sets the local tolerance for defeaturing. Features smaller than or equal to this value will be removed when the mesh is generated. You can specify any value greater than 0.0.

If the local size function is set to Uniform, the default local Defeature Size is set to the smaller of the following two values:

For all other local size functions, the default local Defeature Size is set to the smaller of the following two values:

For more information about setting the defeature size, see Defeature Size.

Defeature Size Scale

Specify the scale factor for the defeature size. The value that you specify is multiplied by the global element size to determine the local defeature size. The default is determined by the Defeature Size Factor option in the Options dialog box.

Size Function

If a global size function is defined for the model, then you can set a local size function on a body, face, or edge to further refine the local entity's sizing. When you set a local size function on an entity, the local size function options default to the same values that are defined for the global size function. You can change any of these values, and the local values will take precedence over the global values when the mesh is generated.

If the global size function is set to Proximity, Curvature, or Proximity and Curvature, and the local size function is set to Uniform (or vice versa), the local size function takes precedence.

Example 4:  Setting a Local Size Function

If the global size function is set to Curvature with a 20° Curvature Normal Angle, and you set a local size function of Curvature on a face with a 60° Curvature Normal Angle, the local Curvature Normal Angle will take precedence when the mesh is generated. In this example, the face with the local sizing control will use a Curvature Normal Angle of 60° even though the global value is 20°.


You can set any of the following local size functions:


Note:  Local size function limitations include:

  • If the global size function is set to Adaptive, then you cannot set a local size function.

  • If the global size function is set to Proximity or Proximity and Curvature, and the local size function is set to Curvature or Proximity and Curvature (or vice versa), the mesh on the entity is generated as though Proximity and Curvature is set locally.

  • If the global size function is set to Proximity, and the local size function is set to Curvature (or vice versa), the size function that has the smallest size specified for it (either Num Cells Across Gap for the Proximity size function, or Curvature Normal Angle for the Curvature size function) takes precedence.

  • The local Proximity size function is not supported for sheet models. If the local Proximity and Curvature size function is defined on a sheet model, only the Curvature size function takes effect.

  • Local proximity size functions (Proximity size function and Proximity and Curvature size function) are not supported for edge sizing controls. To set a local size function for an edge sizing control, you must choose either Uniform or Curvature.


Growth Rate

You may specify a growth rate for the scoped soft size of an entity (body, face, or edge only). The description of the scoped Growth Rate is the same as that of the global growth rate that you can set in the Details View when the Mesh object is selected in the Tree Outline. However, the growth rate you specify for a scoped entity must always be smaller than or equal to the specified global growth rate. Growth Rate is not available for Sphere of Influence. Specifying a growth rate for a face or body affects the growth on the face or on the boundary of the body, and its effect continues outside of the scoped entity as well.

Local Min Size

You can set Local Min Size to specify a value that takes priority over the global Min Size when you select a body, face, or edge. If Local Min Size is set to Default, the mesher uses either the global Min Size or the local Element Size (if defined), whichever is smaller. This setting is available when using either the Curvature or Proximity and Curvature size function, and is useful when you want to refine the mesh based on curvature. When you set the Local Min Size, the mesher refines from the Element Size to the Local Min Size in curved areas, but retains the Element Size for flat areas.


Note:  Local Min Size may not be respected by the Sweeping or MultiZone Methods due to the interval assignment used to generate structured meshes. The min size is used on source faces, but not necessarily on side faces.


Curvature Min Size Scale

Specify the scale factor for the curvature minimum size. The value that you specify is multiplied by the global element size to determine the local curvature minimum size. The default is determined by the Mechanical Min Size Factor or CFD Min Size Factor option in the Options dialog box, depending on the physics preference.

Curvature Normal Angle

You may specify Curvature Normal Angle for a scoped entity (body, face, or edge only). Curvature Normal Angle is the maximum allowable angle that one element edge is allowed to span given a particular geometry curvature. Available only when Size Function is set to either Proximity and Curvature or Curvature. You can specify a value from 0 to 180 degrees to override the global setting (where a value of 0 resets the option to its default). The default for the global setting is calculated based on the values of the Relevance and Span Angle Center options.

For more information, see Curvature Normal Angle.

Proximity Min Size

This option allows you to specify a minimum size to be used in a local proximity size function calculation, in addition to the Local Min Size. By default, Proximity Min Size is set equal to the default of Local Min Size. You can accept the default or specify a value greater than 0. For more information, see Proximity Min Size.

Proximity Min Size Scale

Specify the scale factor for the proximity minimum size. The value that you specify is multiplied by the global element size to determine the local proximity minimum size. The default is determined by the Mechanical Min Size Factor or CFD Min Size Factor option in the Options dialog box, depending on the physics preference.

Num Cells Across Gap

Specify the minimum number of layers of elements to be generated in gaps.

Proximity Size Function Sources

This option is available if the Size Function is either Proximity or Proximity and Curvature. It determines whether regions of proximity between faces and/or edges are considered when proximity size function calculations are performed.

For more information, see Proximity Size Function Sources.

Behavior

If the global Size Function is Adaptive or the local Size Function is Uniform, the Behavior option is available for bodies, faces, and edges.

You can specify either Soft (default) or Hard, but the effect depends on the type of mesh being generated. Typically, Hard results in a stricter size setting than Soft. For example, with a tri or tet mesh, the Hard setting would not allow as much transition from one element size to another element size due to influences of size functions on neighboring objects. With a Hard setting, the element size defined would be maintained for the object to which the setting is scoped. With a Soft setting, the element size defined may be modified in order to respect other size settings in the vicinity of the object to which the setting is scoped.

You should take care when applying Hard sizes. With a mapped quad/tri or swept mesh, a Hard setting forces the interval edge assignment on the object to be met, and if the mesher cannot achieve the setting, the mesh could fail.

Bias Type and Bias Option

For edges only, use Bias Type to adjust the spacing ratio of nodes on an edge. This feature is useful for any engineering problem where nodes need to be clustered on an edge or group of edges, or if there is a need to bias the mapped mesh of a face towards a specific direction with respect to the edges of the face. Bias Type can be used with all meshers except the Patch Independent Tetrahedron method and the assembly meshing algorithms. To use Bias Type, choose one of the four pre-determined patterned options depicted pictorially from the Bias Type drop down menu:


Note:  The MultiZone meshing method respects all Bias Type options.  The nodes generally follow the distribution. However, some optimization can be done to improve transition with other mesh, or to improve the quality.  Setting the Behavior to Hard will give higher priority to the bias settings defined than the optimization.


Then specify a Bias Option. The drop-down menu enables you to choose No Bias, Bias Factor, or Smooth Transition:


Note:  If Behavior is set to Hard, then the number of divisions and the bias cannot be changed by the mesher. If Behavior is set to Soft, then the edge divisions can be changed but the edge will be initially meshed with the specified Bias Factor.


If you want to select multiple edges to apply sizing, but some of the edges do not have the same orientation, you can use the Reverse Bias option to manually select all of the edges. Reverse Bias is available when the control is applied to the edges, defined as an Element Size or Number of Divisions, and has a bias towards one of the vertices (“- -- --- ----” or “---- --- -- -”).

To apply Reverse Bias, select a group of edges, then choose Reverse Bias and click Apply. Only edges that are part of the main scoping of the control are applied. All others are ignored.

To undo Reverse Bias, select an edge that is not part of the main scoping. Then choose Reverse Bias and click Apply.


Release 18.2 - © ANSYS, Inc. All rights reserved.