Version: v0.0.3
Author(s): Jiangdong Zhao <Jiangdong.Zhao@mpa.uni-stuttgart.de>, Sung-Min Wi <Sung-Min.Wi@mpa.uni-stuttgart.de>
pyiron workflow resistance spot welding Abaqus Fortran simulation automationPyiron workflow for automated resistance spot welding simulation using Abaqus and an external Fortran solver
The simulation is organized as a coupled thermo–electro–mechanical workflow.
First, Abaqus is used to build the FE model and generate the .inp file containing geometry, mesh, elements, and material definitions. The .inp is then read by a Fortran-based solver that performs the coupled computation.
Three measured welding signals are used as inputs: force, current, and voltage. The force drives the mechanical part, while current and voltage are used in a resistance submodel to compute the time-dependent electrical resistance. This resistance is iteratively used to update key electrical parameters (e.g., effective conductivity/contact behavior), enabling a realistic representation of resistance spot welding and the resulting temperature and mechanical response.
This repository primarily demonstrates the structure and implementation of the automated simulation workflow. In the full project environment, the workflow integrates:
abaqusMacros.pyAbaqus macro script for geometry generation and preprocessing.
Used to create the FE model and export the .inp file.
File_Programm2.pyPython script for parsing the generated .inp file and extracting required model data.
Stromverlauf.txt
Kraftverlauf.txt
Potentialverlauf.txt
Measured welding signals (current, force, voltage) used as input for the coupled simulation.
Testfall_1ms_Dyn5_a_a4.forMain thermo-electro-mechanical simulation solver.
odbjoin.forPost-processing tool for merging restart .odb files.
Compiler 16.0 Update 1 for Intel 64 Visual Studio 2015 environment.lnkWindows shortcut used to activate the Intel Fortran compiler environment.
However, due to confidentiality and licensing restrictions, project-specific solver implementations, measurement data, and certain subroutines are not included in this public version.
The focus of this repository is therefore on: The workflow architecture; Node dependencies and execution logic; Integration of preprocessing, simulation, and post-processing stages. The provided code illustrates how these components are orchestrated within Pyiron workflow, independent of proprietary project content.
The Pyiron workflow orchestrates these components:
Geometry modification (Abaqus macro-based)
Abaqus preprocessing and .inp generation
Data extraction from .inp files
Import of welding process data (FAMOS)
Fortran-based thermo-electro-mechanical simulation
Post-processing and consolidation of .odb files
The workflow is implemented using Pyiron workflow, enabling structured execution and dependency management across all simulation stages.