*solidmap_solids_begin
Starts a multiple-solid solidmap command block.
Syntax
*solidmap_solids_begin mark_id options elem_size
Type
HyperMesh Tcl Modify
Description
This command is used by the multi-solid mapping algorithm to indicate the beginning of a solid mapping command block. It must be paired with a *solidmap_solids_end command.
*solidmap_solids_set_density
*solidmap_solids_set_elemsize
*solidmap_solids_set_face_params
*solidmap_solids_set_mapface
Inputs
- mark_id
- ID of the mark containing the solids to mesh. Valid values are 1 and 2.
- options
- Flags that indicate different options for solid mapping. Bit values are used and the
value is a sum of all the options. Any bits not listed below are unused or for internal
use (e.g. called in other commands) and are always internally set to their required
values. Setting them to 0 is recommended, but not mandatory.
- Bit0
- 0 – Reserved, must be set to 0.
- Bit1
- 0 – New elems are organized to the solid component.
- Bit2
- 0 – Reserved, must be set to 0.
- Bit3
- 0 – Create elems when calling *solidmap_solids_end .
- Bit4
- 0 – Create layered solid elements.
- Bit5,6
- 0 – Auto decide
- Bit8
- 0 – No additional smoothing steps will occur.
- Bit9,10,11
- 2D elem type 1 and 2 passing to the internal call to
*defaultremesh when per face meshing parameters are not available:
- 0 – Tria
- 512 – Quad
- 1024 - Mixed
- 1536 - R-tria
- 2048 - Quad only
- Bit13
- 0 – Keep shell meshes on input geometry.
- Bit14
- 0 – Normal meshing situations.
- Bit15
- 0 - Do not use meshing parameters saved to the solid map attributes on the geometry.
- Bit16
- 0 – Make the reparameterization of along faces more orthogonal.
- Bit17
- 0 – Do not use per edge/face saved meshing parameters.
- Bit18
- 0 – Stop meshing when elems with negative Jacobian are generated.
- elem_size
- The default element size used when the per edge/face meshing parameters are not available.
Example
To mesh solids 32 and 41 with a default elem size of 2.0 except on edges 2 and 4 which should have an elem size of 1.0:
*createmark solids 1 32 41
*solidmap_solid_begin 1 0 2.0
*createmark lines 1 2 4
*solidmap_solids_set_elemsize 1 1.0
*solidmap_solid_end
Errors
if { [ catch {command_name...} ] } {
# Handle error
}
Version History
10.0