





Need a full custom project? See the options below.
Need a full custom project? See the options below.
A cracked ductile cast iron casting is repaired by welding. The repair weld leaves tensile residual stress, and that stress drives any remaining flaw. How much fatigue life does the repair cost? This Abaqus package rebuilds the full chain of the 2026 Engineering Failure Analysis study on a repaired wind-turbine hub, every stage in 3D: multi-pass repair welding with a moving heat source → residual stress → crack inserted in the welded plate → 3D fatigue crack growth with re-meshing at every step → life, repaired vs unrepaired. You get 10 Abaqus/CAE files, 19 ready-to-run INP decks with the DFLUX heat-source subroutine, 13 Python scripts for the crack-growth loops, a 17-page PDF tutorial and a 13-page results report that compares every result with the paper.

Source: Shakeri, Borzabadi Farahani et al., Effect of repair welding-induced residual stresses on fatigue crack growth and life of ductile cast iron: application to a full-scale wind turbine hub, Engineering Failure Analysis 193 (2026) 110891. The paper is cited, not bundled, and no paper figures are used. The study welds GJS-500-14 ductile cast iron plates with four repair procedures, computes the residual stress, grows cracks through it with NASGRO and region-specific data (base metal, HAZ, weld metal), and then applies the method to a cast hub with a T-shaped weld repair. This package does every one of those stages in Abaqus and reports where it matches the paper and where it does not.
| Stage | This package (Abaqus 2024) |
|---|---|
| Heat source | Goldak double-ellipsoid DFLUX subroutine, straight and curved torch paths, energy-normalised, calibrated on thermocouple data |
| Thermal analysis | DC3D8 (plates) / DC3D4 (hub), element birth with *Model Change per torch segment, temperature-dependent film coefficient, latent heat 220 kJ/kg |
| Mechanical analysis | C3D8 (plates) / C3D4H (hub), temperature-dependent elastic-plastic GJS-500-14, kinematic hardening, anneal temperature 1150 °C |
| Lab plates | Models 1-4: 1 pass or 6 passes with 200 °C preheat, weld cap kept or ground flush |
| Hub | Parametric 3-blade cast hub (sphere R 1000 mm, 50 mm wall), T-shaped repair slots refilled by 3 layers / 6 passes, load cases from the paper |
| Crack growth | Plates, as in the paper: crack cut into the welded plate CAD at every step, square-root singular wedges and four rings of bricks along the front, weld residual stress mapped in as initial stress, K along the front, NASGRO with Newman closure (base metal, HAZ, weld metal). Hub: crack inserted at the repair junction the same way, weld residual stress as crack-face pressure |
| Output | Crack-growth curves, crack-front shapes, K along the front, S-N curves, life repaired vs unrepaired (CSV and PNG) |

The weld is deposited segment by segment: the elements of each torch segment are switched on with *Model Change while the Goldak heat source moves along the path through the DFLUX subroutine. The thermal history is then read by the mechanical model, which builds the residual stress with temperature-dependent plasticity and annealing above 1150 °C.


Peak residual stress in the four lab plates, compared with Fig. 9 of the paper:
| Model | Procedure | Peak transverse (MPa), Abaqus / paper | Peak axial (MPa), Abaqus / paper |
|---|---|---|---|
| 1 | 1 pass, no preheat, cap ground | 226 / 280 | 430 / 500 |
| 2 | 6 passes, 200 °C preheat, cap ground | 262 / ~248 | 411 / 380 |
| 3 | 1 pass, no preheat, cap kept | 218 / 295 | 422 / 500 |
| 4 | 6 passes, 200 °C preheat, cap kept | 329 / 242 | 405 / ~400 |
The shape matches the paper: twin transverse peaks at the weld toes and an axial plateau over the weld. In the hub, the peak hoop stress along the long repair is 511 MPa (paper ~530 MPa) and the peak axial stress 421 MPa (paper ~450 MPa). Along the crossing repair the axial stress reaches 488 MPa against about 300 MPa in the paper.




As in the paper (Sec. 3.2.1), the crack is cut into the welded plate itself: a 0.5 mm surface crack at the weld toe, or a 0.5 mm embedded crack at the weld root, 9 mm below the surface. Around the front sit one tube of square-root singular wedges (mid-side nodes at the quarter point) and four rings of 20-node bricks, the spider web of the paper’s Fig. 4. Tetrahedra fill the rest, quadratic only next to the crack and linear further away, so each crack model solves in about one minute on 6 cores.



| Accuracy check, 100 MPa tension | Result |
|---|---|
| Toe crack a = c = 0.5 mm, flat plate | deepest point within 0.1 % of Newman-Raju (paper: 2 %) |
| Elliptical toe crack a = 1.0, c = 1.6 mm | within 0.5 % of Newman-Raju from 20° to 160° |
| Embedded crack a = c = 0.5 mm | within 0.2-2.5 % of the exact penny-crack solution |
The stress at the end of the welding analysis is mapped onto the crack model as initial stress. Abaqus first brings it into equilibrium with the crack (K from residual stress alone, Kres) and then adds the load, so one run gives both parts of K along the whole front. At every growth step the crack is rebuilt at its new size and meshed again, the residual stress is mapped in again, and the crack grows by NASGRO with Newman closure, using base metal, HAZ or weld-metal data according to where each point of the front sits. The toe crack grows at its deepest and surface points; the root crack at its top, bottom and sides, so it can grow unevenly.



