*blmesh_2d2
Generates a 2D boundary layer mesh on boundary layer edges, with specified parameters
Syntax
*blmesh_2d2 base_entity_type base_mark_id num_layers first_layer_thickness growth_rate string_array number_of_strings
Type
HyperMesh Tcl Modify
Description
Generates a 2D boundary layer mesh on boundary layer edges, with specified parameters.
Non-boundary layer information is specified using the *blmesh_2d_input_nonbl and boundary layer information is specified using *blmesh_2d_input_bl. If *blmesh_2d_input_nonbl is not called before *blmesh_2d2, then all edges of the selected region are considered as boundary layer edges.
Inputs
- base_entity_type
- The type of entities to use for the base. Valid values are surfs and elems.
- base_mark_id
- The ID of the mark containing the base entities. Valid values are 1 and 2.
- num_layers
- The number of boundary layers to generate.
- first_layer_thickness
- The thickness value of the first layer.
- growth_rate
- The growth rate of the boundary layers.
- string_array
- The ID of the string array that contains the additional input parameters. The string array is created using the *createstringarray command. This should always be set to 1.
- number_of_strings
- Integer indicating the size (number of strings) in the string array created using *createstringarray.
Examples
To create a 5 layer boundary mesh with a quad dominated mesh of size 2.0 on surface 10,
with the first layer being 0.15 thick and a growth rate of 1.2, using boundary layer
elements 10 and 11 as fixed and 12 and 13 as float, and non-boundary layer elements 1 and 2
as fixed and 5 and 6 as
float:
*createmark elems 1 10 11
*createmark elems 2 12 13
*blmesh_2d_input_bl elems 1 elems 2
*createmark elems 1 1 2
*createmark elems 2 5 6
*blmesh_2d_input_nonbl elems 1 elems 2 1
*createstringarray 2 "element_size: 2.0" "element_type: quads"
*createmark surfs 1 10
*blmesh_2d2 surfs 1 5 0.15 1.2 1 2 2
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
11.0.130