Simulation is more than Software

Free Trial Version
0
Wishlist
0 0
Cart

Directcontact
EN
Electromagnetics
Electromagnetics
Scalability of simulations

Using Python to Automate Tasks within Ansys Maxwell

Moving on from workflow concepts and achieving automation

Overview

Training Advanced

In this training, you will learn to use the IronPython interface as well as PyAEDT libraries and API to automate workflows in Ansys Maxwell. This training is offered as a 2-day course.

Duration
2 days

Prerequisites
Basic knowledge of Ansys Maxwell, Programming knowledge

Software used
Ansys Maxwell

Benefits
  • Reduction in the number of laborious routine tasks and automation of small subtasks
  • Generation of automated processes and individual reports for your company
  • Increased efficiency due to acceleration of your daily activities
  • Learning to create your very own first script for everyday simulation-related tasks, one step at a time

Description

Automation comes into play when recurring tasks for electromagnetic simulations need to be carried out in a time-efficient manner. This can be employed for the automation of individual steps or the complete construction of a model – including creation of the geometry and defining boundary conditions, field sources, and how meshes are to be assigned – and for defining things like solver settings and standardized evaluations. In this training course, you will create your very own first script for everyday simulation-related tasks, one step at a time.

Do you require specific simulation results for which there is no standard provision in Ansys Maxwell – such as a workflow that constructs models in accordance with a pre-defined design or unique variables? Reduce the number of time-consuming routine tasks and automate small subtasks up to whole processes and individual reports for your company. Due to the wide range of useful application scenarios, the scripting interface in Ansys Maxwell is ideally suited for experienced users. It enables them to increase efficiency, construct extremely complex models in a short period of time, and successfully perform simulations. This training addresses project and development engineers in the field of electromagnetics, and scientific staff aiming at using Ansys Maxwell with basic knowledge of programming in Python and of Ansys Maxwell.

Detailed agenda for this 2-day training

Day 1

01 Using IronPython in Ansys Maxwell

  • Introduction to the IronPython scripting language and its syntax, logic, and features
  • The script recorder and the scripting guide
  • Settings for data storage, program initialization, and incorporating additional libraries
  • Spaghetti code v. clean coding
  • Programming tips
  • Workshops: Hello World! & Creating a geometry via script

02 Generating parametric geometries

  • Using scripting to define 2D geometries
  • Using and linking local and global parameters
  • Using the command line (cmd)
  • Script debugging
  • Calling up external programs such as Microsoft Excel
  • Workshop: processing time with and without the GUI

03 Workshop: Using scripting to generate a model of an electric motor

  • Building a complete electric motor including windings, material definitions and boundary conditions
  • Activating eddy current effects
  • Solver settings

04 Automated evaluations and reports

  • Generating charts and spreadsheets
  • Visualization of field distributions and meshes
  • Using the field calculator to perform complex evaluations
  • Workshop: producing a report using Corporate Design

Day 2

05 Using Optimetrics to perform parameter studies

  • Atelier: construction d’une machine électroniquecomplète
  • Bobinages
  • Matériaux
  • Conditions aux limites
  • Activation des effets des courants de Foucault
  • Paramètres du solveur

06 Simulation automation with PyAEDT - Getting started

  • Getting to know PyAnsys and its modules
  • Development environment, installation, settings
  • Comparison of the script interfaces (APIs) and their handling
  • Workshop: Initialization and geometry generation

07 Generating a model with PyAEDT

  • Building a model of an E-machine including winding, material definitions and boundary conditions
  • Motion and analysis setup
  • User-defined coordinate systems
  • Interactive programming
  • Workshop: Building a 2D model of a permanent magnet-excited synchronous machine

08 Simulation and report generation with PyAEDT

  • Starting simulations with and without the GUI
  • Setting CPU and RAM usage
  • Creating reports (diagrams and field plots)
  • Saving and loading models
  • Workshop: Parameter study with Optimetrics to determine the optimal load angle for a given current

Your Trainers

Peter Dück
CAE Engineer, CADFEM Germany GmbH, Hanover

Placement in the CADFEM Learning Pathway

Book training now

Calculate your training smartly

CADFEM Learning Subscription: Order once, 365 days of training. Choose the right scope of services, plan with maximum flexibility and relieve your budget thanks to attractive costs.

Not the right offer or date?

Whether eLearning, classroom courses, live online training or customized workshops - together we identify the best option for you.

1 to 2 out of 2 matching results

Not the right offer or date?

Whether eLearning, classroom courses, live online training or customized workshops - together we identify the best option for you.

Do you have questions on the training?

When will I receive the final confirmation for my training booking?

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.

When is the sign-up deadline for a training?

Training places will generally be allocated based on the order in which attendees sign up. For this reason, we always recommend booking for your desired date as early as possible.

As long as a coures still has free places, it can be booked.

At what time do the training courses begin and end?

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). 

Head of Support & Training