Featured Researches

Computational Physics

Cerman: Software for simulating streamer propagation in dielectric liquids based on the Townsend-Meek criterion

We present a software to simulate the propagation of positive streamers in dielectric liquids. Such liquids are commonly used for electric insulation of high-power equipment. We simulate electrical breakdown in a needle-plane geometry, where the needle and the extremities of the streamer are modeled by hyperboloids, which are used to calculate the electric field in the liquid. If the field is sufficiently high, electrons released from anions in the liquid can turn into electron avalanches, and the streamer propagates if an avalanche meets the Townsend-Meek criterion. The software is written entirely in Python and released under an MIT license. We also present a set of model simulations demonstrating the capability and versatility of the software.

Read more
Computational Physics

Characterizing viscoelastic materials via ensemble-based data assimilation of bubble collapse observations

Viscoelastic material properties at high strain rates are needed to model many biological and medical systems. Bubble cavitation can induce such strain rates, and the resulting bubble dynamics are sensitive to the material properties. Thus, in principle, these properties can be inferred via measurements of the bubble dynamics. Estrada et al. (2018) demonstrated such bubble-dynamic high-strain-rate rheometry by using least-squares shooting to minimize the difference between simulated and experimental bubble radius histories. We generalize their technique to account for additional uncertainties in the model, initial conditions, and material properties needed to uniquely simulate the bubble dynamics. Ensemble-based data assimilation minimizes the computational expense associated with the bubble cavitation model. We test an ensemble Kalman filter (EnKF), an iterative ensemble Kalman smoother (IEnKS), and a hybrid ensemble-based 4D--Var method (En4D--Var) on synthetic data, assessing their estimations of the viscosity and shear modulus of a Kelvin--Voigt material. Results show that En4D--Var and IEnKS provide better moduli estimates than EnKF. Applying these methods to the experimental data of Estrada et al. (2018) yields similar material property estimates to those they obtained, but provides additional information about uncertainties. In particular, the En4D--Var yields lower viscosity estimates for some experiments, and the dynamic estimators reveal a potential mechanism that is unaccounted for in the model, whereby the viscosity is reduced in some cases due to material damage occurring at bubble collapse.

Read more
Computational Physics

Classical Density Functional Theory applied to the solid state

The standard model of classical Density Functional Theory for pair potentials consists of a hard-sphere functional plus a mean-field term accounting for long ranged attraction. However, most implementations using sophisticated Fundamental Measure hard-sphere functionals suffer from potential numerical instabilities either due to possible instabilities in the functionals themselves or due to implementations that mix real- and Fourier-space components inconsistently. Here, we present a new implementation based on a demonstrably stable hard-sphere functional that is implemented in a completely consistent manner. The present work does not depend on approximate spherical integration schemes and so is much more robust than previous algorithms. The methods are illustrated by calculating phase diagrams for the solid state using the standard Lennard-Jones potential as well as a new class of potentials recently proposed by Wang et al (Phys. Chem. Chem. Phys. 22, 10624 (2020)). The latter span the range from potentials for small molecules to those appropriate to colloidal systems simply by varying a parameter. We verify that cDFT is able to semi-quantitatively reproduce the phase diagram in all cases. We also show that for these problems computationally cheap Gaussian approximations are nearly as good as full minimization based on finite differences.

Read more
Computational Physics

Coarse Graining Molecular Dynamics with Graph Neural Networks

Coarse graining enables the investigation of molecular dynamics for larger systems and at longer timescales than is possible at atomic resolution. However, a coarse graining model must be formulated such that the conclusions we draw from it are consistent with the conclusions we would draw from a model at a finer level of detail. It has been proven that a force matching scheme defines a thermodynamically consistent coarse-grained model for an atomistic system in the variational limit. Wang et al. [ACS Cent. Sci. 5, 755 (2019)] demonstrated that the existence of such a variational limit enables the use of a supervised machine learning framework to generate a coarse-grained force field, which can then be used for simulation in the coarse-grained space. Their framework, however, requires the manual input of molecular features upon which to machine learn the force field. In the present contribution, we build upon the advance of Wang et al.and introduce a hybrid architecture for the machine learning of coarse-grained force fields that learns their own features via a subnetwork that leverages continuous filter convolutions on a graph neural network architecture. We demonstrate that this framework succeeds at reproducing the thermodynamics for small biomolecular systems. Since the learned molecular representations are inherently transferable, the architecture presented here sets the stage for the development of machine-learned, coarse-grained force fields that are transferable across molecular systems.

Read more
Computational Physics

Code-Verification Techniques for Hypersonic Reacting Flows in Thermochemical Nonequilibrium

The study of hypersonic flows and their underlying aerothermochemical reactions is particularly important in the design and analysis of vehicles exiting and reentering Earth's atmosphere. Computational physics codes can be employed to simulate these phenomena; however, verification of these codes is necessary to certify their credibility. To date, few approaches have been presented for verifying codes that simulate hypersonic flows, especially flows reacting in thermochemical nonequilibrium. In this paper, we present our code-verification techniques for verifying the spatial accuracy and thermochemical source term in hypersonic reacting flows in thermochemical nonequilibrium. We demonstrate the effectiveness of these techniques on the Sandia Parallel Aerodynamics and Reentry Code (SPARC).

