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 . Loss Terms. Data & BCs: . Navier-Stokes: . Windkessel: . Initial condition & gauge: . Global mass balance: . Total Loss . Pressure Network. Artery. Distal Vascular Impedance. Forward problem. Hemodynamic field reconstruction. Inverse problem. Estimation of , , . Non-invasive parameter identification recovering hidden vascular resistance and compliance. Mean outlet pressure [Pa]. FEBio. PINN. RCR (FEBio Q). [s]. []. .
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 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.

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 bounded by , conservation of mass and linear momentum are expressed as:
where is the fluid velocity vector field, is the static pressure, denotes the blood mass density, represents the dynamic viscosity, and 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 (): Evaluated as , where is the hydraulic vessel diameter. Based on patient-specific cardiac output (), the mean flow velocity yields a mean Reynolds number of Casero et al. [7]. Even under conservative peak systolic flow conditions (), 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 (): Calculated as , where is the vessel radius and is the angular frequency associated with the heart rate () Casero et al. [7]. For the analyzed right pulmonary artery (), the resulting Womersley number is Casero et al. [7]. A value of 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:
Inlet (): A time-dependent, pulsatile volumetric inflow profile is enforced. As illustrated in Figure 2, the inlet flow can be modeled using a literature-based

Figure 2. Comparison of inflow boundary condition waveforms prescribed at : 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 () during the systolic period () Casero et al. [7].
Vessel Wall (): A non-slip Dirichlet boundary condition is prescribed:
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 (, 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 , 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 , an arterial compliance , and a distal peripheral resistance Westerhof et al. [30].


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 to model proximal resistance (), distal compliance (), and distal vascular bed resistance (). Adapted from Casero et al. [7]; Westerhof et al. [30].
The differential relationship governing the instantaneous outlet pressure and the spatial outlet flow rate is derived from circuit conservation laws as:
The total vascular resistance is calibrated using the patient’s mean pulmonary pressure and mean outlet discharge via Casero et al. [7]. In the patient-specific calibration of Casero et al. [7], is partitioned into a proximal resistance (5% of ), representing local vessel impedance, and a distal microvascular resistance (95% of ), 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.
| Parameter | Value |
| Proximal resistance () | Pas/m |
| Distal resistance () | Pas/m |
| Arterial compliance () | m/Pa |
| Offset pressure () | 0 Pa |
| Initial pressure | 0 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 in Eq. (4) is non-negotiable for physiological realism Casero et al. [7]; Ames and Vignon-Clementel [4]. When compliance is neglected (), 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 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].

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 and at a set of output times , the nodal velocity and the element pressure, which is averaged onto the nodes to obtain . 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 ; 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 instants covering , 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 are discretized with lumped nodal areas (one quarter of the area of each adjacent quadrilateral, one third for triangles) and area-weighted vertex normals computed directly from the surface mesh and oriented outwards. Hence
The corresponding inflow is obtained in the same way from the inlet surface with inward orientation.
Non-dimensionalization
Spatial coordinates and time are first mapped to with the bounding box of the domain,
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 becomes very large along that axis and makes the residual extremely stiff.
The physical variables are scaled with a reference velocity (maximum inlet speed), a reference length (vessel diameter or longest dimension of the domain), , and two pressure scales. The pressure is decomposed as
where is a spatially uniform basal pressure level, scaled with , and is the spatially varying part, scaled with . This separation is the key to the pressure-scale disparity discussed in the Introduction: the momentum equation only involves , 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
with and . 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 , with 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 with 6 hidden layers of 128 neurons and hyperbolic tangent activation, Glorot-uniform initialization and zero biases,
preceded by a fixed (non-trainable) Fourier embedding that is evaluated inside the forward pass, so that automatic differentiation with respect to the raw inputs remains exact:
The temporal frequencies are the first harmonics of the cardiac period , (rad per unit of ), where is detected automatically from the dominant peak of the zero-padded FFT of the inflow . 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 contains random low-frequency Gaussian features (, standard deviation 1) that enrich the spatial representation without introducing high-frequency noise. We use .
The basal pressure of Eq. (7) is produced by a second, small network (two hidden layers of 32 neurons) that receives 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 data points, wall points and inlet points,
An optional pressure data term, , 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 and ,
where is the left-minus-right side of Eq. (9).
Windkessel outlet condition. For each outlet , and are computed from Eq. (5) at the 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 and require only one backward pass each. The residual of Eq. (4), including a possible offset pressure , is
with , and averaged over time and outlets. The parameters , , and 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
where is the initial outlet pressure and is the area-averaged over the outlet. The second term fixes the gauge of the decomposition: the area-averaged outlet pressure equals exactly, so is the outlet pressure seen by the Windkessel.
Global mass balance. The local residual is small even when a sizeable fraction of the inflow fails to leave the domain. We therefore impose the integral constraint
where is computed from the inlet velocity data and interpolated at the instants of the outlet set.
Total loss. The terms are combined as
where the ramp with 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.
| Parameter | Value |
| Network | , tanh; pressure net |
| Embedding | harmonics of ; spatial features |
| Loss weights | , , , , |
| Ramp | epochs |
| Adam | ; ; clip 5 |
| L-BFGS | 3 rounds 200 iterations |
| Mini-batch | 20000 interior, 4096 boundary, 8192 data |
| Windkessel times | |
| Data | 15% 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 epochs with a linear warm-up over 200 epochs followed by an exponential decay of the learning rate from to , 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 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 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 error of the velocity, the RMSE of the dynamic pressure and of the absolute pressure on the held-out nodes, and the relative RMSE between and .
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 velocity error , the root-mean-square error (RMSE), and the coefficient of determination , evaluated over the set of held-out validation nodes :
Because the incompressible Navier–Stokes formulation only involves the pressure gradient , the predicted pressure is assessed through its dynamic component, , as well as its absolute level. Global mass conservation is evaluated via the normalized flow rate ratio across transversal cross-sections along the domain length.
Straight channel under steady flow
The first benchmark considers a straight channel of length mm and height mm with a parabolic velocity profile of mean magnitude 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:
yielding a theoretical total pressure drop of . Two physical regimes were evaluated: Pa·s with m/s (analytical drop of 37.3 Pa) and Pa·s with 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 and without ).
| (Pa·s) | Training (m/s) | Validation (m/s) | |
| 0.003 | 0.1–0.9 | – | 5 |
| 0.004 | 0.1, 0.3, 0.5, 0.9 | 0.7 | 5 |
| 0.005 | 0.1, 0.5, 0.7, 0.9 | 0.3 | 5 |
| Total | 13 | 2 | 15 |
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 ( m/s for Case 1 and 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 ( 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 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 ( Pa s, m/s). Right: Case 2 ( Pa s, 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 Pa·s and m/s, respectively, and 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 mm and 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.003, 0.004, and 0.005 Pa·s) and four inlet velocities (, 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 (, ) = (0.003, 0.15) and (0.004, 0.1), respectively. Both correspond to combinations within the training parameter range and therefore assess interpolation performance.
| (Pa·s) | Training (m/s) | Validation (m/s) | |
| 0.002 | 0.05, 0.1, 0.15, 0.2 | – | 4 |
| 0.003 | 0.05, 0.1, 0.2 | 0.15 | 4 |
| 0.004 | 0.05, 0.15, 0.2 | 0.1 | 4 |
| 0.005 | 0.05, 0.1, 0.15, 0.2 | – | 4 |
| Total | 14 | 2 | 16 |
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: Pa·s with m/s (peak velocity 0.35 m/s and inlet pressure approximately 22 Pa), and Pa·s with m/s (peak velocity 0.20 m/s and inlet pressure approximately 12 Pa).
Figure 6. Validation, Z-bend channel. Left: Case 1 ( Pa s, m/s). Right: Case 2 ( Pa s, 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 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 ( 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 mm. Without pressure supervision, the spatial gradient trend is preserved, but an absolute pressure level shift occurs (–0.9 Pa offset). Global mass conservation 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 ) for the higher-velocity case. These observations justified the inclusion of the explicit global mass balance loss term 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, , in the final architecture.
Straight channel under pulsatile flow with RCR outlet
To evaluate transient performance and dynamic lumped-parameter coupling, the straight channel ( mm) is subjected to a periodic inflow profile ( s period over two cardiac cycles) and coupled to a 3-element Windkessel (RCR) model at the outlet. The peak centerline velocity reaches m/s.
The FE model is a quasi-2D slab of mm discretized with 3200 hexahedral elements and 4182 nodes (), with a parabolic inlet velocity whose time dependence follows , no-slip walls, kg/m and Pas. The resulting RCR time constant is 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 ( s, two cycles) and the RCR outlet (Table 4) and differ in the dynamic viscosity and in the peak mean inlet velocity (the inflow is with a parabolic profile). A
| 0.003 | train | train | train | train | train |
| 0.004 | train | train | test | train | train |
| 0.005 | train | test | train | train | train |
Table 5. Simulations of the parametric pulsatile family. in Pa·s, in m/s. Test simulations are never used for training, scaling or checkpoint selection.
single PINN with inputs 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 are used at a random 15% of the nodes of the 2-D mesh (the thin 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 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 , 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 , , and s; markers: FEBio, lines: PINN.
(b) Fields at the instant of peak mean velocity ( s). Left: velocity magnitude; right: pressure fluctuation . 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 ( Pa·s, m/s).

Figure 8. (b) Outflow 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 ( Pa·s, m/s).
Figure 7a compares transverse velocity profiles (a) and axial pressure distributions (b) at four cardiac phases (, 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 , 0.50 and 0.77 s; a small underestimation remains at s, where the pressure at the inlet end is about 2 Pa below the FEBio value of Pa.
Figure 7b shows a snapshot at peak flow ( s). The absolute velocity error stays below over the whole channel, with its maximum along the bands of largest velocity gradient. The pressure error is below Pa over most of the domain and reaches 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 velocity error is , the relative RMSE of against is % and the RMSE of the dynamic pressure is Pa. The loss terms (Figure 8a(Figure 8a)) show transient spikes during the first 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 is virtually identical to the FEBio solution, including the peak discharge of 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 (Figure 8b(Figure 8b)) follows the RCR solution driven by the FE flow rate (dashed line) and reproduces the FEBio peaks ( and 17.7 Pa) and trough ( Pa) to within about 0.3 Pa. During deceleration the nodal FE pressure deviates from the RCR solution by up to 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 , the rigid wall , and one outflow surface (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 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 spans approximately Pa, Pa and 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 ( 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 in the right pulmonary artery at 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 s on sagittal, coronal and axial planes: FEBio (left), PINN (centre) and absolute error (right).
The velocity magnitude (peak ) 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 ( epochs) and, for the Windkessel and anchor terms, around 2800 epochs. At the end of training, the relative velocity error on the held-out nodes is , the dynamic-pressure RMSE is ≈ Pa and the relative RMSE between and is ≈ . The velocity error is thus about one order of magnitude larger than in the two-dimensional pulsatile case (), which reflects the increased difficulty of the three-dimensional geometry, of the near-wall resolution and of the limited fraction of supervised nodes ().
Figure 16 (PDF p. 14). (a) Terms of the loss function and validation on 400 FEBio nodes not used as data: relative velocity error, relative RMSE of against 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 m/s in both cycles). The mean outlet pressure reaches kPa in the first cycle and kPa in the second, and the PINN matches the FE value within at the peaks and within 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 velocity error, relative RMSE between and , and dynamic-pressure RMSE).

(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, , computed from the velocity field at the outlet; and (iii) the area-averaged outlet pressure, , 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 ().
The parameters to be identified are the proximal resistance , distal resistance , and compliance 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 . The corresponding Windkessel relation is enforced at the outlet time instants using a backward-Euler discretization of the time derivatives:
where , and and denote the area-averaged pressure and volumetric flow rate predicted by the network at time , respectively (Eq. (5)). The corresponding residual loss is defined as
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.

Figure 12. Schematic representation of the DAPINN framework for the inverse problem. The Windkessel parameters (, , ) 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 Pa·s/m, Pa·s/m, and m/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 .
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, is underestimated by approximately 34%, whereas 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 , , and , 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 (Figure 13, bottom right).
| Parameter | Ground truth | Identified | Relative error |
| [Pa·s/m] | −0.3% | ||
| [Pa·s/m] | +0.2% | ||
| [m/Pa] | −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: , , , and the combined variation and .
| Case | \multicolumn{3}{c}{Ground truth} | \multicolumn{3}{c}{Initial error (approx.)} | \multicolumn{3}{c}{Final relative error} | ||||||
| [Pa·s/m] | [Pa·s/m] | [m/Pa] | |||||||
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 . Initial errors represent approximate deviations of the data-driven initial estimates from the ground-truth values, as inferred from the parameter evolution plots.

Figure 14. Parameter identification results for modified ground-truth Windkessel parameters: (a) and (b) . The layout follows that of Figure 13.

Figure 15. Parameter identification results for modified ground-truth Windkessel parameters: (a) and (b) the combined variation , . 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 case to 6.5 kPa for the combined , case. In contrast, the outlet flow remained practically unchanged, with a peak value of approximately m/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 in the case and 71% for in the 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 , with the mean pressure and flow misfit terms reaching values between and .
Several consistent trends can be identified across the different parameter configurations. First, exhibits a small systematic negative bias in all cases, with relative errors between and . 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, and 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 in the and combined , 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 and the combined , case, the estimates of and 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]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
- [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.
- [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.
- [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.
- [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.
- [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
- [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.
- [9]Frank, O., 1899. Die grundform des arteriellen pulses. Zeitschrift für Biologie 37, 483–526.
- [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.
- [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.
- [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
- [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
- [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
- [15]Liu, D.C., Nocedal, J., 1989. On the limited memory BFGS method for large scale optimization. Mathematical Programming 45, 503–528.
- [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
- [17]Milnor, W.R., 1989. Hemodynamics. 2nd ed., Williams & Wilkins, Baltimore, MD, USA.
- [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.
- [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.
- [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
- [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
- [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
- [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.
- [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.
- [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
- [26]Taylor, C.A., Steinman, D.A., 2010. Patient-specific modeling of cardiovascular mechanics. Annual Review of Biomedical Engineering 12, 547–574.DOI
- [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.
- [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.
- [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.
- [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








