betaFeedback

WorksMathematics

A 3D PINN-Based Framework for Patient-Specific Pulmonary Hemodynamics Using Windkessel Models

Abstract

Cardiovascular fluid dynamics modeling relies heavily on mesh-based numerical methods such as Computational Fluid Dynamics (CFD). While accurate, these methods entail significant computational costs and complex meshing workflows that limit their translation to clinical practice. Physics-Informed Neural Networks (PINNs) are a promising meshless alternative that embeds the governing equations directly into neural network training. In this work, we propose a PINN framework for pulsatile blood flow in patient-specific geometries with dynamic lumped-parameter Windkessel (RCR) outlet conditions representing distal vascular impedance. Coupling the Windkessel ODE to a 3D network raises two difficulties: the ODE alone does not fix the pressure level, and the local pressure variations that drive the flow are orders of magnitude smaller than the basal pressure imposed by the outlet. We address them by decomposing pressure into a time-dependent basal part and a spatially varying part, an initial condition and gauge for the Windkessel equation, a global mass-balance constraint, and a periodic Fourier embedding of time. Validated on 2D canonical channels (steady and pulsatile, with and without RCR outlet), the framework is then applied to a patient-specific right pulmonary artery, reproducing outlet flow, mean pressure, and the velocity and dynamic pressure fields with errors on the order of the data resolution. Finally, we solve the inverse problem of identifying the three Windkessel parameters of the outlet from synthetic data, recovering them with errors of about 0.3% from deliberately wrong initial values. Residual biases in the local pressure field and the need to test robustness to noisy clinical data remain open, but the results support PINNs as complementary tools for meshless hemodynamics and patient-specific digital twins.

Graphical Abstract

Figure 1. 3D PINN - WINDKESSEL COUPLING. Patient-Specific 3D RPA Geometry & Pulsatile Inflow. Pulsatile Inlet Flow. Blood Volume (cm³). Time (s). Systole. Diastole. Idealized. Literature-based. Navier-Stokes + RCR Loss. Solution Network Nθ\mathcal{N}_{\theta}. Loss Terms. Data & BCs: Ldata+Lbc\mathcal{L}_{data}+\mathcal{L}_{bc}. Navier-Stokes: Lcont+Lphys\mathcal{L}_{cont}+\mathcal{L}_{phys}. Windkessel: LRCR\mathcal{L}_{RCR}. Initial condition & gauge: Lic\mathcal{L}_{ic}. Global mass balance: Lmass\mathcal{L}_{mass}. Total Loss L\mathcal{L}. Pressure Network. Artery. Distal Vascular Impedance. Forward problem. Hemodynamic field reconstruction. Inverse problem. Estimation of RdR_d, CC, RcR_c. Non-invasive parameter identification recovering hidden vascular resistance and compliance. Mean outlet pressure [Pa]. FEBio. PINN. RCR (FEBio Q). tt [s]. QQ [m3\mathrm{m}^3]. 1e−51\mathrm{e}{-5}.

Highlights

A 3D PINN-Based Framework for Patient-Specific Pulmonary Hemodynamics Using Windkessel Models

Celia Taboada, Luis Nuñez, Angélica Casero, Pedro Navas

  • PINN framework developed for 3D pulsatile hemodynamics in pulmonary arteries.

  • RCR Windkessel boundary conditions integrated into neural network training.

  • Addresses pressure-scale challenges in 3D lumped-parameter PINN coupling.

Introduction

Cardiovascular diseases remain a leading cause of mortality worldwide, and pulmonary vascular disease is a particularly demanding case. Pulmonary hypertension, for instance, is defined by an elevated mean pulmonary arterial pressure, and its definitive diagnosis and follow-up still rely on invasive right-heart catheterisation Humbert et al. [11]. Implantable pressure sensors such as CardioMEMS™ have opened the door to monitoring Abraham and Perl [1], but they provide pressure at a single location and say nothing about the underlying flow field. Patient-specific hemodynamic modeling offers a complementary, non-invasive route: starting from medical imaging and a few clinical measurements, it can estimate the full pressure and velocity fields, as well as derived indices such as wall shear stress or pressure drops, that cannot be measured directly Casero et al. [7].

The reference tool for this task is image-based computational fluid dynamics (CFD) or, equivalently, finite element analysis of the Navier–Stokes equations Taylor and Steinman [26]. These mesh-based solvers are accurate and well validated, but their clinical translation is hindered by several factors. Each new patient requires segmentation, surface repair and volumetric meshing, which are labor-intensive and difficult to automate. Each simulation must be repeated from scratch for every change in geometry, inflow or boundary condition. Moreover, the outcome is strongly conditioned by the outflow boundary conditions, which must be calibrated for each case through lumped-parameter (Windkessel) models Vignon-Clementel et al. [28]; ); Westerhof et al. [30]. Finally, classical solvers are ill suited to assimilate noisy or sparse measurements, such as those provided by 4D flow MRI or Doppler ultrasound, and they cannot solve inverse problems without wrapping them in costly optimization loops.

Physics-Informed Neural Networks (PINNs) have emerged as an alternative that addresses several of these limitations Raissi et al. [22]; ); Karniadakis et al. [12]. A PINN represents the solution fields with a neural network whose inputs are the space-time coordinates, and it is trained by minimizing a loss that contains the residual of the governing equations, evaluated through automatic differentiation at scattered collocation points, together with boundary conditions and, optionally, measured data. The method is meshless, treats forward, inverse and data-assimilation problems within the same formulation, and yields a continuous, differentiable representation of the solution. These advantages come at a price: PINNs are notoriously difficult to train, mainly because of the spectral bias of fully connected networks Rahaman et al. [21]; ); Tancik et al. [25], the competition between loss terms of very different magnitude

[email protected] (C. Taboada); [email protected] (A. Casero); [email protected] (P. Navas)

https://www1-caminos.upm.es/estructuras2/en/ (P. Navas)

ORCID(s): 0009-0004-8170-7944 (C. Taboada); 0009-0005-4912-7568 (A. Casero); 0000-0002-0482-378X (P. Navas) Wang et al. [29], and the stiffness of the resulting optimization problem Krishnapriyan et al. [14]. All of them are exacerbated in pulsatile cardiovascular flows, where time-periodic dynamics, convective and viscous terms of different scales, and a pressure that is defined only up to a level set by the boundary conditions coexist.

Focusing specifically on cardiovascular fluid mechanics, PINNs have been progressively tailored to reconstruct complex arterial flow patterns, estimate near-wall hemodynamic metrics, and perform super-resolution or denoising on clinical imaging data Arzani et al. [5]; Kissas et al. [13]; Fathi et al. [8]; Arzani et al. [6]. Recent studies have demonstrated their efficacy in capturing 3D spatio-temporal velocity and pressure fields across complex arterial bifurcations and patient-specific topologies Sarma and Sun [24]; González and Alonso [10]; Aghaee and Khan (2025). Furthermore, growing attention has been directed toward integrating reduced-order or lumped-parameter models into PINN architectures to capture downstream vascular resistance and compliance Ames and Vignon-Clementel [4]; Müller and Schiavazzi [18]; Vergara and Zunino [27]; Park and Kim [19]. However, enforcing dynamic differential Windkessel boundary conditions within 3D patient-specific domains introduces severe numerical stiffness and pressure-velocity scale imbalances that remain insufficiently addressed in the current literature Albocher et al. [3]; Santos and Fernandez [23].

The difficulty is structural. The Windkessel relation is an ordinary differential equation in time for the outlet pressure, so it admits a whole family of solutions that differ in the initial condition and in the pressure level; a PINN that only penalizes its residual may satisfy it with a physically wrong pressure and a spuriously small outflow. In addition, the local pressure variations that drive the flow (from one to a few tens of pascals in the problems considered here) are small compared with both the dynamic pressure ρU2\rho U^2 and the absolute basal pressure imposed by the Windkessel, so a naive non-dimensionalization leaves the pressure field poorly conditioned.

To address these specific optimization hurdles and bridge the gap between physics-informed learning and dynamic boundary condition coupling, this work presents a comprehensive 3D PINN framework for patient-specific pulmonary hemodynamics. Building upon our recent findings on right pulmonary artery modeling Casero et al. [7]—which established that rigid vessel walls combined with compliant 3-element Windkessel (3WK) boundary conditions yield high physiological fidelity at minimal computational cost—we embed the dynamic RCR differential equations directly into the network optimization graph. The primary contributions of this paper are threefold: (i) establishing a progressive complexity workflow transitioning from canonical 2D flows to a 3D patient-specific right pulmonary artery domain; (ii) providing a critical quantitative evaluation of the pressure-scale disparity and optimization biases induced by dynamic RCR boundary conditions in 3D PINNs; and (iii) demonstrating the framework’s capability to solve inverse data assimilation problems by non-invasively identifying hidden distal vascular resistance and compliance parameters from sparse flow measurements. The overall workflow of the proposed framework is summarized in Fig. 1.

Schematic overview of the framework

Figure 1 (PDF p. 4). Schematic overview of the framework, comprising two stages: (1) model validation under steady-flow conditions in straight and offset channels, and (2) hemodynamic applications involving pulsatile flow with a three-element Windkessel (RCR) outlet boundary condition and a patient-specific three-dimensional model of the right pulmonary artery (RPA).

The remainder of this paper is organized as follows. § 4 details the mathematical formulation of blood flow and the RCR Windkessel boundary conditions. § 5 presents the proposed PINN framework, including the network architecture, the pressure-decomposition non-dimensionalization strategy, and the composite loss function. § 6 provides a systematic validation on canonical 2D benchmark cases of increasing complexity: a steady straight channel, a steady offset channel. § 9 then applies the framework to a pulsatile channel coupled with an RCR and an outlet patient-specific 3D right pulmonary artery, addressing first the forward hemodynamic field reconstruction under dynamic RCR coupling and subsequently for the later the inverse identification of hidden vascular parameters. Finally, § 10 summarizes the main conclusions and outlines future clinical perspectives.

Mathematical and Computational Framework

Governing Equations

Blood flow through large-to-medium vessels, such as the main and right pulmonary arteries (RPA), is characterized as an incompressible, viscous Newtonian fluid governed by the three-dimensional, unsteady Navier-Stokes equations Milnor [17]. Over a spatio-temporal domain Ω⊂R3×[0,T]\Omega\subset\mathbb{R}^{3} \times[0,T] bounded by ∂Ω=Γin∪Γwall∪Γout\partial\Omega= \Gamma_{in} \cup\Gamma_{wall} \cup\Gamma_{out}, conservation of mass and linear momentum are expressed as:

