Search NASA⌕ Search

SEARCH · Search NASA

Results for “Numerical partial differential equations”

Search indexed NASA NTRS and DOE OSTI research on propulsion, heat transfer, battery materials and energy systems. Follow report and document links to the original sources.

Quote a phrase for an exact phrase match. Source license links do not imply unrestricted reuse.

At least 181 records · Page 10

Time-Symmetric Discretization of The Harmonic Oscillator

We explicitly and analytically demonstrate that simple time-symmetric discretization of the harmonic oscillator (used as a simple model of a discrete dynamical system), leads to discrete equations of motion whose solutions are perfectly stable at all time scales, and whose energy is exactly conserved. This result is important for both fundamental discrete physics, as well as for numerical analysis and simulation.

97 MATHEMATICS AND COMPUTING↗

Multiscale molecular dynamics using the matched interface and boundary method

The Poisson-Boltzmann (PB) equation is an established multiscale model for electrostatic analysis of biomolecules and other dielectric systems. PB based molecular dynamics (MD) approach has a potential to tackle large biological systems. Obstacles that hinder the current development of PB based MD methods are concerns in accuracy, stability, efficiency and reliability. The presence of complex solvent-solute interface, geometric singularities and charge singularities leads to challenges in the numerical solution of the PB equation and electrostatic force evaluation in PB based MD methods. Recently, the matched interface and boundary (MIB) method has been utilized to develop the first second order accurate PB solver that is numerically stable in dealing with discontinuous dielectric coefficients, complex geometric singularities and singular source charges. The present work develops the PB based MD approach using the MIB method. New formulation of electrostatic forces is derived to allow the use of sharp molecular surfaces. Accurate reaction field forces are obtained by directly differentiating the electrostatic potential. Dielectric boundary forces are evaluated at the solvent-solute interface using an accurate Cartesian-grid surface integration method. The electrostatic forces located at reentrant surfaces are appropriately assigned to related atoms. Extensive numerical tests are carried out to validate the accuracy and stability of the present electrostatic force calculation. The new PB based MD method is implemented in conjunction with the AMBER package. MIB based MD simulations of biomolecules are demonstrated via a few example systems.

97 MATHEMATICS AND COMPUTING↗

Quantum trajectory dynamics in imaginary time with the momentum-dependent quantum potential

The quantum trajectory dynamics is extended to the wave function evolution in imaginary time. For a nodeless wave function a simple exponential form leads to the classical-like equations of motion of trajectories, representing the wave function, in the presence of the momentum-dependent quantum potential in addition to the external potential. For a Gaussian wave function this quantum potential is a time-dependent constant, generating zero quantum force yet contributing to the total energy. For anharmonic potentials the momentum-dependent quantum potential is cheaply estimated from the global Least-squares Fit to the trajectory momenta in the Taylor basis. Wave functions with nodes are described in the mixed coordinate space/trajectory representation at little additional computational cost. The nodeless wave function, represented by the trajectory ensemble, decays to the ground state. The mixed representation wave functions, with lower energy contributions projected out at each time step, decay to the excited energy states. The approach, illustrated by computing energy levels for anharmonic oscillators and energy level splitting for the double-well potential, can be used for the Boltzmann operator evolution.

71 CLASSICAL AND QUANTUM MECHANICS, GENERAL PHYSIC↗

The coupled nonlinear dynamics of a lift system

Coupled lateral and longitudinal vibrations of suspension and compensating ropes in a high-rise lift system are often induced by the building motions due to wind or seismic excitations. When the frequencies of the building become near the natural frequencies of the ropes, large resonance motions of the system may result. This leads to adverse coupled dynamic phenomena involving nonplanar motions of the ropes, impact loads between the ropes and the shaft walls, as well as vertical vibrations of the car, counterweight and compensating sheave. Such an adverse dynamic behaviour of the system endangers the safety of the installation. This paper presents two mathematical models describing the nonlinear responses of a suspension/ compensating rope system coupled with the elevator car / compensating sheave motions. The models accommodate the nonlinear couplings between the lateral and longitudinal modes, with and without longitudinal inertia of the ropes. The partial differential nonlinear equations of motion are derived using Hamilton Principle. Then, the Galerkin method is used to discretise the equations of motion and to develop a nonlinear ordinary differential equation model. Approximate numerical solutions are determined and the behaviour of the system is analysed.

