This repository contains a material routine written in Python for the thermo-elasto-plastic Nonuniform Transformation Field Analysis (ThermoNTFA) published in Computer Methods in Applied Mechanics and Engineering:
Fritzen, Felix and Herb, Julius and Sharba, Shadi, Thermo-Plastic Nonuniform Transformation Field Analysis for Eigenstress Analysis of Materials Undergoing Laser Melt Injection. Computer Methods in Applied Mechanics and Engineering (2024). DOI: 10.1016/j.cma.2024.117487
In engineering applications, surface modifications of materials can greatly influence the lifetime of parts and structures. For instance, laser melt injection (LMI) of ceramic particles into a metallic substrate can greatly improve abrasive resistance. The LMI process is challenging to model due to the rapid temperature changes, which induce high mechanical stresses. Ultimately, this leads to plastification and residual eigenstresses in particles and matrix. These depend on the process parameters. In order to predict these stresses, we propose a major extension of the Nonuniform Transformation Field Analysis that enables the method to cope with strongly varying thermo-elastic material parameters over a large temperature range (here: 300 to 1300K). The newly proposed
[1] S. Sharba, J. Herb, F. Fritzen, Reduced order homogenization of thermoelastic materials with strong temperature dependence and comparison to a machine-learned model, Archive of Applied Mechanics 93 (7) (2023) 2855–2876. doi: 10.1007/s00419-023-02411-6
The documentation of this software, including examples on how to use ThermoNTFA, can be found under Documentation.
- The ThermoNTFA acts as a reduced order model (ROM) and approximates the effective behavior of composite materials that consist of thermoelastic and thermoplastic constituents.
- The material parameters of all constituents are allowed to depend strongly on the temperature.
- This temperature-dependence is reflected in the ROM that is based on interpolated space-saving tabular data at arbitrarily many temperature points.
- Possible application: Eigenstress Analysis of Laser Dispersed Materials
-
Generate data using thermo-elasto-plastic simulations on the microscale at select temperatures
$\theta \in \mathcal{T}$ . For that, we used an in-house FE solver. However, any other suitable simulation software could be used. -
Compute a reduced basis consisting of plastic modes
$\underline{\underline{P}}_{\mathsf{p}}$ via snapshot POD of the simulated plastic strain fields$\{\varepsilon_\mathsf{p}(x | \theta)\}^n_{i=1}$ . The corresponding implementation is available in our AdaptiveThermoMechROM repository in the module ntfa.py. -
Perform additional linear-elastic simulations to determined self-equilibrated fields for the plastic modes
$\underline{\underline{P}}_\mathsf{p}$ at select temperatures$\theta \in \mathcal{T}$ . Again, we used our in-house FE solver for that. -
Based on the generated data at select temperatures
$\theta \in \mathcal{T}$ we perform an interpolation to arbitrarily many intermediate temperatures$\theta_j$ . This method is published in our paper "Reduced order homogenization of thermoelastic materials with strong temperature-dependence and comparison to a machine-learned model", where we show that it produces highly accurate results while the effort is almost on par with linear interpolation. -
Using the interpolated data, the NTFA system matrices
$\underline{\underline{A}}(\theta_j)$ ,$\underline{\underline{D}}(\theta_j)$ ,$\bar{\underline{\underline{C}}}(\theta_j)$ ,$\underline{\tau}_{\mathrm{\theta}}(\theta_j)$ , and$\underline{\tau}_{\mathsf{p}}(\theta_j)$ are computed and stored as tabular data. The corresponding implementation is available in our AdaptiveThermoMechROM repository in the module ntfa.py.
-
Load the tabular data for the NTFA matrices
$\underline{\underline{A}}(\theta_j)$ ,$\underline{\underline{D}}(\theta_j)$ ,$\bar{\underline{\underline{C}}}(\theta_j)$ ,$\underline{\tau}_{\mathrm{\theta}}(\theta_j)$ , and$\underline{\tau}_{\mathsf{p}}(\theta_j)$ that are generated in the offline phase based on direct numerical simulations on the microscale. Optionally truncate the NTFA modes$N_{\mathrm{modes}}$ to be used. -
Perform a linear interpolation to determine the NTFA matrices at the current model temperature based on the tabular data. Given that the tabular data is available at sufficiently many temperatures, the linear interpolation provides results with decent accuracy. This is done using the class
thermontfa.TabularInterpolation
. -
Use the tabular data to initialize the thermo-mechanical NTFA UMAT that is implemented in the class
thermontfa.ThermoMechNTFA
. This reference implementation in Python can be transcribed to an UMAT for other academic or commercial simulation softwares. The numerical experiments in our paper are conducted using an implementation of the thermo-mechanical NTFA UMAT in C++ for an in-house FE solver.
A PIP package is available on pypi and can be installed with:
pip install thermontfa
If you want to install optional dependencies for development:
pip install thermontfa[dev]
The most recent version of the PIP package can also be installed directly after cloning this repository.
git clone https://github.com/DataAnalyticsEngineering/ThermoNTFA.git
cd ThermoNTFA
pip install -e .
If you want to install optional dependencies for development:
git clone https://github.com/DataAnalyticsEngineering/ThermoNTFA.git
cd ThermoNTFA
pip install -e .[dev]
- Python 3.10 or later
numpy
andh5py
(installed as part of thethermontfa
PIP package)- Supplemental data:
All necessary data can be downloaded from DaRUS using the script download_data.sh
.
Fritzen, Felix and Herb, Julius and Sharba, Shadi, Thermo-Plastic Nonuniform Transformation Field Analysis for Eigenstress Analysis of Materials Undergoing Laser Melt Injection. Computer Methods in Applied Mechanics and Engineering (2024). DOI: 10.1016/j.cma.2024.117487
Affiliation: Data Analytics in Engineering, University of Stuttgart
-
The IGF-Project with the IGF-No.: 21079 N / DVS-No.: 06.3341 of the “Forschungsvereinigung Schweißen und verwandte Verfahren e. V.” of the German Welding Society (DVS), Aachener Str. 172, 40223 Düsseldorf was funded by the Federal Ministry for Economic Affairs and Climate Action (BMWK) via the German Federation of Industrial Research Associations (AiF) in accordance with the policy to support the Industrial Collective Research (IGF) on the basis of a decision by the German Bundestag. Furthermore, the authors gratefully acknowledge the collaboration with the members of the project affiliated committee regarding the support of knowledge, material and equipment over the course of the research.
-
Contributions by Felix Fritzen are partially funded by Deutsche Forschungsgemeinschaft (DFG, German Research Foundation) under Germany’s Excellence Strategy - EXC 2075 – 390740016. Felix Fritzen is funded by Deutsche Forschungsgemeinschaft (DFG, German Research Foundation) within the Heisenberg program DFG-FR2702/8 - 406068690 and DFG-FR2702/10 - 517847245.
-
Contributions of Julius Herb are partially funded by the Ministry of Science, Research and the Arts (MWK) Baden-Württemberg, Germany, within the Artificial Intelligence Software Academy (AISA).
-
The authors acknowledge the support by the Stuttgart Center for Simulation Science (SimTech).