Reproducibility code for: Physics-Informed Neural Network–Based Pulsatile Flow Modelling and Targeted Drug Delivery Optimization in Computational Hemodynamics — Journal of Pharmacy and Bioallied Sciences, December 2025.
Site-specific drug delivery — for example via magnetically guided particles or arterial drug-eluting catheters — depends on accurate prediction of how a tracer field is advected by pulsatile blood flow. This work couples a hemodynamics PINN with a parallel convection–diffusion network for the drug concentration field and frames targeting as an inverse-problem optimization: given a desired deposition map on a downstream segment, what release schedule and injection location minimize off-target dose?
Two contributions:
- A coupled velocity–concentration PINN that solves the Navier–Stokes and convection–diffusion equations simultaneously without operator splitting, eliminating the time-step coupling errors that conventional CFD inherits from staggered solvers.
- A gradient-based optimization loop, made tractable by the differentiability of the PINN, that recovers an optimal release waveform for a target deposition pattern.
This repository holds the method components for the paper's transport and inverse-problem formulation. It is not a runnable reproduction pipeline.
| Component | State |
|---|---|
Convection–diffusion residual (src/transport.py) |
Implemented |
Release-schedule optimizer (src/inverse_optimizer.py) |
Implemented |
| Coupled velocity + concentration solver | Not implemented |
| Configs, experiments, notebooks, scripts | Not present |
src/transport.py imports vascupinn_physics, which is not vendored here; the equivalent
operators live in VascuPINN.
pinn-pulsatile-drug-delivery/
├── src/
│ ├── transport.py # Convection-diffusion residual
│ └── inverse_optimizer.py # Release-schedule optimizer
├── configs/ # (empty)
├── experiments/ # (empty)
├── notebooks/ # (empty)
├── scripts/ # (empty)
└── figures/ # (empty)
The convection–diffusion equation for tracer concentration c(x, t) is:
∂c/∂t + (u · ∇)c − D ∇²c − S(x, t) = 0
where u is the velocity field from the hemodynamics network, D is the molecular diffusivity, and S is a source term representing local injection. The full system is solved with a single multi-output network that outputs (u, v, w, p, c) jointly.
For the inverse problem, the source term is parameterized by a small number of coefficients (release amplitude, timing, location) which become trainable parameters. Optimization minimizes:
L_inv = ||deposition(release_params) − target_deposition||²
with deposition computed by integrating concentration flux through the target surface over a cardiac cycle.
git clone https://github.com/avcodes438/pinn-pulsatile-drug-delivery.git cd pinn-pulsatile-drug-delivery python -m venv .venv && source .venv/bin/activate pip install torch numpy
The transport residual and the inverse optimizer are importable directly. Driving them requires a hemodynamics network — see VascuPINN.
@article{vaghela2025drug, title = {Physics-Informed Neural Network–Based Pulsatile Flow Modelling and Targeted Drug Delivery Optimization in Computational Hemodynamics}, author = {Vaghela, Aaryasinh}, journal = {Journal of Pharmacy and Bioallied Sciences}, year = {2025}, month = {12} }
MIT — see LICENSE.
Aaryasinh Vaghela — [email protected]