*blmesh_2d_computeblthickness1
Generates boundary layer thickness on boundary nodes, with specified parameters and default boundary layer/non-boundary layer type definition.
Syntax
*blmesh_2d_computeblthickness1 base_entity_type base_mark_id num_layers first_layer_thickness growth_rate core_to_BL_ratio corner_factor string_array number_of_strings
Type
HyperMesh Tcl Modify Command
Description
Used to generate boundary layer thickness on boundary nodes with specified parameters and default BL/nonBL type definition. *blmesh_2d_input_bl and *blmesh_2d_input_nonbl should be used before calling this command.
Inputs
- base_entity_type
- The type of entities to use for the base to generate BL thickness. Only elems are valid.
- 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.
- core_to_BL_ratio
- Ratio of core mesh to BL thickness, which is used for BL reduction.
- corner_factor
- A dimensionless value used for corner management. The range is 0.1-1.0 for thinner BL thickness, and 1.0-10.0 for thicker BL thickness.
- string_array
- The ID of the string array that contains additional input parameters. The string array
is created using the *createstringarray command. This should always
be set to 1. Valid strings are:
- DefaultBLSelection:
- Default BL/non-BL selection for all boundary edges. Valid values are:
- 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 from elements 10-100, with the first layer being 0.15
thick and a growth rate of 1.2, a core-to-BL ratio of 2.5, a corner factor of 1.0, 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 1 "DefaultBLSelection: With_BL"
*createmark elems 1 10-100
*blmesh_2d_computeblthickness1 elems 1 5 0.15 1.2 2.5 1.1 1 1
Errors
Incorrect usage results in a Tcl error. To detect
errors, you can use the catch
command:
if { [ catch {command_name...} ] } {
# Handle error
}