*topologyparametersupdatewithmingap
Updates the parameters of a topology design variable.
Syntax
*topologyparametersupdatewithmingap name mindim maxdim stress mesh_type fatigue_type fbound mingap
Type
HyperMesh Tcl Modify
Description
This command updates the parameters of a topology design variable.
Inputs
- name
- The name of the topology 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:
- fatigue_type
- A flag to indicate fatigue constraints. Valid values are:
- fbound
- If fatigue_type is 1, this is the lower bound on damage. If fatigue_type is 2, this is the upper bound on life.
- mingap
- Minimum gap value. If maxdim is not active, should be set to zero.
Example
To update the parameters of a topology design variable named dtpl1, with a minimum member size of 0.5, stress constraint of 25 and damage limited to 10, with minimum gap value of 0.5:
*topologyparametersupdatewithmingap "dtpl1" 0.5 0.0 25.0 0 1 10.0 0.5
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
11.0