Miscellaneous

  • 12 Predefined Views

    Matthew Pausley (Nuvotronics, Inc.)

    This is an XML file that can be used in Workbench Mechanical to provide 12 common views aligned with the coordinate axes. The naming convention is "Up-Axis + Axis of viewing", i.e. "Z+X" means "Z axis is up, looking in the direction of positive X". To import this XML file into Workbench Mechanical, go to "View menu > Windows > Manage Views", then click on the "Import..." icon in the Manage Views panel to import this XML file.

  • Shaping Optimization of Turbine Disk and Bearing Seal

    Shen-Yeh Chen

    Example of use of in-house optimization code with ANSYS to produce optimization of structures without parametric geometric information.

  • Unofficial History of ANSYS

    Shen-Yeh Chen (Honeywell)

    This is an unofficial history of Dr. Swanson and ANSYS.

  • apdl.syn

    Bob Weathers (Trane)

    APDL.syn

  • ask.tcl

    Navtej Singh (Intel)

    "You will be prompted with variable name and value in a single dialouge box. Enter the variable name upto 32 chars long. Enter the variable value upto 128 chars long. Value can be numeric or string. No need to enter quotes for string. On clicking enter this script will set the variable name with the value in ANSYS properly either as a nummeric or string."

  • circle.grn

    John Crawford (Honeywell)

    A UIDL function (granule file) to create circles by picking. To change the menu put the following in a menu granule:
    :!
    :N Men_CIRC
    :S 0, 0, 0
    :T Menu
    :A Circles
    :D Circles
    Fnc_CIRCLEWP
    Fnc_CIRCLEKP
    :E END
    :!

  • cmap_ansys_viridis.cmap

    Cristóbal Tapia (University Stuttgart)

    This is a colormap for Viridis, which is the new colormap designed by Nathaniel Smith and Stéfan van der Walt for matplotlib

  • getfile.tcl

    Matthew Sutton (PADT)

    Tcl script which opens a dialog box for a user to select an input file to read from (/INPUT). Use ~eui,'source getfile.tcl' to run the Tcl script, after saving it to your working directory.

  • greyscl.cmap

    John Thompson (ANSYS, Inc.)

    Color map file to produce grayscale contours. Use /cmap,greyscl.cmap to read this file in.

  • importJPEG1.bas

    Mark Tate (Hamilton Sundstrand)

    "Here is a Word Macro that I hacked together a while back that copies a group of graphic files into Word, two per page, with figure numbers. You can change the extension from jpg to png. It looks for files with a root name and add numbers to form the full name, i.e. root001.jpg, root002.jpg, etc."

  • importJPEG2.bas

    Gary Betts (Metso Minerals Ltd)

    "Here is a macro for MS Word that will count and import all the jpegs in a defined folder into Word."

  • importPPT.bas

    Mark Tate (Hamilton Sundstrand)

    A visual basic PowerPoint macro to import JPEG files into PowerPoint, one image per slide. Edit the file in a text editor to change variables or directory locations, etc.

  • importpara.tcl

    Sheldon Imaoka (ANSYS, Inc.)

    Example of use of Tcl/Tk to bring up custom dialog box to import parasolid files. This could be used in an input file to automatically prompt the user to import a particular parasolid file through a dialog box. It can be easily extended to include any Connection Kit product (ACIS/SAT, Pro/E, UG, CATIA, etc.).

  • inventor.vbs

    Robert SeCaur (ANSYS, Inc.)

    In Workbench Design Simulation 8.0, Named Selections can be imported from certain CAD systems. For Inventor, this .vbs file will aid in exporting a group as a Named Selection.

    "Here is the macro code for Inventor. It will create an attribute set on each selected entity (the name for this is immaterial) and an attribute in that set (the name for this is what will be looked at for creating a WB side attribute). More than anything this was a proof of concept script and does not have some of the "niceties" one might like (e.g. just adding to an already existing attribute set instead of creating a new one, or modifying an existing value if an attribute already exists of a given name in the given set). However, this script would allow you (with multiple invocations) to create multiple attributes on a given entity. That is something that an entity naming scheme does not allow conveniently. This is particularly significant for named selections, since an entity may need to be included in several named selections (perhaps one for load, one for mesh sizing, etc.)."

  • jkt.cmap

    Juha Tyllinen (KONE Corporation)

    Color map (contours) which uses grayscale. Use /cmap,jkt,cmap to read in file.

  • list of Files

    ansys.net

    List of Files from ansys.net

  • plot7.cmap

    Bryan Baskin (Bell Helicopter Textron, Inc.)

    Color map (contours) which ranges from purple to red. Use /cmap,plot7.cmap to read in file.

  • reverse_color.cmap

    Sheldon Imaoka (ANSYS, Inc.)

    Colormap file to have reverse black and white. Use /cmap,reverse.cmap to read this file in.

    (This is the same colormap you get when you use "Utility Menu > PlotCtrls > Style > Color > Reverse Video")

  • reverse_gray.cmap

    Sheldon Imaoka (ANSYS, Inc.)

    Colormap file to have reverse black and white with grayscale colors (dark=blue, light=red). Use /cmap,reverse_gray.cmap to read this file in

  • rotate.grn

    Joe Metrisin (Florida Turbine Technologies, Inc.)

    Here's a UIDL function (Granule file) I wrote a while back to rotate any geometric or finite element entity about any local or global coordinate system axis.

  • script.ps1

    unknown

    script.ps1

  • silicon.mat

    Steve Groothuis (Micron Technology, Inc.)

    Although strictly not an input file, the "silicon.mat" file contains temp-dependent properties of silicon. See this email from S. Groothuis for more informaiton.

  • tempdele.bat

    Bram Weisman (SBM-IMODCO)

    "Caution: This batch file is very powerful. It searches the current folder and all subfolders for known ANSYS temporary files and deletes them without sending them to the recycle bin. Therefore I would recommend that you do not execute this in the root folder of any drive which has program files. It would be O.K. to execute this one folder down in a folder where you keep your ANSYS project files. Also, you should familiarize your with the list of file extensions which this batch files deletes and be sure you agree with it. Do not run this in an ANSYS folder if you plan to do any RESTART from existing results files."

  • userelement.tar

    Roger Young (Industrial Research Ltd.)

    "This package contains a number of examples of the Ansys user element <uel> which may be further adapted for personal use. The examples given here are for a 4-node planar element USER101 with linear shape functions similar to the Ansys element PLANE42. However USER101 may easily be extended to a 3D 8-node element and/or to quadratic shape functions by changing the specifications in lib/PAR.NML. In addition there is a simple extension to general large strain non-linear deformation which is illustrated in uel3/ex2."

  • wirebond

    Sheldon Imaoka (ANSYS, Inc.)

    Simple Workbench Mechanical 13.0 example of a ultrasonic wire bonding tool. The piezoelectric stacks are prestressed with a bolt and driven at a given frequency (in this case, resonance is around 59 kHz). Project includes prestressed modal and prestressed harmonic response analyses.

    To run this analysis, be sure to set the environment variable WB OLD PRESTRESS first since piezoelectric elements are not supported with the newer PERTURB method.

  • woofer.wbpz

    Sheldon Imaoka (ANSYS, Inc.)

    Fictitious example of an acoustic analysis of a speaker in an archived ANSYS Workbench 13.0 project. Voice coil is excited with unit force; pressure is measured in front of speaker.

    In Workbench, turn on beta features in order to be able to postprocess acoustic pressure.

    Instead of performing a harmonic sweep, an analysis of a single frequency is set up. The Workbench Parameter page is then use to run a frequency sweep, where the PML (perfectly matched layers) region and buffer region size, along with mesh density, is adjusted for each frequency. This is done because if a single mesh for a large frequency range is used, the PML region would need to be as large as to accommodate the lowest frequency of interest while the mesh needs to be fine enough to capture the response of the highest frequency of interest — a large domain and small element size would result in inefficient solution times. By using Workbench Parameters, the mesh can be adjusted uniquely for each frequency. Higher-order FLUID220 and FLUID221 are used.