∇⋅u=0in Ω×[0,T](1)\nabla\cdot\mathbf{u} = 0 \quad\text{in } \Omega\times[0,T] \tag*{(1)}
ρ(∂u∂t+(u⋅∇)u)=−∇p+μ∇2u+ρbin Ω×[0,T](2)\rho\left(\frac{\partial\mathbf{u}}{\partial t} + (\mathbf{u} \cdot\nabla)\mathbf{u}\right) = -\nabla p + \mu\nabla^{2}\mathbf{u} + \rho\mathbf{b} \quad\text{in } \Omega\times[0,T] \tag*{(2)}

where u(x,t)=(u,v,w)T\mathbf{u}(\mathbf{x},t) = (u,v,w)^{T} is the fluid velocity vector field, p(x,t)p(\mathbf{x},t) is the static pressure, ρ=1060 kg/m3\rho= 1060\ \mathrm{kg}/\mathrm{m}^{3} denotes the blood mass density, μ=0.004 Pa⋅s\mu= 0.004\ \mathrm{Pa} \cdot\mathrm{s} represents the dynamic viscosity, and b\mathbf{b} corresponds to body forces, which are neglected in this study Milnor [17].

The physical regime of the blood flow within the pulmonary artery is dictated by two key non-dimensional parameters:

  • Reynolds Number (ReRe): Evaluated as Re=ρvDμRe = \frac{\rho v D}{\mu}, where DD is the hydraulic vessel diameter. Based on patient-specific cardiac output (CO=6.183×10−5 m3/sCO = 6.183 \times10^{-5}\ \mathrm{m}^{3}/\mathrm{s}), the mean flow velocity v≈0.061 m/sv \approx0.061\ \mathrm{m}/\mathrm{s} yields a mean Reynolds number of Re≈429Re \approx429 Casero et al. [7]. Even under conservative peak systolic flow conditions (140 cm3/s140\ \mathrm{cm}^{3}/\mathrm{s}), ReRe remains below 1770 Casero et al. [7]. This confirms that, despite potential localized secondary flows induced by arterial curvature, the flow regime remains predominantly laminar Casero et al. [7].

  • Womersley Number (α\alpha): Calculated as α=rωμ\alpha= r\sqrt{\frac{\omega}{\mu}}, where rr is the vessel radius and ω=2πHR60\omega= 2\pi\frac{HR}{60} is the angular frequency associated with the heart rate (HR=80 bpmHR = 80\ \mathrm{bpm}) Casero et al. [7]. For the analyzed right pulmonary artery (r=1.33 cmr = 1.33\ \mathrm{cm}), the resulting Womersley number is α≈8.33\alpha\approx8.33 Casero et al. [7]. A value of α>8\alpha> 8 confirms that transient, pulsatile inertia strongly dominates over viscous diffusion, ruling out quasi-steady flow assumptions and requiring an explicitly unsteady temporal treatment Casero et al. [7].

To complete the mathematical boundary value problem, specific constraints are assigned across the domain boundaries:

  1. Inlet (Γin\Gamma_{in}): A time-dependent, pulsatile volumetric inflow profile Qin(t)Q_{in}(t) is enforced. As illustrated in Figure 2, the inlet flow can be modeled using a literature-based

Comparison of inflow boundary condition waveforms

Figure 2. Comparison of inflow boundary condition waveforms prescribed at Γin\Gamma_{in}: patient-adapted physiological profile derived from clinical literature versus the simplified half-sine pulsatile curve. Adapted from Casero et al. [7].

physiological profile or an idealized half-sine function scaled to match the total stroke volume (SV=CO/HRSV = CO/HR) during the systolic period (Tsys≈0.375TT_{sys} \approx0.375T) Casero et al. [7].

  1. Vessel Wall (Γwall\Gamma_{wall}): A non-slip Dirichlet boundary condition is prescribed:

u(x,t)=0on Γwall×[0,T](3)\mathbf{u}(\mathbf{x},t) = \mathbf{0} \quad\text{on } \Gamma_{wall} \times[0,T] \tag*{(3)}

While Fluid-Structure Interaction (FSI) captures elastic vessel wall mechanics, assuming rigid walls significantly mitigates computational complexity. Recent comparative validations against clinical sensor data demonstrate that assuming a rigid wall introduces a negligible discrepancy in peak pressure (≈1.1%\approx1.1\%, corresponding to a 0.4 mmHg offset) relative to full FSI solutions, validating its use in computationally efficient frameworks Casero et al. [7].

Windkessel (RCR) Boundary Conditions

Truncating the 3D computational domain at distal boundaries without imposing artificial pressure reflections requires phantom boundary conditions that capture downstream vascular impedance Westerhof et al. [30]. To achieve physiological realistic pressure waveforms at the outlets Γout\Gamma_{out}, a three-element Windkessel (3WK / RCR) lumped-parameter model is coupled to the fluid equations Frank [9]; Westerhof et al. [30].

As depicted in Figure 3, the RCR circuit models the downstream systemic or pulmonary bed using three hydraulic components: a proximal characteristic resistance RpR_{p}, an arterial compliance CC, and a distal peripheral resistance RdR_{d} Westerhof et al. [30].

Cardiovascular system as a closed hydraulic circuitCircuit model

Figure 3. (a) Cardiovascular system as a closed hydraulic circuit. Adapted from Casero et al. [7]. (b) Circuit model. Schematic representation of the 3-element Windkessel (RCR) lumped-parameter circuit coupled at the outlet boundary Γout\Gamma_{out} to model proximal resistance (RpR_p), distal compliance (CC), and distal vascular bed resistance (RdR_d). Adapted from Casero et al. [7]; Westerhof et al. [30].

The differential relationship governing the instantaneous outlet pressure Pout(t)P_{out}(t) and the spatial outlet flow rate Qout(t)=∫Γoutu⋅n dΓQ_{out}(t) = \int_{\Gamma_{out}} \mathbf{u} \cdot\mathbf{n}\,\mathrm{d}\Gamma is derived from circuit conservation laws as:

CdPout(t)dt+Pout(t)Rd=Qout(t)(1+RpRd)+RpCdQout(t)dt(4)C\frac{\mathrm{d}P_{out}(t)}{\mathrm{d}t}+\frac{P_{out}(t)}{R_d}=Q_{out}(t)\left(1+\frac{R_p}{R_d}\right)+R_pC\frac{\mathrm{d}Q_{out}(t)}{\mathrm{d}t} \tag*{(4)}

The total vascular resistance RT=Rp+RdR_T=R_p+R_d is calibrated using the patient’s mean pulmonary pressure PmeanP_{mean} and mean outlet discharge QRPAQ_{RPA} via RT=Pmean/QRPAR_T=P_{mean}/Q_{RPA} Casero et al. [7]. In the patient-specific calibration of Casero et al. [7], RTR_T is partitioned into a proximal resistance RpR_p (5% of RTR_T), representing local vessel impedance, and a distal microvascular resistance RdR_d (95% of RTR_T), in order to minimize high-frequency pressure-wave reflections at the computational boundary. In the benchmarks of this paper the parameters are instead fixed to the values of the corresponding FE models (Table 4 and § 9.2), so that the PINN and the reference solution share exactly the same outlet condition.

ParameterValue
Proximal resistance (RpR_p)3.5×1073.5 \times10^7 Pa⋅\cdots/m3^3
Distal resistance (RdR_d)4.62×1074.62 \times10^7 Pa⋅\cdots/m3^3
Arterial compliance (CC)1.07×10−81.07 \times10^{-8} m3^3/Pa
Offset pressure (PdP_d)0 Pa
Initial pressure0 Pa

Table 4. Parameters of the 3-element Windkessel (RCR) model coupled at the outlet of the 2D pulsatile straight channel benchmark (read from the FEBio input file).

The presence of the arterial compliance term CC in Eq. (4) is non-negotiable for physiological realism Casero et al. [7]; Ames and Vignon-Clementel [4]. When compliance is neglected (C=0C=0), reducing the model to a single-element pure resistance outlet (1WK), the lack of distal volume storage causes extreme, non-physiological pressure spikes (exceeding 130 mmHg during systole) and unrealistic diastolic drops to 0 mmHg Casero et al. [7]. Conversely, incorporating the full dynamic RCR system captures both the systolic pressure accumulation and the smooth exponential diastolic decay recorded by remote implantable pressure sensors such as CardioMEMS™ Abraham and Perl [1]; Casero et al. [7].

Physics-Informed Neural Networks (PINNs)

This section describes the PINN architecture and approach used throughout the paper, illustrated schematically in Figure 4. The network approximates the velocity and pressure fields over the space-time domain Ω×[0,T]\Omega\times[0,T] and is trained against the Navier–Stokes equations of § 4.1, the no-slip and inflow conditions, the RCR relation of Eq. (4) at every outlet, and reference data generated with finite element simulations (FEBio, fluid module; Maas et al. [16]). The implementation is written in PyTorch Paszke et al. [20].

Schematic PINN architecture, including the Fourier embedding, the solutions and pressure network, and the main components of the composite loss function

Figure 4. Schematic PINN architecture, including the Fourier embedding, the solutions and pressure network, and the main components of the composite loss function.

Problem set-up and training data

The reference simulation provides, at the mesh nodes xi\mathbf{x}_i and at a set of output times tkt_k, the nodal velocity uikFE\mathbf{u}^{FE}_{ik} and the element pressure, which is averaged onto the nodes to obtain pikFEp^{FE}_{ik}. Four families of points are built from the mesh:

  • Interior collocation points, drawn at random inside every element (barycentric weights for tetrahedra, convex weights for hexahedra) and at random times, where the Navier–Stokes residuals are evaluated.

  • Wall and inlet points, taken from the mesh surfaces. At the wall u=0\mathbf{u}=0; at the inlet the FE nodal velocity is interpolated in time with a monotone cubic (PCHIP) interpolant, so that the boundary values are available at arbitrary times and not only at the (non-uniform) output times of the solver.

  • Data points, a random fraction of the FE nodes at the output times, where the velocity (and, optionally, the pressure) is supervised.

  • Outlet points, all the nodes of every outlet surface, at a uniform set of NΓrN_{\Gamma}^{r} instants covering [0,T][0,T], used to evaluate the surface integrals of the Windkessel model.

A disjoint set of FE nodes, never used for training, is reserved for validation.

Surface integrals over an outlet Γout(k)\Gamma_{out}^{(k)} are discretized with lumped nodal areas AiA_i (one quarter of the area of each adjacent quadrilateral, one third for triangles) and area-weighted vertex normals ni\mathbf{n}_i computed directly from the surface mesh and oriented outwards. Hence

