Material#

class ansys.materials.manager.material.Material(material_name: str, material_id: str = None, models: List[ansys.materials.manager._models._BaseModel] = None)#

Provides a wrapper class for managing a material.

This class associates a material ID with one or more properties and nonlinear material models.

Overview#

get_model_by_name

Get the material model or models with a given model name.

name

Name of the material.

material_id

Material ID.

uuid

UUID (transfer ID), which is unique.

models

Currently assigned material models.

reference_temperature

Strain reference temperature for the model.

Import detail#

from ansys.materials.manager.material import Material

Property detail#

property Material.name: str#

Name of the material.

property Material.material_id: str | None#

Material ID.

property Material.uuid: str#

UUID (transfer ID), which is unique.

property Material.models: List[_BaseModel]#

Currently assigned material models.

property Material.reference_temperature: float#

Strain reference temperature for the model.

Method detail#

Material.get_model_by_name(model_name: str) List[_BaseModel]#

Get the material model or models with a given model name.