Search NASA⌕ Search

SEARCH · Search NASA

Results for “tensor computations”

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,027 records · Page 57

EFFICIENT PARALLEL COMPUTATION OF ALL-PAIRS N-BODY ACCELERATION BY DO-LOOP FOLDING

The computational load inside a do loop is equalized by folding the loop appropriately if the amount of load is a linear function of the loop index. Using this idea, we develop an efficient parallel computation scheme of Newtonian all-pairs N-body acceleration vectors with help from OpenMP architecture. Using a consumer PC with a quad-core eight-thread processor, the new parallel scheme runs 4.2-4.9 times faster than a serial computation when the number of particles exceeds a few hundred.

79 ASTRONOMY AND ASTROPHYSICS↗

CRPropa 3.1—a low energy extension based on stochastic differential equations

The propagation of charged cosmic rays through the Galactic environment influences all aspects of the observation at Earth. Energy spectrum, composition and arrival directions are changed due to deflections in magnetic fields and interactions with the interstellar medium. Today the transport is simulated with different simulation methods either based on the solution of a transport equation (multi-particle picture) or a solution of an equation of motion (single-particle picture). We developed a new module for the publicly available propagation software CRPropa 3.1, where we implemented an algorithm to solve the transport equation using stochastic differential equations. This technique allows us to use a diffusion tensor which is anisotropic with respect to an arbitrary magnetic background field. The source code of CRPropa is written in C++ with python steering via SWIG which makes it easy to use and computationally fast. In this paper, we present the new low-energy propagation code together with validation procedures that are developed to proof the accuracy of the new implementation. Furthermore, we show first examples of the cosmic ray density evolution, which depends strongly on the ratio of the parallel κ{sub ∥} and perpendicular κ{sub ⊥} diffusion coefficients. This dependency is systematically examined as well the influence of the particle rigidity on the diffusion process.

79 ASTRONOMY AND ASTROPHYSICS↗

Acceleration of Streamed Tensor Contraction Expressions on GPGPU-based Clusters

Tensor contractions are generalized multidimensional matrix multiplication operations that widely occur in quantum chemistry. Efficient execution of tensor contractions on GPUs requires tackling several challenges to be addressed, including index permutation and small dimension-sizes reducing thread block utilization. In this paper, we present our approach to automatically generate CUDA code to execute tensor contractions on GPUs, including management of data movement between CPU and GPU. GPU-enabled code is generated for the most expensive contractions in CCSD(T) and incorporated into NWChem, a popular computational chemistry suite. We demonstrate speedup over a factor of 8.4 using one core per node and over 2.6 when utilizing the entire system using hybrid CPU+GPU solution with 2 GPUs and 5 cores. We finally analyze the behavior of the application on future GPU systems.

37 INORGANIC, ORGANIC, PHYSICAL, AND ANALYTICAL CH↗

Reactivity Feedback Modeling in SAM

System Analysis Module (SAM) is being developed at Argonne National Laboratory as a modern system-level modeling and simulation tool for advanced non-light water reactor safety analyses. It utilizes the object-oriented application framework MOOSE to leverage the modern software environment and advanced numerical methods. The capabilities of SAM are being extended to enable the transient modeling, analysis, and design of various advanced nuclear reactor systems. This report presents the development of Point-Kinetics modeling and reactivity feedback mechanisms in SAM. It also presents a new capability for predicting the thermal expansion in various structural components by coupling SAM with an external thermomechanics module (Tensor Mechanics) from the MOOSE framework.

21 SPECIFIC NUCLEAR REACTORS AND ASSOCIATED PLANTS↗

Critique of Burnett-Frind dispersion tensor for axisymmetric porous media

This technical note provides a critique of the Burnett and Frind (1987) dispersion tensor for porous media with axial symmetry based on a previous publication by the authors (Lichtner et aI., 2002). In this work a new approach is used based on unit eigenvectors which simplifies the analysis. It is demonstrated that the Burnett-Frind dispersion tensor, although acceptable for small values of the vertical velocity, produces the incorrect behavior for both longitudinal and transverse dispersivity as the flow velocity varies from parallel to perpendicular to the axis of symmetry. A new form of the dispersion tensor is derived for axially symmetric porous media involving four dispersivity coefficients corresponding to longitudinal and transverse dispersion in horizontal and vertical directions, defined as perpendicular and parallel to the axis of symmetry, respectively. This new dispersion tensor corrects two fundamental problems with the dispersion tensor proposed by Burnett and Frind (1987) for axial symmetric media.