Qout(k)(t)≈∑i∈Γout(k)Ai u(xi,t)⋅ni,Pˉ(k)(t)≈∑iAi p(xi,t)∑iAi.(5)Q_{out}^{(k)}(t)\approx\sum_{i\in\Gamma_{out}^{(k)}}A_i\,\mathbf{u}(\mathbf{x}_i,t)\cdot\mathbf{n}_i,\qquad\bar{P}^{(k)}(t)\approx\frac{\sum_i A_i\,p(\mathbf{x}_i,t)}{\sum_i A_i}. \tag*{(5)}

The corresponding inflow Qin(t)Q_{in}(t) is obtained in the same way from the inlet surface with inward orientation.

Non-dimensionalization

Spatial coordinates and time are first mapped to [−1,1][-1,1] with the bounding box of the domain,

x~j=2(xj−xjmin⁡)xjmax⁡−xjmin⁡−1,t~=2(t−tmin⁡)tmax⁡−tmin⁡−1,(6)\tilde{x}_j = \frac{2(x_j-x_j^{\min})}{x_j^{\max}-x_j^{\min}}-1,\qquad\tilde{t}=\frac{2(t-t^{\min})}{t^{\max}-t^{\min}}-1, \tag*{(6)}

and these normalized variables are the network inputs. Any axis whose extent is smaller than 5% of the longest one (as in the thin slab used for the canonical test) is widened to the longest extent before normalizing; otherwise the chain-rule factor 2Lref/(xjmax⁡−xjmin⁡)2L_{ref}/(x_j^{\max}-x_j^{\min}) becomes very large along that axis and makes the residual extremely stiff.

The physical variables are scaled with a reference velocity UrefU_{ref} (maximum inlet speed), a reference length LrefL_{ref} (vessel diameter or longest dimension of the domain), Tref=Lref/UrefT_{ref}=L_{ref}/U_{ref}, and two pressure scales. The pressure is decomposed as

p(x,t)=Prefpˉ(t)+Pdynq(x,t),(7)p(\mathbf{x},t)=P_{ref}\bar{p}(t)+P_{dyn}q(\mathbf{x},t), \tag*{(7)}

where pˉ(t)\bar{p}(t) is a spatially uniform basal pressure level, scaled with Pref=max⁡∣pFE∣P_{ref}=\max|p^{FE}|, and qq is the spatially varying part, scaled with Pdyn=max⁡∣pFE−⟨pFE⟩Ω∣P_{dyn}=\max|p^{FE}-\langle p^{FE}\rangle_{\Omega}|. This separation is the key to the pressure-scale disparity discussed in the Introduction: the momentum equation only involves ∇p=Pdyn∇q\nabla p=P_{dyn}\nabla q, so the large basal pressure imposed by the Windkessel never competes with the small local gradients that drive the flow; both are represented by outputs of order one. Denoting by an asterisk the non-dimensional quantities, the governing equations read

∇∗⋅u∗=0,(8)\nabla^*\cdot\mathbf{u}^*=0, \tag*{(8)}
∂u∗∂t∗+(u∗⋅∇∗)u∗+κp∇∗q∗=1Re∇∗2u∗,(9)\frac{\partial\mathbf{u}^*}{\partial t^*}+(\mathbf{u}^*\cdot\nabla^*)\mathbf{u}^*+\kappa_p\nabla^*q^*=\frac{1}{Re}\nabla^{*2}\mathbf{u}^*, \tag*{(9)}

with Re=ρUrefLref/μRe=\rho U_{ref}L_{ref}/\mu and κp=Pdyn/(ρUref2)\kappa_p=P_{dyn}/(\rho U_{ref}^2). In viscous-dominated problems with small pressure variations all the terms of Eq. (9) are much smaller than one, so the momentum residual is divided by a characteristic magnitude Smom=κpLref/(0.5Lmax)S_{mom}=\kappa_pL_{ref}/(0.5L_{max}), with LmaxL_{max} the longest extent of the domain; this keeps the physics loss comparable to the data loss.

Network architecture

The solution fields are represented by a fully connected network Nθ\mathcal{N}_{\theta} with 6 hidden layers of 128 neurons and hyperbolic tangent activation, Glorot-uniform initialization and zero biases,

(u∗,v∗,w∗,q)=Nθ(γ(x~,t~)),(10)(u^*,v^*,w^*,q)=\mathcal{N}_{\theta}(\gamma(\tilde{\mathbf{x}},\tilde{t})), \tag*{(10)}

preceded by a fixed (non-trainable) Fourier embedding γ\gamma that is evaluated inside the forward pass, so that automatic differentiation with respect to the raw inputs remains exact:

γ=[x~,t~,sin⁡(ωmt~),cos⁡(ωmt~)∣m=1M,sin⁡(BTx~),cos⁡(BTx~)].(11)\gamma=\left[\tilde{\mathbf{x}},\tilde{t},\left.\sin(\omega_m\tilde{t}),\cos(\omega_m\tilde{t})\right|_{m=1}^{M},\sin(\mathbf{B}^{\mathsf{T}}\tilde{\mathbf{x}}),\cos(\mathbf{B}^{\mathsf{T}}\tilde{\mathbf{x}})\right]. \tag*{(11)}

The temporal frequencies are the first MM harmonics of the cardiac period TcT_c, ωm=πm(tmax⁡−tmin⁡)/Tc\omega_m=\pi m(t^{\max}-t^{\min})/T_c (rad per unit of t~\tilde{t}), where TcT_c is detected automatically from the dominant peak of the zero-padded FFT of the inflow Qin(t)Q_{in}(t). This embedding counteracts the spectral bias of tanh networks Rahaman et al. [21]; ); Tancik et al. [25], which, with raw time as the only input, tend to return a single smooth hump instead of several cardiac cycles. The matrix B∈R3×ns\mathbf{B}\in\mathbb{R}^{3\times n_s} contains random low-frequency Gaussian features (ns=16n_s=16, standard deviation 1) that enrich the spatial representation without introducing high-frequency noise. We use M=3M=3.

The basal pressure pˉ(t)\bar{p}(t) of Eq. (7) is produced by a second, small network (two hidden layers of 32 neurons) that receives t~\tilde{t} and its periodic features. Because it depends only on time, the non-periodic character of the pressure (e.g., the changing of the compliance from rest) can be represented separately from the periodic velocity dynamics.

Composite loss function

The network is trained by minimizing a weighted sum of eight terms. All of them are mean squared errors of non-dimensional quantities.

Data and boundary conditions. With NdN_d data points, NwN_w wall points and NinN_{in} inlet points,

Ldata=1Nd∑j∥uθ∗(xj,tj)−ujFE/Uref∥2,(12)\mathcal{L}_{data}=\frac{1}{N_d}\sum_j\left\|\mathbf{u}_{\theta}^*(\mathbf{x}_j,t_j)-\mathbf{u}_j^{FE}/U_{ref}\right\|^2, \tag*{(12)}
Lbc=1Nw∑j∥uθ∗∥2+1Nin∑j∥uθ∗−ujin/Uref∥2.(13)\mathcal{L}_{bc}=\frac{1}{N_w}\sum_j\|\mathbf{u}_{\theta}^*\|^2+\frac{1}{N_{in}}\sum_j\left\|\mathbf{u}_{\theta}^*-\mathbf{u}_j^{in}/U_{ref}\right\|^2. \tag*{(13)}

An optional pressure data term, Lp=⟨((pθ−pFE)/Pdyn)2⟩\mathcal{L}_p=\langle((p_{\theta}-p^{FE})/P_{dyn})^2\rangle, is available; in the forward problems of this paper its weight is zero, so the pressure is inferred from the physics and the outlet model and not supervised.

Navier–Stokes residuals. Evaluated at the interior collocation points with first and second derivatives obtained by automatic differentiation and rescaled to non-dimensional variables by the factors 2Lref/(xmax⁡−xmin⁡)2L_{ref}/(x^{\max}-x^{\min}) and 2Tref/(tmax⁡−tmin⁡)2T_{ref}/(t^{\max}-t^{\min}),

Lcont=⟨(∇∗⋅u∗)2⟩,Lphys=⟨∥rmom/Smom∥2⟩,(14)\mathcal{L}_{cont}=\langle(\nabla^*\cdot\mathbf{u}^*)^2\rangle,\qquad\mathcal{L}_{phys}=\left\langle\left\|\mathbf{r}_{mom}/S_{mom}\right\|^2\right\rangle, \tag*{(14)}

where rmom\mathbf{r}_{mom} is the left-minus-right side of Eq. (9).

Windkessel outlet condition. For each outlet kk, Qout(k)(t)Q_{out}^{(k)}(t) and Pˉ(k)(t)\bar{P}^{(k)}(t) are computed from Eq. (5) at the Ntr(k)N_{tr}^{(k)} instants. Since points at different times are independent, the time derivative of a surface integral is the sum over nodes of the pointwise time derivative, so Q˙out\dot{Q}_{out} and Pˉ˙\dot{\bar{P}} require only one backward pass each. The residual of Eq. (4), including a possible offset pressure PdP_d, is

rrcr(t)=1Qref[CPˉ˙+Pˉ−PdRd−Qout(1+RpRd)−RpCQ˙out]r_{rcr}(t)=\frac{1}{Q_{ref}}\left[C\dot{\bar{P}}+\frac{\bar{P}-P_d}{R_d}-Q_{out}\left(1+\frac{R_p}{R_d}\right)-R_pC\dot{Q}_{out}\right]

with Qref=UrefAoutQ_{\mathrm{ref}}=U_{\mathrm{ref}}A_{\mathrm{out}}, and Lrcr=⟨rrcr2⟩t\mathcal{L}_{\mathrm{rcr}}=\langle r_{\mathrm{rcr}}^2\rangle_t averaged over time and outlets. The parameters RpR_p, RdR_d, CC and PdP_d are read from the FE model, so that the PINN and the reference solution share exactly the same outlet condition.

Initial condition and gauge. Equation (4) is a first-order ODE, so its residual alone does not determine the pressure level. We add

Lanc=(Pˉ(t0)−P00.05Pref)2+⟨qˉout(t)2⟩t,(15)\mathcal{L}_{\mathrm{anc}}=\left(\frac{\bar{P}(t_0)-P_0}{0.05P_{\mathrm{ref}}}\right)^2+\langle\bar{q}_{\mathrm{out}}(t)^2\rangle_t, \tag*{(15)}

