OSSmooth is a semi-automated design interpretation software, facilitating the recovery of a modified geometry resulting from structural optimization, for further use in the design process and FEA reanalysis. OSSmooth is embedded in HyperMesh and it can be used in three different ways: OSSmooth for geometry, FEA topology reanalysis, and FEA topography reanalysis.
In this article the correct process to execute OSSmooth from the command window via the HyperMesh batch is presented. The following procedures can be used for both Linux and Windows.
OSSmooth requires the input file (<prefix>.fem), the shape file (<prefix>.sh), and/or the grid file (<prefix>.grid) from an OptiStruct run. The grid file <prefix>.grid contains the grid point locations after a topography or shape optimization and is output at the end of a topography or shape optimization run. The shape file, <prefix>.sh, contains the element density information of a topology optimization and is output at the end of a topology optimization run.
For the execution of OSSmooth via the command line, there is the need for a call of HyperMesh batch mode, which then will call a necessary tcl script. In this tcl script there are the parameters for the correct design interpretation. The directory of the generated files from the OSSmooth run will be the same as the directory of the file obtained from the optimization run.
For topography:
<altair_home>\hwdesktop\hm\bin\win64\hmbatch.exe -b -tcl OSSMOOTH_topography_v0.1.tcl inputfile.fem outputfile.grid
For topology:
<altair_home>\hwdesktop\hm\bin\win64\hmbatch.exe -b -tcl OSSMOOTH_topology_v0.1.tcl inputfile.fem outputfile.sh
For topography:
<altair_home>/altair/scripts/hmbatch -tcl OSSMOOTH_topography_v0.1.tcl inputfile.fem outputfile.grid -nobg
For topology:
<altair_home>/altair/scripts/hmbatch -tcl OSSMOOTH_topology_v0.1.tcl inputfile.fem outputfile.sh -nobg
Note:
The tcl script is slightly different if the optimization was topology and if it was topography. The script contains three commands on both occasions. The three commands are:
The last two commands contain all the parameters to be used for the design interpretation. The inputs of the *ossmooth_12 command are listed in the second link at the end of this article. Regarding the second command, the inputs were obtained from a previous manual run via the OSSmooth GUI. In this specific command there is the difference between the two optimization processes.