*voxel_lattice_hex_mesh_add_entities_with_buffer
Adds entities to the voxel domain with a number of buffer layers.
Syntax
*voxel_lattice_hex_mesh_add_entities_with_buffer entity_type mark_id num_buffer_layers
Type
HyperMesh Tcl Modify Command
Description
Adds entities to the voxel domain with a number of buffer layers. Voxel gridding is done along the intersection profile of the entities and the buffer layer.
This must be preceded by a call to *voxel_lattice_hex_mesh_init and must be followed by a call to *voxel_lattice_hex_mesh_create.
Inputs
- entity_type
- The type of entity to add to the domain. Valid values are comps, elems, surfs, solids and lines.
- mark_id
- The ID of the mark of entities. Valid values are 1 and 2.
- num_buffer_layers
- The number of buffer layers.
Example
To create voxels of size 10 for include components 100-110 with 3 buffer layers around comp 110, and exclude components 200-203:
*voxel_lattice_hex_mesh_init 10
*voxel_lattice_hex_mesh_fill_voids 0
*createmark comps 1 100-109
*voxel_lattice_hex_mesh_add_entities comps 1 1
*createmark comps 1 100-110
*voxel_lattice_hex_mesh_add_entities_with_buffer comps 1 3
*createmark comps 2 200-203
*voxel_lattice_hex_mesh_remove_entities comps 2 1
*voxel_lattice_hex_mesh_create
*voxel_lattice_hex_mesh 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
2019.1