Final Year Research Project

AI-Enabled Digital Twin for Crack Evolution in Concrete Beams

A research-driven digital twin that combines physics-informed AI, structural response visualization, and crack localization to support safer and faster monitoring of reinforced concrete beams.

Quick Highlights

Project metrics and core themes

  • 100 beam sections segmented inside Unity for spatial evaluation
  • 0.21 damage-index threshold used to identify crack locations
  • Abaqus used as the validation reference for the digital twin outputs
Physics-Informed Neural Network Unity 3D Digital Twin Damage Index Crack Detection

Project Snapshot

U Academic Home

Institution

Department of Computer Engineering

Faculty of Engineering

University of Peradeniya

G14 Research Group

Project Team

E/20/016 - Amarakeerthi H.K.K.G.

E/20/231 - Madhura T.W.K.J.

E/20/404 - Ukwaththa U.A.N.T.

2 Academic Guidance

Supervisors

Dr. J.A.S.C. Jayasinghe

Dr. Upul Jayasinghe

R Source Context

Research Basis

Primary content synthesized from the final presentation and the project prototype.

Broader framing informed by the literature review titled A Comprehensive Review of AI-Enabled Digital Twins for Crack Evaluation in Concrete Structures.

Manual inspection is reactive and simulation is slow

Traditional beam crack evaluation depends on periodic inspections and expensive physics-based analysis workflows, which limits real-time interpretation and delays timely maintenance decisions.

Use a digital twin with physics-aware AI inference

The project combines structural parameters, physics-informed learning, and a Unity 3D twin so the beam response can be predicted and inspected visually in a more responsive way.

Visual crack detection and a foundation for prediction

The result is a practical prototype that localizes potential crack zones, visualizes stress and damage fields, and sets up the next step toward future crack evolution forecasting.

Project Views

Prototype scene, response view, and validation

Project Summary

Crack formation and propagation in concrete members remain major concerns in structural health monitoring because conventional inspection is periodic, manual, and mostly reactive. In practice, engineers often identify visible damage only after cracks have already developed to a worrying level, while the internal stress state and the likely direction of future deterioration remain difficult to interpret in real time. This project addresses that gap by developing an AI-enabled digital twin for crack evolution in concrete beams. The main goal is to build a computationally efficient monitoring environment that preserves physical relevance while reducing the latency associated with traditional high-cost simulations. Instead of relying on manual observation alone or on purely data-driven prediction, the work combines a physics-informed neural network with an interactive Unity 3D visualization environment so that structural response can be inspected in a way that is both faster and easier to understand.

The proposed workflow is organized into connected layers. At the physical layer, the concrete beam is observed through sensors and camera inputs. At the perception and data layer, captured frames and structural parameters are preprocessed, crack-related features are extracted, and the data are packaged for downstream inference. The digital twin then evaluates a PINN model using key inputs such as spatial coordinates, applied load magnitude, global deflection, concrete compressive strength, and steel yield strength. The model produces stress, strain, and a damage index, which are then mapped back into the Unity environment. In the current workflow, the beam model is segmented into 100 sections, three representative locations are evaluated, and the predicted response is distributed visually as a heat map. Regions whose damage index exceeds the threshold value of 0.21 are marked as probable crack locations, enabling intuitive inspection and quicker interpretation by the user.

Experimental evaluation focuses on comparing the digital twin output against Abaqus finite element simulations so that the visual and analytical behaviour of the system can be checked against a trusted engineering baseline. The project demonstrates that a physics-guided AI pipeline can support visual crack monitoring while remaining more responsive than a simulation-only loop. It also shows the practical value of linking AI inference with a digital twin interface for structural health monitoring education, analysis, and future field deployment. At the same time, the team identified several important limitations: future crack propagation prediction is not yet integrated into the deployed twin, the trained LSTM module is still disconnected from the Unity environment, and automatic crack width and crack length measurement are not yet implemented. Even with those limitations, the project reaches a meaningful conclusion: it establishes a credible foundation for real-time AI-assisted damage visualization in concrete structures and creates a strong path toward future predictive monitoring, richer datasets, and a more complete digital twin for civil infrastructure.

Key Highlights

What makes this project stand out

01

Research-led architecture

