smrtsize#
- Meshing.smrtsize(sizlvl='', fac='', expnd='', trans='', angl='', angh='', gratio='', smhlc='', smanc='', mxitr='', sprx='', **kwargs)#
Specifies meshing parameters for automatic (smart) element sizing.
Mechanical APDL Command: SMRTSIZE
- Parameters:
- sizlvl
str Overall element size level for meshing. The level value controls the fineness of the mesh. (Any input in this field causes remaining arguments to be ignored.) Valid inputs are:
n- Activate SmartSizing and set the size level ton. Must be an integer value from 1 (fine mesh) to 10 (coarse mesh). Remaining arguments are ignored, and argument values are set as shown in SMRTSIZE - Argument Values for h-elements.STAT- List current smrtsize settings.DEFA- Set all smrtsize settings to default values (as shown in SMRTSIZE - Argument Values for h-elements for size level 6).OFF- Deactivate SmartSizing. Current settings of desize will be used. To reactivate SmartSizing, issue smrtsize,n.
- fac
str Scaling factor applied to the computed default mesh sizing. Defaults to 1 for h-elements (size level 6), which is medium. Values from 0.2 to 5.0 are allowed.
- expnd
str Mesh expansion (or contraction) factor. (This factor is the same as mopt,EXPND,
Value.)EXPNDis used to size internal elements in an area based on the size of the elements on the area’s boundaries. For example, issuing smrtsize,,,2 before meshing an area will allow a mesh with elements that are approximately twice as large in the interior of an area as they are on the boundary. IfEXPNDis less than 1, a mesh with smaller elements on the interior of the area will be allowed.EXPNDshould be greater than 0.5 but less than 4.EXPNDdefaults to 1 for h-elements (size level 6), which does not allow expansion or contraction of internal element sizes (except when using aesize element sizing). (IfEXPNDis set to zero, the default value of 1 will be used.) The actual size of the internal elements will also depend on theTRANSoption or upon aesize or esize sizing, if used.- trans
str Mesh transition factor. (This factor is the same as mopt,TRANS,
Value.)TRANSis used to control how rapidly elements are permitted to change in size from the boundary to the interior of an area.TRANSdefaults to 2.0 for h-elements (size level 6), which permits elements to approximately double in size from one element to the next as they approach the interior of the area. (IfTRANSis set to zero, the default value will be used.)TRANSmust be greater than 1 and, for best results, should be less than 4. The actual size of the internal elements will also depend on theEXPNDoption or upon aesize or esize sizing, if used.- angl
str Maximum spanned angle per lower-order element for curved lines. Defaults to 22.5 degrees per element (size level 6). This angle limit may be exceeded if the mesher encounters a small feature (hole, fillet, etc.). (This value is not the same as that set by desize,,,
ANGL.)- angh
str Maximum spanned angle per higher-order element for curved lines. Defaults to 30 degrees per element (size level 6). This angle limit may be exceeded if the mesher encounters a small feature (hole, fillet, etc.). (This value is NOT the same as that set by desize,,,,
ANGH.)- gratio
str Allowable growth ratio used for proximity checking. Defaults to 1.5 for h-elements (size level 6). Values from 1.2 to 5.0 are allowed; however, values from 1.5 to 2.0 are recommended.
- smhlc
str Small hole coarsening key, can be ON (default for size level 6) or OFF. If ON, this feature suppresses curvature refinement that would result in very small element edges (that is, refinement around small features).
- smanc
str Small angle coarsening key, can be ON (default for all levels) or OFF. If ON, this feature restricts proximity refinement in areas where it is ill-advised (that is, in tight corners on areas, especially those that approach 0 degrees).
- mxitr
str Maximum number of sizing iterations (defaults to 4 for all levels).
- sprx
str Surface proximity refinement key, can be off (
SPRX= 0, which is the default for all levels ) or on via two different values (SPRX= 1 orSPRX= 2). IfSPRX= 1, surface proximity refinement is performed and any shell elements that need to be modified are modified. IfSPRX=2, surface proximity refinement is performed but no shell elements are altered.
- sizlvl
Notes
If a valid level number (1 (fine) to 10 (coarse)) is input on
SIZLVL, inputs for remaining arguments are ignored, and the argument values are set as shown in SMRTSIZE - Argument Values for h-elements.The settings shown are for h-elements. The first column contains
SIZLVdata, ranging from 10 (coarse) to 1 (fine). The default is 6 (indicated by the shaded row).SMRTSIZE - Argument Values for h-elements#
FAC
EXPND
TRANS
ANGL
ANGH
GRATIO
SMHLC
SMANC
MXITR
SPRX
10
5.0
2.0
2.0*
45.0
45.0*
2.0
on
on
4*
off
9
3.0
1.75
2.0*
36.0
45.0*
1.9
on
on
4*
off
8
1.875
1.5
2.0*
30.0
45.0*
1.8
on
on
4*
off
7
1.5
1.0
2.0*
26.0
36.0*
1.7
on
on
4*
off
6
1.0*
_cellfont Shading=”gray1” ? 1.0*
2.0*
22.5
30.0*
_cellfont Shading=”gray1” ? 1.5*
on
on
4*
_cellfont Shading=”gray1” ? off
5
0.65
1.0*
2.0*
18.0
27.0
1.5
on
on
4*
off
4
0.4
1.0*
2.0*
15.0
22.0
1.5
off
on
4*
off
3
0.3
1.0*
2.0*
12.0
18.0
1.5
off
on
4*
off
2
0.25
1.0*
2.0*
10.0
15.0
1.5
off
on
4*
off
1
0.2
1.0*
2.0*
7.5
15.0
1.4
off
on
4*
off
Where appropriate, SmartSizing will start with aesize settings. Elsewhere, it will start with any defined esize,SIZE setting. It will locally override aesize or esize for proximity and curvature. SmartSizing ignores any esize,,NDIV setting.
lesize line division and spacing specifications will be honored by SmartSizing, unless you give permission for SmartSizing to override them (for proximity or curvature) by setting KYNDIV to 1. Lines not having an lesize specification are meshed as well as they can be.
This command is also valid for rezoning.