*refine_by_patterns_multiple_points

Refines multiple zones of elements using an all quad pattern.

Syntax

*refine_by_patterns_multiple_points mark_id strings

Type

HyperMesh Tcl Modify Command

Description

Refines multiple zones of elements using an all quad pattern. The zones are described by a refinement box and multiple center nodes. The refined mesh is then connected to the existing mesh using an all quad pattern through the transition zone, described by a transition box.

The refinement boxes will contain the refined elements, while the regions between the refinement boxes and the transition boxes will contain quads patterns used to transition between the refined mesh and base mesh size.

Inputs

mark_id
The ID of the mark containing the refinement box center nodes. Valid values are 1 and 2.
strings
A string that contains the additional input parameters. Each string must be space separated, including between = and the value. All strings are mandatory.
Valid strings are:
auto_transition = <value>
Currently unused and should be set to 0.
refine_zone_height = <value>
Defines the height of the refinement zone.
refine_zone_length = <value>
Defines the length of the refinement zone.
refine_zone_size = <value>
Defines the mesh size within the refinement zone.
refine_zone_width = <value>
Defines the width of the refinement zone.
squeez = <value>
Currently unused and should be set to 1.
system_id = <value>
The ID of a local coordinate system to which the zones are oriented. A default of 0 (global system) is used if not specified.
transition_zone_height = <value>
Defines the height of the transition zone.
transition_zone_length = <value>
Defines the length of the transition zone.
transition_zone_width = <value>
Defines the width of the transition zone.

Example

To refine elements around nodes 60, 61 and 63 with refinement size 1 using a refinement box of dimension (10,15,20) and transition box of dimension (40,50,45):

*createmark nodes 1 60 61 63
*refine_by_patterns_multiple_points 1 "refine_zone_size = 1 auto_transition = 0 transition_zone_length = 40 transition_zone_width = 50 transition_zone_height = 45 refine_zone_length = 10 refine_zone_width = 15 refine_zone_height = 20 system_id = 0 squeez = 1"

Errors

Incorrect usage results in a Tcl error. To detect errors, you can use the catch command:
if { [ catch {command_name...} ] } {
   # Handle error
}

Version History

14.0