EnSight Python Scripting


This training class gives an introduction of scripting techniques for advanced EnSight usage.

Learning Outcome

  • Start-up support using the EnSight Python API

  • Basic Python knowledge

  • Sample script solutions of important EnSight features

  • Introduction of adding structured algorithms to Python files

  • Basic overview of clean coding to enable script maintenance

  • Introduction in automated post processing


  • EnSight basic training course

  • Save handling of the EnSight GUI

  • Good understanding of typical workflows in EnSight

  • Solid CFD or Structural Simulation knowledge, depending on the use case


Target Audience: Fluids Engineers, Combustion Engineers, Thermal Engineers, HVAC engineers, Aerodynamics engineers, Structural Engineers who want to have an advanced usage of ANSYS EnSight via Python scripting.

Teaching Method: Showing solutions to script general features that are used in common EnSight workflows. The sample codes are enhanced in small steps to enable good understanding. While the slides show development of small solutions, the audience will recreate the sample codes from scratch with the support of the trainer.

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

EnSight Python Scripting


Topics Covered :

  • Python basics

  • Important modules

  • Query information of the simulation data 

  • Cleaning up a code

  • Access to ASCII files

  • Object oriented coding


Agenda :

This is a 1 day classroom course covering both lectures and workshops. For virtual training, this course is covered over 2 x 3 hour sessions lectures only.

Virtual Classroom Session 1 / Live Classroom Day 1 morning

  • Motivation of scripting

  • Record commands & translate to Python

  • Python basics

  • Script modification

  • Important modules

 Virtual Classroom Session 2 / Live Classroom Day 1 afternoon

  • Access case information

  • Read and write ASCII files

  • Clean up the code

  • Object oriented approach – methods

  • Object oriented approach – classes

Filter By Country :
Date/Time Duration Event Type Location Language Class Cost

Sorry, no classes were found that matched your country selection. Subscribe today to take online courses.

Sorry, no classes were found that matched your country selection. Please try again or Subscribe today to take online courses.

Start a conversation with Ansys

Contact Us