Example: bachelor of science

ANSYS Parametric Design Language Guide

ANSYS Parametric Design Language GuideRelease , 2009 Southpointe275 Technology DriveANSYS, Inc. iscertified to ISO9001 , PA T ) 724-746-3304(F) 724-514-9494 Copyright and Trademark Information 2009 SAS IP, Inc. All rights reserved. Unauthorized use, distribution or duplication is , ANSYS workbench , Ansoft, AUTODYN, EKM, Engineering Knowledge Manager, CFX, FLUENT, HFSS and any andall ANSYS , Inc. brand, product, service and feature names, logos and slogans are registered trademarks or trademarksof ANSYS , Inc. or its subsidiaries in the United States or other countries.

ANSYS, ANSYS Workbench, Ansoft, AUTODYN, EKM, Engineering Knowledge Manager, CFX, FLUENT, HFSS and any and all ANSYS, Inc. brand, product, service and feature names, logos and slogans are registered trademarks or trademarks

Tags:

  Guide, Language, Design, Parametric, Ansys, Workbench, Ansys workbench, Ansys parametric design language guide

Information

Domain:

Source:

Link to this page:

Please notify us if you found a problem with this document:

Other abuse

Transcription of ANSYS Parametric Design Language Guide

1 ANSYS Parametric Design Language GuideRelease , 2009 Southpointe275 Technology DriveANSYS, Inc. iscertified to ISO9001 , PA T ) 724-746-3304(F) 724-514-9494 Copyright and Trademark Information 2009 SAS IP, Inc. All rights reserved. Unauthorized use, distribution or duplication is , ANSYS workbench , Ansoft, AUTODYN, EKM, Engineering Knowledge Manager, CFX, FLUENT, HFSS and any andall ANSYS , Inc. brand, product, service and feature names, logos and slogans are registered trademarks or trademarksof ANSYS , Inc. or its subsidiaries in the United States or other countries.

2 ICEM CFD is a trademark used by ANSYS , license. CFX is a trademark of Sony Corporation in Japan. All other brand, product, service and feature namesor trademarks are the property of their respective NoticeTHIS ANSYS SOFTWARE PRODUCT AND PROGRAM DOCUMENTATION INCLUDE TRADE SECRETS AND ARE CONFIDENTIALAND PROPRIETARY PRODUCTS OF ANSYS , INC., ITS SUBSIDIARIES, OR software products and document-ation are furnished by ANSYS , Inc., its subsidiaries, or affiliates under a software license agreement that contains pro-visions concerning non-disclosure, copying, length and nature of use, compliance with exporting laws, warranties,disclaimers, limitations of liability, and remedies, and other provisions.

3 The software products and documentation maybe used, disclosed, transferred, or copied only in accordance with the terms and conditions of that software , Inc. is certified to ISO 9001 Government RightsFor Government users, except as specifically granted by the ANSYS , Inc. software license agreement, the use, du-plication, or disclosure by the United States Government is subject to restrictions stated in the ANSYS , Inc. softwarelicense agreement and FAR (for non-DOD licenses).Third-Party SoftwareSee the legal information in the product help files for the complete Legal Notice for ANSYS proprietary software andthird-party software.

4 If you are unable to access the Legal Notice, please contact ANSYS , in the of Contents1. Introducing APDL.. 12. Working with the Toolbar.. Adding Commands to the Toolbar .. Modifying the Toolbar .. Example: Adding a Toolbar Button .. Saving Toolbar Buttons .. Nesting Toolbar Abbreviations .. 53. Using Parameters.. Guidelines for Parameter Names .. Hiding Parameters from *STATUS .. Defining Parameters .. Assigning Parameter Values During Execution .. Assigning Parameter Values At Startup .. Assigning ANSYS -Supplied Values to Parameters.

5 Using the *GET Command .. Using In-line Get Functions .. Listing Parameters .. Deleting Parameters .. Using Character Parameters .. Substitution of Numeric Parametric Values .. Preventing Substitution.. Substitution of Character Parametric Values .. Forced Substitution.. Other Places Where Character Parameters Are Valid .. Character Parameter Restrictions .. Dynamic Substitution of Numeric or Character Parameters .. Parametric Expressions .. Parametric Functions .. Saving, Resuming, and Writing Parameters .. Array Parameters .. Array Parameter Basics.

6 Array Parameter Examples.. TABLE Type Array Parameters .. Defining and Listing Array Parameters .. Specifying Array Element Values .. Specifying Individual Array Values .. Filling Array Vectors .. Interactively Editing Arrays .. Filling an Array From a Data File Using *VREAD.. Filling a TABLE Array From a Data File Using *TREAD.. Interpolating Values .. Retrieving Values into or Restoring Array Parameter Values .. Listing Array Parameters .. Writing Data Files .. Format Data Descriptors .. Operations Among Array Parameters .. Vector Operations.

7 Matrix Operations .. Specification Commands for Vector and Matrix Operations .. Plotting Array Parameter Vectors .. 42iiiRelease - 2009 SAS IP, Inc. All rights reserved. - Contains proprietary and confidential informationof ANSYS , Inc. and its subsidiaries and Modifying Curve Labels .. 434. APDL as a Macro Language .. Creating a Macro .. Macro File Naming Conventions .. Macro Search Path .. Creating a Macro Within ANSYS .. Using *CREATE .. Using *CFWRITE.. Using /TEE.. Using Utility Menu> Macro> Create Macro .. Creating Macros with a Text Editor.

8 Using Macro Library Files .. Executing Macros and Macro Libraries .. Local Variables .. Passing Arguments to a Macro .. Local Variables Within Macros .. Local Variables Outside of Macros .. Controlling Program Flow in APDL.. Nested Macros: Calling Subroutines Within a Macro .. Unconditional Branching: Goto .. Conditional Branching: The *IF Command .. Repeating a Command .. Looping: Do-Loops .. Implied (colon) Do Loops .. Additional Looping: Do-While .. Control Functions Quick Reference .. Using the _STATUS and _RETURN Parameters in Macros .. Using Macros with Components and Assemblies.

9 Reviewing Example Macros .. 615. Interfacing with the GUI.. Prompting Users for a Single Parameter Value .. Prompting Users With a Dialog Box .. Using Macros to Display Your Own Messages .. Creating and Maintaining a Status Bar from a Macro .. Picking within Macros .. Calling Dialog Boxes From a Macro .. 696. Encrypting Macros.. Preparing a Macro for Encryption .. Creating an Encrypted Macro .. Running an Encrypted Macro .. 727. APDL Commands.. 73A. APDL Gateway Commands .. 75B. GET Function Summary .. 81 Index .. 87 List of Toolbar .. Adding a New Abbreviation.

10 Toolbar with New Button .. A Graphical Representation of a 2-D Array .. 19 Release - 2009 SAS IP, Inc. All rights reserved. - Contains proprietary and confidential informationof ANSYS , Inc. and its subsidiaries and Parametric Design Language A Graphical Representation of a 3-D Array .. A Graphical Representation of a 5-D Array .. A Graphical Representation of a Table Array .. An Example *VEDIT Dialog Box for an ARRAY .. An Example *VEDIT Dialog Box for a TABLE .. A Sample 1-D TABLE Array Dialog Box .. A Sample 2-D TABLE Array Dialog Box .. A Sample 3-D TABLE Array Dialog Box.


Related search queries