Run OptiStruct at the Command Line

Before you begin, copy the file(s) used in this tutorial to your working directory.

OptiStruct can be run at the command line (Unix or MSDOS). This tutorial assumes you already have the running file, plate.fem, in either your Unix or MSDOS directory. This tutorial also assumes you know the location of the solver script.

In this tutorial, $HWSDIR describes the directory containing the OptiStruct executable. On Unix machines, the script is normally located in the Altair HyperWorks installation directory under <install_directory>/scripts/. On Windows, it is normally located in the Altair HyperWorks installation directory under <install_directory>/hwsolvers/scripts/.

Running OptiStruct from the Command Line (Unix or MSDOS).

From the Command Prompt

$HWSDIR/<solver_name> plate.fem

Check Current Version at the Command Prompt

$HWSDIR/<solver_name> -version

Execute a Check Run to Validate Input Deck

$HWSDIR/<solver_name> plate.fem -check

Information regarding memory requirements is written to the file plate.out.

See Run OptiStruct in the User Guide for more detailed information.