Python/PyAnsys Tutorial: Mapping Data in Ansys Mechanical


One of the great things about Ansys Mechanical is that there are always several ways to do something. And, with the growth of PyAnsys there are even more. In a recent training class, we were asked to train a team on how to use Ansys ACT, APDL, and PyAnsys to transfer loads from one model of an assembly to a component that sits within that assembly. The built-in temperature mapping in Ansys Mechanical is great, but it is designed for very similar geometries and not this application.


PADT, Alex Grishin added to his previous articles on using PyAnsys and created the tutorial below. It starts with an overview of the problem, then describes how mapping works using the Python capabilities inside Ansys Mechanical with Ansys ACT, how to use the always dependable Ansys Parametric Design Language (APDL) inside Ansys Mechanical, then how to use PyAnsys to pull a temperature field directly from a result file.

Even if you don’t need to know how to map temperatures between models, this tutorial is something you should check out. That is because, as an added bonus, Alex goes over installing Python, PyAnsys, and the Spyder development environment. Then also how to do the same if you prefer Anaconda.

You can find all the relevant files, including the PDF of the tutorial in this zip file:

You can also get all the files, except for the sample Ansys Mechanical model, on our GitHub:

padt ansys python temperature mapping f03
padt ansys python temperature mapping f04

Not Just a Great Python and PyAnsys Example, A Great Example of How PADT Can Help with Training and Customization

The project this tutorial is based on is a great example of why companies hire PADT to help them with training and creating custom applications. If you are interested in either, please contact us.

padt ansys python temperature mapping f02

Get Your Ansys Products & Support from the Engineers who Contribute to this Blog.

Technical Expertise to Enable your Additive Manufacturing Success.

PADT’s Pulse Newsletter

Keep up to date on what is going on at PADT by subscribing to our newsletter. Every month we share news about PADT, our partners, and our customers. We also share links to useful information on simulation, product development, and 3D Printing.  Sign up, and let's stay in touch.

By submitting this form, you are consenting to receive marketing emails from: . You can revoke your consent to receive emails at any time by using the SafeUnsubscribe® link, found at the bottom of every email. Emails are serviced by Constant Contact

Share this post:

Upcoming Events


AZTC Q3 VIP Tech Mixer


2024 CEO Leadership Retreat


12 pm - 4 pm. PADT's Tempe Office


Turbine Engine Technology Symposium 2024


New Mexico Tech Summit 2024


Rocky Mountain Life Sciences Investor & Partnering Conference


Rocky Mountain Life Sciences Investor & Partnering Conference


AZBio Awards


2024 Southern Arizona Tech + Business Expo


PADT30 | Nerdtoberfest 2024


2024 Governor's Celebration of Innovation

Search the PADT Site

Contact Us

Most of our customers receive their support over the phone or via email. Customers who are close by can also set up a face-to-face appointment with one of our engineers.

For most locations, simply contact us: