Advanced Manufacturing

Additive manufacturing simulation: predict metal distortion and residual stress before the build fails

A metal part that warps, cracks or hits the recoater costs hours of machine time and expensive powder. How layer-by-layer residual stress works, how inherent-strain and thermo-mechanical models predict it, and how calibration and AI/ML make orientation, supports and compensation repeatable.

A grey metal additively manufactured part with thin, wavy vanes radiating from a central hub
Thin, intricate metal geometry is what powder bed fusion makes possible, and what residual stress distorts. Illustrative image, not an OLTRION result.

Additive manufacturing simulation predicts, before the build starts, how a metal part will distort under the residual stress that layer-by-layer melting locks in, and which orientation, supports, scan strategy and geometry offset will prevent it. For laser powder bed fusion (LPBF) that prediction decides whether a part is right first time or scrap after hours of machine time and costly powder.

The failures are familiar. A part curls off its supports, an overhang rises into the recoater blade and stops the build, a thin section cracks, or the part springs out of tolerance when it is cut from the build plate. Trial and error, one test build per change of orientation, supports or compensation, is slow and repeats the cost it was meant to avoid. Simulation moves those trials onto a computer, provided it is calibrated and validated for your machine and powder. We use the vocabulary of ISO/ASTM 52900:2021.

Why do metal AM parts warp, crack or hit the recoater?

Each layer is melted by a small, intense, moving heat source, then cools quickly while the material below stays much cooler. Heat leaves mainly by conduction down through the part, supports and plate, so a steep temperature gradient travels up the part with every layer.

That gradient creates the residual stress. Newly melted metal wants to shrink as it cools, but the colder, stiffer metal beneath holds it back. Where the restrained stress exceeds the yield strength, which falls steeply with temperature, the metal flows plastically. Write the strain as ε = εe + εth + εp (elastic, thermal, plastic): the first two recover on cooling, the plastic part does not. It is the permanent record of the build and leaves a self-balanced stress field, usually tension in the upper layers and near surfaces, compression elsewhere. Temperature-dependent yield strength, expansion and conductivity, and in Ti6Al4V phase changes, all enter that history.

Metal additive manufacturing: from layer heating to distortion after release On the left, an L-shaped part built layer by layer on a bolted build plate, with thin supports under its overhanging arm. A laser melts the top layer; heat flows down through the part into the plate, giving a hot-to-cold gradient. The newly melted layer is held back from shrinking, so plastic strain forms and tensile stress is locked into the upper layers, balanced by compression below. On the right, after the supports are cut and the plate is removed, the stress relaxes and the overhanging arm curls up away from its nominal position, shown dashed. BUILD: LAYER BY LAYER AFTER RELEASE BUILD PLATE LASER 1 HOT 2 3 ε = εe + εth + εp: the plastic part stays + + − − 4 σ = C (ε − ε*), ε* the inherent strain 5 CUT PLATE REMOVED δ 6 unbalanced σ relaxes: the part bends ε* in an elastic model gives δ
  1. Layer heating. A laser or electron beam melts a thin layer; the melt pool is small, intense and moving, and each new layer reheats the ones below it.
  2. Thermal gradient. Heat leaves mainly by conduction down through the solid part, supports and plate, so a steep gradient moves up the part with every layer.
  3. Constrained contraction. The fresh layer wants to shrink as it cools but the cooler metal below holds it back. Where the restrained stress passes the temperature-dependent yield strength the metal flows, and that plastic strain does not recover.
  4. Residual stress locked in. The unrecovered strain leaves a self-balanced stress field: usually tension in the upper layers and near surfaces, compression elsewhere. The inherent-strain method stores exactly this strain.
  5. Supports and plate restraint. Supports, bolts and the stiff plate hold the part in shape and conduct heat. The restraint keeps the stress in balance, so nothing moves until it is released.
  6. Release and distortion. Cutting supports or removing the part from the plate removes the restraint. The stress rebalances and the part bends: overhangs and thin arms curl most.
How restrained contraction in each layer becomes locked-in stress, and distortion once the restraint is removed. Illustrative schematic.

While the part is bolted to the plate and held by supports, the stress stays in balance. The damage shows up in three places. During the build, upward distortion can reach the recoater, and crack-prone alloys can crack. At release, cutting supports or removing the plate lets the stress rebalance and the part moves. In service, residual tensile stress acts as a mean stress and can shorten fatigue life.

Part-scale or melt-pool-scale: which additive manufacturing simulation do you need?

The physics spans microns and microseconds at the melt pool and metres over many hours at the part. No single model resolves both, so practice splits the problem into levels.

Simulation levels in metal additive manufacturing
LevelResolvesAnswersLimit
Melt poolMelt flow, solidificationPorosity risk, process-window limitsFar too costly for a whole part
Track and hatchA few tracks and layers, thermo-mechanicalThermal history and inherent strain for a material and scan strategySmall volumes
Part, thermo-mechanicalTransient heat flow and elastic–plastic response, layers lumpedThermal history, overheating, stress, distortionCostly; lumping trades fidelity for run time
Part, inherent strainLayer-wise strain applied to a linear elastic modelDistortion, stress, support and compensation choicesNeeds calibrated strains; no thermal history

Inherent strain or thermo-mechanical simulation: which is faster, which is more faithful?

The inherent-strain method is the faster one, and the thermo-mechanical method is the more faithful one. Inherent strain applies a strain field representing the permanent strain left by the process, layer by layer, to a linear elastic model, which avoids coupled nonlinear calculations. The strain must first come from experiments or a smaller detailed model, and the method produces no thermal data, so it cannot predict overheating. A thermo-mechanical simulation couples heat transfer with elastic–plastic mechanics and follows the thermal history, at a much higher computing cost (Miki (2022) describes the trade-off).

We use inherent strain for the many what-ifs, and thermo-mechanical or small-scale models to derive strains for a new material and to check a risky region such as a downward-facing surface.

How do orientation, supports and scan strategy change distortion?

  • Build orientation sets the layer count, how much of the part is overhang and how thin walls meet the recoater.
  • Supports hold and restrain the part and conduct heat away. More restraint reduces distortion during the build, but stores stress that is released at removal, and costs powder and finishing time.
  • Scan strategy (vector length, rotation between layers, island layout) changes the inherent strain, so a strain set is valid only for the strategy it was calibrated with.
  • Pre-compensation offsets the geometry opposite to the predicted distortion. In the Giubilini, Calignano, Galati and Minetola, Politecnico di Torino (2025) study of Ti6Al4V, a calibrated simulation tool predicted distortion closely enough to apply pre-compensation, and the authors report that it reduced the measured deformation.
  • Post-processing belongs in the model: stress-relief heat treatment on the plate, plate removal and support removal each change the boundary conditions. The relaxation physics is that of post-weld heat treatment; see our pages on welding stress relief and stress-relief heat treatment.

What counts as failure?

  1. Distortion against tolerance, and against recoater clearance during the build.
  2. Cracking indicators: residual stress and plastic strain against temperature-dependent strength. No universal cracking criterion exists, so we use these as a ranking calibrated against builds that cracked.
  3. Fatigue: tensile residual stress near surfaces lowers fatigue strength, so stress-relief and machining choices feed life prediction. See our durability and fatigue and thermal stress pages.

Calibration belongs to one machine, powder and parameter set

Inherent strains are not material constants. They depend on the machine, laser parameters, scan strategy, layer thickness and powder lot. Calibrate on the machine you will use, validate on a geometry not used in the fit, and re-check when anything changes. A published agreement between simulation and experiment is a result for that setup, not a guarantee for yours.

Pre-compensation: print the part that distorts into the right shape

Pre-compensation closes the loop between prediction and the printed part. Predict the distortion, offset the geometry the opposite way, print, scan and compare with the nominal shape. Outside tolerance, refit the strains to the difference and go round again; inside, freeze the setup as a template for that machine, powder lot and material.

