Mechanical APDL Basic Analysis Guide - Ansys

Mechanical APDL Basic Analysis Guide - Ansys Mechanical APDL Basic Analysis Guide - Ansys

www1.ansys.com
from www1.ansys.com More from this publisher
15.11.2012 Views

Chapter 18: External Graphics 18.3.5. Exporting Files to Desktop Publishing or Word Processing Programs You can use the DISPLAY program to translate ANSYS graphics files into Hewlett Packard Graphics Language (HPGL), Encapsulated PostScript (EPS), or some other external format, for possible use in outside desktop publishing and word processing programs. The Window's version of DISPLAY is also capable of exporting Metafile Graphics (WMF or EMF), in addition to the formats listed above. See your program's documentation for the particular format requirements. 18.3.5.1. Exporting Files on a UNIX System To create such exportable graphics files, perform these tasks: 1. Using the DISPLAY program, issue the FILEDISP command to direct the program to read the desired filename. With the /SHOWDISP command, identify which graphics format you desire (HPGL, POSTSCRIPT, INTERLEAF, etc.). The HPGL format includes color HPGL capability, and the POSTSCRIPT format includes Encapsulated Postscript by default. 2. Still in the DISPLAY program, create one plot per file by typing PLOT,1, PLOT,2, ... etc. (or PLOT,ALL). The DISPLAY program will automatically assign an output filename. 3. Exit the DISPLAY program (using the FINISH command) and enter the word processing program. Create a graphics box in the document at the size of your choice. (Square boxes are recommended to avoid clipping the ANSYS image.) 4. Identify the appropriate file (for instance, PSCRnn.GRPH, HPGLnn.GRPH, etc.) and retrieve the image into the box. HPGL files will produce a screen image (bitmapped). You also can set up an EPS file to include a TIFF (Tagged Image File Format) bitmap or an Encapsulated PostScript Interchange Format (EPSI) bitmap for screen previewing. To do so, use the PSCR,TIFF and PSCR,EPSI command options within the DISPLAY program. 18.3.5.2. Exporting Files on a Windows System The Windows version of DISPLAY provides direct METAFILE graphics export, in addition to the formats listed above. The system must be running in 32 bit mode ( XP or 2000, running win32 or win32C). If the system is operating in Z-buffered mode, it will automatically switch to polygon mode when the file export is requested. A Windows metafile is created and saved in the specified directory by performing the following tasks: 1. From the FILE menu, select Export ANSYS Graphics. 2. Select Metafile. 3. To invert the colors of the graphic, choose the Controls option. The Standard Color option exports the ANSYS display file with a black background and the colors designated in the ANSYS program. The Invert WHITE/BLACK option will provide a white background, but still retain the original colors. Choose OK to continue. 4. Select the name, location and type of metafile to be exported. The option for WMF or EMF is provided. Each file export is assigned the default filename file00.emf (or wmf ), with the "00" field incrementing for each subsequent file export. Older Windows products do not support EMF files. Windows Metafiles can be exported directly from ANSYS (Windows systems only) by selecting Utility Menu> PlotCtrls> Write Metafile. The subsequent dialog boxes provide the same options listed above. Windows Metafiles cannot be obtained directly from the UNIX platform (ANSYS or DISPLAY). The DISPLAY utility for Windows must be installed, and the ANSYS graphics files must be exported to the Windows file system in order to be converted. DISPLAY for Windows is shipped with all ANSYS products. Contact your ASD for installation instructions. 280 Release 13.0 - © SAS IP, Inc. All rights reserved. - Contains proprietary and confidential information of ANSYS, Inc. and its subsidiaries and affiliates.

