Run OptiStruct
The execution of OptiStruct is described here.
- The OptiStruct script
- The HyperWorks Solver Run Manager
- HyperMesh
- HyperView and HyperGraph
In all the above cases, HyperWorks will initialize
$PATH
and other environment variables required to run the
selected solver; however, you are responsible for initializing environment variables
for 3rd party products. In particular, MPI and AMLS/FFRS external solvers (if needed) may require PATH
and
LD_LIBRARY_PATH
. For MPI runs, refer to SPMD Environment Variables.
From a Script
<install_dir>/altair/scripts/optistruct "filename" -option argument
<install_dir>/altair/scripts/optistruct → <install_dir>/altair/hwsolvers/scripts/optistruct
<install_dir>\hwsolvers\scripts\optistruct.bat "filename" -option argument
The options and arguments are described under Run Options.
- First, it checks to see if filename exists exactly as input.
- If filename does not exist exactly as input, and if filename does not contain an extension (that is, if the actual file name without the path does not contain a period), it then checks for "filename".parm and then for "filename".fem.
- If the filename is still not found, all the above searches are repeated with extra extension .gz appended (the file will then be assumed to be compressed using gzip or equivalent utility).
If none of these checks results in a match, OptiStruct reports an error and terminates.
From HyperWorks Solver Run Manager
<install_dir>/altair/hwsolvers/scripts/<solver name> -gui
For more information, refer to HyperWorks Solver Run Manager.
From HyperMesh
If you set up a finite element model in HyperMesh, you can run the simulation directly out of HyperMesh by going to the OptiStruct panel in the respective user profiles. The panels can be accessed through the Analysis page, from the Utility menu, or through the Applications pull-down. The panels ask for the file name. After clicking the solver button, the model is exported using the given export options, then the solver runs the script that is provided locally on the machine. After solver execution, the results can be viewed in HyperView. You can bring up HyperView with the results loaded by clicking HyperView.
<hostname>:0.0
. If this is different from the DISPLAY
setting for HyperMesh, 50 HyperWorks units (in addition to the 21 HyperWorks units being used for HyperMesh) will be checked out. To avoid the checking out of
additional units, be sure that the DISPLAY is set to
<hostname>:0.0
before starting HyperMesh.From HyperView or HyperGraph
If you are in HyperView or HyperGraph, OptiStruct can be run from the Applications pull-down. After selecting OptiStruct, the HyperWorks Solver Run Manager main form will appear, where you select a file, enter run options, and run the simulation.
Configuration File
The configuration file optistruct.cfg may be used to establish default settings for OptiStruct either system wide, for a particular user, or for a local directory. A full description of the settings allowed and the usage of the configuration file is provided on the Configuration File page.