arXiv Science⌕ Search

arXiv subjects

Josh Williams

Publications and source records attributed to Josh Williams.

6 recordsLinked to original sources

Learnable Splines for Unstructured Neural Operators

Neural operators approximate solution operators of partial differential equations at a fraction of the cost of numerical solvers. Efficient grid-based architectures such as the Fourier neural operator (FNO) assume uniform rectangular grids, whereas engineering simulations use large, irregular, and locally refined meshes. We introduce L-SplineFNO, a memory-efficient neural operator that couples an FNO backbone with a sparse, learnable tensor-product B-spline transfer between unstructured meshes and a latent Cartesian grid. A local normalised scatter avoids the geometry-dependent solve of analytic spline transformation while preserving compact support, partition of unity, and spline smoothness by construction. The neural operator, conditioned on global design and operating parameters, learns the mapping of geometry to the field solution. Across six three-dimensional engineering benchmarks, L-SplineFNO achieves strong predictive accuracy while requiring substantially less memory and compute than baseline operators, scaling to 26.6 million nodes in training and 46 million in inference on a single A100 GPU. It also supports zero-shot super-resolution and efficient closed-form spatial derivatives. Uniquely, the analytic spline decoder yields rigorous prediction bounds over continuous space and uncertain parameters, via Bernstein convex hulls and Taylor models, demonstrated on a 29.2-million-node MAST-U tokamak model.

cs.AI↗

Learning to reconstruct Germano Differential Filtered Fields with Convolutional Neural Networks for Large Eddy Simulation of Plasma Turbulence

We present a novel method which combines the invertibility of the differential filter of Germano, with convolutional networks to accelerate plasma turbulence simulations. Rather than learning the mapping from coarse-grid LES fields to fine-grid DNS, the proposed method learns the mapping from coarse LES fields to the differential-filtered DNS fields. We then use the inverse of Germano's filter to reconstruct the fine-scale details and hence calculate exactly the nonlinear terms in the governing equations and subgrid-scale terms in the LES equations. The method is tested on the 2D Hasegawa-Wakatani (HW) and modified Hasegawa-Wakatani (mHW) plasma turbulence models at $256^2$ and $512^2$ DNS resolutions using 2, 4 and 8 times smaller LES grids in each direction. We compare the model with DNS results on energy, enstrophy, spectra, probability distributions, poloidal and radial fluxes and computational cost. Validation extends to 1000 simulation time units for HW and 100 for mHW, whose faster dynamics lead toward laminarization. For the $256^2$ cases, the finer LES meshes preserve several integral and spectral features, whereas the coarsest mesh yields unphysical behavior. In contrast, for the $512^2$ cases, even the coarsest LES mesh preserves the turbulent character of the flow and maintains acceptable statistics for both the HW and mHW models. Moreover, we show how our methodology is superior to traditional algebraic numerical LES models, which traditionally fail to capture important design features. Finally, benchmarks show an MPI task-time reductions of 4.82--49.45, with a maximum wall-clock speedup of $1.55\times$ when compared to full CPU socket.

physics.comp-ph↗

Deposition simulations of realistic dosages in patient-specific airways with two- and four-way coupling

