Calculating hotspots in the Additive Manufacturing DED process
abel.ramos@ansys.com | 04.28.2025This example demonstrates the creation of a complete Mechanical Extension to showcase the use of Ansys scripting capabilities for calculating residual hotspots in the Additive Manufacturing Direct Energy Deposition (DED) process.
Getting started with classes in Python Part 10: Inheritance
james.derrick@ansys.com | 04.02.2025This article concludes a ten-part series on classes in python. The final topic covers inheritance, focusing on 'subclassing' and inheriting.
Getting started with classes in Python Part 9: `__str__` vs `__repr__`
james.derrick@ansys.com | 02.24.2025As our series on python classes continues we will delve into a simple example of how to leverage two dunder methods covered in the previous article, which are used "under the hood" to perform much of the day-to-day business logic in Python.
Getting started with classes in Python Part 8: "dunder"
james.derrick@ansys.com | 01.29.2025This series on classes in Python continues. This article introduces "dunder" methods and how they might apply to classes.
Getting started with classes in Python Part 7: getters and setters
james.derrick@ansys.com | 01.21.2025Here we are with Part 7 in this series on classes in Python. This article covers setters (the method on a class that sets a property) and getters (which gets the property).
Getting started with classes in Python Part 6: Public, Private and Super-Private Naming
james.derrick@ansys.com | 12.30.2024Part six of ten in this series on classes in Python covers the levels of obfuscation available in Python: private and super-private.
Using Python to translate NASTRAN .brd inputs to APDL inputs
mark.capellaro@ansys.com | 12.16.2024Python is quite good at reading, writing and finding things in text files. This allows us to develop tools that can be used to find data in NASTRAN inputs files and create the ANSYS APDL equivalent.
PyWorkbench Unleashed: Transforming Your Ansys Workbench End-to-End Simulation Experience
vikas.namdeo@ansys.com | 12.09.2024PyWorkbench is a powerful client library that enhances the Ansys Workbench platform for engineering simulations. This guide introduces key concepts and practical strategies for using PyWorkbench, making your engineering simulations more efficient and effective.