where P0P_0 is the initial outlet pressure and qˉout\bar{q}_{\mathrm{out}} is the area-averaged qq over the outlet. The second term fixes the gauge of the decomposition: the area-averaged outlet pressure equals Prefpˉ(t)P_{\mathrm{ref}}\bar{p}(t) exactly, so pˉ(t)\bar{p}(t) is the outlet pressure seen by the Windkessel.

Global mass balance. The local residual ⟨(∇⋅u)2⟩\langle(\nabla\cdot\mathbf{u})^2\rangle is small even when a sizeable fraction of the inflow fails to leave the domain. We therefore impose the integral constraint

Lmass=⟨(∑kQout(k)(t)−Qin(t)max⁡t∣Qin∣)2⟩t,(16)\mathcal{L}_{\mathrm{mass}}=\left\langle\left(\frac{\sum_k Q_{\mathrm{out}}^{(k)}(t)-Q_{\mathrm{in}}(t)}{\max_t\lvert Q_{\mathrm{in}}\rvert}\right)^2\right\rangle_t, \tag*{(16)}

where Qin(t)Q_{\mathrm{in}}(t) is computed from the inlet velocity data and interpolated at the instants of the outlet set.

Total loss. The terms are combined as

L=λdLdata+λbLbc+λmLmass+λaLanc+r(e)[λpLphys+λcLcont+λrLrcr].(17)\mathcal{L}=\lambda_d\mathcal{L}_{\mathrm{data}}+\lambda_b\mathcal{L}_{\mathrm{bc}}+\lambda_m\mathcal{L}_{\mathrm{mass}}+\lambda_a\mathcal{L}_{\mathrm{anc}} +r(e)\left[\lambda_p\mathcal{L}_{\mathrm{phys}}+\lambda_c\mathcal{L}_{\mathrm{cont}}+\lambda_r\mathcal{L}_{\mathrm{rcr}}\right]. \tag*{(17)}

where the ramp r(e)=min⁡(1,e/Er)r(e)=\min(1,e/E_r) with Er=1500E_r=1500 epochs switches the PDE and Windkessel residuals on gradually, so that the network first learns the data and the boundary values and the stiff terms are introduced on a reasonable starting point. The weights are listed in Table 1.

ParameterValue
Network6×1286\times128, tanh; pressure net 2×322\times32
EmbeddingM=3M=3 harmonics of TcT_c; ns=16n_s=16 spatial features
Loss weightsλd=10\lambda_d=10, λb=10\lambda_b=10, λm=5\lambda_m=5, λa=1\lambda_a=1, λp=λc=λr=1\lambda_p=\lambda_c=\lambda_r=1
RampEr=1500E_r=1500 epochs
AdamE=8000E=8000; η:10−3→10−5\eta:10^{-3}\to10^{-5}; clip 5
L-BFGS3 rounds ×\times 200 iterations
Mini-batch20000 interior, 4096 boundary, 8192 data
Windkessel timesNtrcr=120N_t^{\mathrm{rcr}}=120
Data15% of FE nodes, all output times; 400 validation nodes

Table 1. Hyper-parameters of the PINN.

Optimization strategy

Training proceeds in two stages. In the first stage the Adam optimizer is run for E=8000E=8000 epochs with a linear warm-up over 200 epochs followed by an exponential decay of the learning rate from 10−310^{-3} to 10−510^{-5}, and with gradient-norm clipping at 5. At each epoch a random mini-batch is drawn from every point set (Table 1), whereas the Windkessel, mass and anchor terms use all outlet nodes at all NtrcrN_t^{\mathrm{rcr}} instants. In the second stage the solution is polished with up to three rounds of L-BFGS Liu and Nocedal [15] (strong-Wolfe line search, history of 50), each with a new fixed collocation set of twice the mini-batch size. After every round the relative L2L_2 velocity error on the held-out nodes is evaluated; a round that does not improve it is discarded and the previous parameters are restored. During training we monitor the relative L2L_2 error of the velocity, the RMSE of the dynamic pressure (p−⟨p⟩Ω)(p-\langle p\rangle_\Omega) and of the absolute pressure on the held-out nodes, and the relative RMSE between ∑kQout(k)\sum_k Q_{\mathrm{out}}^{(k)} and QinQ_{\mathrm{in}}.

Validation on Canonical Two-Dimensional Geometries

Prior to addressing the patient-specific 3D geometry, the proposed PINN framework is systematically verified on three canonical 2D configurations of increasing physical and geometrical complexity: (i) a straight channel under steady laminar flow with an analytical plane Poiseuille solution; (ii) a channel with a lateral offset (double bend), which introduces flow acceleration, non-uniform pressure gradients, and local geometric discontinuities; and (iii) a straight channel under transient pulsatile flow coupled to an outlet 3-element Windkessel (RCR) model. In all cases, reference numerical solutions are generated using FEBio on quasi-2D meshes, and the PINN predictions are evaluated on held-out validation nodes not used during network training.

Error metrics

The agreement between the PINN predictions and the FEBio reference solution is quantified using the relative L2L_2 velocity error (εL2)(\varepsilon_{L_2}), the root-mean-square error (RMSE), and the coefficient of determination (R2)(R^2), evaluated over the set of held-out validation nodes V\mathcal{V}:

εL2=(∑V∥uθ−uFE∥2)1/2(∑V∥uFE∥2)1/2,(18)\varepsilon_{L_2}=\frac{\left(\sum_{\mathcal{V}}\lVert\mathbf{u}_\theta-\mathbf{u}^{\mathrm{FE}}\rVert^2\right)^{1/2}}{\left(\sum_{\mathcal{V}}\lVert\mathbf{u}^{\mathrm{FE}}\rVert^2\right)^{1/2}}, \tag*{(18)}
RMSE=(1∣V∣∑V∥uθ−uFE∥2)1/2.\mathrm{RMSE}=\left(\frac{1}{\lvert\mathcal{V}\rvert}\sum_{\mathcal{V}}\lVert\mathbf{u}_\theta-\mathbf{u}^{\mathrm{FE}}\rVert^2\right)^{1/2}.
R2=1−∑V∥uθ−uFE∥2∑V∥uθ−uˉFE∥2.(19)R^2=1-\frac{\sum_{\mathcal{V}}\lVert\mathbf{u}_\theta-\mathbf{u}^{\mathrm{FE}}\rVert^2}{\sum_{\mathcal{V}}\lVert\mathbf{u}_\theta-\bar{\mathbf{u}}^{\mathrm{FE}}\rVert^2}. \tag*{(19)}

Because the incompressible Navier–Stokes formulation only involves the pressure gradient ∇p\nabla p, the predicted pressure is assessed through its dynamic component, p−⟨p⟩Ωp-\langle p\rangle_\Omega, as well as its absolute level. Global mass conservation is evaluated via the normalized flow rate ratio Q(x)/QinQ(x)/Q_{\mathrm{in}} across transversal cross-sections along the domain length.

Straight channel under steady flow

The first benchmark considers a straight channel of length L=10L = 10 mm and height h=3h = 3 mm with a parabolic velocity profile of mean magnitude UU prescribed at the inlet and zero reference pressure at the outlet. For fully developed laminar flow, the velocity profile and spatial pressure gradient follow the analytical plane Poiseuille solution:

u(y)=32U(1−4y2h2),dpdx=−12μUh2,(20)u(y) = \frac{3}{2} U \left(1 - \frac{4y^{2}}{h^{2}}\right), \qquad\frac{\mathrm{d}p}{\mathrm{d}x} = -\frac{12\mu U}{h^{2}}, \tag*{(20)}

yielding a theoretical total pressure drop of ΔP=12μUL/h2\Delta P = 12\mu U L/h^{2}. Two physical regimes were evaluated: μ=0.004\mu= 0.004 Pa·s with U=0.7U = 0.7 m/s (analytical drop of 37.3 Pa) and μ=0.005\mu= 0.005 Pa·s with U=0.3U = 0.3 m/s (20.0 Pa). Two network variants were trained: one supervised exclusively with sparse velocity data, and one incorporating explicit pressure supervision (hereafter referred to as with pp and without pp).

μ\mu (Pa·s)Training UinU_{\mathrm{in}} (m/s)Validation UinU_{\mathrm{in}} (m/s)NN
0.0030.1–0.9–5
0.0040.1, 0.3, 0.5, 0.90.75
0.0050.1, 0.5, 0.7, 0.90.35
Total13215

Table 2. Training and validation cases for the straight-channel benchmark.

Figure 5 demonstrates that the predicted mid-length velocity profiles match both the FEBio reference and the analytical parabola, reaching peak centerline velocities of 1.05 m/s and 0.45 m/s, respectively. The maximum pointwise velocity error remains below 0.6% of the peak speed (4.1×10−34.1 \times10^{-3} m/s for Case 1 and 2.5×10−32.5 \times10^{-3} m/s for Case 2). The linear pressure drop along the centerline is accurately captured. The slight deviation between the numerical solvers and the theoretical line (≈35\approx35 Pa vs. 37.3 Pa) is shared by FEBio and is attributed to finite entrance length effects. Pressure errors remain negligible in the domain interior, peaking slightly near the outlet boundary where p=0p = 0 is imposed. Furthermore, both network variants yield nearly identical predictions, confirming that pressure supervision is redundant in simple canonical geometries.

Figure 5. Validation, plane Poiseuille flow. Left: Case 1 (μ=0.004\mu= 0.004 Pa s, Uin=0.7U_{\mathrm{in}} = 0.7 m/s). Right: Case 2 (μ=0.005\mu= 0.005 Pa s, Uin=0.3U_{\mathrm{in}} = 0.3 m/s). (a) Velocity profile at mid-length and (b) pressure along the centre line: FEBio (circles), analytic solution (dashed) and PINN (solid). Fields: FEBio and PINN share the same colour scale; the right/bottom maps show the absolute PINN-FEBio error.

The dataset comprises 15 parameter combinations, of which 13 were used for training and two were reserved for validation. The validation cases correspond to (μ,Uin)=(0.004,0.7)(\mu, U_{\mathrm{in}}) = (0.004, 0.7) Pa·s and m/s, respectively, and (0.005,0.3)(0.005, 0.3) Pa·s and m/s, respectively. All four corner combinations of the parameter space were included in the training set. Therefore, the validation assesses interpolation within the sampled parameter range rather than extrapolation beyond it.

Channel with lateral offset under steady flow

Geometric complexity is introduced using a channel of width 20 mm and total length 130 mm, whose longitudinal axis is shifted laterally by 40 mm between x≈45x \approx45 mm and x≈85x \approx85 mm. The double bend generates local flow acceleration, internal streamline curvature, non-uniform pressure fields, and localized velocity gradients.

