*freesizeparametersupdatewithfatigue
Updates the parameters of a free size design variable.
Syntax
*freesizeparametersupdatewithfatigue name mindim maxdim stress mesh_type fatigue_type fbound
Type
HyperMesh Tcl Modify
Description
This command updates the parameters of a free size design variable.
Inputs
- name
- The name of the free size design variable.
- mindim
- The minimum diameter of members formed. A value of 0 indicates that minimum member size control is not active.
- maxdim
- The maximum diameter of members formed. A value of 0 indicates that maximum member size control is not active.
- stress
- The stress constraint upper bound. A value of 0 indicates that a stress constraint is not active.
- mesh_type
- Flag to indicate the mesh type. Valid values are:
- 0 - Mesh type is inactive.
- 1 - Mesh is not aligned with neither draw direction nor extrusion path.
- 2 - Mesh is aligned with draw direction or extrusion path.
- fatigue_type
- A flag to indicate fatigue constraints. Valid values are:
- 0 - No fatigue constraint.
- 1 - Fatigue constraint specified as lower bound on damage.
- 2 - Fatigue constraint specified as upper bound on life.
- fbound
- If fatigue_type is 1, this is the lower bound on damage.
Example
To update the parameters of a free size design variable named fsize1, with a minimum member
size of 0.5, stress constraint of 25 and damage limited to
10:
*freesizeparametersupdatewithfatigue "fsize1" 0.5 0.0 25.0 0 1 10.0
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
10.0