Skip to Main Content

Ansys Mechanical Scripting

Course Overview

The scope of this training is to cover the Ansys Mechanical Scripting. You will learn how to use the console and to access Mechanical’s API. After completing the course, you will be able to automate the creation of standard tree objects in Mechanical/Meshing; change the solver settings; automatically explore the mesh and geometry and export results.  This course may be use as a steppingstone to the Introduction to ACT in Mechanical class. 

Prerequisites

  • Knowledge of Ansys Workbench and Mechanical is required.  
  • A basic knowledge of Python programming is recommended but not required. 

Teaching Method

Lectures and computer practical sessions to validate acquired knowledge.

Learning Outcome

Following completion of this course, you will be able to:

  • How to use the Mechanical console 
  • Access Mechanical’s API 
  • Create buttons in the Mechanical user interface. 
  • Modify the solver settings 
  • Create loads and results objects 
  • Explore the mesh and geometry programmatically 
  • Automatically create Mechanical model from start to finish. 

Available Dates

Currently, no training dates available

Learning Options

Training materials for this course are available with a Ansys Learning Hub Subscription. If there is no active public schedule available, private training can be arranged. Please contact us.

Agenda

This course is made of five modules. Each module should take no more than 20 minutes to complete. Each module contains both lecture and short exercises. 

  • Module 1: Introduction - Learn how to use the console. 
  • Module 2: Preprocessing - Automatically create loads and explore the mesh and geometry. 
  • Module 3: Solve settings and Buttons - Create buttons in Mechanical’s tool bar, programmatically manage the solver settings. 
  • Module 4: Postprocessing - Create results object and extract data 
  • Module 5: Wrap up - Set up, solve and extract the results from a model without using Mechanical’s GUI.