A total of 16 parameter combinations were considered, spanning four viscosity values (μ=0.002\mu= 0.002, 0.003, 0.004, and 0.005 Pa·s) and four inlet velocities (Uin=0.05U_{\mathrm{in}} = 0.05, 0.1, 0.15, and 0.2 m/s). Fourteen cases were used for training, while two were reserved for validation (Table 3). The validation cases were (μ\mu, UinU_{\mathrm{in}}) = (0.003, 0.15) and (0.004, 0.1), respectively. Both correspond to combinations within the training parameter range and therefore assess interpolation performance.

μ\mu (Pa·s)Training UinU_{\mathrm{in}} (m/s)Validation UinU_{\mathrm{in}} (m/s)NN
0.0020.05, 0.1, 0.15, 0.2–4
0.0030.05, 0.1, 0.20.154
0.0040.05, 0.15, 0.20.14
0.0050.05, 0.1, 0.15, 0.2–4
Total14216

Table 3. Training and validation cases for the channel with lateral offset.

The objective of this benchmark is to assess whether the trained PINN can reproduce the flow fields obtained with FEBio for previously unseen parameter combinations, while preserving the expected physical behaviour of the flow. In particular, the comparison focuses on velocity and pressure distributions, as well as global mass conservation.

Figure 6 presents the results for the two validation cases: μ=0.003\mu= 0.003 Pa·s with Uin=0.15U_{\mathrm{in}} = 0.15 m/s (peak velocity 0.35 m/s and inlet pressure approximately 22 Pa), and μ=0.004\mu= 0.004 Pa·s with Uin=0.1U_{\mathrm{in}} = 0.1 m/s (peak velocity 0.20 m/s and inlet pressure approximately 12 Pa).

Figure 6. Validation, Z-bend channel. Left: Case 1 (μ=0.004\mu= 0.004 Pa s, Uin=0.1U_{in} = 0.1 m/s). Right: Case 2 (μ=0.003\mu= 0.003 Pa s, Uin=0.15U_{in} = 0.15 m/s). Fields: FEBio and PINN share the same colour scale per variable; the right column shows the absolute PINN-FEBio error. (a-f) velocity magnitude and pressure. Lower figure: flux Q(x)Q(x) normalised by the inlet flux (exact value 1) and section-averaged pressure for FEBio and PINN.

Results are summarized in Figure 6. Across both cases, the PINN accurately reconstructs the full velocity magnitude field, capturing local acceleration through the inclined neck and downstream flow re-development. Velocity errors remain negligible along straight segments, concentrating at

sharp inner corners (0.12 m/s and 0.06 m/s peak pointwise errors). Pressure errors exhibit a similar pattern, with localized peaks at corners (≈30%\approx30\% local error) and negligible values throughout the rest of the channel.

Section-averaged pressure profiles along the channel axis highlight the role of pressure data. When sparse pressure supervision is provided, the PINN tracks the FEBio reference across the entire domain, including the localized pressure minimum at x≈82x \approx82 mm. Without pressure supervision, the spatial gradient trend is preserved, but an absolute pressure level shift occurs (≈0.7\approx0.7–0.9 Pa offset). Global mass conservation Q(x)/QinQ(x)/Q_{\mathrm{in}} is satisfied by FEBio within 0.3%, whereas the soft continuity penalty in the PINN allows a maximum flow deficit of 4.7% (6.7% without pp) for the higher-velocity case. These observations justified the inclusion of the explicit global mass balance loss term Lmass\mathcal{L}_{\mathrm{mass}} in the final architecture.

Global mass conservation is satisfied by FEBio within 0.3%, whereas the PINN exhibits a maximum flow deficit of 4.7% for the higher-velocity case, increasing to 6.7% when pressure supervision is excluded. Although the PINN does not enforce perfectly constant flow rate along the channel, the predicted flux remains reasonably close to the inlet value. This residual variation reflects the limitations of the soft continuity constraint, particularly in geometries with strong local flow gradients. These results motivated the inclusion of an explicit global mass balance loss term, Lmass\mathcal{L}_{\mathrm{mass}}, in the final architecture.

Straight channel under pulsatile flow with RCR outlet

To evaluate transient performance and dynamic lumped-parameter coupling, the straight channel (10×310 \times3 mm) is subjected to a periodic inflow profile (T=1T = 1 s period over two cardiac cycles) and coupled to a 3-element Windkessel (RCR) model at the outlet. The peak centerline velocity reaches ≈1.5\approx1.5 m/s.

The FE model is a quasi-2D slab of 10×3×0.110 \times3 \times0.1 mm discretized with 3200 hexahedral elements and 4182 nodes (41×17×641 \times17 \times6), with a parabolic inlet velocity whose time dependence follows 12(1−cos⁡2πt)\frac{1}{2}(1 - \cos2\pi t), no-slip walls, ρ=1060\rho= 1060 kg/m3^3 and μ=0.004\mu= 0.004 Pa⋅\cdots. The resulting RCR time constant is RdC≈0.49R_d C \approx0.49 s.

To assess generalisation, the pulsatile straight channel of Section 5 is extended to a family of FEBio simulations that share the geometry, the mesh, the period (T=1T = 1 s, two cycles) and the RCR outlet (Table 4) and differ in the dynamic viscosity μ\mu and in the peak mean inlet velocity UU (the inflow is U2(1−cos⁡2πt)\frac{U}{2}(1 - \cos2\pi t) with a parabolic profile). A

μ\muU=0.40U = 0.40U=0.55U = 0.55U=0.70U = 0.70U=0.85U = 0.85U=1.00U = 1.00
0.003traintraintraintraintrain
0.004traintraintesttraintrain
0.005traintesttraintraintrain

Table 5. Simulations of the parametric pulsatile family. μ\mu in Pa·s, UU in m/s. Test simulations are never used for training, scaling or checkpoint selection.

single PINN with inputs (x,y,t,μ,U)(x, y, t, \mu, U) is trained on part of the family and evaluated on simulations that were never used. Thirteen of the 15 simulations are used for training. In each of them, FEBio velocities (u,v)(u, v) are used at a random 15% of the nodes of the 2-D mesh (the thin zz direction of the slab is ignored) at all of that simulation’s output times. The remaining terms of the loss use no FEBio field data: the unsteady Navier–Stokes residuals at collocation points drawn over the whole (x,y,t,μ,U)(x,y,t,\mu,U) box, no-slip walls, the analytical parabolic inlet, the rest initial condition, and the RCR outlet.

The results below correspond to an unseen test simulation (μ=0.004 Pa⋅s,U=0.7 m/s)(\mu= 0.004\ \mathrm{Pa}\cdot\mathrm{s}, U = 0.7\ \mathrm{m}/\mathrm{s}), which was excluded from training, scaling and checkpoint selection (Figure 7 and Figure 8).

Figure 7. (a) Velocity magnitude across the channel and pressure fluctuation along the channel at t=0.12t = 0.12, 0.500.50, 0.770.77 and 1.381.38 s; markers: FEBio, lines: PINN.

(b) Fields at the instant of peak mean velocity (t=0.496t = 0.496 s). Left: velocity magnitude; right: pressure fluctuation p−⟨p⟩p - \langle p \rangle. FEBio, PINN and absolute PINN–FEBio error (bottom row); FEBio and PINN share one colour scale per variable.

Figure 7: Pulsatile flow in the straight RCR channel for the unseen simulation (μ=0.004\mu= 0.004 Pa·s, U=0.7U = 0.7 m/s).

Outflow and mean outlet pressure in the pulsatile straight channel

Figure 8. (b) Outflow Qout(t)Q_{\rm out}(t) and mean outlet pressure; the dashed curve integrates the RCR equation with the FEBio flow and checks the RCR parameters and units.

Figure 8: Training of the PINN and outlet hemodynamics in the pulsatile straight channel for the unseen simulation (μ=0.004\mu= 0.004 Pa·s, U=0.7U = 0.7 m/s).

Figure 7a compares transverse velocity profiles (a) and axial pressure distributions (b) at four cardiac phases (t=0.12t = 0.12, 0.50, 0.77 and 1.38 s). The PINN follows the FEBio velocity through acceleration, peak systole and deceleration. The pressure gradient has the correct sign throughout the cycle and is reproduced closely at t=0.12t = 0.12, 0.50 and 0.77 s; a small underestimation remains at t=1.38t = 1.38 s, where the pressure at the inlet end is about 2 Pa below the FEBio value of ≈33\approx33 Pa.

Figure 7b shows a snapshot at peak flow (t=0.496t = 0.496 s). The absolute velocity error stays below ≈0.02 m/s\approx0.02\ \mathrm{m}/\mathrm{s} over the whole channel, with its maximum along the bands of largest velocity gradient. The pressure error is below ≈1\approx1 Pa over most of the domain and reaches ≈4\approx4 Pa only in the corners at the inlet and outlet ends.

The validation history (Figure 8a(Figure 8b)) decreases steadily and is still improving slowly at the end of the 8000 epochs: the relative L2L_2 velocity error is ≈0.011\approx0.011, the relative RMSE of QoutQ_{out} against QinQ_{in} is ≈0.8\approx0.8 % and the RMSE of the dynamic pressure is ≈0.5\approx0.5 Pa. The loss terms (Figure 8a(Figure 8a)) show transient spikes during the first ≈3500\approx3500 epochs and are smooth afterwards, with the physics residual as the dominant term.

Coupling with the downstream Windkessel ODE is shown in Figure 8b. The predicted outflow Qout(t)Q_{out}(t) is virtually identical to the FEBio solution, including the peak discharge of 3.0×10−7 m3/s3.0 \times10^{-7}\ \mathrm{m}^3/\mathrm{s} in both cycles (Figure 8b(Figure 8a)); since the FE inflow enters the mass-balance term, this agreement is expected to a large extent. The mean outlet pressure Pˉout(t)\bar{P}_{out}(t) (Figure 8b(Figure 8b)) follows the RCR solution driven by the FE flow rate (dashed line) and reproduces the FEBio peaks (≈15.8\approx15.8 and 17.7 Pa) and trough (≈4.9\approx4.9 Pa) to within about 0.3 Pa. During deceleration the nodal FE pressure deviates from the RCR solution by up to ≈1\approx1 Pa. We attribute this small discrepancy to the element-to-node averaging of the FE pressure and to the time discretisation of the solver, not to a deficiency of the outlet model.

Patient-Specific Right Pulmonary Artery

