We gratefully acknowledge support from
the Simons Foundation and member institutions.

Computational Physics

New submissions

[ total of 15 entries: 1-15 ]
[ showing up to 2000 entries per page: fewer | more ]

New submissions for Thu, 9 Feb 23

[1]  arXiv:2302.03733 [pdf, other]
Title: Field emitter electrostatics: efficient improved simulation technique for highly precise calculation of field enhancement factors
Comments: 9 pages, 4 figures. Accepted for publication in JVSTB
Subjects: Computational Physics (physics.comp-ph)

When solving the Laplace equation numerically via computer simulation, in order to determine the field values at the surface of a shape model that represents a field emitter, it is necessary to define a simulation box and, within this, a simulation domain. This domain must not be so small that the box boundaries have an undesirable influence on the predicted field values. A recent paper discussed the situation of cylindrically symmetric emitter models that stand on one of a pair of well-separated parallel plates. This geometry can be simulated by using two-dimensional domains. For a cylindrical simulation box, formulae have previously been presented that define the minimum domain dimensions (MDD) (height and radius) needed to evaluate the apex value of the field enhancement factor for this type of model, with an error-magnitude never larger than a "tolerance" $\epsilon_{\rm{tol}}$. This MDD criterion helps to avoid inadvertent errors and oversized domains. The present article discusses (in greater depth than previously) a significant improvement in the MDD method; this improvement has been called the MDD Extrapolation Technique (MDDET). By carrying out two simulations with relatively small MDD values, it is possible to achieve a level of precision comparable with the results of carrying out a single simulation using a much larger simulation domain. For some simulations, this could result in significant savings of memory requirements and computing time. Following a brief restatement of the original MDD method, the MDDET method is illustrated by applying it to the hemiellipsoid-on-plane (HEP) and hemisphere-on-cylindrical-post (HCP) emitter shape models.

[2]  arXiv:2302.03898 [pdf, other]
Title: Inverse asymptotic treatment: capturing discontinuities in fluid flows via equation modification
Subjects: Computational Physics (physics.comp-ph)

A major challenge in developing accurate and robust numerical solutions to multi-physics problems is to deal with evolving discontinuities in field quantities. The problem-specific nature of such discontinuities has led to a plethora of bespoke discretization schemes and platform-dependent implementations using targeted numerical treatments near discontinuities. Developing such schemes and implementations takes decades of research, tens of millions of dollars, and significant level of effort (LoE) by computational and domain experts in their respective communities. We introduce the paradigm of "inverse asymptotic treatment" (IAT) of discontinuities in fluid flows through modification of the governing partial differential equations (PDEs). These modifications, applied at a semantic and platform-independent level, enable using standard numerical schemes to discretize and integrate the modified PDEs, making them more directly computable and yielding orders of magnitude reduction in cost and LoE via automation. We outline IAT for phase-field modeling of two-phase incompressible flows, but to showcase its generality, we deploy it for single-phase compressible flows, involving shock and contact discontinuities, as localized artificial diffusivity (LAD) methods. Using canonical problems, we show that traditional LAD allows standard non-dissipative schemes but requires free-parameter tuning. Nevertheless, its application to a laminar hypersonic compression corner shows IAT's ability to, within just a few months, rapidly prototype solvers whose performance and predictive capacity comes close to state-of-the-art bespoke schemes developed and optimized over years or even decades. Finally, we propose a novel LAD approach via "reverse-engineered", TVD-inspired PDE modifications that, when combined with second-order central differencing, is robust, accurate, and free of problem-dependent tuning.

[3]  arXiv:2302.04240 [pdf, other]
Title: Reduction of Autocorrelation Times in Lattice Path Integral Quantum Monte Carlo via Direct Sampling of the Truncated Exponential Distribution
Comments: ~8 pages, 8 figures. For associated data and code repository see: this https URL
Subjects: Computational Physics (physics.comp-ph)

In Monte Carlo simulations, proposed configurations are accepted or rejected according to an acceptance ratio, which depends on an underlying probability distribution and an a priori sampling probability. By carefully selecting the probability distribution from which random variates are sampled, simulations can be made more efficient, by virtue of an autocorrelation time reduction. In this paper, we illustrate how to directly sample random variates from a two dimensional truncated exponential distribution. We show that our direct sampling approach converges faster to the target distribution compared to rejection sampling. The direct sampling of one and two dimensional truncated exponential distributions is then applied to a recent Path Integral Monte Carlo (PIMC) algorithm for the simulation of Bose-Hubbard lattice models at zero temperature. The new sampling method results in improved acceptance ratios and reduced autocorrelation times of estimators, providing an effective speed up of the simulation.

