Engineering Papers⌕ Search

SEARCH · Engineering Papers

Results for “Numerical differentiation”

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 1,711 records · Page 95

Linearly first- and second-order, unconditionally energy stable schemes for the phase field crystal model

In this paper, we develop a series of linear, unconditionally energy stable numerical schemes for solving the classical phase field crystal model. The temporal discretizations are based on the first order Euler method, the second order backward differentiation formulas (BDF2) and the second order Crank–Nicolson method, respectively. The schemes lead to linear elliptic equations to be solved at each time step, and the induced linear systems are symmetric positive definite. We prove that all three schemes are unconditionally energy stable rigorously. Various classical numerical experiments in 2D and 3D are performed to validate the accuracy and efficiency of the proposed schemes.

71 CLASSICAL AND QUANTUM MECHANICS, GENERAL PHYSIC↗

Relativistic theory of nuclear magnetic resonance parameters in a Gaussian basis representation

The calculation of NMR parameters from relativistic quantum theory in a Gaussian basis expansion requires some care. While in the absence of a magnetic field the expansion in a kinetically balanced basis converges for the wave function in the mean and for the energy with any desired accuracy, this is not necessarily the case for magnetic properties. The results for the magnetizability or the nuclear magnetic shielding are not even correct in the nonrelativistic limit (nrl) if one expands the original Dirac equation in a kinetically balanced Gaussian basis. This defect disappears if one starts from the unitary transformed Dirac equation as suggested by Kutzelnigg [Phys. Rev. A 67, 032109 (2003)]. However, a new difficulty can arise instead if one applies the transformation in the presence of the magnetic field of a point nucleus. If one decomposes certain contributions, the individual terms may diverge, although their sum is regular. A controlled cancellation may become difficult and numerical instabilities can arise. Various ways exist to avoid these singularities and at the same time get the correct nrl. There are essentially three approaches intermediate between the transformed and the untransformed formulation, namely, the bispinor decomposition, the decomposition of the lower component, and the hybrid unitary transformation partially at operator and partially at matrix level. All three possibilities were first considered by Xiao et al. [J. Chem. Phys. 126, 214101 (2007)] in a different context and in a different nomenclature. Their analysis and classification in a more general context are given here for the first time. Use of an extended balanced basis has no advantages and has other drawbacks and is not competitive, while the use of a restricted magnetic balance basis can be justified.

36 MATERIALS SCIENCE↗

A numerical method for integrating the kinetic equations of droplet spectra evolution by condensation/evaporation and by coalescence/breakup processes

An extension of the method of moments is developed for the numerical integration of the kinetic equations of droplet spectra evolution by condensation/evaporation and by coalescence/breakup processes. The number density function n sub k (x,t) in each separate droplet packet between droplet mass grid points (x sub k, x sub k+1) is represented by an expansion in orthogonal polynomials with a given weighting function. In this way droplet number concentrations, liquid water contents and other moments in each droplet packet are conserved and the problem of solving the kinetic equations is replaced by one of solving a set of coupled differential equations for the number density function moments. The method is tested against analytic solutions of the corresponding kinetic equations. Numerical results are obtained for different coalescence/breakup and condensation/evaporation kernels and for different initial droplet spectra. Also droplet mass grid intervals, weighting functions, and time steps are varied.

Emukashvily, I. M.↗

Improving Solution Accuracy and Convergence for Stochastic Physics Parameterizations with Colored Noise

Stochastic parameterizations are used in numerical weather prediction and climate modeling to help capture the uncertainty in the simulations and improve their statistical properties. Convergence issues can arise when time integration methods originally developed for deterministic differential equations are applied naively to stochastic problems. In previous studies, it has been demonstrated that a correction term, known in stochastic analysis as the Itô correction, can help improve solution accuracy for various deterministic numerical schemes and ensure convergence to the physically relevant solution without substantial computational overhead. The usual formulation of the Itô correction is valid only when the stochasticity is represented by white noise. In this study, a generalized formulation of the Itô correction is derived for noises of any color. The formulation is applied to a test problem described by an advection–diffusion equation forced with a spectrum of fast processes. We present numerical results for cases with both constant and spatially varying advection velocities to show that, for the same time step sizes, the introduction of the generalized Itô correction helps to substantially reduce time integration error and significantly improve the convergence rate of the numerical solutions when the forcing term in the governing equation is rough (fast varying); alternatively, for the same target accuracy, the generalized Itô correction allows for the use of significantly longer time steps and, hence, helps to reduce the computational cost of the numerical simulation.

