29.1. Command Line Options

Command line options can be specified on the command line when running Aqwa from a command prompt on Windows or Linux.

Windows

Options are preceded by a forward slash; for example:

C:\Program Files\ANSYS Inc\v242\aqwa\bin\<platform>\aqwa.exe /nowind altest

would run the data file ALTEST.DAT using the option NOWIND.

At present there are only two command line options available.

/NOWIND - No Windows

This option automatically closes all windows that may be opened during a run. This means that no response is required from the user at the end of a run.

/STD - Use Command File

This option instructs Aqwa to accept commands from an Aqwa command file. For compatibility with previous versions of Aqwa this option (only) may be entered without the leading forward slash.

Linux

When running on Linux, no command line options are needed. To run Aqwa from the command line on Linux, run the script aqwa.sh; for example:

/<installation_directory>/ansys_inc/v242/aqwa/bin/<platform>/aqwa.sh ALTEST

Note:  Installing in /usr or /opt if you have root rights is recommended.

The launcher script is Bourne shell compliant.


The script sets up several environment variables including:

  • LD_LIBRARY_PATH, which allows you to specify the directory where your compiled user force library is stored, in addition to any other dynamic libraries required by Aqwa. Details on the path set for these libraries can be found in the launching script aqwa.sh.

  • AQWA_STACKLIMIT, which allows you to set the maximum size of your stack.