Search NASA⌕ Search

Engineering topics

Knezevic, Marko

Publications and source records attributed to Knezevic, Marko.

Enabling Parallel Performance and Portability of Solid Mechanics Simulations Across CPU and GPU Architectures

Efficiently simulating solid mechanics is vital across various engineering applications. As constitutive models grow more complex and simulations scale up in size, harnessing the capabilities of modern computer architectures has become essential for achieving timely results. This paper presents advancements in running parallel simulations of solid mechanics on multi-core CPUs and GPUs using a single-code implementation. This portability is made possible by the C++ matrix and array (MATAR) library, which interfaces with the C++ Kokkos library, enabling the selection of fine-grained parallelism backends (e.g., CUDA, HIP, OpenMP, pthreads, etc.) at compile time. MATAR simplifies the transition from Fortran to C++ and Kokkos, making it easier to modernize legacy solid mechanics codes. We applied this approach to modernize a suite of constitutive models and to demonstrate substantial performance improvements across different computer architectures. This paper includes comparative performance studies using multi-core CPUs along with AMD and NVIDIA GPUs. Results are presented using a hypoelastic–plastic model, a crystal plasticity model, and the viscoplastic self-consistent generalized material model (VPSC-GMM). The results underscore the potential of using the MATAR library and modern computer architectures to accelerate solid mechanics simulations.

Morgan, Nathaniel (ORCID:0000000276118449)↗

On a Simplified Approach to Achieve Parallel Performance and Portability Across CPU and GPU Architectures

This paper presents software advances to easily exploit computer architectures consisting of a multi-core CPU and CPU+GPU to accelerate diverse types of high-performance computing (HPC) applications using a single code implementation. The paper describes and demonstrates the performance of the open-source C++ matrix and array (MATAR) library that uniquely offers: (1) a straightforward syntax for programming productivity, (2) usable data structures for data-oriented programming (DOP) for performance, and (3) a simple interface to the open-source C++ Kokkos library for portability and memory management across CPUs and GPUs. The portability across architectures with a single code implementation is achieved by automatically switching between diverse fine-grained parallelism backends (e.g., CUDA, HIP, OpenMP, pthreads, etc.) at compile time. The MATAR library solves many longstanding challenges associated with easily writing software that can run in parallel on any computer architecture. This work benefits projects seeking to write new C++ codes while also addressing the challenges of quickly making existing Fortran codes performant and portable over modern computer architectures with minimal syntactical changes from Fortran to C++. We demonstrate the feasibility of readily writing new C++ codes and modernizing existing codes with MATAR to be performant, parallel, and portable across diverse computer architectures.

97 MATHEMATICS AND COMPUTING↗

Damage evolution and ductile fracture of commercially-pure titanium sheets subjected to simple tension and cyclic bending under tension

This paper describes a study into the evolution of damage in commercial-purity titanium (CP–Ti) sheets subjected to cyclic bending under tension (CBT) and uniaxial tension (simple tension, ST). Sections were taken from sheets that were strained to various levels under both methods and were imaged using X-ray computed tomography (XCT) to reveal insights into the size, density, and distribution of microvoids in the sheets. Digital image correlation (DIC) was also used to observe the surface strain of CBT and ST sheets during testing. These results showed that elongation to failure (ETF) for CBT deformation is about 2.5× higher than for ST, local longitudinal strains in the bulk of the CBT sample are around 1.3× higher than the peak strain in the ST necked region, and 1.7× higher in the localized region of CBT failure. It was found that the volume-density of voids in both sheets followed a similar exponential increase with strain, reaching nearly 45× higher in the CBT than the ST sheets before the onset of failure, mainly due to the higher strain levels achieved. A higher volume density of voids developed in the center of sheets at high levels of strain, for both processes, with the density in the sheet center becoming approximately double that found near the edges. Scanning electron microscopy (SEM) was used to examine the fracture surface of CBT and ST sheets after failure. The observations are presented and discussed highlighting the CBT process as effective to delay ductile fracture of the CP-Ti sheets.

Commercially pure titanium↗

A parallel and performance portable implementation of a full-field crystal plasticity model

We have developed a parallel implementation of an Elasto-Viscoplastic Fast Fourier Transform-based (EVPFFT) micromechanical solver to enable computationally efficient crystal plasticity modeling for polycrystalline materials. Our primary focus lies in achieving performance portability, allowing a single EVPFFT implementation to run optimally on various homogeneous architectures, including multi-core Central Processing Units (CPUs), as well as on heterogeneous computer architectures comprising multi-core CPUs and Graphics Processing Units (GPUs) from different vendors. To accomplish this goal, we have leveraged MATAR, a C++ software library that simplifies the creation and utilization of multidimensional dense or sparse matrix and array data structures. These data structures are designed to be portable across diverse architectures through the use of Kokkos, a performance-portable library. Additionally, we have employed the Message Passing Interface (MPI) to efficiently distribute the computational workload among processors. The heFFTe (Highly Efficient FFT for Exascale) library is used to facilitate the performance portability of the fast Fourier transforms (FFTs) computation. The computational performance of EVPFFT is evaluated and presented in terms of parallel scalability and simulation runtime on different high-performance computing (HPC) architectures. As a result, the utility of the developed framework to efficiently simulate the micro-mechanical fields in polycrystalline microstructures in engineering applications is discussed.