97 MATHEMATICS AND COMPUTING↗

Multi-layer Potfit: An accurate potential representation for efficient high-dimensional quantum dynamics

The multi-layer multi-configuration time-dependent Hartree method (ML-MCTDH) is a highly efficient scheme for studying the dynamics of high-dimensional quantum systems. Its use is greatly facilitated if the Hamiltonian of the system possesses a particular structure through which the multi-dimensional matrix elements can be computed efficiently. In the field of quantum molecular dynamics, the effective interaction between the atoms is often described by potential energy surfaces (PES), and it is necessary to fit such PES into the desired structure. For high-dimensional systems, the current approaches for this fitting process either lead to fits that are too large to be practical, or their accuracy is difficult to predict and control. This article introduces multi-layer Potfit (MLPF), a novel fitting scheme that results in a PES representation in the hierarchical tensor (HT) format. The scheme is based on the hierarchical singular value decomposition, which can yield a near-optimal fit and give strict bounds for the obtained accuracy. Here, a recursive scheme for using the HT-format PES within ML-MCTDH is derived, and theoretical estimates as well as a computational example show that the use of MLPF can reduce the numerical effort for ML-MCTDH by orders of magnitude, compared to the traditionally used POTFIT representation of the PES. Moreover, it is shown that MLPF is especially beneficial for high-accuracy PES representations, and it turns out that MLPF leads to computational savings already for comparatively small systems with just four modes.

37 INORGANIC, ORGANIC, PHYSICAL, AND ANALYTICAL CH↗

Computational micromechanics model based failure criteria for chopped carbon fiber sheet molding compound composites

Chopped carbon fiber sheet molding compound has a great potential in lightweight automotive, marine, and aerospace applications. One of the most challenging tasks is to predict the failure strength of the material due to its anisotropy and heterogeneity, as well as complex stress states in real-world working conditions. In this work, a novel constitutive model of carbon fiber chip is proposed to capture the pre- and post-failure behaviors under different loading modes. On this basis, we propose a new computational micromechanics model, which is calibrated and validated by uniaxial tensile, compressive, and in-plane shear experiments. Furthermore, a set of microstructures representative volume element (RVE) models under complex loading conditions are reconstructed to understand the relationship between the microstructure characteristics and the failure envelopes. Finally, several modified versions of classical failure criteria are proposed for anisotropic materials with consideration of the fiber orientation tensor. The modified Tsai-Wu failure criterion, which shows the best accuracy among all failure criteria, is highlighted in the comparative study.

36 MATERIALS SCIENCE↗

NONLINEAR GRAVITATIONAL-WAVE MEMORY FROM BINARY BLACK HOLE MERGERS

Some astrophysical sources of gravitational waves can produce a 'memory effect', which causes a permanent displacement of the test masses in a freely falling gravitational-wave detector. The Christodoulou memory is a particularly interesting nonlinear form of memory that arises from the gravitational-wave stress-energy tensor's contribution to the distant gravitational-wave field. This nonlinear memory contributes a nonoscillatory component to the gravitational-wave signal at leading (Newtonian-quadrupole) order in the waveform amplitude. Previous computations of the memory and its detectability considered only the inspiral phase of binary black hole coalescence. Using an 'effective-one-body' (EOB) approach calibrated to numerical relativity simulations, as well as a simple fully analytic model, the Christodoulou memory is computed for the inspiral, merger, and ringdown. The memory will be very difficult to detect with ground-based interferometers, but is likely to be observable in supermassive black hole mergers with LISA out to redshifts z {approx}< 2. Detection of the nonlinear memory could serve as an experimental test of the ability of gravity to 'gravitate'.

79 ASTRONOMY AND ASTROPHYSICS↗

One-loop graviton corrections to the curvature perturbation from inflation

We compute one-loop corrections to the power spectrum of the curvature perturbation in single-field slow-roll inflation arising from gravitons and inflaton interactions. The quantum corrections due to gravitons to the power spectrum of the inflaton field are computed around the time of horizon crossing and their effect on the curvature perturbation is obtained on superhorizon scales through the {delta}N formalism. We point out that one-loop corrections from the tensor modes are of the same magnitude as those coming from scalar self-interactions; therefore they cannot be neglected in a self-consistent calculation.

