ANSYS Customization with APDL
Table of Contents
ANSYS Customization with APDL (ANSYS Parametric Design Language)
- Table of Contents
- Introduction
- The Power Behind the Power User
- About this Guide
- Customization Lessons Learned
- Several Fundamental Rules and Tactics are Crital to Success
- Identify Design & Analysis Goals
- Separate Geometry & Topology
- Use Parameterization
- Clearly Understand Current and Proposed Process
- Utilize Modularity
- Allow Batch, Command Line & GUI Interfaces
- Crawl, Walk, Run
- Why Customize?
- What Level of Customization?
- What to Customize: Case Studies
- Getting Started
- Definitions
- Other Resources
- What is a Macro?
- Input files
- Creating a Macro?
- Getting Started
- A Note About the Workshops
- Workshop 1 - Getting Started
- Working With Macros
- Commenting
- Passing Arguments to Macros
- Debugging Tips
- Sharing Macros
- Searching for Macros
- Macro Libraries
- Using Macros in Macro Libraries
- Encrypting Macros
- Scalar Parameters
- Scalar Parameters
- Parameters
- Parameter Usage
- Parametric Operations and Functions
- Trigonometric Functions
- Saving / Restoring Parameters
- Workshop 2 - Building Parametric Models
- Interfacing With the User
- User Prompts - *ASK
- User Prompts - MULTIPRO
- Workshop 3 - Prompting the User
- Displaying Messages
- *MSG Command - Enhanced Descriptors
- Status Bars
- Program Flow in APDL
- *IF Branching
- *IF Branching Operations
- Trick: Comparison Operators
- *RETURN
- Checking Execution Status
- Workshop 4 - *IF and *MSG
- Workshop 4 - Answer Key
- *REPEAT
- *DO Loops
- *DOWHILE
- Controlling Flow Branching
- Implied Do Loops
- Nesting
- Workshop 5 - Do Loops
- Workshop 5A - *DO/ENDDO
- Workshop 5A - *DO/*ENDDO - Time Permitting
- Workshop 5B - Implied Do Loops
- Arrays & Tables
- Overview of Arrays
- Specifying Array Values
- Example Array Definition
- Defining Arrays in the GUI
- Using String Arrays
- Converting String Arrays to Character Parameters
- Filling Arrays
- Vector Operations
- *VOPER
- *VFUN
- *SCFUN
- *VITRP
- *VCUM
- *VABS
- *VLEN
- *VMASK
- Array Operations vs *DO Loops
- Demo: Vector Operation Efficiency
- Table Arrays
- Table Interpolation
- Table and Matrix Operations
- *TOPER
- *TAXIS
- *MOPER
- *MFUN
- *MFOURI
- Nested Tables
- *VPLOT
- *VPLOT Examples
- Workshop 6 - Using Arrays and Tables
- Information Retrieval with APDL
- Retrieving / Getting Information
- *GET
- *GET Documentation
- Undocumented *GET
- *GET,Par,COMMON,...
- GET Functions
- Retrieving Array Data - *VGET
- VGET
- /INQUIRE
- Workshop 7 - Retrieving Data
- Importing and Exporting Data to and from ANSYS
- Importing and Exporting
- Writing Data to Files
- *VWRITE
- Format Data Descriptors
- *VWRITE Example
- *MWRITE
- Carriage Return Suppression Using $
- Reading Data from Files
- *VREAD
- *TREAD
- Importing in POST26 Using Tcl
- Workshop 8 - Importing and Exporting Data
- Other Customization Options
- Tcl/Tk
- Tcl/Tk History
- Why use Tcl/Tk?
- Why use Tcl/Tk in ANSYS?
- Tcl/Tk Syntax
- Tcl/Tk Resources
- Tcl/Tk Examples
- User programmable Features (UPF)
- UPF Availability
- UPF Capabilities
- UPF Prerequisites
- Determining Necessity of UPF's
- UPF Example - User Creep
- Other Options
- APDL Final Exam
- Final Exam - Water Tower Macro
- APDL Appendix A: Inquiry Functions
- APDL Appendix B: About PADT
|