*adaptive_wrapper_leak_check
Checks for leaks from selected elements with specified seed nodes during adaptive wrap meshing.
Syntax
*adaptive_wrapper_leak_check entity_type elem_mark_id node_mark_id min_size
Type
HyperMesh Tcl Modify
Description
This command can be used to quickly identify leaks from the base mesh. Volumes are defined by selection of seed nodes. Seed nodes should not be part of the base mesh.
This command must be called after *adaptive_wapper_init.
Inputs
- entity_type
- The type of entities used for adaptive wrap mesh leak detection. Currently only supported for elems.
- elem_mark_id
- The ID of mark containing the elements. Valid values are 1 and 2.
- node_mark_id
- The ID of mark containing the seed nodes. Valid values are 1 and 2.
- min_size
- The minimum element size considered during leak detection. It also acts as the gap patch tolerance to check the closeness of volumes.
Examples
#Initialization of wrapper mesh with base mesh
*createmark elements 1 "all"
*adaptive_wrapper_init elements 1 1 0
#Detect leaks
*createmark elements 1 "all"
*adaptive_wrapper_leak_check elems 1 1 0.1
#Build skeletal octree structure
*adaptive_wrapper_build
#Generate Mesh
*createstringarray 2 "DoRemesh: 1" "RemeshGrowthRate: 1.2"
*adaptive_wrapper_mesh 0 1 2
#End of wrapper mesh
*adaptive_wrapper_end
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
13.0