Inhalers spray over 100 million drug particles into the mouth, where a significant portion of the drug may deposit. Understanding how the complex interplay between particle and solid phases influence deposition is crucial for optimising treatments. Existing modelling studies neglect any effect of particle momentum on the fluid (one-way coupling), which may cause poor prediction of forces acting on particles. In this study, we simulate a realistic number of particles (up to 160 million) in a patient-specific geometry. We study the effect of momentum transfer from particles to the fluid (two-way coupling) and particle-particle interactions (four-way coupling) on deposition. We also explore the effect of tracking groups of particles (`parcels') to lower computational cost. Upper airway deposition fraction increased from 0.33 (one-way coupled) to 0.87 with two-way coupling and $10 μm$ particle diameter. Four-way coupling lowers upper airway deposition by approximately 10% at $100 μg$ dosages. We use parcel modelling to study deposition of $4 - 20 μm$ particles, observing significant influence of two-way coupling in each simulation. These results show that future studies should model realistic dosages for accurate prediction of deposition which may inform clinical decision-making.

physics.med-ph↗

Validated respiratory drug deposition predictions from 2D and 3D medical images with statistical shape models and convolutional neural networks

For the one billion sufferers of respiratory disease, managing their disease with inhalers crucially influences their quality of life. Generic treatment plans could be improved with the aid of computational models that account for patient-specific features such as breathing pattern, lung pathology and morphology. Therefore, we aim to develop and validate an automated computational framework for patient-specific deposition modelling. To that end, an image processing approach is proposed that could produce 3D patient respiratory geometries from 2D chest X-rays and 3D CT images. We evaluated the airway and lung morphology produced by our image processing framework, and assessed deposition compared to in vivo data. The 2D-to-3D image processing reproduces airway diameter to 9% median error compared to ground truth segmentations, but is sensitive to outliers of up to 33% due to lung outline noise. Predicted regional deposition gave 5% median error compared to in vivo measurements. The proposed framework is capable of providing patient-specific deposition measurements for varying treatments, to determine which treatment would best satisfy the needs imposed by each patient (such as disease and lung/airway morphology). Integration of patient-specific modelling into clinical practice as an additional decision-making tool could optimise treatment plans and lower the burden of respiratory diseases.

physics.med-ph↗

pyssam -- a Python library for statistical modelling of biomedical shape and appearance

pyssam is a Python library for creating statistical shape and appearance models (SSAMs) for biological (and other) shapes such as bones, lungs or other organs. A point cloud best describing the anatomical 'landmarks' of the organ are required from each sample in a small population as an input. Additional information such as landmark gray-value can be included to incorporate joint correlations of shape and 'appearance' into the model. Our library performs alignment and scaling of the input data and creates a SSAM based on covariance across the population. The output SSAM can be used to parameterise and quantify shape change across a population. pyssam is a small and low dependency codebase with examples included as Jupyter notebooks for several common SSAM computations. The given examples can easily be extended to alternative datasets, and also alternative tasks such as medical image segmentation by incorporating a SSAM as a constraint for segmented organs.

q-bio.QM↗

Neural stochastic differential equations for particle dispersion in large-eddy simulations of homogeneous isotropic turbulence

In dilute turbulent particle-laden flows, such as atmospheric dispersion of pollutants or virus particles, the dynamics of tracer-like to low inertial particles are significantly altered by the fluctuating motion of the carrier fluid phase. Neglecting the effects of fluid velocity fluctuations on particle dynamics causes poor prediction of particle transport and dispersion. To account for the effects of fluid phase fluctuating velocity on the particle transport, stochastic differential equations coupled with large-eddy simulation are proposed to model the fluid velocity seen by the particle. The drift and diffusion terms in the stochastic differential equation are modelled using neural networks ('neural stochastic differential equations'). The neural networks are trained with direct numerical simulations (DNS) of decaying homogeneous isotropic turbulence at low and moderate Reynolds numbers. The predictability of the proposed models are assessed against DNS results through a priori analyses and a posteriori simulations of decaying homogeneous isotropic turbulence at low-to-high Reynolds numbers. Total particle fluctuating kinetic energy is under-predicted by 40% with no model, compared to the DNS data. In contrast, the proposed model predictions match total particle fluctuating kinetic energy to within 5% of the DNS data for low to high-inertia particles. For inertial particles, the model matches the variance of uncorrelated particle velocity to within 10% of DNS results, compared to 60-70% under-prediction with no model. It is concluded that the proposed model is applicable for flow configurations involving tracer and inertial particles, such as transport and dispersion of pollutants or virus particles.

physics.flu-dyn↗