54 ENVIRONMENTAL SCIENCES↗

Dynamics of slow light and light storage in a Doppler-broadened electromagnetically-induced-transparency medium: A numerical approach

We present a numerical scheme to study the dynamics of slow light and light storage in an electromagnetically-induced-transparency (EIT) medium at finite temperatures. Allowing for the motional coupling, we derive a set of coupled Schroedinger equations describing a boosted closed three-level EIT system according to the principle of Galilean relativity. The dynamics of a uniformly moving EIT medium can thus be determined by numerically integrating the coupled Schroedinger equations for atoms plus one ancillary Maxwell-Schroedinger equation for the probe pulse. The central idea of this work rests on the assumption that the loss of ground-state coherence at finite temperatures can be ascribed to the incoherent superposition of density matrices representing the EIT systems with various velocities. Close agreements are demonstrated in comparing the numerical results with the experimental data for both slow light and light storage. In particular, the distinct characters featuring the decay of ground-state coherence can be well verified for slow light and light storage. This warrants that the current scheme can be applied to determine the decaying profile of the ground-state coherence as well as the temperature of the EIT medium.

71 CLASSICAL AND QUANTUM MECHANICS, GENERAL PHYSIC↗

Generalized Ohm's Law for a Background Plasma in the Presence of Relativistic Charged Particles

A generalized Ohm's law is derived for a system composed of a background magnetohydrodynamic plasma and a lower density relativistic charged-particle distribution. The interpretation of Ohmic electric fields occurring due to force balance breaks down for such a system and instead an approach based on Maxwell's equations along with the particle flux equations is necessary. Three additional terms arise in Ohm's law and each is verified numerically.

70 PLASMA PHYSICS AND FUSION TECHNOLOGY↗

Aspects of the Solar Tachocline

The splitting of the frequencies of p-mode multiplets enables information to be gained about the internal rotation of the sun. Such data have revealed a transition at the base of the convection zone from differential rotation similar to that observed at the surface to almost solid-body rotation in the radiative interior. This transition region, known as the tachocline, has been found to be relatively narrow and centered below the base of the convection zone. In this paper, the evolution of the transition region is investigated numerically. Without a large anisotropic viscosity, the depth to which it would spread in one solar age, under the assumption of a constant prescribed differential rotation at the base of the convection zone, is found to be greater than its extent as inferred from helioseismology. In the second part of the paper a highly anisotropic turbulent viscosity with a large horizontal component, as suggested by Spiegel & Zahn (1992), is assumed. In this case, a steady tachocline is formed in which the advection of angular momentum balances the Reynolds stresses. The horizontal component of turbulent viscosity required to match the thickness of the tachocline to that obtained by helioseismology, is estimated to be 5 x 1O sq cm/s The transport of helium is studied in this case and is found to yield a sound-speed increase similar to that required by helioseismology.

Elliott, J. R.↗

Towards reverse mode automatic differentiation of Kokkos-based codes