One of the most profound advantages of the Physics-Informed Neural Network paradigm over classical mesh-based solvers is its inherent capability to perform data assimilation and solve inverse problems seamlessly. In clinical settings, acquiring high-resolution, full-field hemodynamics is often unfeasible; instead, only sparse, noisy, or time-averaged measurements (e.g., from 4D Flow MRI or Doppler ultrasound) are typically available. To demonstrate the clinical translational potential of our framework, we formulate an inverse problem within the 3D patient-specific right pulmonary artery domain. In this scenario, the objective is to identify hidden physical parameters (such as the distal vascular resistance and compliance of the RCR Windkessel model), using only a sparse set of internal velocity and pressure measurements.

This section presents the application of the framework to the patient-specific three-dimensional right pulmonary artery described in Section 2. The forward problem is analyzed first in Section 6.1, followed by the inverse problem development in Section 6.2.

Forward problem

The reference solution was obtained with FEBio using the rigid-wall, 3WK-outlet configuration described in Casero et al. [7], with a patient-specific inflow of period 1 s simulated over two cycles. The computational domain was discretized with an unstructured mesh of 48,035 tetrahedral elements and 9,128 nodes. The boundary is split into one inflow surface Γin\Gamma_{in}, the rigid wall Γwall\Gamma_{wall}, and one outflow surface Γout\Gamma_{out} (FluidRCR1) coupled to the Windkessel model. The PINN was trained with the architecture and hyperparameters of Table 1, on a workstation with an Intel Core i7-6700 CPU and an NVIDIA RTX A2000 GPU (12 GB). The 8000 Adam epochs followed by the L-BFGS refinement took approximately 0.66 hours of wall-clock time.

The spatial fields at t=1.4994t = 1.4994 s, close to the flow peak of the second cycle, are shown in Figure 9 and Figure 10 for three orthogonal cutting planes (sagittal, coronal and axial). The dynamic pressure p−⟨p⟩p - \langle p \rangle spans approximately [−2.3,2][-2.3, 2] Pa, [−2.8,3.5][-2.8, 3.5] Pa and [−11,3.5][-11, 3.5] Pa in the three planes, and the PINN reproduces the spatial distribution, including the pressure gradient from the proximal to the distal region. The absolute errors are below 0.3 Pa in most of the domain and reach maxima of 1.6, 2.5 and 2.1 Pa in the three planes, concentrated in the region of lowest pressure near the lower boundary. These maxima are negligible with respect to the basal pressure (≈0.1%\approx0.1\% of 3.5 kPa) but are not negligible with respect to the local pressure variations that drive the flow, which indicates a residual bias of the pressure field at the local scale.

Figure 9. Dynamic pressure p−⟨p⟩p-\langle p\rangle in the right pulmonary artery at t=1.4994t=1.4994 s on sagittal, coronal and axial planes: FEBio (left), PINN (centre) and absolute error (right).

Figure 10. Velocity magnitude in the right pulmonary artery at t=1.4994t = 1.4994 s on sagittal, coronal and axial planes: FEBio (left), PINN (centre) and absolute error (right).

The velocity magnitude (peak ≈0.21 m/s\approx0.21\ \mathrm{m}/\mathrm{s}) is also correctly located and shaped (Figure 10). The velocity error is below 0.005 m/s in the core of the vessel and reaches maxima of 0.04, 0.05 and 0.03 m/s in the sagittal, coronal and axial planes, respectively, located in the near-wall layer and co-located with the regions of largest pressure error. This is the expected behavior for a network that must resolve the steep near-wall velocity gradients imposed by the no-slip condition from scattered points.

The training history (Figure 11a) shows a monotonic decrease of all loss terms after the initial transient, which ends once the stiff terms are fully active (Er=1500E_r = 1500 epochs) and, for the Windkessel and anchor terms, around 2800 epochs. At the end of training, the relative L2L_2 velocity error on the held-out nodes is ≈0.19\approx0.19, the dynamic-pressure RMSE is ≈ 0.830.83 Pa and the relative RMSE between ∑kQout(k)\sum_k Q_{\mathrm{out}}^{(k)} and QinQ_{\mathrm{in}} is ≈ 1%1\%. The velocity error is thus about one order of magnitude larger than in the two-dimensional pulsatile case (0.020.02), which reflects the increased difficulty of the three-dimensional geometry, of the near-wall resolution and of the limited fraction of supervised nodes (15%15\%).

Figure 16 (PDF p. 14). (a) Terms of the loss function and validation on 400 FEBio nodes not used as data: relative L2L_2 velocity error, relative RMSE of QoutQ_{\rm out} against QinQ_{\rm in} and RMSE of the dynamic pressure (right axis).

Figure 11b also shows the flow rate through the outlet and the area-averaged outlet pressure. The outflow is reproduced essentially exactly (peak ≈2.4×10−5\approx2.4 \times10^{-5} m3^3/s in both cycles). The mean outlet pressure reaches ≈3.1\approx3.1 kPa in the first cycle and ≈3.5\approx3.5 kPa in the second, and the PINN matches the FE value within ≈1.5%\approx1.5\% at the peaks and within ≈50\approx50 Pa at the diastolic trough. The pressure also coincides with the solution of the RCR equation driven by the FE flow rate, which shows that the network satisfies the Windkessel relation consistently. The higher pressure of the second cycle with respect to the first is a consequence of the charging of the compliance from rest, which is represented by the time-only basal-pressure network (§ 5.3). The

Windkessel-imposed absolute pressure is therefore three orders of magnitude larger than the local pressure variations that drive the flow, which are of the order of 1–10 Pa; this is precisely the scale disparity that the pressure decomposition of Eq. (7) is designed to handle.

The results show that the proposed decomposition of the pressure and the dedicated treatment of the Windkessel relation allow the network to recover both the global (outlet) hemodynamics and the local fields in a realistic geometry, despite the three-order-of-magnitude difference between basal and dynamic pressures. The remaining limitations are the residual bias of the local pressure (errors up to 2.5 Pa compared with a dynamic range of a few pascals) and the near-wall velocity error. Both are consistent with the behavior observed in the canonical cases: the pressure is the quantity least constrained by the data and the physics, and it is the last to converge.

(a) Training history for the right pulmonary artery model. Left: loss terms. Right: validation on held-out FE nodes (relative L2L_2 velocity error, relative RMSE between QoutQ_{out} and QinQ_{in}, and dynamic-pressure RMSE).

Outlet hemodynamics in the right pulmonary artery model

(b) Outlet hemodynamics in the right pulmonary artery model. Left: flow rate through outlet FluidRCR1. Right: area-averaged outlet pressure from FEBio, from the PINN, and from the RCR ordinary differential equation driven by the FE flow.

Figure 11. Forward problem in the three-dimensional right pulmonary artery model: training history and outlet hemodynamics.

Inverse problem

The inverse problem is formulated using synthetic, noise-free observations extracted from the finite element (FE) solution of the forward problem. Three types of measurements are assumed to be available: (i) velocity at the same sparse subset of FE nodes considered in the forward problem, corresponding to 15% of the total nodes and available at all output times; (ii) the volumetric outflow rate, Qout(t)Q_{\mathrm{out}}(t), computed from the velocity field at the outlet; and (iii) the area-averaged outlet pressure, Pˉout(t)\bar{P}_{\mathrm{out}}(t), representing measurements that could be obtained from an implantable pressure sensor. No pressure measurements are prescribed within the computational domain, and the weight associated with the pressure data term is therefore set to zero (λp=0\lambda_p = 0).

The parameters to be identified are the proximal resistance RpR_p, distal resistance RdR_d, and compliance CC of the outlet FluidRCR1 Windkessel model. The parameter-identification problem is formulated by promoting these quantities to trainable variables, which are optimized jointly with the neural network weights θ\theta. The corresponding Windkessel relation is enforced at the outlet time instants t0<t1<⋯<tNt_0 < t_1 < \cdots< t_N using a backward-Euler discretization of the time derivatives:

rk=CPˉk−Pˉk−1Δtk+Pˉk−PdRd−Qk(1+RpRd)−RpCQk−Qk−1Δtk,(21)r_k = C \frac{\bar{P}_k - \bar{P}_{k-1}}{\Delta t_k} + \frac{\bar{P}_k - P_d}{R_d} - Q_k \left(1 + \frac{R_p}{R_d}\right) - R_p C \frac{Q_k - Q_{k-1}}{\Delta t_k}, \tag*{(21)}

where Δtk=tk−tk−1\Delta t_k = t_k - t_{k-1}, and Pˉk\bar{P}_k and QkQ_k denote the area-averaged pressure and volumetric flow rate predicted by the network at time tkt_k, respectively (Eq. (5)). The corresponding residual loss is defined as

Lrcr=⟨rk2⟩Qref2.(22)\mathcal{L}_{\mathrm{rcr}} = \frac{\langle r_k^2 \rangle}{Q_{\mathrm{ref}}^2}. \tag*{(22)}

The optimization is performed in two stages. During the first approximately 2100 epochs, the Windkessel parameters are held fixed at deliberately perturbed initial values, allowing the neural network to first adapt to the available observations. Subsequently, the parameters are released and jointly optimized with the network weights until epoch 7000. This is followed by additional refinement using L-BFGS optimization. The overall DAPINN framework is illustrated in Figure 12.

Schematic representation of the DAPINN framework for the inverse problem

Figure 12. Schematic representation of the DAPINN framework for the inverse problem. The Windkessel parameters (RpR_p, RdR_d, CC) are treated as trainable variables and identified jointly with the neural network weights. The RCR relation is enforced through a backward-Euler discretization of the outlet model.

The reference parameter values, obtained from the FE model, are Rp=1.1×108R_p = 1.1 \times10^8 Pa·s/m3^3, Rd=5.21×107R_d = 5.21 \times10^7 Pa·s/m3^3, and C=1.28×10−8C = 1.28 \times10^{-8} m3^3/Pa. To assess the robustness of the identification procedure, additional test cases are generated by modifying one or more of the reference Windkessel parameters. These cases are labelled AP1_<parameter>_x<factor>, where the indicated parameter(s) are multiplied by the specified factor in the FE model, thereby generating a new synthetic dataset with

a corresponding ground truth. For example, AP1_Rp_x0.5 corresponds to a simulation with Rp=0.5RprefR_p = 0.5R_p^{\mathrm{ref}}.

As an independent reference, the identified parameters are also compared against those obtained through a reduced nonlinear least-squares (NLS) identification of the RCR model using the same outlet flow and pressure measurements.

