*ossmooth_12
Extract the final design geometry from OptiStruct topology, topography and shape optimization results, and achieve smoothed plies from free-size optimization results on composites.
Syntax
*ossmooth_12 modelsel exemode load_op outputcode filepath_fem filepath_sh filepath_grid isosurface autobead string_array number_of_strings
Type
HyperMesh Tcl Modify Command
Description
Extract the final design geometry from OptiStruct topology, topography and shape optimization results, and achieve smoothed plies from free-size optimization results on composites.
Inputs
- modelsel
- Model selection option.
- exemode
- Flag indicating the execution mode of OSSmooth. Valid values are:
- 0 - Extract geometry only
- 1 - Extract geometry and inherit boundary conditions for FEA reanalysis
- 2 - Smoothing plies from free-sizing optimization results on composites
- load_op
- Execution/load option. Valid values are:
- 0 - Create .oss file only to be used in standalone version (do not execute ossmooth)
- 1 - Do not load geom into HyperMesh.
- 2 - Load geom intoHyperMesh.
- outputcode
- Output file format. Valid values are:
- 1 - Nastran
- 2 - IGES
- 3 - STL
- 4 - H3D
- 5 - STEP
- 6 - PARASOLID
- 7 - IGES (advanced)
- filepath_fem
- The full name and path to the OptiStruct .fem results file generated from the optimization.
- filepath_sh
- The full name and path to the OptiStruct .sh results file generated from the optimization.
- filepath_grid
- The full name and path to the OptiStruct .grid results file generated from the optimization.
- isosurface
- Flag indicating whether to create an isosurface.
- 1 - Yes
- 0 - No
- autobead
- Flag indicating whether to create an autobead design.
- 1 - Yes
- 0 - No
- string_array
- The ID of the string array that contains the additional 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. The valid strings are documented below.
Examples
To execute OSSmooth FEA reanalysis on the current model in HyperMesh (the C:/test/os1.fem and
c:/test/os1.sh files), create isosurface with 0.3 density threshold,
split all quads on non-design/design interface, Laplacian smoothing, with 10 iterations and
30 degrees feature angle, do remeshing on 2 layers of elements around PLOT, with element
size 0.5, and feature angle
30:
*createstringarray 3 "isosurf: 3 3 0.3 0 -1 0 0 10 30 1 0" "remesh: 0.5 0 0 2 30" "other_params: 1 0 0 0 10"
*ossmooth_12 1 1 0 3 "c:/test/os1.fem" "c:/test/os1.sh" "" 1 0 1 2
To execute ply smoothing on C:/test/os2.fem, eliminate small element
patches and holes with less than 20 elements, smoothing plies with 20 iterations, split
disconnected patches into new plies, export smoothed result plies into
C:/test/os2_smooth.fem:
*createstringarray 1 "ply: C:/test/os2_smooth.fem 20 1 20 1"
*ossmooth_12 0 2 0 1 "C:/test/os2.fem" "" "" 0 0 1 1
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