*freeshapeparametersupdatewithtransition

Updates the parameters of a free shape design variable.

Syntax

*freeshapeparametersupdatewithtransition name dtype mvfactor nsmooth maxgrowblank maxgrow maxshrinkblank maxshrink smethod ntrans

Type

HyperMesh Tcl Modify

Description

This command updates the parameters of a free shape design variable.

Inputs

name
Name of the free shape design variable.
dtype
Direction type for free shape variation. Valid values are:
  • 1 - unconstrained
  • 2 - grow
  • 3 - shrink
mvfactor
Initial perturbation factor.
nsmooth
Number of mesh smoothing layers.
maxgrowblank
Flag to indicate if maxgrow is blank.
  • 0 - non-blank
  • 1 - blank
maxgrow
Maximum growing distance. Ignored if maxgrowblank is set to 1.
maxshrinkblank
Flag to indicate if maxshrink is blank.
  • 0 - non-blank
  • 1 - blank
maxshrink
Maximum shrinking distance. Ignored if maxshrinkblank is set to 1.
smethod
Smoothing method. Possible values are:
  • 1 - Optimized for speed.
  • 2 - Optimized for accuracy.
ntrans
Number of grids in the transition zone.

Example

To update the parameters of a free shape design variable fsh1, such that the variable grows to a distance of 12.3, using 5 smoothing layers optimized for accuracy, an initial perturbation factor of 0.6, and 5 transition nodes:
*freeshapeparametersupdatewithtransition "fsh1" 2 0.6 5 0 12.3 1 0 2 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.101