71 CLASSICAL AND QUANTUM MECHANICS, GENERAL PHYSIC↗

A Comprehensive Review of Latent Space Dynamics Identification Algorithms for Intrusive and Non-Intrusive Reduced-Order-Modeling

Numerical solvers of partial differential equations (PDEs) have been widely employed for simulating physical systems. However, the computational cost remains a major bottleneck in various scientific and engineering applications, which has motivated the development of reduced-order models (ROMs). Recently, machine-learning-based ROMs have gained significant popularity and are promising for addressing some limitations of traditional ROM methods, especially for advection dominated systems. In this chapter, we focus on a particular framework known as Latent Space Dynamics Identification (LaSDI), which transforms the high-fidelity data, governed by a PDE, to simpler and low-dimensional latent-space data, governed by ordinary differential equations (ODEs). These ODEs can be learned and subsequently interpolated to make ROM predictions. Each building block of LaSDI can be easily modulated depending on the application, which makes the LaSDI framework highly flexible. In particular, we present strategies to enforce the laws of thermodynamics into LaSDI models (tLaSDI), enhance robustness in the presence of noise through the weak form (WLaSDI), select high-fidelity training data efficiently through active learning (gLaSDI, GPLaSDI), and quantify the ROM prediction uncertainty through Gaussian processes (GPLaSDI). We demonstrate the performance of different LaSDI approaches on Burgers equation, a non-linear heat conduction problem, and a plasma physics problem, showing that LaSDI algorithms can achieve relative errors of less than a few percent and up to thousands of times speed-ups.