The evolution of the identified parameters for the reference case is presented in Figure 13. At initialization, RpR_p is underestimated by approximately 34%, whereas RdR_d is overestimated by approximately 40%. Following the release of the Windkessel parameters, both resistances converge towards their reference values within approximately 1000 epochs. The compliance exhibits a slower convergence process, initially decreasing below its reference value before progressively approaching it towards the end of training.

Figure 13. Inverse problem for the outlet Windkessel parameters. Top: evolution of the estimated RpR_p, RdR_d, and CC, normalized by their respective ground-truth values (grey band: epochs during which the parameters are held fixed; red markers: L-BFGS refinement rounds; dashed lines: parameter estimates obtained through the reduced NLS fit using the same observations). Bottom: reconstructed mean outlet pressure, outlet flow rate, and loss contributions.

The final estimates, reported in Table 6, show that all three parameters are recovered with relative errors below 0.3%. The reconstructed outlet pressure and flow waveforms closely reproduce the corresponding synthetic observations (Figure 13, bottom left and centre). Moreover, releasing the Windkessel parameters leads to an approximately one-order-of-magnitude reduction in the total loss, while the outlet-related loss contributions decrease to the order of 10−610^{-6} (Figure 13, bottom right).

ParameterGround truthIdentifiedRelative error
RpR_p [Pa·s/m3^3]1.10×1081.10 \times10^81.097×1081.097 \times10^8−0.3%
RdR_d [Pa·s/m3^3]5.21×1075.21 \times10^75.22×1075.22 \times10^7+0.2%
CC [m3^3/Pa]1.28×10−81.28 \times10^{-8}1.276×10−81.276 \times10^{-8}−0.3%

Table 6. Identified Windkessel parameters for the reference inverse problem using noise-free synthetic data.

The different convergence rates observed for the three parameters suggest that the compliance is less readily identified than the resistances from the available pressure and flow waveforms. This behaviour is consistent with the different sensitivities of the RCR model outputs to its individual parameters and may become particularly relevant when considering measurement noise and parameter identifiability.

The performance of the identification framework under different parameter configurations is further investigated in Figure 14 and Figure 15, with the corresponding quantitative results summarized in Table 7. Four additional scenarios are considered: Rp×0.5R_p \times0.5, Rd×2.0R_d \times2.0, C×0.5C \times0.5, and the combined variation Rp×2.0R_p \times2.0 and C×0.5C \times0.5.

Case\multicolumn{3}{c}{Ground truth}\multicolumn{3}{c}{Initial error (approx.)}\multicolumn{3}{c}{Final relative error}
RpR_p [Pa·s/m3^3]RdR_d [Pa·s/m3^3]CC [m3^3/Pa]RpR_pRdR_dCCRpR_pRdR_dCC
Rp×0.5R_p \times0.55.48×1075.48 \times10^71.04×1081.04 \times10^81.28×10−81.28 \times10^{-8}−4%-4\%−49%-49\%+48%+48\%−0.2%-0.2\%−0.4%-0.4\%−0.3%-0.3\%
Rd×2.0R_d \times2.01.10×1081.10 \times10^82.08×1082.08 \times10^81.28×10−81.28 \times10^{-8}−21%-21\%−58%-58\%−10%-10\%−0.3%-0.3\%−1.2%-1.2\%−0.6%-0.6\%
C×0.5C \times0.51.10×1081.10 \times10^81.04×1081.04 \times10^86.42×10−96.42 \times10^{-9}−17%-17\%−13%-13\%+71%+71\%−0.3%-0.3\%−0.1%-0.1\%−0.6%-0.6\%
Rp×2.0, C×0.5R_p \times2.0,\ C \times0.52.19×1082.19 \times10^81.04×1081.04 \times10^86.40×10−96.40 \times10^{-9}−34%-34\%+40%+40\%+7%+7\%−0.3%-0.3\%+0.2%+0.2\%−1.0%-1.0\%

Table 7. Identification of the Windkessel parameters for the four modified scenarios using noise-free synthetic data (7000 epochs followed by L-BFGS refinement). Relative errors are calculated as (θ^−θ)/θ(\hat{\theta}-\theta)/\theta. Initial errors represent approximate deviations of the data-driven initial estimates from the ground-truth values, as inferred from the parameter evolution plots.

Parameter identification results for modified ground-truth Windkessel parameters

Figure 14. Parameter identification results for modified ground-truth Windkessel parameters: (a) Rp×0.5R_p \times0.5 and (b) Rd×2.0R_d \times2.0. The layout follows that of Figure 13.

Parameter identification results for modified ground-truth Windkessel parameters

Figure 15. Parameter identification results for modified ground-truth Windkessel parameters: (a) C×0.5C \times0.5 and (b) the combined variation Rp×2.0R_p \times2.0, C×0.5C \times0.5. The layout follows that of Figure 13.

These modifications lead to substantial changes in the outlet pressure response, with peak mean pressures ranging from approximately 2.2 kPa for the Rp×0.5R_p \times0.5 case to 6.5 kPa for the combined Rp×2.0R_p \times2.0, C×0.5C \times0.5 case. In contrast, the outlet flow remained practically unchanged, with a peak value of approximately 2.4×10−52.4 \times10^{-5} m3^3/s, consistent with the prescribed inflow conditions.

Across all four scenarios, the framework successfully recovers the three Windkessel parameters, with final relative errors ranging from 0.1% to 1.2% and a mean absolute relative error of approximately 0.5%. These results are obtained despite substantial deviations in the initial parameter estimates, which reach approximately 58% for RdR_d in the Rd×2.0R_d \times2.0 case and 71% for CC in the C×0.5C \times0.5 case. In all scenarios, the reconstructed outlet pressure and flow waveforms closely match the corresponding observations. Furthermore, following the release of the parameters, the outlet-related loss contributions decrease to approximately 10−610^{-6}, with the mean pressure and flow misfit terms reaching values between 10−810^{-8} and 10−610^{-6}.

Several consistent trends can be identified across the different parameter configurations. First, RpR_p exhibits a small systematic negative bias in all cases, with relative errors between −0.2%-0.2\% and −0.3%-0.3\%. This consistency suggests that the bias may be associated with the numerical formulation of the discretized RCR relation, potentially arising from the first-order backward-Euler approximation, rather than being solely attributable to optimization variability.

Second, RdR_d and CC exhibit slower convergence and more pronounced transient deviations following the release of the parameters. In particular, transient deviations of up to approximately 40% are observed for CC in the Rd×2.0R_d \times2.0 and combined Rp×2.0R_p \times2.0, C×0.5C \times0.5 scenarios. This behaviour suggests a degree of compensation between the resistance and compliance parameters during optimization, reflecting their coupled influence on the outlet pressure and flow responses.

Finally, in the scenarios involving the largest initial parameter deviations, namely Rd×2.0R_d \times2.0 and the combined Rp×2.0R_p \times2.0, C×0.5C \times0.5 case, the estimates of RdR_d and CC are still evolving towards their respective ground-truth values at epoch 7000. Consequently, the remaining errors of up to 1.2% should be interpreted in the context of incomplete convergence at the prescribed training horizon. Further optimization may therefore lead to additional improvements in the identified values.

Overall, these results demonstrate the ability of the proposed DAPINN framework to identify the lumped Windkessel parameters from sparse velocity observations and outlet pressure and flow measurements, even when the initial parameter estimates differ substantially from the ground truth. Importantly, the identification is achieved through joint optimization of the neural network and the outlet model parameters, without requiring repeated FE forward simulations during the inverse optimization.

Conclusions and Future Perspectives

This work presented a physics-informed neural network (PINN) framework for modelling pulsatile blood flow in patient-specific pulmonary artery geometries, with particular emphasis on the integration of dynamic three-element Windkessel (RCR) outlet boundary conditions. The proposed approach addresses the numerical challenges associated with coupling local three-dimensional hemodynamics to lumped-parameter models, particularly the disparity between the pressure scales governing the intravascular flow and those associated with the outlet boundary conditions. A progressive validation strategy was adopted, ranging from canonical two-dimensional configurations to a patient-specific three-dimensional right pulmonary artery, followed by an inverse problem for the identification of the outlet model parameters.

The initial validation on canonical geometries demonstrated the ability of the framework to reproduce both analytical solutions and FEBio reference simulations under steady and transient flow conditions. For the straight-channel benchmark, the predicted velocity profiles agreed closely with the analytical Poiseuille solution and the corresponding FE results, with maximum pointwise velocity errors below 0.6% of the peak velocity. The extension to the channel with lateral offset demonstrated that the network could also capture more complex flow distributions, including local acceleration, curved streamlines and non-uniform pressure gradients. These tests additionally highlighted the limitations of relying exclusively on a soft incompressibility constraint to preserve global mass conservation, motivating the incorporation of an explicit mass-balance loss term. Finally, the pulsatile benchmark confirmed that the framework could reproduce transient velocity and pressure distributions while consistently coupling the network predictions to the downstream RCR model.

The application to the patient-specific three-dimensional right pulmonary artery further demonstrated the feasibility of the proposed approach in a geometrically complex domain. The network reproduced the main spatial features of the FE velocity and dynamic pressure fields, as well as the temporal evolution of the outlet flow and mean pressure. In particular, the reconstructed outlet pressure was consistent with the solution of the RCR ordinary differential equation driven by the FE flow rate. The complete three-dimensional simulation was trained in approximately 0.66 hours, illustrating the computational feasibility of the proposed formulation for this application.

Beyond the forward problem, the framework was extended to the identification of the proximal resistance, distal resistance and compliance of the outlet Windkessel model. Using sparse velocity observations, volumetric outflow and area-averaged outlet pressure, the three parameters were optimized jointly with the neural network weights, without requiring repeated FE simulations during the inverse optimization. For the reference configuration, all parameters were recovered with relative errors below 0.3%. Additional experiments involving substantial modifications of the ground-truth parameters demonstrated consistent parameter recovery, with final errors ranging from 0.1% to 1.2% across the four investigated scenarios. These results demonstrate the potential of the proposed formulation to combine distributed hemodynamic reconstruction with the identification of hidden lumped-parameter boundary conditions.

Despite these encouraging results, several limitations remain to be addressed. First, the inverse problem was evaluated using synthetic, noise-free observations generated from the FE model. The sensitivity of parameter identification to measurement noise, temporal undersampling and uncertainty in the available observations therefore remains to be investigated. Second, although the overall pressure distributions were satisfactorily reconstructed, localized discrepancies persisted in regions with strong spatial gradients and near geometric discontinuities. Further improvements in pressure reconstruction and parameter identifiability will be particularly important when only sparse clinical measurements are available. Finally, the present study assumes rigid vessel walls and a prescribed inflow condition, limiting its representation of the dynamic interaction between blood flow and the surrounding arterial tissue.

