---
title: Read material data from Abaqus ODB
description: "Basically, the material data used for the analysis with Abaqus Unified FEA are not displayed in the ODB. A simple Python script helps here. Two materials are used in the present model: RUBBER, Neo-Hooke, Hyperelastic Material Model STEEL, steel, elastic-plastic…"
url: "https://plm.systemworkx.de/en/docs/read-material-data-from-abaqus-odb/"
updated: "2023-09-28"
category: Knowledge Center / Simulation
tags:
  - simulia
---

# Read material data from Abaqus ODB

Basically, the material data used for the analysis with Abaqus Unified FEA are not displayed in the ODB. A simple Python script helps here.

Two materials are used in the present model:

RUBBER, Neo-Hooke, Hyperelastic Material Model

STEEL, steel, elastic-plastic material model

 [![](https://plm.systemworkx.de/wp-content/uploads/2023/05/MatData_1.png)](https://plm.systemworkx.de/wp-content/uploads/2023/05/MatData_1.png)

This short script allows you to view the material data and models used.
 The input is done via the command line (Kernel Command Line Interface) at the bottom of Abaqus/CAE (Module Visualization) or Abaqus/Viewer.

# Get current viewport, ODB file of current viewport, filename and path
 **CV = session.viewports[session .currentViewportName]**

**odbFile = CV.displayedObject**

**ON = odbFile.path**

**ON**

**Used_Mats=session.odbs[ON]**

**print Used_Mats.materials**

The output looks like this :

 [![](https://plm.systemworkx.de/wp-content/uploads/2023/05/MatData_2.png)](https://plm.systemworkx.de/wp-content/uploads/2023/05/MatData_2.png)

Now you can request more detailed information about the existing material data via the command line:

print Used_Mats.materials['STEEL']

supplies

()

information on which data is available for a material. Here, for example, the thermal conductivity, the density, information about the elasticity and the electrical conductivity. Now you can request further information: print Used_Mats.materials['STEEL'].elastic

Examples:

**print Used_Mats.materials['RUBBER'].hyperelastic**

 [![](https://plm.systemworkx.de/wp-content/uploads/2023/05/MatData_3.png)](https://plm.systemworkx.de/wp-content/uploads/2023/05/MatData_3.png)

**print Used_Mats.materials['STEEL'].plastic**

 [![](https://plm.systemworkx.de/wp-content/uploads/2023/05/MatData_4.png)](https://plm.systemworkx.de/wp-content/uploads/2023/05/MatData_4.png)

**print Used_Mats.materials['STEEL‘].elastic**

 [![](https://plm.systemworkx.de/wp-content/uploads/2023/05/MatData_5.png)](https://plm.systemworkx.de/wp-content/uploads/2023/05/MatData_5.png)

**ATTENTION:**

The material name inside the square brackets must be in quotation marks! Depending on the editor, this can lead to problems.
