*remesh_optistruct
Remeshes the current model with FE type definitions maintained, used to improve the mesh quality in OptiStruct free shape, shape or topography optimization.
Syntax
*remesh_optistruct string_array number_of_strings
Type
HyperMesh Tcl Modify
Description
Remeshes 2D elements at intersection locations. Only elements belonging to different components are taken as counterparts for the intersection calculation. Moreover, elements sharing a node are not counterparts for the intersection calculation.
Inputs
- string_array
- The ID of the string array that contains the additional input parameters. The string array is created using the *createstringarray command. This should always be set to 1.
- number_of_strings
- Integer indicating the size (number of strings) in the string array created using *createstringarray.
Example
To executes the function on the current model, taking the optimized grid coordinates from the file C:/test/torquearm.grid, and performing remeshing with grids in SET number 2 fixed:
*createstringarray 2 "fgrd: C:/test/ torquearm.grid" "skipgs: 2"
*remesh_optistruct 1 2
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
12.0.110