Engineering Papers⌕ Search

SEARCH · Engineering Papers

Results for “multivariate dual numbers”

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.

Efficient GPU Implementation of Automatic Differentiation for Computational Fluid Dynamics

Many scientific and engineering applications require repeated calculations of derivatives of output functions with respect to input parameters. Automatic Differentiation (AD) is a method that automates derivative calculations and can significantly speed up code development. In Computational Fluid Dynamics (CFD), derivatives of flux functions with respect to state variables (Jacobian) are needed for efficient solutions of the nonlinear governing equations. AD of flux functions on graphics processing units (GPUs) is challenging as flux computations involve many intermediate variables that create high register pressure and require significant memory traffic because of the need to store the derivatives. This paper presents a forward-mode AD method based on multivariate dual numbers that addresses these challenges and simultaneously reduces the floating-point operation count. The dimension of the multivariate dual numbers is optimized for performance. The flux computations are restructured to minimize the number of temporary variables and reduce register pressure. For effective utilization of memory bandwidth, shared memory is used to store the local flux Jacobian. This AD implementation is compared with several other Jacobian implementations on an NVIDIA V100 GPU (V100). For three-dimensional perfect-gas compressible-flow equations implemented in a practical CFD code, the AD implementation of a flux Jacobian based on multivariate dual numbers of dimension 5 outperforms all other GPU AD implementations on V100. Its performance is comparable with the optimized hand-differentiated version. Finally, the implementation achieves 75% of the peak floating-point throughput and 61 % of the peak global device memory bandwidth usage.

46 INSTRUMENTATION RELATED TO NUCLEAR SCIENCE AND ↗

Calculation of machine precision second order derivatives using dual-complex numbers

It is well known that both complex and dual numbers can be employed to obtain machine precision first-order derivatives; however, neither, on their own, can compute machine precision 2nd order derivatives. To address this limitation, it is demonstrated in this paper that combined dual-complex numbers can be used to compute machine precision 1st and 2nd order derivatives. The dual-complex approach is simpler than utilizing multicomplex or hyper-dual numbers as existing dual libraries can be used as is or easily augmented to accept complex numbers, and the complexity of developing, integrating, and deploying multicomplex or hyper-dual libraries is avoided. The efficacy of this approach is demonstrated for both univariate and multivariate functions. Finally, source code examples using the Python, Julia, and Mathematica languages are provided as supplemental material.

97 MATHEMATICS AND COMPUTING↗

Helium sequestration at nanoparticle-matrix interfaces in helium + heavy ion irradiated nanostructured ferritic alloys

Here we irradiated four ferritic alloys with energetic Fe and He ions: one castable nanostructured alloy (CNA) containing Ti-W-Ta-carbides, and three nanostructured ferritic alloys (NFAs). The NFAs were: 9Cr containing Y-Ti-O nanoclusters, and two Fe-12Cr-5Al NFAs containing Y-Zr-O or Y-Hf-O clusters. All four were subjected to simultaneous dual-beam Fe + He ion implantation (650 °C, ~50 dpa, ~15 appm He/dpa), simulating fusion-reactor conditions. Examination using scanning/transmission electron microscopy (STEM) revealed high-number-density helium bubbles of ~8 nm, ~10 21 m -3 (CNA), and of ~3 nm, 10 23 m -3 (NFAs). STEM combined with multivariate statistical analysis data mining suggests that the precipitate-matrix interfaces in all alloys survived ~50 dpa at 650 °C and serve as effective helium trapping sites. All alloys appear viable structural material candidates for fusion or advanced fission energy systems. Finally, among these developmental alloys the NFAs appear to sequester the helium into smaller bubbles and away from the grain boundaries more effectively than the early-generation CNA.

36 MATERIALS SCIENCE↗