*blmesh_2d
Generates a 2D boundary layer mesh on surfaces/elements.
Syntax
*blmesh_2d base_entity_type base_mark_id bl_entity_type bl_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 surfaces/elements.
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.
- bl_entity_type
- The type of entities to use for the boundary layers. Valid values depend on the base entity type:
- bl_mark_id
- The ID of the mark containing the boundary layer 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. Valid parameters include:
- number_of_strings
- Integer indicating the size (number of strings) in the string array created using *createstringarray.
Examples
To create 5 layer boundary mesh with a quad dominated mesh of size 2.0 on surface 10 using
lines 20, 21, 25, 26, 37 and 38, with the first layer being 0.15 thick and a growth rate of
1.2:
*createstringarray 2 "element_size: 2.0" "element_type: quads"
*createmark surfs 1 10
*createmark lines 1 20 21 25 26 37 38
*blmesh_2d surfs 1 lines 1 5 0.15 1.2 1 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