18.3.6. Editing the Neutral Graphics File with the UNIX GUI The UNIX GUI provides an edit dialog box to create a new neutral graphics file from a subset of plots in an existing file. You access this dialog box by choosing File > Edit Plot Sequence. 18.4. Obtaining Hardcopy Plots The DISPLAY program can generate hard copy through a number of external printer and plotter drivers, or by means of built-in terminal hardcopy capability. 18.4.1. Activating the Hardcopy Capability of Your Terminal on UNIX Systems If your terminal has built-in hardcopy capability, you can execute /PCOPY (for HP work stations only) or TERM,COPY,NCOPY (in the DISPLAY program) to activate it. This option is available only during interactive sessions, with the /SHOWDISP specification active for terminals having hard copy capability. 18.4.2. Obtaining Hardcopy on External Devices Using the DISPLAY Program The DISPLAY program supports a variety of printers and plotters via the HPGL, INTERLEAF, and POSTSCRIPT graphics drivers. To activate one of these drivers, first issue the appropriate /SHOWDISP command (such as /SHOWDISP,HPGL), and then set various driver options (using the HPGL, or PSCR commands, as appropriate). If you are using a pen plotter, the TRANS command will read the current neutral graphics file and will create a compressed and more efficient version of the file. Do not apply TRANS to files containing raster-mode hidden line displays, although TRANS will not adversely affect vector-mode hidden line displays.) Subsequent PLOT commands will create graphics files formatted for the desired device. The UNIX xdisplay130 GUI also provides a Postscript only Print dialog box. 18.4.3. Printing Graphics Displays on a Windows-Supported Printer To produce hard copy versions of ANSYS graphics displays, use the ANSYS Hard Copy menu and the Print menu in the DISPLAY program. When you are printing to a local (not shared) printer, follow these steps: 1. Activate the Print Manager. 2. Select the Properties Menu for the desired printer. 3. Select the Details Menu. 4. Select the option Print directly to ports. 18.4.3. Printing Graphics Displays on a Windows-Supported Printer Release 13.0 - © SAS IP, Inc. All rights reserved. - Contains proprietary and confidential information of ANSYS, Inc. and its subsidiaries and affiliates. 281

Chapter 18: External Graphics<br />

18.3.5. Exporting Files to Desktop Publishing or Word Processing Programs<br />

You can use the DISPLAY program to translate ANSYS graphics files into Hewlett Packard Graphics Language<br />

(HPGL), Encapsulated PostScript (EPS), or some other external format, for possible use in outside desktop<br />

publishing and word processing programs. The Window's version of DISPLAY is also capable of exporting<br />

Metafile Graphics (WMF or EMF), in addition to the formats listed above. See your program's documentation<br />

for the particular format requirements.<br />

18.3.5.1. Exporting Files on a UNIX System<br />

To create such exportable graphics files, perform these tasks:<br />

1. Using the DISPLAY program, issue the FILEDISP command to direct the program to read the desired<br />

filename. With the /SHOWDISP command, identify which graphics format you desire (HPGL, POSTSCRIPT,<br />

INTERLEAF, etc.). The HPGL format includes color HPGL capability, and the POSTSCRIPT format includes<br />

Encapsulated Postscript by default.<br />

2. Still in the DISPLAY program, create one plot per file by typing PLOT,1, PLOT,2, ... etc. (or PLOT,ALL).<br />

The DISPLAY program will automatically assign an output filename.<br />

3. Exit the DISPLAY program (using the FINISH command) and enter the word processing program.<br />

Create a graphics box in the document at the size of your choice. (Square boxes are recommended to<br />

avoid clipping the ANSYS image.)<br />

4. Identify the appropriate file (for instance, PSCRnn.GRPH, HPGLnn.GRPH, etc.) and retrieve the image<br />

into the box. HPGL files will produce a screen image (bitmapped). You also can set up an EPS file to<br />

include a TIFF (Tagged Image File Format) bitmap or an Encapsulated PostScript Interchange Format<br />

(EPSI) bitmap for screen previewing. To do so, use the PSCR,TIFF and PSCR,EPSI command options<br />

within the DISPLAY program.<br />

18.3.5.2. Exporting Files on a Windows System<br />

The Windows version of DISPLAY provides direct METAFILE graphics export, in addition to the formats listed<br />

above. The system must be running in 32 bit mode ( XP or 2000, running win32 or win32C). If the system<br />

is operating in Z-buffered mode, it will automatically switch to polygon mode when the file export is requested.<br />

A Windows metafile is created and saved in the specified directory by performing the following tasks:<br />

1. From the FILE menu, select Export ANSYS Graphics.<br />

2. Select Metafile.<br />

3. To invert the colors of the graphic, choose the Controls option. The Standard Color option exports the<br />

ANSYS display file with a black background and the colors designated in the ANSYS program. The Invert<br />

WHITE/BLACK option will provide a white background, but still retain the original colors. Choose OK<br />

to continue.<br />

4. Select the name, location and type of metafile to be exported. The option for WMF or EMF is provided.<br />

Each file export is assigned the default filename file00.emf (or wmf ), with the "00" field incrementing<br />

for each subsequent file export. Older Windows products do not support EMF files.<br />

Windows Metafiles can be exported directly from ANSYS (Windows systems only) by selecting Utility Menu><br />

PlotCtrls> Write Metafile. The subsequent dialog boxes provide the same options listed above.<br />

Windows Metafiles cannot be obtained directly from the UNIX platform (ANSYS or DISPLAY). The DISPLAY<br />

utility for Windows must be installed, and the ANSYS graphics files must be exported to the Windows file<br />

system in order to be converted. DISPLAY for Windows is shipped with all ANSYS products. Contact your<br />

ASD for installation instructions.<br />

280<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!