Derivative computation is a key component of optimization, sensitivity analysis, uncertainty quantification, and the solving of nonlinear problems. Automatic differentiation (AD) is a powerful technique for evaluating such derivatives, and in recent years, has been integrated into programming environments such as Jax, PyTorch, and TensorFlow to support derivative computations needed for training of machine learning models, facilitating wide-spread use of these technologies. The C++ language has become the de facto standard for scientific computing due to numerous factors, yet language complexity has made the wide-spread adoption of AD technologies for C++ difficult, hampering the incorporation of powerful differentiable programming approaches into C++ scientific simulations. This is exacerbated by the increasing emergence of architectures, such as GPUs, with limited memory capabilities and requiring massive thread-level concurrency. C++ AD tools must effectively use these environments to bring novel scientific simulations to next-generation DOE experimental and observational facilities. In this project, we investigated source transformation-based automatic differentiation using LLVM compiler infrastructure to automatically generate portable and efficient gradient computations of Kokkos-based code. We have demonstrated that our proposed strategy is feasible by investigating the usage of a prototype LLVM-based source transformation tool to generate gradients of simple functions made of sequences of simple Kokkos parallel regions. Speedups of up to 500x compared to Sacado were observed on NVIDIA V100 GPU.

97 MATHEMATICS AND COMPUTING↗

Stability and permanence of an eco-epidemiological SEIN model with impulsive biological control

Natural enemies of insects are extremely important in preventing pest outbreaks in crop fields. Therefore, we investigate the dynamical behavior of a pest-dependent consumption pest–natural enemy (i.e., prey–predator) SEIN model concerning diseases in pest population with three classes (susceptible–exposed–infectious) and impulsive releasing of infectious pests and natural enemies at fixed moments of time. We prove that all solutions of the system are uniformly ultimately bounded. In first part of the main results, the sufficient conditions for local as well as global asymptotic stability of the susceptible and exposed pest extinction periodic solution are determined using a Floquet’s theorem of impulsive differential equations, small-amplitude perturbation skills and comparison theorem. In second part, the sufficient condition for the permanence of a system is determined. These dynamics imply that susceptible and exposed pest populations become extinct when impulse period is less than some critical value and pests coexist with natural enemies at low level when impulse period crosses the critical value. Thus, our results provide some reliable theoretical tactics for pest management and finally these are verified by performing some numerical simulations.

97 MATHEMATICS AND COMPUTING↗

A score-based diffusion model approach for adaptive learning of stochastic partial differential equation solutions

In this paper, we propose a novel framework for adaptively learning the time-evolving solutions of stochastic partial differential equations (SPDEs) using score-based diffusion models within a recursive Bayesian inference setting. SPDEs play a central role in modeling complex physical systems under uncertainty, but their numerical solutions often suffer from model errors and reduced accuracy due to incomplete physical knowledge and environmental variability. To address these challenges, we encode the governing physics into the score function of a diffusion model using simulation data and incorporate observational information via a likelihood-based correction in a reverse-time stochastic differential equation. This enables adaptive learning through iterative refinement of the solution as new data becomes available. To improve computational efficiency in high-dimensional settings, we introduce the ensemble score filter, a training-free approximation of the score function designed for real-time inference. Numerical experiments on benchmark SPDEs demonstrate the accuracy and robustness of the proposed method under sparse and noisy observations.

97 MATHEMATICS AND COMPUTING↗

Aeroelastic oscillations of a pitching flexible wing with structural geometric nonlinearities: Theory and numerical simulation

In this paper, we focus on the derivation of an analytical model of the aeroelastic dynamics of an elastically mounted flexible wing. This equations of motion obtained serve to help understand the behaviour of the aeroelastic wind tunnel setup in question, which consists of a rectangular wing with a uniform NACA 0012 airfoil profile, whose base is free to rotate rigidly about a longitudinal axis. Of particular interest are the structural geometric nonlinearities primarily introduced by the coupling between the rigid body pitch degree-of-freedom and the continuous system. A coupled system of partial differential equations (PDEs) coupled with an ordinary differential equation (ODE) describing axial-bending-bending-torsion-pitch motion is derived using Hamilton's principle. A finite dimensional approximation of the system of coupled differential equations is obtained using the Galerkin method, leading to a system of coupled nonlinear ODEs. Subsequently, these nonlinear ODEs are solved numerically using Houbolt's method. The results that are obtained are verified by comparison with the results obtained by direct integration of the equations of motion using a finite difference scheme. Adopting a linear unsteady aerodynamic model, it is observed that the system undergoes coalescence flutter due to coupling between the rigid body pitch rotation dominated mode and the first flapwise bending dominated mode. Finally, the behaviour of the limit cycle oscillations is primarily influenced by the structural geometric nonlinear terms in the coupled system of PDEs and ODE.

