Python Standard Library Diving: copy
| 10.06.2022One 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
.
The Python Standard Library: getpass
| 10.05.2022In 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
...
Converting Nodal Coordinates Field to Local Coordinate System
| 09.30.2022We cover the steps for converting the Nodal Coordinates Field to Local Coordinate System using PyDPF.
How to make peace with argparse
| 09.24.2022A huge part of any Python developer's arsenal is the ability to link your Python program with "other stuff".
Script Tip Friday: Getting it right the first time for Mould Compensation
| 09.23.2022For 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.
Integrating images and plots using a Python Code object (Cpython)
| 09.23.2022Python 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.
Find the time-varying center of gravity location of a deforming model
| 09.16.2022We cover the steps to find the time-varying center of gravity location of a deforming model using DPF in mechanical.
Reconstructing specific APDL results with DPF
| 09.02.2022SDSG 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.