Pre-compensation loop: predict, invert, re-print, scan, recalibrate Four panels in a row show the side profile of a cantilevered part fixed at its left end. First, the predicted distortion lifts the free end above the nominal dashed line. Second, the geometry is offset in the opposite direction. Third, the printed part ends close to nominal. Fourth, a scan of the printed part is compared with a tolerance band. If the scan falls outside tolerance, a feedback arrow leads through a recalibration box back to the first panel; if inside, the setup is saved as a build template for that machine, powder lot and material. PREDICTED δ 1 Predict OFFSET −δ 2 Invert PRINTED 3 Re-print SCANNED 4 Scan 5 Recalibrate refit ε* to the scan OUT OF TOLERANCE IN TOLERANCE 6 Build template per machine, powder lot, material Orientation Supports Scan vectors ε* + offset
  1. Predict. Run the calibrated process model for the chosen orientation and supports to get the distortion field of the as-built, released part.
  2. Invert. Offset the nominal geometry by the opposite of the predicted displacement, so the part is designed to distort into the right shape.
  3. Re-print. Build the compensated geometry with the same machine, powder and parameter set the model was calibrated for.
  4. Scan. Measure the printed part with a 3D scan and compare it with the nominal CAD, after aligning the datums carefully so alignment error is not read as distortion.
  5. Recalibrate. If the part is outside tolerance, fit the inherent strains to the difference between the scan and the prediction, then predict again.
  6. Tolerance gate and template. Inside tolerance, freeze orientation, supports, scan vectors, strain set and offset as a build template tied to that machine, powder lot and material.
Predict, invert, re-print, scan, recalibrate: the loop that turns calibration into repeatable first-time-right builds. Illustrative schematic.

Public data lets you test the workflow before trusting it on your parts. NIST AM-Bench is a continuing series of benchmark measurements and challenge problems with archived data, and its 2022 edition lists residual strains and part deflection among its measurements. Benchmark data checks the method; only your own machine's scans calibrate it.

Topology optimisation for additive manufacturing: self-supporting, low-stress shapes

An unconstrained topology optimisation is often unprintable. Three kinds of constraint fix that.

  • Overhang angle. Surfaces steeper than a threshold angle need support; the threshold depends on process and material.
  • Self-supporting shape with a thermal constraint. Miki (2022) notes that an overhang-angle constraint alone can leave downward-convex shapes that block heat flow and overheat. The paper adds a thermal constraint and an inherent-strain distortion constraint; its 3D examples show less distortion and overheating than the unconstrained shape.
  • Residual-stress constraint. Xu, Liu and Ma (Computer Methods in Applied Mechanics and Engineering, 2022) add one to self-supporting topology optimisation for metal AM, and Shuzhi Xu's 2024 University of Alberta thesis adds support structure, scan-path optimisation and a faster LPBF process-simulation solver validated against commercial software.

Supports can be optimised too: Zhidong Zhang's 2019 University of Waterloo thesis couples a heat-transfer model with inherent-strain topology optimisation of supports, and reports lower deformation and less support material than commercial supports in its experiments.

A polished metal part with an organic, topology-optimised form filled with a lattice of small cells
Organic, lattice-filled geometry only pays off when it is printable and distortion-aware. Illustrative image, not an OLTRION result.

Treat these constraints as design-stage filters: they use simplified process models, so the design still goes through a calibrated process simulation before the build. See our pages on generative design and lattice structures, generative design and optimisation and turbomachinery generative design.

Where does AI/ML help additive manufacturing simulation, and where does it not?

AI/ML earns its place around the physics model, not instead of it. Each use comes with the limit we state when we build it.

AI/ML in an AM simulation workflow
UseWhat it doesLimit
Calibrating inherent strain from couponsFits the strain components so the model reproduces measured distortion of small coupons or cantileversValid for the machine, powder, parameters and scan strategy tested; unlike geometry extrapolates poorly
Surrogates over orientation, supports, scan parametersTrained on a planned set of process simulations; ranks many options in secondsTrusted only inside the sampled design space; the solver does the final check
Closed loop from scansCompares the scan with the predicted shape and updates strains and offsetAlignment and datum errors can look like distortion; needs a stable process
In-situ monitoring as inputsLayer images or melt-pool signals flag local overheating and recoating problemsSignals show thermal anomalies, not stress; mapping to strain must be validated on your machine
Build-preparation templatesScripts set up orientation candidates, support rules, the compensation run and the reportEncode today's validated rules; revisit when machine, powder or alloy changes