79 ASTRONOMY AND ASTROPHYSICS↗

Constraints upon the spectral indices of relic gravitational waves by LIGO S5

With LIGO having achieved its design sensitivity and the LIGO S5 strain data being available, constraints on the relic gravitational waves (RGWs) become realistic. The analytical spectrum of RGWs generated during inflation depends sensitively on the initial condition, which is generically described by the index {beta}, the running index {alpha}{sub t}, and the tensor-to-scalar ratio r. By the LIGO S5 data of the cross-correlated two detectors, we obtain constraints on the parameters ({beta},{alpha}{sub t},r). As a main result, we have computed the theoretical signal-to-noise ratio of RGWs for various values of ({beta},{alpha}{sub t},r), using the cross-correlation for the given pair of LIGO detectors. The constraints by the indirect bound on the energy density of RGWs by big bang nucleosynthesis and cosmic microwave background have been obtained, which turn out to be still more stringent than LIGO S5.

79 ASTRONOMY AND ASTROPHYSICS↗

All-electron density functional calculations for electron and nuclear spin interactions in molecules and solids

The interaction between electronic and nuclear spins in the presence of external magnetic fields can be described by a spin Hamiltonian, with parameters obtained from first principles, electronic structure calculations. We describe an approach to compute these parameters, applicable to both molecules and solids, which is based on density functional theory (DFT) and real-space, all-electron calculations using finite elements (FE). We report results for hyperfine tensors, zero field splitting tensors (spin-spin component), and nuclear quadrupole tensors of a series of molecules and of the nitrogen-vacancy center in diamond. We compare our results with calculations using Gaussian orbitals and plane-wave basis sets, and we discuss their numerical accuracy. Furthermore, we show that calculations based on FE can be systematically converged with respect to the basis set, thus allowing one to establish reference values for the spin Hamiltonian parameters, at a given level of DFT.

75 CONDENSED MATTER PHYSICS, SUPERCONDUCTIVITY AND↗

Reduced Order Model to Predict Dispersion of Flammable Refrigerant into a Space

As the HVAC&R industry mobilizes to deploy more low-GWP refrigerants, relevant standards are being continually reviewed and updated. Those include the general safety standards ISO 5149 and ASHRAE 15, and the equipment standards IEC and UL. The standards systematically set the allowable maximum amount of refrigerant that should be used in different equipment types and different applications. To do so, they rely on predictions of how a leaked refrigerant mass will disperse into a space. Dispersion characteristics, such as total flammable volume and its residence time, determine the risk associated with the presence of the flammable refrigerant. The standards have included provisions for the use of flammable refrigerants for approximately two decades. They relied on limited analytical analyses and test cases in their development. Dispersion of a refrigerant into a space is complex. Computational fluid dynamics (CFD) are the most accurate in predicting a given problem. However, CFD is computationally expensive and requires specialized expertise and resources and is not suitable for use by standards development working group as prediction tool. This paper presents the development of a reduced order model (ROM) that predicts the key dispersion characteristics relevant to the dispersion of a leaked refrigerant into a space for any combination of input variables. The inputs are the refrigerant release height, the total released refrigerant mass and its release flow rate, the refrigerant molecular weight, the ventilation flow rate, the floor area and height of the space, recirculation air flow rate, and the tightness of the space. The outputs are histograms of volume fraction of the room in prescribed concentration bins and the total mass of the refrigerant in each bin normalized by the total refrigerant charge at 13 prescribed simulation time stamps between 1 and 900 seconds. The ROM is constructed from a set of CFD simulations with carefully chosen combinations of input parameters. The selection if done using a multidimensional sparse grid which is a generalization of the classical tensor approach but offers additional flexibility and thus can be more carefully tuned towards a specific model. The tuning is done to improve the accuracy, measured in the difference between the output values of the ROM and the CFD model, while minimizing the computational cost, measured in number of CFD simulations which is orders of magnitude more expensive than the processing the training data.

Edwards, Dean↗

Functional Analysis of the Lippmann-Schwinger Equation for the Determination of the Pointwise Mechanical and Transformation Field Concentration Tensors in Heterogeneous Materials