Cross-lists for Thu, 9 Feb 23

[4]  arXiv:2302.03738 (cross-list from physics.flu-dyn) [pdf, other]
Title: Vorticity cascade and turbulent drag in wall-bounded flows: plane Poiseuille flow
Subjects: Fluid Dynamics (physics.flu-dyn); Computational Physics (physics.comp-ph)

Drag for wall-bounded flows is directly related to flux of spanwise vorticity outward from the wall. In turbulent flows a key contribution arises from cross-stream ``vorticity cascade'' by nonlinear advection and stretching of vorticity. We study this process using numerical simulation data of turbulent channel flow at $Re_\tau=1000$. The net transfer from the wall of fresh spanwise vorticity created by downstream pressure drop is due to two large opposing fluxes, one which is ``down-gradient'' or outward from the wall, where most vorticity concentrates, and the other which is ``up-gradient'' or toward the wall and acting against strong viscous diffusion in the near-wall region. We present evidence that the up-gradient transport occurs by a mechanism of correlated inflow and spanwise vortex stretching that was proposed by Lighthill. This mechanism is essentially Lagrangian, but we explicate its relation to the Eulerian anti-symmetric vorticity flux tensor. As evidence for the mechanism we study (i) statistical correlations of the wall-normal velocity and of wall-normal flux of spanwise vorticity, (ii) vorticity flux cospectra that identify eddies involved in nonlinear vorticity transport in the two opposing directions, and (iii) visualizations of coherent vortex structures which contribute dominantly to the transport. The ``D-type'' vortices contributing dominantly to down-gradient transport in the log-layer are found to be attached, hairpin-type vortices. However, the ``U-type'' vortices contributing dominantly to up-gradient transport are detached, wall-parallel, pancake-shaped vortices with strong spanwise vorticity, as expected by Lighthill's mechanism. We discuss modifications to the attached eddy model and implications for turbulent drag reduction.

[5]  arXiv:2302.03755 (cross-list from physics.flu-dyn) [pdf, other]
Title: Particle-level Simulation of Magnetorheological Fluids: A Fully-Resolved Solver
Subjects: Fluid Dynamics (physics.flu-dyn); Computational Physics (physics.comp-ph)

Magnetorheological fluids (MRFs) are smart materials consisting of micro-scale magnetizable particles suspended in a carrier fluid. The rheological properties of a MRF can be changed from a fluid-state to a solid-state upon the application of an external magnetic field. This study reports the development of a particle-level simulation code for magnetic solid spheres moving through an incompressible Newtonian carrier fluid. The numerical algorithm is implemented within an open-source finite-volume solver coupled with an immersed boundary method (FVM-IBM) to perform fully-resolved simulations. The particulate phase of the MRF is modeled using the discrete element method (DEM). The resultant force acting on the particles due to the external magnetic field is computed based on the Clausius-Mossotti relationship. The fixed and mutual dipole magnetic models are then used to account for the magnetic (MAG) interactions between particles. Several benchmark flows were simulated using the newly-developed FVM-IBM-DEM-MAG algorithm to assess the accuracy and robustness of the calculations.

[6]  arXiv:2302.03763 (cross-list from cond-mat.dis-nn) [pdf, other]
Title: PyRates -- A Code-Generation Tool for Dynamical Systems Modeling
Comments: 20 pages, 4 figures, 1 table
Subjects: Disordered Systems and Neural Networks (cond-mat.dis-nn); Computational Physics (physics.comp-ph); Neurons and Cognition (q-bio.NC)

Systems of differential equations are commonly used to model real-world dynamical systems. In most cases, numerical methods are needed to study these systems. There are many freely available software solutions that implement numerical methods for dynamical systems analysis. However, these different software solutions have different requirements for user-supplied models, which makes it difficult to set up dynamical system analysis workflows using multiple tools and complicates sharing of workflows within the scientific community. PyRates is a software tool for modeling and analyzing dynamical systems using a variety of programming languages. It provides a unified interface for defining complex, hierarchical models, either via simple YAML files or via a Python user interface. PyRates uses code generation to translate user-defined models into "backend" implementations in languages such as Python, Fortran, and Julia, providing access to a wide range of dynamical system analysis methods. We demonstrate the capabilities of PyRates in three use cases, showing how it can generate (i) NumPy code for numerical simulations via SciPy, (ii) Fortran code for bifurcation analysis and parameter continuations via PyCoBi, and (iii) PyTorch code for neural network optimization via RectiPy. Furthermore, we show that PyRates is well suited as a model definition interface for other dynamical systems tools. To this end, we introduce PyCoBi and RectiPy, two software packages that we developed as extensions of PyRates for specific dynamical systems modeling applications.