42 ENGINEERING↗

Efficient grid-based method in nonequilibrium Green's function calculations: Application to model atoms and molecules

The finite-element discrete variable representation is proposed to express the nonequilibrium Green's function for strongly inhomogeneous quantum systems. This method is highly favorable against a general basis approach with regard to numerical complexity, memory resources, and computation time. Its flexibility also allows for an accurate representation of spatially extended Hamiltonians and thus opens the way toward a direct solution of the two-time Schwinger-Keldysh-Kadanoff-Baym equations on spatial grids, including, for example, the description of highly excited states in atoms. As benchmarks, we compute and characterize, in Hartree-Fock and second Born approximations, the ground states of the He atom, the H{sub 2} molecule, and the LiH molecule in one spatial dimension. Thereby, the ground-state and binding energies, densities, and bond lengths are compared with the direct solution of the time-dependent Schroedinger equation.

71 CLASSICAL AND QUANTUM MECHANICS, GENERAL PHYSIC↗

On the equivalence of dynamically orthogonal and bi-orthogonal methods: Theory and numerical simulations

The Karhunen–Lòeve (KL) decomposition provides a low-dimensional representation for random fields as it is optimal in the mean square sense. Although for many stochastic systems of practical interest, described by stochastic partial differential equations (SPDEs), solutions possess this low-dimensional character, they also have a strongly time-dependent form and to this end a fixed-in-time basis may not describe the solution in an efficient way. Motivated by this limitation of standard KL expansion, Sapsis and Lermusiaux (2009) [26] developed the dynamically orthogonal (DO) field equations which allow for the simultaneous evolution of both the spatial basis where uncertainty ‘lives’ but also the stochastic characteristics of uncertainty. Recently, Cheng et al. (2013) [28] introduced an alternative approach, the bi-orthogonal (BO) method, which performs the exact same tasks, i.e. it evolves the spatial basis and the stochastic characteristics of uncertainty. In the current work we examine the relation of the two approaches and we prove theoretically and illustrate numerically their equivalence, in the sense that one method is an exact reformulation of the other. We show this by deriving a linear and invertible transformation matrix described by a matrix differential equation that connects the BO and the DO solutions. We also examine a pathology of the BO equations that occurs when two eigenvalues of the solution cross, resulting in an instantaneous, infinite-speed, internal rotation of the computed spatial basis. We demonstrate that despite the instantaneous duration of the singularity this has important implications on the numerical performance of the BO approach. On the other hand, it is observed that the BO is more stable in nonlinear problems involving a relatively large number of modes. Several examples, linear and nonlinear, are presented to illustrate the DO and BO methods as well as their equivalence.

71 CLASSICAL AND QUANTUM MECHANICS, GENERAL PHYSIC↗

Numerical Treatment of Singular ODE EVPs Using bvpsuite

We put forward a new method for the solution of eigenvalue problems for (systems of) ordinary differential equations, where our main focus is on eigenvalue problems for singular Schroedinger equations arising, for example, in electronic structure computations. Here, the generation of the starting values for the computation of eigenvalues of higher index is a critical issue. Our approach comprises two stages: First we generate rough approximations by a matrix method. These approximations are used as starting values for an adaptive collocation method which yields approximations of high accuracy together with a reliable error estimate. We successfully apply our method to the solution of the coupled ODE Stark problem for the hydrogen atom.

71 CLASSICAL AND QUANTUM MECHANICS, GENERAL PHYSIC↗

On the space-charge boundary layer inside the nozzle of a cutting torch

