*computeboundarylayerthickness
Calculates the boundary layer thickness reduction factors based on the proximity used for the boundary layer mesh generation.
Syntax
*computeboundarylayerthickness bl_entity_type bl_mark_id non_bl_entity_type non_bl_mark_id string_array number_of_strings
Type
HyperMesh Tcl Modify
Description
This command is used for computing the boundary layer thickness reduction factors based on the proximity used for the boundary layer mesh generation. The input to this command is a list of wall elements (on which the boundary layer needs to be grown), and another list of elements which are not ‘wall’ elements, like inlet, outlet, symmetry, far field, etc.. The output is a load collector named ^CFD_BL_Thickness with loads representing the reduction factors.
Inputs
- bl_entity_type
- Entity type used for the boundary layer input. Valid values are elements and components.
- bl_mark_id
- The ID of the mark containing the boundary layer input. Valid values are 1 and 2.
- non_bl_entity_type
- Entity type used for non-boundary layer input. Valid values are elements and components.
- non_bl_mark_id
- The ID of the mark containing the non-boundary layer input. Valid values are 1 and 2.
- 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 and their syntax are:
- cfd: <first_layer_thickness> <number_of_layers> <layer_growth_rate> <minimum_core_to_boundary_layer_thickness_ratio> <corner_thickness_scaling_factor> <check_for_closure_flag>
- logfile: <log file path>
- number_of_strings
- Integer indicating the size (number of strings) in the string array created using *createstringarray.
Examples
*createmark comps 1 wall
*createmark comps 2 inlet outlet
*createstringarray 1 {{cfd : 0.1 5 1.2 2.0 1.0 1} {logfile: output.txt}}
*computeboundarylayerthickness comps 1 comps 2 1 2
Errors
if { [ catch {command_name...} ] } {
# Handle error
}
Version History
11.0.101