*ossmooth2

This command extracts the final design geometry from OptiStruct topology, topography or shape optimization results.

Syntax

*ossmooth2 femfile load_op outputcode tetrameshingcode units autobead autobeadthreshold autobeadlayer isosurface surfacecode densitythreshold distancecoefficient optismoothboundary lapiteration lapfeatureangle lapsmoothboundary remesh surfacereduction reductionfeatureangle

Type

HyperMesh Tcl Modify Command

Description

This command extracts the final design geometry from OptiStruct topology, topography or shape optimization results.

Inputs

femfile
OptiStruct base input file from which to extract the final geometry
load_op
Execution/load option:
  • 0 - Create .oss file only to be used in standalone version (do not execute ossmooth)
  • 1 - Do not load geom.
  • 2 - Load geom
outputcode
Output file format:
  • 1 - Nastran
  • 2 - IGES
  • 3 - STL
  • 4 - H3D
tetrameshingcode
Flag indicating whether to create tetramesh after creating isosurface (1=yes, 0=no). Only to be used in standalone version.
units
Units to use for IGES output:
  • 1 - inch
  • 2 - mm
  • 4 - foot
  • 6 - meter
  • 10 - cm
autobead
Flag indicating whether to create an autobead design (1=yes, 0=no).
autobeadthreshold
Threshold value for autobead (real value ≥ 0 and ≤ 1).
autobeadlayer
Layer value for autobead (integer value 0 or 1).
isosurface
Flag indicating whether to create an isosurface (1=yes, 0=no).
surfacecode
The method to use:
  • 0 - no smoothing, isosurface only
  • 1 - Optimization based smoothing
  • 2 - no smoothing, element threshold
  • 3 - Laplacian smoothing
densitythreshold
The density threshold for topology optimization (real value ≥ 0 and ≤ 1).
distancecoefficient
The distance coefficient to use in optimization based smoothing (real value ≥ -50 and ≤ 50).
optismoothboundary
Flag indicating whether to include the boundary or not in optimization based smoothing (1=yes, 0=no).
lapiteration
The number of iterations to use in Laplacian smoothing (integer ≥ 0).
lapfeatureangle
The feature angle to use in Laplacian smoothing (real value ≥ 1 and ≤ 80).
lapsmoothboundary
Flag indicating whether to include the boundary or not in Laplacian smoothing (1=yes, 0=no).
remesh
Flag indicating whether to remesh when creating an autobead design or/and isosurface (1=yes, 0=no).
surfacereduction
Flag indicating whether to use surface reduction (1=yes, 0=no).
reductionfeatureangle
The feature angle to use when requesting surface reduction (real value ≥ 1 and ≤ 80).

Example

The following example executes OSSmooth on the c:/test/os1.fem, c:/test/os1.grid and c:/test/os1.sh files, loading geometry back to HyperMesh, requesting Nastran output, creating 1 layer autobead with remesh design with 0.3 bead threshold, no surface reduction, 0.3 topology optimization threshold, Laplacian smoothing, 10 iterations, 30 degrees feature angle and include the boundary:

*ossmooth2 "c:/test/os1.fem" 2 1 0 1 1 0.3 1 1 3 0.3 0 0 10 30 1 1 0 10

Errors

None.

Version History

10.0