RUNNING ansys

Date of last revision: 4/30/2004

ANSYS is used for finite element analysis and design. The program is used to find out how a given design works under operating conditions and can be used to calculate a proper design for given operation conditions.

ANSYS is a general-purpose program, meaning that you can use it for almost any type of finite element analysis in virtually any industry -- automobiles, aerospace, railways, machinery, electronics, sporting goods, power generation, power transmission, and biomechanics, just to mention a few. "General Purpose" also refers to the fact that the program can be used in all disciplines of engineering -- structural, mechanical, electrical, thermal, fluid, and biomedical. ANSYS is also used as an educa tional tool in universities and other academic institutions.


PREPARATION

csh/tcsh:

source /usr/local/scripts/setup.ansys.csh

You may put this in your .cshrc file.

sh/ksh/sh(posix)/bash:

. /usr/local/scripts/setup.ansys.sh

You may put this in your .profile file.


RUNNING

Type:

xansys54 &

This will bring up a menu. From here, you can select which part of ansys you wish to go in.

Online documentation is available in the menu selection *ANSYS HELP SYSTEM*. This contains ALL of the Manuals for Ansys 5.2. The 5.0 manuals can be checked out from the Lab Monitor.


PRINTING/PLOTTING

In "Interactive" mode (with the windows, etc), you should be able to print by going to the "Hard Copy" option under the "PlotCtrls" menu in the "Ansys Toolbar". From here, you can either spool directly to a POSTSCRI PT file (by default) or to a print command. You will need to modify the print command to print it to a POSTSCRIPT device. See "helpme printing-unix" to get the proper print command.

In non-interactive mode, you'll have to do this (for plotters and postscript printers):

In ansys.e, you have to tell it to display in "Vector Mode". Typically, "/showx11" is the command for this. Instead, use the command "/showx11,,1". To write to a file, type "/show,plot,,1" which will write to a f ile called "plot" in the current directory. Multiple plots can be written to the same file.

Now you must use the display54 program to convert it into an HPGL file so the plotter will be able to understand it. Type the following series of commands into display.e:

/show,hpgl
file,plot
hpgl,color,1
plot,all

This will create a file called hpgl00.grph in your current directory. Subsequent plot commands (for more than one frame) will result in files called hpglxx.grph where xx is the number of the specified frame minus one.

You can also print your ansys plots to the Postscript printer, although the commands used are somewhat different. To create Postscript plot files, here is the commands you must issue to display54 (assuming you're reading from file "plot" as abo ve):

/show,postscript
file,plot
pscr,color,3
plot,all

This will create files of the format pscrxx.grph (where xx is as above). These 'grph' files are suitable for sending to a postscript printer. Because we don't have color laser printers, your plot will come out in a dithered monochrome.

Once you've created your plot files, you can then send them to the printer with the 'lp' command from your unix prompt (see "helpme printing-unix" for more information).


NOTES


Click here to return to the Helpme menu.