The usual discipline applies: honest bounds on the design space, held-out validation and a route back to the solver. See our article on surrogate models for CFD and FEA and our pages on surrogate modelling, hybrid physics and AI modelling and validation and benchmarking.

From one distorted build to a workflow you keep

A single study answers the part it was run for. The larger return comes when calibration, build-preparation rules and the compensation loop become something your own engineers run for every new part, so the next orientation, support layout or alloy costs hours instead of a test build. That is how we build additive manufacturing simulation work.

From one simulation study to a permanent workflow A loop of six steps: physics model, validation, automated runs, AI surrogate, decision tool and field data, which feeds back into the physics model. YOUR WORKFLOW Better with every run physics + data + AI, kept in-house 1Physics model 2Validation 3Automated runs 4AI surrogate 5Decision tool 6Field data CFD · FEA TESTS · TRIALS DOE · HPC CLOUD OPTIMISE DECIDE MONITOR RECALIBRATE
  1. Physics model. CFD and FEA set up once, as templates: geometry clean-up, mesh, solver settings and post-processing that every later run reuses.
  2. Validation. Mesh and time-step studies, and comparison with tests or full-scale data, so the model's uncertainty is known before it is trusted.
  3. Automated runs. Scripted runs over the parameters and operating conditions that matter, on your hardware or in the cloud.
  4. AI surrogate. A machine-learning model trained on those runs answers in seconds and says how sure it is; low-confidence questions go back to the solver.
  5. Decision tool. Optimisation, trade-off charts or operating guidance, in a form your engineers and operators use every day.
  6. Field data. Test, trial and monitoring data flow back to recalibrate the model, so it improves with every project instead of being rebuilt.
Physics, validation, automation and AI in one loop that improves with every build. Illustrative schematic.
  • Templates for orientation, support rules and the process steps (build, cooling, stress relief, plate removal, support removal), with reports that read the same for every part.
  • A validation record tying the inherent strains to your own coupons and scans, checked against public data such as NIST AM-Bench, with the deviation stated per alloy and machine.
  • Automated runs over orientation, support and scan options, on your hardware or in the cloud.
  • A trained surrogate that ranks options in seconds, with its range of validity written down and a route back to the solver when a part falls outside it.
  • A recalibration routine: scan each build, compare it with the prediction, refit the strains when machine, powder lot or parameters change.
  • Training and handover, so your engineers can extend the workflow themselves. See our training and software development services.

Questions engineers ask about LPBF distortion simulation

How accurate is LPBF distortion simulation?
It depends on calibration. Published Ti6Al4V work shows that a calibrated model can predict distortion well enough to guide compensation. Your figure has to come from your own validation, so we report the deviation with the model.
Can simulation predict cracking?
It can rank where stress and plastic strain are highest and where overheating is likely. Calibrated against builds that cracked, that is a useful screen, not a guarantee; the high-temperature ductility data a crack criterion needs is often missing.
Do we still need test builds?
Yes, but fewer: coupons to calibrate and at least one validation build. After that, simulation chooses between options that each needed a trial.
Which software do you use?
We are solver-agnostic. We work with your existing process-simulation tool and with general solvers such as Abaqus and Ansys, and add calibration, automation and AI/ML around them.
Is this only for powder bed fusion?
The residual-stress mechanism is shared with directed energy deposition, with a different process model. Binder jetting distorts mainly in debinding and sintering, which needs a different model.

If a distorted, cracked or out-of-tolerance build is on your desk, send us the geometry (STEP or STL), alloy, machine and parameter set, orientation and supports, tolerances and, most usefully, a scan of the failed build. You get a written diagnosis of the mechanism at work, the simulation level it needs and a plan for the workflow. Our additive manufacturing simulation work sits beside our consulting service, and the place to start is a conversation. For the powder bed side, see our powder bed fusion page.

OLTRION Engineering

CAE, CFD and simulation team

The OLTRION engineering team runs CFD, FEA and multiphysics simulation programmes for aerospace, automotive, energy and industrial clients, and builds the machine-learning tools that speed them up. These articles come from that project work.

Where this applies

Related capabilities

Have a model that will not converge?

Talk to the engineers who wrote this

Send the geometry, the physics and the decision it has to support. We answer with an approach, not a sales call.

Talk to an engineer