Computational Engineering, Finance, and Science (c↗

A method for the three-dimensional simulation of superfluid helium

Transport phenomena in superfluid helium can be described using the two-fluid Landau-Khalatnikov model and the Gorter-Mellink mutual friction. Here we discuss a mathematical formulation of the two-fluid model that uses macroscopic conservation balances of mass, momentum and energy of each species, and assumes local thermodynamic equilibrium. A particularity of this model is that it describes the state of He II as well as that of each of the two-fluid components in terms of pressure p and temperature T, which is convenient for stable numerical solution. The equations of the model form a system of partial differential equations (PDE) that can be written in matrix form for convenience. On this base, a three-dimensional numerical model using a complete and consistent, while still practical, system of PDEs was developed. In the form described, the PDE can be solved using three-dimensional Lagrangian finite element in space supplemented by a Beam-Warming time-2marching algorithm. Once validated, this solver will allow to simulate He II thermal counterflow applied to arbitrary geometry.

71 CLASSICAL AND QUANTUM MECHANICS, GENERAL PHYSIC↗

Relativistic ionization characteristics of laser-driven hydrogenlike ions

In this contribution, we investigate the relativistic ionization characteristics of highly charged hydrogenlike ions in short intense laser pulses as a function of the laser pulse parameters by means of the numerical solution of the time-dependent Dirac equation and the time-dependent Klein-Gordon equation as well as by the classical phase-space averaging method. For this purpose, we generalize the phase-space averaging method such that it is applicable to relativistically driven particles in arbitrary central potentials. If the ionization probability is not too small, quantum mechanical and classical methods give similar results for laser wavelengths in the range from the near-infrared to soft x-ray radiation. We find that ionization in few-cycle intense laser pulses depends sensitively on the pulses' peak intensity but little on the pulse tails and on the pulse energy. The ionization probability is shown to be strongly linked to the peak intensity allowing for an estimation of the laser intensity via ionization yields.

71 CLASSICAL AND QUANTUM MECHANICS, GENERAL PHYSIC↗

High-order harmonic generation by atoms in a few-cycle laser pulse: Carrier-envelope phase and many-electron effects

Analytic formulas describing high-order harmonic generation (HHG) by atoms in a short laser pulse are obtained quantum mechanically in the tunneling limit. These results provide analytic expressions of the three-step HHG scenario, as well as of the returning electron wave packet, in a few-cycle pulse. Our results agree well with those of numerical solutions of the time-dependent Schroedinger equation for the H atom, while for Xe they predict many-electron atomic dynamics features in few-cycle HHG spectra and significant dependence of these features on the carrier-envelope phase of a laser pulse.

71 CLASSICAL AND QUANTUM MECHANICS, GENERAL PHYSIC↗

Enhancing photoionization rate calculations in low-temperature plasmas using spectral methods

Photoionization plays a central role in the development of streamer discharges and other non-equilibrium plasma phenomena. It creates seed electrons, which are essential for positive streamer propagation, allowing the ionization front to move forward. Because of this, accurate modeling of photoionization is very important for predicting streamer behavior and plasma evolution. The photoionization process in air (N 2 – O 2 mixture) is often described by the Zheleznyak model (1982). This model is usually solved through Helmholtz-type equations that approximate the Zheleznyak photoionization model (Zheleznyak et al. 1982) as Partial Differential Equations (PDEs). Conventional numerical methods, such as the Finite Difference Method (FDM) or Finite Volume Method (FVM), are widely used to solve these equations. Although they are prevalent, the computational cost of these methods due to their need for matrix operations and iterative solver is demanding. To address this challenge, this work develops a spectral solver based on the Fast Fourier Transform (FFT) combined with Discrete Cosine Transform (DCT) and Discrete Sine Transform (DST) to calculate the photoionization rate efficiently in an axisymmetric cylindrical domain. This method naturally satisfies the boundary conditions used in the model and converts the PDE into algebraic ones in spectral space. Thus, avoids the need for iterative matrix solvers. When compared with FDM results, it is demonstrated that the new solver not only maintains accuracy, but also reduces the computational cost, showing a performance increase of approximately 100 compared to FDM over a wide range of problem sizes. The method is parallelized using Message Passing Interface (MPI) and has been integrated into a fluid plasma model for streamer simulation. Here, this FFT-based approach provides a fast and reliable alternative for calculating photoionization in fluid models, helping large-scale plasma simulations run faster and efficiently, and allows higher-resolution simulation without extra computational cost.

Axisymmetric system↗

Dyn$\mathrm{AMO}$: Multi-agent reinforcement learning for dynamic anticipatory mesh optimization with applications to hyperbolic conservation laws

Here we introduce DynAMO, a reinforcement learning paradigm for Dynamic Anticipatory Mesh Optimization. Adaptive mesh refinement is an effective tool for optimizing computational cost and solution accuracy in numerical methods for partial differential equations. However, traditional adaptive mesh refinement approaches for time-dependent problems typically rely only on instantaneous error indicators to guide adaptivity. As a result, standard strategies often require frequent remeshing to maintain accuracy. In the DynAMO approach, multi-agent reinforcement learning is used to discover new local refinement policies that can anticipate and respond to future solution states by producing meshes that deliver more accurate solutions for longer time intervals. By applying DynAMO to discontinuous Galerkin methods for the linear advection and compressible Euler equations in two dimensions, we demonstrate that this new mesh refinement paradigm can outperform conventional threshold-based strategies while also generalizing to different mesh sizes, remeshing and simulation times, and initial conditions.

97 MATHEMATICS AND COMPUTING↗

Scaling Field-Theoretic Simulation for Multicomponent Mixtures with Neural Operators

Multicomponent polymer mixtures are ubiquitous in biological self-organization but are notoriously difficult to study computationally. Plagued by both slow single molecule relaxation times and slow equilibration within dense mixtures, molecular dynamics simulations are typically infeasible at the spatial scales required to study the stability of mesophase structure. Polymer field theories offer an attractive alternative, but analytical calculations are only tractable for mean-field theories and nearby perturbations, constraints that become especially problematic for fluctuation-induced effects such as coacervation. Here, we show that a recently developed technique for obtaining numerical solutions to partial differential equations based on operator learning, neural operators, lends itself to a highly scalable training strategy by parallelizing per-species operator maps. We illustrate the efficacy of our approach on six-component mixtures with randomly selected compositions and that it significantly outperforms the state-of-the-art pseudospectral integrators for field-theoretic simulations, especially as polymer lengths become long.

37 INORGANIC, ORGANIC, PHYSICAL, AND ANALYTICAL CH↗

Efficient Monte Carlo With Graph-Based Subsurface Flow and Transport Models

Simulating flow and transport in fractured porous media frequently involves solving numerical discretizations of partial differential equations with a large number of degrees of freedom using discrete fracture network (DFN) models. Uncertainty in the properties of the fracture network that controls flow and transport requires a large number of DFN simulations to statistically describe quantities of interest. However, the computational cost of solving more than a few realizations of a large DFN can be intractable. As a means of circumventing this problem, we utilize both a high-fidelity DFN model and a graphbased model of flow and transport in combination with a multifidelity Monte Carlo (MC) method to reduce the number of high-fidelity simulations that are needed to obtain an accurate estimate of the quantity of interest. We demonstrate the approach by estimating quantiles of the breakthrough time for a conservative tracer in an ensemble of fractured porous media. Our results demonstrate that a multifidelity MC estimate, whose computational cost is equal to the cost of 10 DFN simulations, can be as accurate as a standard MC estimate that utilizes 1,000 DFN simulations. Thus the combination of our graphbased model with multifidelity MC estimates effectively reduces the computational cost of the problem by a factor of approximately 100.

58 GEOSCIENCES↗

Physics-informed machine learning

Despite great progress in simulating multiphysics problems using the numerical discretization of partial differential equations (PDEs), one still cannot seamlessly incorporate noisy data into existing algorithms, mesh generation remains complex, and high-dimensional problems governed by parameterized PDEs cannot be tackled. Moreover, solving inverse problems with hidden physics is often prohibitively expensive and requires different formulations and elaborate computer codes. Machine learning has emerged as a promising alternative, but training deep neural networks requires big data, not always available for scientific problems. Instead, such networks can be trained from additional information obtained by enforcing the physical laws (for example, at random points in the continuous space-time domain). Such physics-informed learning integrates (noisy) data and mathematical models, and implements them through neural networks or other kernel-based regression networks. Moreover, it may be possible to design specialized network architectures that automatically satisfy some of the physical invariants for better accuracy, faster training and improved generalization. Furthermore, we review some of the prevailing trends in embedding physics into machine learning, present some of the current capabilities and limitations and discuss diverse applications of physics-informed learning both for forward and inverse problems, including discovering hidden physics and tackling high-dimensional problems.

97 MATHEMATICS AND COMPUTING↗

Simulation of periodically focused, adiabatic thermal beams

Self-consistent particle-in-cell simulations are performed to verify earlier theoretical predictions of adiabatic thermal beams in a periodic solenoidal magnetic focusing field [K.R. Samokhvalova, J. Zhou and C. Chen, Phys. Plasma 14, 103102 (2007); J. Zhou, K.R. Samokhvalova and C. Chen, Phys. Plasma 15, 023102 (2008)]. In particular, results are obtained for adiabatic thermal beams that do not rotate in the Larmor frame. For such beams, the theoretical predictions of the rms beam envelope, the conservations of the rms thermal emittances, the adiabatic equation of state, and the Debye length are verified in the simulations. Furthermore, the adiabatic thermal beam is found be stable in the parameter regime where the simulations are performed.

43 PARTICLE ACCELERATORS↗

A nonlinear electromagnetics model of an asymmetrically-driven, low pressure capacitive discharge

It is well-known that standing waves having radially center-high voltage profiles exist in high frequency driven capacitive discharges. Capacitive sheaths can also nonlinearly excite driving frequency harmonics near the series resonance that can be spatially near-resonant, and therefore enhance the on-axis power deposition. The powered-electrode/plasma/grounded-electrode sandwich structure of an asymmetrically excited cylindrical discharge forms a three electrode system in which both z-symmetric and z-antisymmetric radially propagating wave modes can exist. We develop a nonlinear electromagnetics model for this system with radially- and time-varying sheath widths, incorporating both symmetric and antisymmetric modes, and the plasma skin effect. Waves generated in the electrostatic wave limit are also treated. The discharge is modeled as a uniform density bulk plasma with either homogeneous or Child law sheaths at the electrodes, incorporating their nonlinear voltage versus charge relations. The model includes a finite power source resistance and a self-consistent calculation of the dc bias voltages. The resulting set of nonlinear partial differential equations is solved numerically to determine the symmetric and antisymmetric mode amplitudes and the nonlinearly-excited radially-varying harmonics. Two examples driven at lower frequency (30 MHz) or at higher frequency (60 MHz) are examined. The first case displays the excited dominant ninth harmonic near the series resonance frequency with the fundamental frequency having a weak standing wave. The higher frequency case shows a more obvious standing wave effect, enhanced by the nonlinear harmonics. Finally, the symmetric and antisymmetric modes are of similar amplitudes over the driving electrode, summing to give a larger bottom sheath.

70 PLASMA PHYSICS AND FUSION TECHNOLOGY↗

p4est : Scalable Algorithms for Parallel Adaptive Mesh Refinement on Forests of Octrees

We present scalable algorithms for parallel adaptive mesh refinement and coarsening (AMR), partitioning, and 2:1 balancing on computational domains composed of multiple connected two-dimensional quadtrees or three-dimensional octrees, referred to as a forest of octrees. By distributing the union of octants from all octrees in parallel, we combine the high scalability proven previously for adaptive single-octree algorithms with the geometric flexibility that can be achieved by arbitrarily connected hexahedral macromeshes, in which each macroelement is the root of an adapted octree. A key concept of our approach is an encoding scheme of the interoctree connectivity that permits arbitrary relative orientations between octrees. Based on this encoding we develop interoctree transformations of octants. These form the basis for high-level parallel octree algorithms, which are designed to interact with an application code such as a numerical solver for partial differential equations. We have implemented and tested these algorithms in the p4est software library. We demonstrate the parallel scalability of p4est on its own and in combination with two geophysics codes. Using p4est we generate and adapt multioctree meshes with up to $5.13\times10^{11}$ octants on as many as 220,320 CPU cores and execute the 2:1 balance algorithm in less than 10 seconds per million octants per process.

Mathematics↗

PETSc Users Manual (Rev. 3.3)

This manual describes the use of PETSc for the numerical solution of partial differential equations and related problems on high-performance computers. The Portable, Extensible Toolkit for Scientific Computation (PETSc) is a suite of data structures and routines that provide the building blocks for the implementation of large-scale application codes on parallel (and serial) computers. PETSc uses the MPI standard for all message-passing communication. PETSc includes an expanding suite of parallel linear, nonlinear equation solvers and time integrators that may be used in application codes written in Fortran, C, C++, Python, and MATLAB (sequential). PETSc provides many of the mechanisms needed within parallel application codes, such as parallel matrix and vector assembly routines. The library is organized hierarchically, enabling users to employ the level of abstraction that is most appropriate for a particular problem. By using techniques of object-oriented programming, PETSc provides enormous flexibility for users. PETSc is a sophisticated set of software tools; as such, for some users it initially has a much steeper learning curve than a simple subroutine library. In particular, for individuals without some computer science background, experience programming in C, C++ or Fortran and experience using a debugger such as gdb or dbx, it may require a significant amount of time to take full advantage of the features that enable efficient software use. However, the power of the PETSc design and the algorithms it incorporates may make the efficient implementation of many application codes simpler than “rolling them” yourself; For many tasks a package such as MATLAB is often the best tool; PETSc is not intended for the classes of problems for which effective MATLAB code can be written. PETSc also has a MATLAB interface, so portions of your code can be written in MATLAB to “try out” the PETSc solvers. The resulting code will not be scalable however because currently MATLAB is inherently not scalable; and PETSc should not be used to attempt to provide a “parallel linear solver” in an otherwise sequential code. Certainly all parts of a previously sequential code need not be parallelized but the matrix generation portion must be parallelized to expect any kind of reasonable performance. Do not expect to generate your matrix sequentially and then “use PETSc” to solve the linear system in parallel. Since PETSc is under continued development, small changes in usage and calling sequences of routines will occur. PETSc is supported; see the web site http://www.mcs.anl.gov/petsc for information on contacting support. A http://www.mcs.anl.gov/petsc/publications may be found a list of publications and web sites that feature work involving PETSc. We welcome any reports of corrections for this document.

97 MATHEMATICS AND COMPUTING↗