[7]  arXiv:2302.03769 (cross-list from cond-mat.mes-hall) [pdf, other]
Title: Computational capability for physical reservoir computing using a spin-torque oscillator with two free layers
Comments: 16 pages, 11 figures
Journal-ref: Phys. Rev. B 107, 054406 (2023)
Subjects: Mesoscale and Nanoscale Physics (cond-mat.mes-hall); Adaptation and Self-Organizing Systems (nlin.AO); Chaotic Dynamics (nlin.CD); Computational Physics (physics.comp-ph)

A numerical analysis on the computational capability of physical reservoir computing utilizing a spin-torque oscillator with two free layers is reported. Conventional spintronics devices usually consist of two ferromagnets, where the direction of magnetization in one layer, called the free layer, can move while that of the other, the reference layer, is fixed. Recently, however, devices with two free layers, where the reference layer is replaced by another free layer, have been developed for various practical applications. Adding another free layer drastically changes the dynamical response of the device through the couplings via the spin-transfer effect and the dipole magnetic field. A numerical simulation of the Landau-Lifshitz-Gilbert equation and a statistical analyses of the Lyapunov exponent and the synchronization index reveal the appearance of an amplitude-modulated oscillation and chaos in the oscillators with two free layers. Such complex dynamics qualitatively change the computational capability of physical reservoir computing because the computational resource is dynamics of the physical system. An evaluation of the short-term memory capacity clarifies that oscillators with two free layers have a larger capacity than those of conventional oscillators. An enhancement in capacity near the edge of echo state property, i.e., the boundary between zero and finite synchronization index, is also found.

[8]  arXiv:2302.03785 (cross-list from cond-mat.soft) [pdf, other]
Title: Single and two-cells shape analysis from energy functionals for three-dimensional vertex models
Comments: Special issue of CMBE 2021 conference
Subjects: Soft Condensed Matter (cond-mat.soft); Computational Physics (physics.comp-ph)

Vertex models have been extensively used for simulating the evolution of multicellular systems, and have given rise to important global properties concerning their macroscopic rheology or jamming transitions. These models are based on the definition of an energy functional, which fully determines the cellular response and conclusions. While two-dimensional vertex models have been widely employed, three-dimensional models are far more scarce, mainly due to the large amount of configurations that they may adopt and the complex geometrical transitions they undergo. We here investigate the shape of single and two-cells configurations as a function of the energy terms, and we study the dependence of the final shape on the model parameters: namely the exponent of the term penalising cell-cell adhesion and surface contractility. In single cell analysis, we deduce analytically the radius and limit values of the contractility for linear and quadratic surface energy terms, in 2D and 3D. In two-cells systems, we deduce the evolution of the aspect ratio. While in functionals with linear surface terms yield the same aspect ratio in 2D and 3D, the configurations when using quadratic surface terms are distinct. We relate our results with well-known solutions from capillarity theory, and verify our analytical findings with a three-dimensional vertex model.

[9]  arXiv:2302.03909 (cross-list from astro-ph.IM) [pdf, other]
Title: Comparisons between fast algorithms for the continuous wavelet transform and applications in cosmology: the one-dimensional case
Authors: Yun Wang, Ping He
Comments: 17 pages, 17 figures, 3 tables
Subjects: Instrumentation and Methods for Astrophysics (astro-ph.IM); Computational Physics (physics.comp-ph)

