This first session of our two-day training course provides a holistic view of Python to get users familiarised with the underlying structure of Ansys Scripting. In this training, Leap’s Application Engineer Tiffiny Vann gives an overview of Python and IronPython, an open-source implementation of Python based on the .Net framework. The training covers various topics, from basic coding structure to math operations in the Ansys Scripting Module. Further, the session dives deeper into the coding, exploring variables and functions in Python script showcasing various examples. Lastly, it touches on the common data types used in day-to-day Ansys coding, including List Data type through range command, If statement, While Loop and For Loop. 00:00 - Intro to Python 06:34 - Math operations in Mechanical 13:58 - Using variables 33:09 - Using Function in a script 42:13 - Data types 1:15:24 - Control Structure – If Statement 1:34:44 - Control Structure – While Loop 1:38:40 - Control Structure – For Loop 1:42:04 - Data typ
Hide player controls
Hide resume playing