*seatfoamdeformer
Deforms the selected seat foam components with a choice to create their initial reference geometries.
Syntax
*seatfoamdeformer foamcompsmark=<mark_id> dummycompsmark=<mark_id> fixednodesmark=<mark_id> ?displacementdirectionratio={<value>}? ?createrefgeom=<value>?
Type
HyperMesh Tcl Modify Command
Description
Deforms the seat foam and updates the nodes of the selected seat foam components. The seat foam components must contain solid elements. The final configuration is obtained by displacing the appropriate dummy components in a specified direction. The fixed nodes on the foam need to be specified as well.
Inputs
- foamcompsmark=<mark_id>
- The ID of the mark containing the foam components to be deformed. Valid values are 1 and 2.
- dummycompsmark=<mark_id>
- The ID of the mark containing the dummy components used to deform the selected foam components. Valid values are 1 and 2.
- fixednodesmark=<mark_id>
- The ID of the mark containing the fixed nodes on the selected foam components. Valid values are 1 and 2.
- displacementdirectionratio={<value>}
- The direction in which the dummy components are displaced to deform the foam components. The default vector is {0.3, 0.0, -0.7}.
- createrefgeom=<value>
- The option that specifies whether the reference geometries of the foam components need to be created or not. Valid values are 0 and 1 (default).
Example
hm_createmark comps 1 1
hm_createmark comps 2 2
hm_createmark nodes 1 "by id only" {nodes 1000 1001 1002 1003 1004 1005}
*seatfoamdeformer foamcompsmark=1 dummycompsmark=2 fixednodesmark=1
*seatfoamdeformer foamcompsmark=1 dummycompsmark=2 fixednodesmark=1 displacementdirectionratio={0.4 -0.2 -1.0} createrefgeom=0
Errors
if { [ catch {command_name...} ] } {
# Handle error
}
Version History
2021.2