Skip to main content
Ansys Developer Tips & Tricks - Python

JupyterLab Quick Start

james.derrick@ansys.com | 01.30.2023

Jupyter notebooks are a common Python instruction tool. This quick start shows how to use Jupyter notebooks in JupyterLab. 

Read More
Ansys Developer Tips & Tricks - Python

Script Tip Friday - Examples of Python Results for Mechanical (Part 2)

Pernelle Marone-Hitz | 01.13.2023

This script tip is the second of a two part series that covers four examples of Python results for Ansys Mechanical by executing an Iron-python script based on the Data Processing Framework (DPF) post-processing toolbox.

Read More
Ansys Developer Tips & Tricks - Python

Script Tip Friday - Examples of Python Results for Mechanical (Part 1)

Pernelle Marone-Hitz | 12.16.2022

In this post, we cover two examples of Python Results: (1) get the maximum over time of the total deformation; and, (2) get the average total deformation on all time steps.

Read More
Ansys Developer Tips & Tricks

Script Tip Friday - Plot Design Point (DP) Results

Ansys Developer | 11.18.2022

This PyDPF example shows a simple way to plot a deformation result for four design points (DP) in the same window.

Read More
Ansys Developer Tips & Tricks

Script Tip Friday - Efficiently Combining MAPDL and Mechanical Scripting

Pernelle Marone-Hitz | 11.11.2022

Learn to efficiently combine Mechanical automation scripting and MAPDL scripting for a better post-processing workflow.

Read More
Ansys Developer Tips & Tricks - Python

Script Tip Friday - How to Plot Stress Gradient Using PyDPF

Ayush Kumar | 11.04.2022

This Script Tip Friday is brought to you by Ayush Kumar who is a Senior Application Engineer here at Ansys. Ayush will cover how to plot Stress Gradient on a path normal to the selected face at the selected node using PyDPF.

Read More
Ansys Developer Tips & Tricks

Script Tip Friday - Determining an Optimal Location for Components on a PCB

Ansys Developer | 10.21.2022

What is the optimal location to place a component on a Printed Circuit Board (PCB), in terms of its reliability under shock, vibration, and other environmental conditions?

Read More
Ansys Developer Tips & Tricks - Python

Numbers and "numbers" in Python

james.derrick@ansys.com | 10.06.2022

Numbers in Python are quite simple, there are only 3 base numeric types and they can all be combined freely without (inherent) errors. In this post I go over some information you'll probably know and some you might not. Read on for info about numbers!

Read More
Ansys Developer Tips & Tricks - Python

Python Standard Library Diving: copy

james.derrick@ansys.com | 10.06.2022

One of the first things you learn in Python is that it passes references around when assigning things. It does not copy things in memory. So, how do you actually do copying? Well there's a built-in library to do it! copy.

Read More