In this work, the Lippmann-Schwinger (LS) equation, which represents the exact solution for the mechanical behavior of a heterogeneous material subjected to macrospically uniform thermo mechanical loading, is used to develop an exact, general, pointwise framework for how the macroscopic fields localize in terms of concentration tensors. Additionally, analytical relations between the different concentration tensors are obtained. Since, the LS equation represents the exact solution the resulting functional form and analytical relations between the concentration tensors should be matched by all micromechanical theories (either analytical or numerical).

36 MATERIALS SCIENCE↗

Finite-Volume Diffusion Schemes for Svard's Eulerian Governing Equations

This paper, contains discussion on the implementation of new diffusion schemes for Svard’s Eulerian flow (EF) governing equations. It contains an alpha-damping type scheme and a new hyperbolic Eulerian flow (HEF) discretization paralleling previous work on hyperbolic Navier-Stokes (HNS). It shows these equations have simplified hyperbolic discretizations due to the simplicity of the new stress tensor and compares these schemes to established Navier-Stokes (NS) discretizations to verify the predictive utilities of such diffusion schemes.

Computational Fluid Dynamics↗

Finite-Volume Diffusion Schemes for Svard's Eulerian Governing Equations

This paper, contains discussion on the implementation of new diffusion schemes for Svard’s Eulerian flow (EF) governing equations. It contains an alpha-damping type scheme and a new hyperbolic Eulerian flow (HEF) discretization paralleling previous work on hyperbolic Navier-Stokes (HNS). It shows these equations have simplified hyperbolic discretizations due to the simplicity of the new stress tensor and compares these schemes to established Navier-Stokes (NS) discretizations to verify the predictive utilities of such diffusion schemes.

Computational Fluid Dynamics↗

Efficiently evaluating loop integrals in the EFTofLSS using QFT integrals with massive propagators

We develop a new way to analytically calculate loop integrals in the Effective Field Theory of Large Scale-Structure. Previous available methods show severe limitations beyond the one-loop power spectrum due to analytical challenges and computational and memory costs. Our new method is based on fitting the linear power spectrum with cosmology-independent functions that resemble integer powers of quantum field theory massive propagators with complex masses. A remarkably small number of them is sufficient to reach enough accuracy. Similarly to former approaches, the cosmology dependence is encoded in the coordinate vector of the expansion of the linear power spectrum in our basis. We first produce cosmology-independent tensors where each entry is the loop integral evaluated on a given combination of basis vectors. For each cosmology, the evaluation of a loop integral amounts to contracting this tensor with the coordinate vector of the linear power spectrum. The 3-dimensional loop integrals for our basis functions can be evaluated using techniques familiar to particle physics, such as recursion relations and Feynman parametrization. We apply our formalism to evaluate the one-loop bispectrum of galaxies in redshift space. The final analytical expressions are quite simple and can be evaluated with little computational and memory cost. We show that the same expressions resolve the integration of all one-loop N-point function in the EFTofLSS. This method, which is originally presented here, has already been applied in the first one-loop bispectrum analysis of the BOSS data to constraint ΛCDM parameters and primordial non-Gaussianities [1, 2].

72 PHYSICS OF ELEMENTARY PARTICLES AND FIELDS↗

Sparse low rank approximation of potential energy surfaces with applications in estimation of anharmonic zero point energies and frequencies

We introduce a method that exploits sparse representation of potential energy surfaces (PES) on a polynomial basis set selected by compressed sensing . The method is useful for studies involving large numbers of PES evaluations, such as the search for local minima, transition states, or integration. We apply this method for estimating zero point energies and frequencies of molecules using a three step approach. In the first step, we interpret the PES as a sparse tensor on polynomial basis and determine its entries by a compressed sensing based algorithm using only a few PES evaluations. Then, we establish a rank reduction strategy to compress this tensor in a suitable low-rank canonical tensor format using standard tensor compression tools. This allows representing a high dimensional PES as a small sum of products of one dimensional functions. Finally, a low dimensional Gauss–Hermite quadrature rule is used to integrate the product of sparse canonical low-rank representation of PES and Green’s function in the second-order diagrammatic vibrational many-body Green’s function theory (XVH2) for estimation of zero-point energies and frequencies. Numerical tests on molecules considered in this work indicate a more efficient scaling of computational cost with molecular size as compared to other methods.

37 INORGANIC, ORGANIC, PHYSICAL, AND ANALYTICAL CH↗