APDL Scripting in Ansys Mechanical
Learn how to increase the functionality of Ansys Mechanical with APDL command objects for special tasks. This training is offered as a self-paced eLearning course.
Duration
3 days
Prerequisites
Basic knowledge of Ansys Mechanical
Software used
Ansys Mechanical
- Access to functions beyond the Workbench GUI
- Understanding APDL scripts and working with them independently
- Impact of what Workbench imparts to solvers using APDL
- Creating own APDL macros
Description
Ansys Mechanical is a powerful tool that offers engineers a wide range of functions and a largely automatic selection of efficient and proven model settings. With APDL command objects (Ansys Parametric Design Language), you can extend your Ansys Mechanical setup to realize your own ideas of model design. You can define complex boundary conditions and perform evaluations exactly as you like.
In this training, you will gain a deeper insight into the interaction between Ansys Mechanical and the Mechanical APDL Solver (MAPDL). This allows you to examine and modify the model structure generated by Mechanical. You will also learn how to use APDL as a programming language, for example to implement automated evaluations.
We will use examples from the field of structural mechanics, but the methods are independent of this and can be transferred to other physical domains. This training is suitable for users who already have a command of the basic functionalities of Ansys Mechanical and want to gain access to all the possibilities of the MAPDL solver. Take this opportunity to expand your skills!
Get a first impression and test the first eLearning module of this training course without any obligation. No costs, no notice period.
Detailed agenda for this 3-day training
Day 1
01 The interaction between APDL and Ansys Mechanical
- Basics, structure and syntax of APDL
- Connection between APDL and the graphical user interface
- The correct locations for APDL macros (/PREP7, /SOLU, /POST1, /POST26)
- Workshop: Analysis and explanation of the entries in a ds.dat file
02 Manipulation of nodes and elements in MAPDL
- Creating and managing nodes and elements in APDL
- Selection techniques and attribute changes
- Definition and implementation of boundary conditions
- Workshop: Changing element type from mechanical to thermal-diffusive
03 List or plot FE contents using MAPDL
- Explanation of plot and list using examples in Workbench
- Create an image for a thermal-diffusive example using MAPDL
- Plot controls and selections using type and criteria
- Workshop: Investigating the structure of a contact zone
04 Modify remote points via MAPDL
- Use cases of remote points
- How remote points work from APDL's perspective
- Interpretation of remote point commands in ds.dat
- Workshop: Modifying a remote point using APDL
Day 2
05 Visualization of cutting loads using MAPDL
- How to use the FSUM command correctly
- The SPOINT command shown using an example
- Select new nodes and elements from an existing set
- Workshop: Changing the cutting loads on a bridge crossing
06 Working with parameters in preparation for automation
- Scalar parameters: Definition, types and applications
- Exercise: Transferring cutting forces to parameters
- Explanation of the *dim, *VPLOT and *DO commands
- Workshop: How to create a plot with *DO and ARRAY parameters
07 Special loads and boundary conditions
- How displacement constraints work on nodes
- Forces on nodes and surface elements as well as volume forces
- Important notes on coupling and constraint equations
- Workshop: Heat distribution of a burner on a cube
08 Additionally influence the solution process with APDL
- Which analysis types and analysis settings are available
- Organize output control differently for each load step
- Creating analytical functions with the Function Editor
- Workshop: Movement of a laser beam over a solid body
Day 3
09 Efficient creation, modification and evaluation of fields
- Fill APDL fields and operate with APDL fields
- Create load tables for analytical functions
- Display fields graphically and via file output
- Workshop: Displaying imported data using *VPLOT
10 Extend post-processing in Ansys Workbench with APDL
- Working with the General Postprocessor (/POST1)
- Evaluating the heat flux density along a surface
- Time history Postprocessor (/POST26)
- Workshop: Representation of the temporal development of a temperature
11 Workflows for combining analysis types
- Reading external files from the user_files directory
- Carry out a Fourier transformation
- Parameter study with input and output parameters
- Workshop: transferring a transient force curve to an electric motor
12 Outlook beyond APDL
- Professional use of macro libraries
- Accessing and manipulating matrices with APDL MATH
- Perform mathematical operations using pyANSYS
- ANSYS ACT: Make APDL macros available via GUI buttons
Your Trainers
Dr. rer. nat. Martin Hanke
Placement in the CADFEM Learning Pathway
Participant data
Additional information
Commentary
Get a first impression and test the first eLearning module of this training course without any obligation. No costs, no notice period.
Whether eLearning, classroom courses, live online training or customized workshops - together we identify the best option for you.
What CADFEM customers are saying
Do you have questions on the training or the eLearning?
If you book through your university, you will receive a 50% discount on the stated fee on training courses and eLearning courses.
For more information on the validity and how booking with the code ACADEMIC50 works, please visit our page on training for academic users.
Straight after you sign up, an automatic confirmation of receipt will be sent to the email addresses you provided. Once you have successfully verified the data you provided, you will receive your personalized sign-up confirmation, containing further information on course fees, the billing address, etc., by email within two to three working days.
As soon as the minimum number of attendees has been reached, you will receive a final training confirmation containing further information. If you have booked an on-site training, we recommend that you wait until you have received this final confirmation before booking your travel and accommodation.
If the minimum number of attendees is not reached, we reserve the right to cancel the training seven days before it is due to start at the latest. We are happy to inform you on changing your booking to an alternative date. Please note that we accept no liability for hotel or travel bookings that attendees have already made.
Usually the training courses start at 9:00 am and end at 5:00 pm of the respective local time. The actual course times will be stated in the booking confirmation. Please note that, depending on the training host, there may be a possible time shift between your and the provider's local time. Therefore all local times are provided with the valid time shift to Greenwich Mean Time (GMT).
To get a clear impression of our online learning format, we offer you a trial allowing you access to the starting module of an eLearning course of your choice. No costs, no cancellation period or anything similar. Moreover, with this free test access you can check all the technical requirements for a smooth learning process. You can easily request the free module from any eLearning course.
Each online course day comprises four eLearning modules. You should ideally allow 90 to 120 minutes of uninterrupted learning time for each module. This will allow you to acquire the knowledge provided by a module and to consolidate it through quiz questions and Ansys exercises. By dividing each module into micro learning units, you can also make good use of smaller time windows, such as on your commute.
Prerequisite for the use of the eLearning courses is the use of a personalized access to the CADFEM learning platform.
When purchasing an eLearning course, access to the learning platform is 365 days.
As a subscription user, access to the learning platform starts and ends with the start and end of the subscription.
With the purchase of a further learning product (learning subscription, training, eLearning), you will receive renewed access to all previously booked content for 365 days, starting from the start date of the new learning product.