Chapter 6: Using AML Python Module

AML Python Module is a Python extension for Ansys Materials Lab (AML) that allows you to access these core Ansys structural materials functionalities:

  • The ability to evaluate material tangent and stress for supported material models using the ansys.mapdl.materials.aml class.

  • The ability to perform parameter fitting for supported material models using the ansys.mapdl.materials.fit class.

While AML Python Module’s API is quite simple, it can be used for a variety of purposes like parameters studies, yield surface generation, and on-the-fly stress generation. You can also develop your own parameter fitting tools by creating custom experiments and using SciPy-like tools for optimization.


Important:  AML Python Module's use requires an Ansys Mechanical Enterprise license and a Structures AI+ license.