*adaptive_wrapper_preview
Previews the cavities for the adaptive wrap mesher.
Syntax
*adaptive_wrapper_preview ?num_cavities?
Type
HyperMesh Tcl Modify
Description
In case of a cavity mesh, this command can be used to preview cavities which are detected by the adaptive wrap mesher. For each cavity, a unique component is created which holds the shell elements defining the cavity.
This command must be called after *adaptive_wapper_build.
Inputs
- num_cavities (optional)
- The number of largest cavities to display.
Examples
#Initialization of wrapper mesh with base mesh
*createmark elements 1 "all"
*adaptive_wrapper_init elements 1 1 0
#Build skeletal octree structure
*adaptive_wrapper_build
#Preview all cavities
*adaptive_wrapper_preview
#Clear the preview
*adaptive_wrapper_preview_clear
#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