36 MATERIALS SCIENCE↗

Evolution of microstructure and strength of a high entropy alloy undergoing the strain-induced martensitic transformation

In a recent work, we have reported outstanding strength and work hardening exhibited by a metastable high entropy alloy (HEA), Fe 42 Mn 28 Co 10 Cr 15 Si 5 (in at. %), undergoing the strain-induced martensitic transformation from metastable gamma austenite (γ) to stable epsilon martensite (ε). However, the alloy exhibited poor ductility, which was attributed to the presence of the brittle sigma (σ) phase in its microstructure. The present work reports the evolution of microstructure, strength, and ductility of a similar HEA, Fe 38.5 Mn 20 Co 20 Cr 15 Si 5 Cu 1.5 (in at. %), designed to suppress the formation of σ phase. A cast and then rolled plate of the alloy was processed into four conditions by annealing for 10 and 30 min at 1100 °C and by friction stir processing (FSP) at tool rotation rates of 150 and 400 revolutions per minute (RPM) to facilitate detailed examinations of variable initial grain structures. Neutron diffraction and electron microscopy were employed to characterize the microstructure and texture evolution. The initial materials had variable grain size but nearly 100% γ structure. Diffusionless strain induced γ→ε phase transformation took place under compression with higher rate initially and slower rate at the later stages of deformation, independent on the initial grain size. The transformation facilitated part of plastic strain accommodation and rapid strain hardening owing to a transformation-induced dynamic Hall-Petch-type barrier effect, increase in dislocation density, and texture. Here, the peak strength of nearly 2 GPa was achieved under compression using the structure created by double pass FSP (150 RPM followed by 150 RPM). Remarkably, the tensile elongation exhibited by the alloy was nearly 20% with fracture surfaces featuring a combination of ductile dimples and cleavage.

36 MATERIALS SCIENCE↗

MILK : a Python scripting interface to MAUD for automation of Rietveld analysis

Modern diffraction experiments ( e.g. in situ parametric studies) present scientists with many diffraction patterns to analyze. Interactive analyses via graphical user interfaces tend to slow down obtaining quantitative results such as lattice parameters and phase fractions. Furthermore, Rietveld refinement strategies ( i.e. the parameter turn-on-off sequences) tend to be instrument specific or even specific to a given dataset, such that selection of strategies can become a bottleneck for efficient data analysis. Managing multi-histogram datasets such as from multi-bank neutron diffractometers or caked 2D synchrotron data presents additional challenges due to the large number of histogram-specific parameters. To overcome these challenges in the Rietveld software Material Analysis Using Diffraction ( MAUD ), the MAUD Interface Language Kit ( MILK ) is developed along with an updated text batch interface for MAUD . The open-source software MILK is computer-platform independent and is packaged as a Python library that interfaces with MAUD . Using MILK , model selection ( e.g. various texture or peak-broadening models), Rietveld parameter manipulation and distributed parallel batch computing can be performed through a high-level Python interface. A high-level interface enables analysis workflows to be easily programmed, shared and applied to large datasets, and external tools to be integrated with MAUD . Through modification to the MAUD batch interface, plot and data exports have been improved. The resulting hierarchical folders from Rietveld refinements with MILK are compatible with Cinema: Debye–Scherrer , a tool for visualizing and inspecting the results of multi-parameter analyses of large quantities of diffraction data. In this manuscript, the combined Python scripting and visualization capability of MILK is demonstrated with a quantitative texture and phase analysis of data collected at the HIPPO neutron diffractometer.

97 MATHEMATICS AND COMPUTING↗

Strengthening mechanisms, hardening/softening behavior, and microstructure evolution in an LPSO magnesium alloy at elevated temperatures

Here, rapid degradation of the mechanical properties of conventional Mg alloys with temperature precludes their wide application in industry. The LPSO (long period stacking ordered) Mg alloys, on the other hand, show considerable potential to achieve excellent high-temperature mechanical performance. In this study, a Mg-5.1Y-2.4Zn (wt.%) extrusion alloy with the microstructure comprising of α-Mg matrix and LPSO phase was prepared. It is shown that the yield strength of the alloy at 200 °C retained ~83% of the yield strength of 198 MPa at room temperature (RT). Importantly, the ductility also improved, owing to the increased non-basal slip activities at elevated temperatures. In contrast to RT and 200 °C, the alloy exhibited softening tensile behavior with an apparent loss of yield strength at 300 °C. In-situ lattice strain analysis revealed that load transfer from α-Mg to LPSO remains effective at temperatures up to 200 °C, governing the high yield strength of the alloy. The post-mortem analysis by means of electron microscopy confirmed that the LPSO phase is structurally stable at 200 °C. In particular, the high strain hardenability is rationalized by the sandwiched LPSO structures together with stacking faults serving as effective obstacles to the motion of non-basal dislocations. The load transfer effect disappears at the temperature of 300 °C, resulting in the fast deterioration of strength of the alloy. The cracking of the LPSO phase along with the recrystallizing of α-Mg grains were found to be the main causes for the softening behavior of the alloy at 300 °C.

36 MATERIALS SCIENCE↗