15.11.2012 Views

Mechanical APDL Basic Analysis Guide - Ansys

Mechanical APDL Basic Analysis Guide - Ansys

Mechanical APDL Basic Analysis Guide - Ansys

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

Chapter 20: File Management and Files<br />

• Double-click on a .db or .dbb file to execute the Run Interactive Now program. When executed in<br />

this way, ANSYS will use the Initial jobname, Total Workspace (-m), and Database (-db) values previously<br />

set in the Interactive dialog box. To change these settings, access the Interactive dialog box (select<br />

Interactive from the ANSYS folder), change the settings as desired, and click on Close.<br />

• Double-click on a .grph or .f33 file to execute the DISPLAY program. The first plot that appears in<br />

the file will be loaded into DISPLAY automatically.<br />

For more information about the Interactive dialog box, see the Operations <strong>Guide</strong>. For more information about<br />

the DISPLAY program, see Using the DISPLAY Program to View and Translate Neutral Graphics Files (p. 277) in<br />

the <strong>Basic</strong> <strong>Analysis</strong> <strong>Guide</strong>.<br />

20.2. Changing the Default File Name<br />

When you activate the ANSYS program, you can change the default jobname from file or FILE to a name<br />

that is more meaningful. To do so, activate the program as follows:<br />

ansys130 -j newjobname<br />

The value -j (or -J) is an option indicating that a new jobname, newjobname, follows. Once this command<br />

executes, all ANSYS files produced during this run will have a filename of newjobname.ext.<br />

Note<br />

If an ANSYS job is running in the background, do not execute the ANSYS program interactively in<br />

the same directory unless you use a different jobname.<br />

ANSYS can process blanks in file and directory names. Be sure the file name is enclosed in a pair of single<br />

quotes if a blank appears in the file name. Note that many UNIX commands do not support object names<br />

with blank spaces.<br />

20.3. Sending Output to Screens, Files, or Both<br />

One of the files commonly referred to throughout the ANSYS documentation set is the output file (Jobname.OUT).<br />

If you are running on a UNIX system and you want to send ANSYS output only to the screen,<br />

open the launcher via the launcher130 command. Then select the Preferences tab and select Screen<br />

Only for the Send Output To option. The output "file" will be your ANSYS output window. If you choose<br />

Screen and File, then an actual text file called Jobname.OUT will also be written in your current working<br />

directory.<br />

Note<br />

When you launch ANSYS from the launcher and direct output to both screen and file, ANSYS will<br />

not immediately display output in the output window. The I/O buffer must be filled or flushed<br />

first. Errors and warnings will flush the I/O buffer. You can also issue certain commands (e.g.,<br />

/OUTPUT, NLIST, or KLIST) to force flush the I/O buffer.<br />

Windows systems do not support the Screen and File option. The default behavior is to print output to the<br />

output window. You can redirect your text output to a file by using the /OUTPUT command.<br />

298<br />

Release 13.0 - © SAS IP, Inc. All rights reserved. - Contains proprietary and confidential information<br />

of ANSYS, Inc. and its subsidiaries and affiliates.

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!