Read more
Computational Physics

Combined effects of fluid type and particle shape on particles flow in microfluidic platforms

Recent numerical analyses to optimize the design of microfluidic devices for more effective entrapment or segregation of surrogate circulating tumor cells (CTCs) from healthy cells have been reported in the literature without concurrently accommodating the non-Newtonian nature of the body fluid and the non-uniform geometric shapes of the CTCs. Through a series of two-dimensional proof-of-concept simulations with increased levels of complexity (e.g., number of particles, inline obstacles), we investigated the validity of the assumptions of the Newtonian fluid behavior for pseudoplastic fluids and the circular particle shape for different-shaped particles (DSPs) in the context of microfluidics-facilitated shape-based segregation of particles. Simulations with a single DSP revealed that even in the absence of internal geometric complexities of a microfluidics channel, the aforementioned assumptions led to 0.11-0.21W (W is the channel length) errors in lateral displacements of DSPs, up to 3-20% errors in their velocities, and 3-5% errors in their travel times. When these assumptions were applied in simulations involving multiple DSPs in inertial microfluidics with inline obstacles, errors in the lateral displacements of DSPs were as high as 0.78W and in their travel times up to 23%, which led to different (un)symmetric flow and segregation patterns of DSPs. Thus, the fluid type and particle shape should be included in numerical models and experiments to assess the performance of microfluidics for targeted cell (e.g., CTCs) harvesting.

Read more
Computational Physics

Combining data assimilation and machine learning to infer unresolved scale parametrisation

In recent years, machine learning (ML) has been proposed to devise data-driven parametrisations of unresolved processes in dynamical numerical models. In most cases, the ML training leverages high-resolution simulations to provide a dense, noiseless target state. Our goal is to go beyond the use of high-resolution simulations and train ML-based parametrisation using direct data, in the realistic scenario of noisy and sparse observations. The algorithm proposed in this work is a two-step process. First, data assimilation (DA) techniques are applied to estimate the full state of the system from a truncated model. The unresolved part of the truncated model is viewed as a model error in the DA system. In a second step, ML is used to emulate the unresolved part, a predictor of model error given the state of the system. Finally, the ML-based parametrisation model is added to the physical core truncated model to produce a hybrid model. The DA component of the proposed method relies on an ensemble Kalman filter while the ML parametrisation is represented by a neural network. The approach is applied to the two-scale Lorenz model and to MAOOAM, a reduced-order coupled ocean-atmosphere model. We show that in both cases the hybrid model yields forecasts with better skill than the truncated model. Moreover, the attractor of the system is significantly better represented by the hybrid model than by the truncated model.

Read more
Computational Physics

Comment on "Improvements for drift-diffusion plasma fluid models with explicit time integration"

Recently, J. Teunissen reported a fully explicit method, namely the current-limit approach, which claimed to overcome the dielectric relaxation time restriction for the drift-diffusion plasma fluid model. In this comment, we point out that the current-limit approach is not mathematically consistent, and discuss about the possible reason why the inconsistency was not visibly noticed.

Read more
Computational Physics

Comparison and Application of non-Conforming Mesh Models for Flow in Fractured Porous Media using dual {L}agrange multipliers

Geological settings with reservoir characteristics include fractures with different material and geometrical properties. Hence, numerical simulations in applied geophysics demands for computational frameworks which efficiently allow to integrate various fracture geometries in a porous medium matrix. This study presents a modeling approach for single-phase flow in fractured porous media and its application to different types of non-conforming mesh models. We propose a combination of the Lagrange multiplier method with variational transfer to allow for complex non-conforming geometries as well as hybrid- and equi-dimensional models and discretizations of flow through fractured porous media. The variational transfer is based on the L 2 -projection and enables an accurate and highly efficient parallel projection of fields between non-conforming meshes (e.g.,\ between fracture and porous matrix domain). We present the different techniques as a unified mathematical framework with a practical perspective. By means of numerical examples we discuss both, performance and applicability of the particular strategies. Comparisons of finite element simulation results to widely adopted 2D benchmark cases show good agreement and the dual Lagrange multiplier spaces show good performance. In an extension to 3D fracture networks, we first provide complementary results to a recently developed benchmark case, before we explore a complex scenario which leverages the different types of fracture meshes. Complex and highly conductive fracture networks are found more suitable in combination with embedded hybrid-dimensional fractures. However, thick and blocking fractures are better approximated by equi-dimensional embedded fractures and the equi-dimensional mortar method, respectively.

Read more
Computational Physics

Comparison of Split-Step and Hamiltonian Integration Methods for Simulation of the Nonlinear Schrödinger Equation

We provide a systematic comparison of two numerical methods to solve the widely used nonlinear Schrödinger equation. The first one is the standard second order split-step (SS2) method based on operator splitting approach. The second one is the Hamiltonian integration method (HIM). It allows the exact conservation of the Hamiltonian at the cost of requiring the implicit time stepping. We found that numerical error for HIM method is systematically smaller than the SS2 solution for the same time step. At the same time, one can take orders of magnitude larger time steps in HIM compared with SS2 still ensuring numerical stability. In contrast, SS2 time step is limited by the numerical stability threshold.

Read more

Ready to get started?

Join us today