skip to main content


This content will become publicly available on December 1, 2025

Title: Second order accurate particle-in-cell discretization of the Navier-Stokes equations
We propose the use of PolyPIC transfers [10] to construct a second order accurate discretization of the Navier-Stokes equations within a particle-in-cell framework on MAC grids. We investigate the accuracy of both APIC [16], [17], [8] and quadratic PolyPIC [10] transfers and demonstrate that they are suitable for constructing schemes converging with orders of approximately 1.5 and 2.5 respectively. We combine PolyPIC transfers with BDF-2 time integration and a splitting scheme for pressure and viscosity and demonstrate that the resulting scheme is second order accurate. Prior high order particle-in-cell schemes interpolate accelerations (not velocities) from the grid to particles and rely on moving least squares to transfer particle velocities to the computational grid. The proposed method instead transfers velocities to particles, which avoids the accumulation of noise on particle velocities but requires the polynomial reconstruction to be performed using polynomials that are one degree higher. Since this polynomial reconstruction occurs over the regular grid (rather than irregularly distributed particles), the resulting weighted least squares problem has a fixed sparse structure, can be solved efficiently in closed form, and is independent of particle coverage.  more » « less
Award ID(s):
2006570
PAR ID:
10558590
Author(s) / Creator(s):
;
Publisher / Repository:
Elsevier
Date Published:
Journal Name:
Journal of Computational Physics
Volume:
518
Issue:
C
ISSN:
0021-9991
Page Range / eLocation ID:
113302
Format(s):
Medium: X
Sponsoring Org:
National Science Foundation
More Like this
  1. This paper introduces a new weighting scheme for particle-grid transfers that generates hybrid Lagrangian/Eulerian fluid simulations with uniform particle distributions and precise volume control. At its core, our approach reformulates the construction of Power Particles [de Goes et al. 2015] by computing volume-constrained density kernels. We employ these optimized kernels as particle domains within the Generalized Interpolation Material Point method (GIMP) in order to incorporate Power Particles into the Particle-In-Cell framework, hence the name the Power Particle-In-Cell method. We address the construction of volume-constrained density kernels as a regularized optimal transportation problem and describe an iterative solver based on localized Gaussian convolutions that leads to a significant performance speedup compared to [de Goes et al. 2015]. We also present novel extensions for handling free surfaces and solid obstacles that bypass the need for cell clipping and ghost particles. We demonstrate the advantages of our transfer weights by improving hybrid schemes for fluid simulation such as the Fluid Implicit Particle (FLIP) method and the Affine Particle-In-Cell (APIC) method with volume preservation and robustness to varying particle-per-cell ratio, while retaining low numerical dissipation, conserving linear and angular momenta, and avoiding particle reseeding or post-process relaxations. 
    more » « less
  2. Simulation of flow and transport in petroleum reservoirs involves solving coupled systems of advection-diffusion-reaction equations with nonlinear flux functions, diffusion coefficients, and reactions/wells. It is important to develop numerical schemes that can approximate all three processes at once, and to high order, so that the physics can be well resolved. In this paper, we propose an approach based on high order, finite volume, implicit, Weighted Essentially NonOscillatory (iWENO) schemes. The resulting schemes are locally mass conservative and, being implicit, suited to systems of advection-diffusion-reaction equations. Moreover, our approach gives unconditionally L-stable schemes for smooth solutions to the linear advection-diffusion-reaction equation in the sense of a von Neumann stability analysis. To illustrate our approach, we develop a third order iWENO scheme for the saturation equation of two-phase flow in porous media in two space dimensions. The keys to high order accuracy are to use WENO reconstruction in space (which handles shocks and steep fronts) combined with a two-stage Radau-IIA Runge-Kutta time integrator. The saturation is approximated by its averages over the mesh elements at the current time level and at two future time levels; therefore, the scheme uses two unknowns per grid block per variable, independent of the spatial dimension. This makes the scheme fairly computationally efficient, both because reconstructions make use of local information that can fit in cache memory, and because the global system has about as small a number of degrees of freedom as possible. The scheme is relatively simple to implement, high order accurate, maintains local mass conservation, applies to general computational meshes, and appears to be robust. Preliminary computational tests show the potential of the scheme to handle advection-diffusion-reaction processes on meshes of quadrilateral gridblocks, and to do so to high order accuracy using relatively long time steps. The new scheme can be viewed as a generalization of standard cell-centered finite volume (or finite difference) methods. It achieves high order in both space and time, and it incorporates WENO slope limiting. 
    more » « less
  3. We present several nonlinear wavefront sensing techniques for few-mode sensors, all of which are empirically calibrated and agnostic to the choice of wavefront sensor. The first class of techniques involves a straightforward extension of the linear phase retrieval scheme to higher order; the resulting Taylor polynomial can then be solved using the method of successive approximations, though we discuss alternate methods such as homotopy continuation. In the second class of techniques, a model of the WFS intensity response is created using radial basis function interpolation. We consider both forward models, which map phase to intensity and can be solved with nonlinear least-squares methods such as the Levenberg-Marquardt algorithm, as well as backwards models, which directly map intensity to phase and do not require a solver. We provide demonstrations for both types of techniques in simulation using a quad-cell sensor and a photonic lantern wavefront sensor as examples. Next, we demonstrate how the nonlinearity of an arbitrary sensor may be studied using the method of numerical continuation, and apply this technique both to the quad-cell sensor and a photonic lantern sensor. Finally, we briefly consider the extension of nonlinear techniques to polychromatic sensors.

     
    more » « less
  4. We develop a formally high order Eulerian–Lagrangian Weighted Essentially Nonoscillatory (EL‐WENO) finite volume scheme for nonlinear scalar conservation laws that combines ideas of Lagrangian traceline methods with WENO reconstructions. The particles within a grid element are transported in the manner of a standard Eulerian–Lagrangian (or semi‐Lagrangian) scheme using a fixed velocityv. A flux correction computation accounts for particles that cross thev‐traceline during the time step. Ifv = 0, the scheme reduces to an almost standard WENO5 scheme. The CFL condition is relaxed whenvis chosen to approximate either the characteristic or particle velocity. Excellent numerical results are obtained using relatively long time steps.

    Thev‐traceback points can fall arbitrarily within the computational grid, and linear WENO weights may not exist for the point. A general WENO technique is described to reconstruct to any order the integral of a smooth function using averages defined over a general, nonuniform computational grid. Moreover, to high accuracy, local averages can also be reconstructed. By re‐averaging the function to a uniform reconstruction grid that includes a point of interest, one can apply a standard WENO reconstruction to obtain a high order point value of the function. © 2016 Wiley Periodicals, Inc. Numer Methods Partial Differential Eq 33: 651–680, 2017

     
    more » « less
  5. Divergence-free vector fields and curl-free vector fields play an important role in many types of problems, including the incompressible Navier-Stokes equations, Maxwell's equations, the equations for magnetohydrodynamics, and surface reconstruction. In practice, these fields are often obtained by projection, resulting in a discrete approximation of the continuous field that is discretely divergence-free or discretely curl-free. This field can then be interpolated to non-grid locations, which is required for many algorithms such as particle tracing or semi-Lagrangian advection. This interpolated field will not generally be divergence-free or curl-free in the analytic sense. In this work, we assume these fields are stored on a MAC grid layout and that the divergence and curl operators are discretized using finite differences. This work builds on and extends [39] in multiple ways: (1) we design a divergence-free interpolation scheme that preserves the discrete flux, (2) we adapt the general construction of divergence-free fields into a general construction for curl-free fields, (3) we extend the framework to a more general class of finite difference discretizations, and (4) we use this flexibility to construct fourth-order accurate interpolation schemes for the divergence-free case and the curl-free case. All of the constructions and specific schemes are explicit piecewise polynomials over a local neighborhood. 
    more » « less