*freeshapesidecontraintsbarrierupdatemanual
Updates the side constraints of a free shape design variable by allowing the specification of each individual bound and also updates the ID of the component specified as the barrier.
Syntax
*freeshapesidecontraintsbarrierupdatemanual name xlc xl xuc xu ylc yl yuc yu zlc zl zuc zu syst_id comp_id
Type
HyperMesh Tcl Modify
Description
This command updates the side constraint bounds of a free shape design variable manually.
Inputs
- name
- Name of the free shape design variable.
- xlc
- Flag indicating if the x-component of the lower bound is constrained.
- 1 – Constrained.
- 0 – Unconstrained.
- xl
- x-component of the lower bound.
- xuc
- Flag indicating if the x-component of the upper bound is constrained.
- 1 – Constrained.
- 0 – Unconstrained.
- xu
- x-component of the upper bound.
- ylc
- Flag indicating if the y-component of the lower bound is constrained.
- 1 – Constrained.
- 0 – Unconstrained.
- yl
- y-component of the lower bound.
- yuc
- Flag indicating if the y-component of the upper bound is constrained.
- 1 – Constrained.
- 0 – Unconstrained.
- yu
- y-component of the upper bound.
- zlc
- Flag indicating if the z-component of the lower bound is constrained.
- 1 – Constrained.
- 0 – Unconstrained.
- zl
- z-component of the lower bound.
- zuc
- Flag indicating if the z-component of the upper bound is constrained.
- 1 – Constrained.
- 0 – Unconstrained.
- zu
- z-component of the upper bound.
- syst_id
- The coordinate system ID in which the coordinates are given.
- comp_id
- The ID of the barrier, consisting of shell elements.
Example
To update the side constraints of a free shape design variable fsh1 to be constrained only
in the z-direction with lower and upper bounds of 20 and 50 in the global system, with a
barrier component ID of
10:
*freeshapesideconstraintsbarrierupdatemanual "fsh1" 0 0 0 0 0 0 0 0 1 20 1 50 0 10
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
9.0