A numerical study of the space-charge sheath adjacent to the nozzle wall of a cutting torch is presented. The hydrodynamic model corresponds to a collision-dominated sheath and does not assume cold ions, so drift-diffusion-type equations are used. Also an improved expression for the ion-neutral momentum transfer is employed rather than the usual constant ion-mean-free-path or constant ion collision frequency approximations. Assuming a constant electron temperature in the sheath and neglecting the electron inertial term, the continuity and momentum equations for ions and electrons, together with Poisson's equation, were solved for the electric potential, ion velocities (both normal and tangential components), and for the ion and electron densities. It was found that both the ion and electron densities present a sudden drop at the sheath-plasma edge. The ion density continues to decrease slowly inside the sheath, while the electron density presents a virtually zero value everywhere inside the sheath, the electron thermal conduction flux to the nozzle wall being negligible. These wall results thus become thermally isolated in spite of the high electron temperature in its adjacency. For a nozzle biasing voltage close to the gas breakdown, it was found that the electric field value is high, reaching a value of about 9x10{sup 6} V m{sup -1} at the exit of the nozzle wall. This value is higher than the average field value across the sheath and is on the order of the breakdown threshold value. This means that an undesired sheath breakdown could occur at the vicinities of the nozzle exit even if the average electric field across the sheath is not strong enough.

70 PLASMA PHYSICS AND FUSION TECHNOLOGY↗

Spherically symmetric Einstein-aether perfect fluid models

We investigate spherically symmetric cosmological models in Einstein-aether theory with a tilted (non-comoving) perfect fluid source. We use a 1+3 frame formalism and adopt the comoving aether gauge to derive the evolution equations, which form a well-posed system of first order partial differential equations in two variables. We then introduce normalized variables. The formalism is particularly well-suited for numerical computations and the study of the qualitative properties of the models, which are also solutions of Horava gravity. We study the local stability of the equilibrium points of the resulting dynamical system corresponding to physically realistic inhomogeneous cosmological models and astrophysical objects with values for the parameters which are consistent with current constraints. In particular, we consider dust models in (β−) normalized variables and derive a reduced (closed) evolution system and we obtain the general evolution equations for the spatially homogeneous Kantowski-Sachs models using appropriate bounded normalized variables. We then analyse these models, with special emphasis on the future asymptotic behaviour for different values of the parameters. Finally, we investigate static models for a mixture of a (necessarily non-tilted) perfect fluid with a barotropic equations of state and a scalar field.

79 ASTRONOMY AND ASTROPHYSICS↗

Analysis of discretization errors in LES

All numerical simulations of turbulence (DNS or LES) involve some discretization errors. The integrity of such simulations therefore depend on our ability to quantify and control such errors. In the classical literature on analysis of errors in partial differential equations, one typically studies simple linear equations (such as the wave equation or Laplace's equation). The qualitative insight gained from studying such simple situations is then used to design numerical methods for more complex problems such as the Navier-Stokes equations. Though such an approach may seem reasonable as a first approximation, it should be recognized that strongly nonlinear problems, such as turbulence, have a feature that is absent in linear problems. This feature is the simultaneous presence of a continuum of space and time scales. Thus, in an analysis of errors in the one dimensional wave equation, one may, without loss of generality, rescale the equations so that the dependent variable is always of order unity. This is not possible in the turbulence problem since the amplitudes of the Fourier modes of the velocity field have a continuous distribution. The objective of the present research is to provide some quantitative measures of numerical errors in such situations. Though the focus of this work is LES, the methods introduced here can be just as easily applied to DNS. Errors due to discretization of the time-variable are neglected for the purpose of this analysis.

Ghosal, Sandip↗

Two-Dimensional Mixed Problem of Thermoelasticity for a Semistrip

We study the stress state of a semistrip with conditions of smooth contact imposed on one of its lateral surfaces and coupling conditions given on the other surface under the action of normal loading and temperature on the end face. The original problem is reduced to a one-dimensional vector boundary-value problem by the method of integral transformations. By using the tools of matrix differential calculus and Green matrix function, we reduce the obtained problem to a singular integral equation for the derivative of displacements on the end face of the semistrip and solve this equation by the method of orthogonal polynomials. We perform the numerical analysis of fields of displacements and stresses inside the semistrip and establish the zones of tensile stresses on the lateral face of the semistrip and the conditions of their formation.

42 ENGINEERING↗