The continuous wavelet transform (CWT) is very useful for processing signals with intricate and irregular structures in astrophysics and cosmology. It is crucial to propose precise and fast algorithms for the CWT. In this work, we review and compare four different fast CWT algorithms for the 1D signals, including the FFTCWT, the V97CWT, the M02CWT, and the A19CWT. The FFTCWT algorithm implements the CWT using the Fast Fourier Transform (FFT) with a computational complexity of $\mathcal{O}(N\log_2N)$ per scale. The rest algorithms achieve the complexity of $\mathcal{O}(N)$ per scale by simplifying the CWT into some smaller convolutions. We illustrate explicitly how to set the parameters as well as the boundary conditions for them. To examine the actual performance of these algorithms, we use them to perform the CWT of signals with different wavelets. From the aspect of accuracy, we find that the FFTCWT is the most accurate algorithm, though its accuracy degrades a lot when processing the non-periodic signal with zero boundaries. The accuracy of $\mathcal{O}(N)$ algorithms is robust to signals with different boundaries, and the M02CWT is more accurate than the V97CWT and A19CWT. From the aspect of speed, the $\mathcal{O}(N)$ algorithms do not show an overall speed superiority over the FFTCWT at sampling numbers of $N\lesssim10^6$, which is due to their large leading constants. Only the speed of the V97CWT with real wavelets is comparable to that of the FFTCWT. However, both the FFTCWT and V97CWT are substantially less efficient in processing the non-periodic signal because of zero padding. Finally, we conduct wavelet analysis of the 1D density fields, which demonstrate the convenience and power of techniques based on the CWT. We publicly release our CWT codes as resources for the community.

[10]  arXiv:2302.03962 (cross-list from cond-mat.mtrl-sci) [pdf]
Title: First-principles studies of oxygen defects in RbPbI$_3$ halide for perovskite solar cells
Comments: 20 pages.7 figures
Subjects: Materials Science (cond-mat.mtrl-sci); Computational Physics (physics.comp-ph)

Recently research on perovskite solar cells has caught much attention for new energy materials. Defects such as oxygen or water are important for the stability of structural and electrical properties as well as the performance of perovskite solar cells. Here we have explored the use of density-functional theory in combination with dispersion forces to study the effect of oxygen atom and molecule on the crystal structure, and hence the electronic structure of RbPbI$_3$, which is rather unexplored material for defects. A significant reduction in the optical band gap (from 2 eV to < 1 eV) has been found due to the formation of defect levels dominated by oxygen and iodine when there are interstitial oxygen defects. This would in turn compromise the optical properties for harvesting light. The density of states suggested the oxygen defects would trap the electrons, thus affecting the electron transport as well. The comparison between oxygen atom and molecules is consistent with the previous report about oxygen molecule passivation of perovskite solar cells. Our work has, therefore, provided an important and timely theoretical insight and guidance to materials processing and fabrication for preventing performance degradation by eliminating oxygen defects in perovskite solar cells.

[11]  arXiv:2302.04120 (cross-list from physics.flu-dyn) [pdf, other]
Title: Dimensional lattice Boltzmann method for transport phenomena simulation without conversion to lattice units
Comments: 33 pages, 14 figures
Subjects: Fluid Dynamics (physics.flu-dyn); Computational Physics (physics.comp-ph)

It is proposed a dimensional Lattice Boltzmann Method (LBM) of wide application for simulating fluid flow and heat transfer problems. The proposed LBM consists in the numerical solution of the discrete lattice Boltzmann equation (LBE) using directly the variables in physical units, without the necessity of employing any particular unit conversion system. This includes the integration of LBE in the discrete physical domain using the spatial and time intervals and all the involved quantities in physical units. The dimensional LBM is proposed for both the single and multiple relaxation time schemes, considering the BGK and MRT collision operators, respectively. Several simple tests problems treating different physical phenomena such as one dimensional heat diffusion with source term, two dimensional forced convection with developed and developing flow in a channel under an oscillating and constant heat flux, two-phase stationary bubble in a liquid phase and two-phase dynamic layered Poiseuille flow, both under very high density and viscosity ratios, are simulated. All the numerical solutions were compared with analytical solutions, when available, or with finite difference solutions, otherwise, showing a very good agreement. The proposed method was also compared with the traditional LBM for the treated problems, showing the same accuracy. Besides the simulation of the applied problems employing physical units directly, the proposed LBM allowed the solution of transport phenomena for more severe operational conditions. This includes the simulation of the two multiphase problems with liquid/gas density and gas/liquid kinematic viscosity ratios of about 43300 and 470 respectively, employing the Allen-Canh phase field model. With base on the obtained results it is estimated that the proposed method could enhance the LBM use as simulation tool.

[12]  arXiv:2302.04168 (cross-list from cs.LG) [pdf, other]
Title: Generalizing Neural Wave Functions
Subjects: Machine Learning (cs.LG); Chemical Physics (physics.chem-ph); Computational Physics (physics.comp-ph); Quantum Physics (quant-ph)