| Crack (life at 240 MPa range, cycles) | No residual stress* | Repaired, 1 pass | Repaired, 6 passes | Life reduction (1 pass) |
|---|---|---|---|---|
| Surface crack at the toe, cap kept | 4.89e5 | 9.52e4 | 6.12e4 | 5.1× |
| Surface crack at the toe, cap ground | 3.01e6 | 5.67e5 | 4.94e5 | 5.3× |
| Embedded crack at the weld root | 2.28e7 | 6.68e6 | 2.33e6 | 3.4× |
* Kres = 0 along the crack path of the 1-pass run; the package also runs separate no-residual-stress growth series.
As in the paper: weld residual stress shortens life in every case, grinding the weld cap off makes the toe crack about five times longer-lived, toe cracks are far more critical than root cracks, and the root crack grows upward, towards the weld, while compressive residual stress holds its lower front back (paper Figs. 11(f) and 14(b)).

The paper’s Fig. 15 lines were digitised and compared with the lives from this package (the paper’s “stress amplitude” at R = 0 taken as half the stress range):
| Fig. 15 series | This package / paper | S-N slope m, package (paper) |
|---|---|---|
| Toe crack, cap kept, 1 / 6 passes | 1.2-2.4 / 0.8-1.5 | 5.9 / 5.9 (4.5 / 5.0) |
| Toe crack, cap ground, 1 / 6 passes | 2.6-2.8 / 1.9-2.3 | 5.0 / 4.9 (5.0 / 5.3) |
| Root crack, 1 / 6 passes | 3.4-3.6 / 1.5 | 6.4 / 6.0 (6.5 / 6.2) |

The hub crack is built the same way as the plate cracks: a 0.5 mm crack is cut into the hub itself at the T-junction of the two repair welds, on the plane normal to the largest residual stress, with singular wedges and four rings of bricks along the front, and the hub is rebuilt and re-meshed at every growth step. The blade loads act on the cracked hub; the weld residual stress acts on the crack faces (superposition of the uncracked welded hub). The crack grows to 5 mm under the paper's load case direction, with and without the weld residual stress.


| Hub crack, a = 0.5 → 5 mm | Repaired (with weld RS) | Unrepaired (no RS) | Life ratio |
|---|---|---|---|
| This package | 2.63e4 cycles | 1.29e5 cycles | 4.9 |
| Paper (Fig. 20f) | 2.6e5 | 8.2e5 | about 3 |
The weld residual stress adds about 10 MPa√m to the driving force at the initial flaw (Kres = 10.7 MPa√m at the deepest point; a Newman-Raju estimate with the local stress gives 11.0). The repaired hub starts at Keq,max = 21-24 MPa√m, close to the weld-metal Kc of 24.5 MPa√m; like Fig. 20f of the paper, the growth lives above are integrated past Kc.

dflux.for (Goldak heat source) in every welding folderrun_plate_crack_growth.py (all nine plate series, repaired and unrepaired), build_crack_toe.py and build_crack_root.py (crack inserted into the plate CAD and meshed in Abaqus/CAE), quarter_point.py (singular wedges), map_residual_stress.py (weld residual stress onto the crack model), run_hub_crack_growth.py, build_crack_hub.py, hub_rsfit.py and k_hub.py (hub crack growth), crack_growth.py (NASGRO), export_stress.py, plot_crack_growth.py and build_hub_geometry.pyNo ODB files are included: you solve the decks yourself. Crack-growth results are written as CSV files and PNG charts.
Abaqus/CAE and Abaqus/Standard 2024 or newer (the CAE files are 2024). The welding thermal jobs need a Fortran compiler linked to Abaqus for the DFLUX subroutine. The crack-growth scripts run in Python 3 with NumPy, SciPy and Matplotlib and call Abaqus/CAE and Abaqus/Standard for each step. Run times on 6 cores: plate welding 4-130 min per model, hub welding about 1 hour, plate crack growth 1-4 minutes per step (the crack is rebuilt and meshed in Abaqus/CAE at every step), 15-20 steps per series.
The hub is a generic hub, so its numbers are not the paper’s. Light linear meshes are used for welding. The paper’s 6-pass life benefit is not reproduced. The plate crack front stays a semi-ellipse or two half-ellipses, and a flat spot 0.002-0.3 mm deep is ground under the hub crack. This package is a worked replication and training material; it does not replace an assessment of a real component by a qualified engineer.
Need more than the files?
There are two ways we can help. Book a one hour online consultation if you want to talk a problem through with a CAE engineer, using the checkbox in the order box. Order a project if you need a full simulation built for you, delivered to an agreed scope, price and deadline under a written contract.
We work on FEA and CFD for engineers, researchers and companies. Order your project, or message us on WhatsApp for a quick reply.
Other packages engineers working on this topic also download.
Repair Welding Residual Stress and 3D Fatigue Crack Growth in Ansys: Ductile Cast Iron Wind-Turbine Hub (FFS Level 3)€299,00
Welding Simulation Package in Abaqus (14 Models with DFLUX)
WAAM Residual Stress and Distortion in Abaqus: Johnson-Cook Plasticity, 4-Layer Wall Validated against Experiment€169,00
SA508 Weld Phase Transformation in Ansys MAPDL: 2D and 3D Multi-Pass Residual Stress with Bainite, Martensite and TRIP€299,00
API 579 Example 9.5 in Abaqus: Seam Crack Level 2 FAD with 3D Contour Integral€99,00Need a full custom project? See the options below.

€129,00
€179,00

€149,00
€119,00
€129,00
€149,00
See more
Want to receive push notifications for all major on-site activities?