Future research will focus on advancing the proposed pipeline towards clinical translation. Key directions include the assimilation of sparse clinical velocity measurements, such as those obtained from 4D Flow MRI or Doppler ultrasound, directly into the PINN loss function; the incorporation of arterial wall compliance through physics-informed fluid–structure interaction (FSI) formulations; and the use of neural operators, such as DeepONets and Fourier Neural Operators, to further accelerate model training and inference. In particular, combining these developments with the inverse identification capabilities presented in this work could enable the integration of patient-specific anatomical, hemodynamic and vascular mechanical information within a unified computational framework.

Overall, the results establish a foundation for integrating physics-informed learning with dynamic lumped-parameter cardiovascular models in three-dimensional patient-specific domains. By combining forward hemodynamic reconstruction and inverse parameter identification within a single optimization framework, the proposed approach represents a promising step towards computationally efficient, non-invasive and patient-specific cardiovascular digital twins. Such developments could ultimately support real-time hemodynamic assessment and personalized modelling in pulmonary vascular medicine.

CRediT authorship contribution statement

Celia Taboada: Conceptualization, Methodology, Software, Formal analysis, Investigation, Writing - original draft, Visualization. Luis Nuñez: Investigation, Software, Validation. Angélica Casero: Conceptualization, Supervision, Data curation, Writing - review & editing. . Pedro Navas: Conceptualization, Supervision, Funding acquisition, Resources, Project administration, Writing - review & editing.

Ethics approval

This study was conducted in accordance with the Declaration of Helsinki, and the protocol was approved by the Research Ethics Committee of the University Hospital Puerta de Hierro Majadahonda on 1 February 2024. Part of the data was collected within the framework of the academic internships of Laura García Sánchez (September–December 2022) and Angélica Casero Baeza (September–December 2023) at the Hospital Universitario Puerta de Hierro Majadahonda. Informed consent was obtained from the subject exclusively for the use of anonymized medical imaging and inflow data. In this research, synthetic pressure data was employed.

Declaration of Generative AI and AI-assisted technologies in the writing process

During the preparation of this work, the authors used Gemini in order to reorganize paragraphs and correct spelling and grammar. After using this tool/service, the authors reviewed and edited the content as needed and take full responsibility for the content of the published article.

Funding

P. Navas, C. Taboada, and A. Casero were supported by DOCTORES-EMERGENTES-24-6R4VJE-38-PAQCQO (Tu-CoPINN).

Declaration of competing interest

The authors declare that they have no known competing financial interests or personal relationships that could have appeared to influence the work reported in this paper.

Data availability

Data and codes will be made available upon reasonable request.

Acknowledgements

The authors would like to express their gratitude to engineer Laura García Sánchez for her foundational role in initiating this work. We also extend our sincere thanks to Dr. Juan Francisco Oteo, Dr. Carlos Arellano Serrano, and Dr. Manuel Gómez Bueno for their invaluable clinical insights and for their active participation in the project by hosting and mentoring students at the Hospital Universitario Puerta de Hierro Majadahonda.

References

  1. [1]Abraham, W.T., Perl, L., 2017. Implantable hemodynamic monitoring for heart failure patients. Journal of the American College of Cardiology 70, 389–398. doi:10.1016/j.jacc.2017.05.052.DOI
  2. [3]Albocher, A., et al., 2024. Physics-informed neural networks for non-invasive dynamic pressure estimation in complex vascular networks. Computers in Biology and Medicine 172, 108110.
  3. [4]Ames, B., Vignon-Clementel, I.E., 2024. Coupling lumped-parameter windkessel networks with physics-informed learning frameworks for vascular boundary estimation. IEEE Transactions on Biomedical Engineering 71, 1820–1831.
  4. [5]Arzani, A., Wang, J.X., D’Souza, R.M., 2021. Physics-informed neural networks for inverse problems in vascular hemodynamics. Computer Methods in Applied Mechanics and Engineering 384, 113961.
  5. [6]Arzani, A., Wang, J.X., D’Souza, R.M., 2023. Uncovering near-wall hemodynamic stress metrics in vascular flows using physics-informed neural networks. Computer Methods and Programs in Biomedicine 231, 107380.
  6. [7]Casero, A., Sánchez, L.G., Alfano, F., Navas, P., Oteo, J.F., Arellano-Serrano, C., Gómez-Bueno, M., 2026. Patient-specific computational hemodynamic modeling of the right pulmonary artery using cardiomems data: Validation, simplification, and sensitivity analysis. Fluids 11, 83. doi:10.3390/fluids11030083.DOI
  7. [8]Fathi, M.F., Perez-Raya, I., Baghaie, A., Berg, P., Janiga, G., D’Souza, R.M., 2022. Super-resolution and denoising of 4d flow mri using physics-informed neural networks. Computer Methods and Programs in Biomedicine 214, 106578.
  8. [9]Frank, O., 1899. Die grundform des arteriellen pulses. Zeitschrift für Biologie 37, 483–526.
  9. [10]González, R., Alonso, M., 2025. Reconstruction of unsteady 3d velocity and pressure fields in arterial bifurcations using physics-informed neural networks. Computers in Biology and Medicine 186, 109510.
  10. [11]Humbert, M., Kovacs, G., Hoeper, M.M., Badagliacca, R., Berger, R.M., Brida, M., Coghlan, J.G., Howard, L.S.S., Lang, I.M., Matsubara, H., et al., 2022. 2022 ESC/ERS guidelines for the diagnosis and treatment of pulmonary hypertension. European Heart Journal 43, 3618–3731.
  11. [12]Karniadakis, G.E., Kevrekidis, I.G., Lu, L., Perdikaris, P., Wang, S., Yang, L., 2021. Physics-informed machine learning. Nature Reviews Physics 3, 422–440.DOI
  12. [13]Kissas, G., Yang, Y., Hwuang, E., Witschey, W.R., Detre, J.A., Perdikaris, P., 2020. Machine learning in cardiovascular flows modeling: Predicting arterial blood pressure from non-invasive 4d flow mri data using physics-informed neural networks. Nature Communications 11, 4861.DOI
  13. [14]Krishnapriyan, A., Gholami, A., Zhe, S., Kirby, R., Mahoney, M.W., 2021. Characterizing possible failure modes in physics-informed neural networks, in: Advances in Neural Information Processing Systems, pp. 26548–26560.arxiv.org/abs/2109.01050
  14. [15]Liu, D.C., Nocedal, J., 1989. On the limited memory BFGS method for large scale optimization. Mathematical Programming 45, 503–528.
  15. [16]Maas, S.A., Ellis, B.J., Ateshian, G.A., Weiss, J.A., 2012. FEBio: finite elements for biomechanics. Journal of Biomechanical Engineering 134, 011005.DOI
  16. [17]Milnor, W.R., 1989. Hemodynamics. 2nd ed., Williams & Wilkins, Baltimore, MD, USA.
  17. [18]Müller, L., Schiavazzi, D., 2025. Uncertainty quantification and parameter estimation in lumped-parameter driven physics-informed neural networks for blood flow. Computer Methods and Programs in Biomedicine 258, 108420.
  18. [19]Park, J., Kim, Y., 2024. Estimation of downstream vascular resistance in patient-specific geometries using physics-informed deep learning. Medical & Biological Engineering & Computing 62, 1895–1908.
  19. [20]Paszke, A., Gross, S., Massa, F., Lerer, A., Bradbury, J., Chanan, G., Killeen, T., Lin, Z., Gimelshein, N., Antiga, L., et al., 2019. PyTorch: An imperative style, high-performance deep learning library, in: Advances in Neural Information Processing Systems, pp. 8024–8035.arxiv.org/abs/1912.01703
  20. [21]Rahaman, N., Arpit, D., Draxl, P., Lin, M., Hamprecht, F., Bengio, Y., Courville, A., 2019. On the spectral bias of neural networks, in: International Conference on Machine Learning, PMLR. pp. 5301–5310.arxiv.org/abs/1806.08734
  21. [22]Raissi, M., Perdikaris, P., Karniadakis, G.E., 2019. Physics-informed neural networks: A deep learning framework for solving forward and inverse problems involving nonlinear partial differential equations. Journal of Computational Physics 378, 686–707.DOI
  22. [23]Santos, A., Fernandez, M., 2024. Evaluation of physics-informed neural networks for reduced-order lumped-parameter cardiovascular modeling. Medical & Biological Engineering & Computing 62, 1450–1463.
  23. [24]Sarma, M., Sun, L., 2024. Physics-informed deep learning for hemodynamic parameter recovery in patient-specific vascular topologies. Computers in Biology and Medicine 175, 108480.
  24. [25]Tancik, M., Srinivasan, P., Mildenhall, B., Friederich, K., S. Raghavan, N., Singhal, U., Ramamoorthi, R., Barron, J., Ng, R., 2020. Fourier features let networks learn high frequency functions in low dimensional domains, in: Advances in Neural Information Processing Systems, pp. 7537–7547.arxiv.org/abs/2006.10739
  25. [26]Taylor, C.A., Steinman, D.A., 2010. Patient-specific modeling of cardiovascular mechanics. Annual Review of Biomedical Engineering 12, 547–574.DOI
  26. [27]Vergara, C., Zunino, P., 2024. Coupling reduced-order lumped models with data-driven neural solvers in cardiovascular hemodynamics. International Journal for Numerical Methods in Biomedical Engineering 40, e3812.
  27. [28]Vignon-Clementel, I.E., Figueroa, C.A., Jansen, K.E., Taylor, C.A., 2006. Outflow boundary conditions for 3d simulations of non-periodic blood flow and pressure fields in deformable arteries. Computer Methods in Applied Mechanics and Engineering 195, 3776–3796.
  28. [29]Wang, S., Teng, Y., Perdikaris, P., 2021. Understanding and mitigating gradient flow pathologies in physics-informed neural networks. SIAM Journal on Scientific Computing 43, A3055–A3081.
  29. [30]Westerhof, N., Lankhaar, J.W., Westerhof, B.E., 2009. The arterial windkessel. Medical & Biological Engineering & Computing 47, 131–141. doi:10.1007/s11517-008-0359-2.DOI

Paper details

vlnc:W_q5kp4czj
Version
v1 · latest
Published
Fresh — added to the Hub within the last 30 days
Added
License
CC BY 4.0
Usage

views · 0

downloads · 0

A view counts once per browser per day, a download each time the PDF is requested.

  • Mathematics

Gemini (multiple versions)

View statement
Looking for related papers…
Contents