Recent neural network-based wave functions have achieved state-of-the-art accuracies in modeling ab-initio ground-state potential energy surface. However, these networks can only solve different spatial arrangements of the same set of atoms. To overcome this limitation, we present Graph-learned Orbital Embeddings (Globe), a neural network-based reparametrization method that can adapt neural wave functions to different molecules. We achieve this by combining a localization method for molecular orbitals with spatial message-passing networks. Further, we propose a locality-driven wave function, the Molecular Oribtal Network (Moon), tailored to solving Schr\"odinger equations of different molecules jointly. In our experiments, we find Moon requiring 8 times fewer steps to converge to similar accuracies as previous methods when trained on different molecules jointly while Globe enabling the transfer from smaller to larger molecules. Further, our analysis shows that Moon converges similarly to recent transformer-based wave functions on larger molecules. In both the computational chemistry and machine learning literature, we are the first to demonstrate that a single wave function can solve the Schr\"odinger equation of molecules with different atoms jointly.

[13]  arXiv:2302.04186 (cross-list from gr-qc) [pdf, other]
Title: Physical aspects of ${f}(R,G_{μν}T^{μν})$ modified gravity theories
Subjects: General Relativity and Quantum Cosmology (gr-qc); High Energy Physics - Theory (hep-th); Computational Physics (physics.comp-ph)

The paper extends basic Einstein--Hilbert action by adding a newly proposed invariant constructed from a specific contraction between the Einstein tensor and the energy momentum tensor, encoding a non--minimal coupling between the space--time geometry and the matter fields. The fundamental Einstein--Hilbert action is extended by considering a generic function ${f}(R,G_{\mu \nu}T^{\mu \nu})$ which is further decomposed into its main constituents, a geometric component which depends on the scalar curvature, and a second element embedding the interplay between geometry and matter fields. Specific cosmological models are established at the level of background dynamics, based on particular couplings between the matter energy--momentum tensor and the Einstein tensor. After deducing the resulting field equations, the physical aspects for the cosmological model are investigated by employing a dynamical system analysis for various coupling functions. The investigation showed that the present model is compatible with different epochs in the evolution of our Universe, possible explaining various late time historical stages.

[14]  arXiv:2302.04203 (cross-list from physics.optics) [pdf, other]
Title: Efficient post-processing of electromagnetic plane wave simulations to model arbitrary structured beams incident on axisymmetric structures
Comments: 25 pages, 4 figures, for associated software package see this https URL
Subjects: Optics (physics.optics); Computational Physics (physics.comp-ph)

The study of an optical beam interacting with material structures is a fundamental of nanophotonics. Computational electromagnetic solvers facilitate the rapid calculation of the scattering from material structures with arbitrary geometry and complexity, but have limited efficiency when employing structured excitation fields. We have developed a post-processing method and package that can efficiently calculate the full three-dimensional electric and magnetic fields for any optical beam incident on a particle or structure with at least one axis of continuous rotational symmetry, called an axisymmetric body (such as a sphere, cylinder, cone, torus or surface). Provided an initial batch of plane wave simulations is computed, this open-source package combines data from computational electromagnetic solvers in a post-processing fashion using the angular spectrum representation to create arbitrarily structured beams, including vector vortex beams. Any and all possible incident beams can be generated from the initial batch of plane wave simulations, without the need for further simulations. This allows for efficiently performing parameter sweeps such as changing the angle of illumination or translating the particle position relative to the beam, all in post-processing, with no need for additional time-consuming simulations. We demonstrate some applications by numerically calculating optical force and torque maps for a spherical plasmonic nanoparticle in a tightly focused Gaussian beam, a plasmonic nanocone in an azimuthally polarised beam and compute the fields of a non-paraxial Laguerre-Gaussian vortex beam reflecting on a multilayered surface. We believe this package, called BEAMS, is a valuable tool for rapidly quantifying electromagnetic systems that are beyond traditional analytical methods.

Replacements for Thu, 9 Feb 23

[15]  arXiv:2301.04810 (replaced) [pdf, ps, other]
Title: Long-distance migration with minimal energy consumption in a thermal turbulent environment
Comments: 32 pages, 14 figures
Journal-ref: Physical Review Fluids 2023, 8 (2), 023502
Subjects: Fluid Dynamics (physics.flu-dyn); Optimization and Control (math.OC); Computational Physics (physics.comp-ph)
[ total of 15 entries: 1-15 ]
[ showing up to 2000 entries per page: fewer | more ]

Disable MathJax (What is MathJax?)

Links to: arXiv, form interface, find, physics, recent, 2302, contact, help  (Access key information)