Skip to main content
Ansys Developer Tips & Tricks - Python

The Python Standard Library: getpass

james.derrick@ansys.com | 10.05.2022

In this article I want to shine a light on one of the smaller and more useful packages in the Python standard library. Hopefully you know it already, but if you're coming across it for the first time, read on! This is all about getpass...

Read More
Ansys Developer Tips & Tricks - Python

Converting Nodal Coordinates Field to Local Coordinate System

james.derrick@ansys.com | 09.30.2022

We cover the steps for converting the Nodal Coordinates Field to Local Coordinate System using PyDPF.

Read More
Ansys Developer Tips & Tricks - Python

How to make peace with argparse

james.derrick@ansys.com | 09.24.2022

A huge part of any Python developer's arsenal is the ability to link your Python program with "other stuff".

Read More
Ansys Developer Tips & Tricks

Script Tip Friday: Getting it right the first time for Mould Compensation

AnsysDeveloper | 09.23.2022

For this week's Script Tip Friday, Fabio Pavia, discusses how you can design for an optimal mould shape in 3 steps using partner tools for composites connected to Ansys Mechanical.

Read More
Ansys Developer Tips & Tricks - Python

Integrating images and plots using a Python Code object (Cpython)

admin | 09.23.2022

Python Code objects in Ansys 2022R2 allow the user to change the engine to Cypthon. This opens the door to using more modern python libraries and modules.

Read More
Ansys Developer Tips & Tricks

Find the time-varying center of gravity location of a deforming model

admin | 09.16.2022

We cover the steps to find the time-varying center of gravity location of a deforming model using DPF in mechanical.

Read More
Ansys Developer Tips & Tricks

Reconstructing specific APDL results with DPF

pierre.thieffry@ansys.com | 09.02.2022

SDSG is an element quantity that is the maximum difference between the nodal average value and the elemental nodal value for all nodes of the element (for all components of stress). Here we look at the ability to display SDSG results in Mechanical.

Read More
Ansys Developer Tips & Tricks

Filter The Results of a dir Command

pernelle.maronehitz@ansys.com | 08.26.2022

To check all available methods and properties of an object we often use the dir() command. Sometimes it is useful to filter it by keywords, and for this the filter() method can be used.

Read More
Ansys Developer Tips & Tricks - Python

Exporting results during a DOE

pernelle.maronehitz@ansys.com | 08.19.2022

This week’s script tip comes from our very own Pernelle Marone-Hitz, Lead Application Engineer at Ansys.

Read More