The solution is not just a visualization demo. It is built around a structured flow from sensing and data handling to AI inference and digital twin feedback.

02

Physics-aware prediction path

The PINN-centered workflow keeps material and loading parameters inside the inference loop, making the outputs easier to interpret than a purely black-box pipeline.

03

Strong visual communication

Heat maps, beam segmentation, crack-zone highlighting, and validation imagery make the research understandable to both technical and non-technical viewers.

Methodology

From sensing and preprocessing to digital twin visualization

Methodology overview showing the physical layer, perception and data layer, and visualization layer

Three-layer workflow

The system connects physical sensing, crack-feature extraction, server-side data handling, and Unity-based visualization into one monitoring pipeline.

Research Objectives

  • Reduce the latency bottleneck of traditional crack-propagation simulations.
  • Preserve physical meaning through a physics-informed AI engine.
  • Visualize structural response in an interpretable digital twin interface.
  • Support future prediction and monitoring-oriented workflows.
PINN model diagram showing structural inputs sent through a WebSocket to predict stress, strain, and damage index

PINN Inference Path

Model inputs include coordinates, load magnitude, global deflection, and material parameters; outputs include stress, strain, and damage index.

Step 1

Capture and preprocess

Sensor signals and image frames are prepared for analysis through feature extraction, normalization, and data packaging.

Step 2

Run model inference

The PINN evaluates load, material, and positional inputs to estimate stress, strain, and damage indicators at representative beam locations.

Step 3

Render the digital twin

The structural response is mapped into Unity 3D as a heat field and crack-sensitive visualization, allowing easier inspection and interpretation.

Step 4

Validate against engineering simulation

Abaqus outputs provide the engineering reference used to evaluate how closely the digital twin reflects the expected structural behaviour.

Scene Setup

Unity scene initialization in its own section

Unity initialization diagram showing the beam divided into sections and evaluated at three representative locations

Unity Scene Setup

The beam model is divided into 100 sections and sampled at three representative positions before the predicted field is distributed visually.

Project Visualization

Interactive prototype demonstration

Unity digital twin walkthrough

This visualization shows the project prototype in action, including the beam model, applied loading scenario, and the rendered damage-aware response inside the Unity environment.

Graphics and Validation

Visual outputs from the prototype and evaluation workflow

Prototype observation

The highest response concentration appears around the central loading region, matching the intuitive damage-prone zone expected in the beam setup.

Validation strategy

Comparing the twin against Abaqus helps ground the visual outputs in an accepted engineering reference instead of treating the interface as a standalone animation.

Impact and Future Direction

Current contribution, limitations, and next steps

Impact

  • Developed a Unity 3D digital twin for crack visualization in concrete beams.
  • Demonstrated the feasibility of AI-assisted structural damage monitoring.
  • Created a foundation for integrating AI models with future monitoring systems.

Current Limitations

  • Future crack propagation prediction is not yet integrated into the deployed twin.
  • The trained LSTM model is not fully connected to the Unity environment.
  • Automatic crack width and crack length measurements are still missing.

Future Work

  • Integrate the trained LSTM model into the live Unity pipeline.
  • Explore alternative deployment methods beyond current compatibility limits.
  • Improve robustness with larger and more diverse structural datasets.

Project Journey

How the work evolves from current prototype to future system

Now

Interactive crack visualization

Current implementation supports damage-field rendering and crack-zone inspection.

Next

Integrated LSTM prediction

Future crack propagation can be added directly into the live twin environment.

Later

Deployment-ready monitoring

Broader datasets and richer measurements can move the system closer to field use.

Team and Supervisors

People behind the research

KG Team Member

Amarakeerthi H.K.K.G.

E/20/016

JM Team Member

Madhura T.W.K.J.

E/20/231

NT Team Member

Ukwaththa U.A.N.T.

E/20/404

SJ Supervisor

Dr. J.A.S.C. Jayasinghe

Project guidance and academic supervision

UJ Supervisor

Dr. Upul Jayasinghe

Project guidance and academic supervision

Resources

Repository

Source code, project assets, and supporting implementation work related to the digital twin prototype.

Custom image for the project GitHub repository card
Review Paper

A Comprehensive Review of AI-Enabled Digital Twins for Crack Evaluation in Concrete Structures informed the broader research framing and future direction of this project page.