Engineering Papers⌕ Search

SEARCH · Engineering Papers

Results for “Adaptive Mesh Refinement”

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 559 records · Page 31

Examination of a Methane/Diesel RCCI Engine Using Pele: Preprint

Multi-fuel, advanced injection strategies have become increasingly promising as a strategy to mitigate the emissions generated from internal combustion engines. By carefully controlling the combustion phasing in-cylinder, these new multi-pulse, multi-fuel injection strategies are able to burn in the low-temperature combustion regime where both NOx and soot are not readily produced, reducing the need for extensive exhaust gas recirculation systems. In this study, we examine a reactivity-controlled compression ignition (RCCI) strategy that uses an early pre-filled methane-air mixture with low turbulence background as the low-reactivity fuel and a direct injection of four discrete dodecane jets as a surrogate for the high-reactivity diesel fuel. We use the Pele software suite, a highly optimized, exascale-ready, adaptive mesh refinement codebase to perform high-resolution numerical simulations of a scaled down, single cylinder from the RCCI engine. Here, we resolve the ignition kernels down to micrometer scales and present several statistical quantities evaluating the development of the flow and detailing the onset of ignition and subsequent flame development. Particular attention is paid to the conditions surrounding the onset of the first ignition kernels and discussing what led to the development of those conditions.

CFD↗

Simulating Catalysis with Realistic Pellet Geometries Using Mesoflow: A Case Study of Catalytic Propane Dehydrogenation

We present a case study of catalytic propane dehydrogenation with our open-source multiphysics solver, Mesoflow. The solver was developed to simulate reactive flow coupled to heterogeneous catalytic reactions and deactivation in the context of complex, mesoscale geometry. The method leverages cartesian block-structured adaptive mesh refinement to capture realistic catalyst microstructural features acquired directly from X-ray computed tomography data. A kinetic model for propane dehydrogenation and catalyst deactivation was developed based on temporal analysis of products (TAP) reactor experiments. The TAP reactor experiments allow for precise characterization of intrinsic kinetic reaction steps which are implemented into Mesoflow simulations to model the spatial and temporal evolution of reactants, products, and catalyst active sites. The short-term and long-term deactivation behavior is studied by using XCT data collected from fresh and aged catalyst pellets, which exhibit different microstructural features. This study employs time-splitting algorithms to connect disparate reaction and flow timescales, enabling the simulations to achieve realistic deactivation timescales on the order of minutes while the flow time-scales for small particles (100 microns) are several milliseconds. We also introduce a flexible automated python script that writes the necessary files to construct a Mesoflow simulation from user-created chemical mechanisms. We will also introduce a few new features that are added to Mesoflow such as higher order schemes, implicit chemistry integrators and the ability to run on AMD and NVIDIA graphics-processing-units.

AMReX↗

Development of a Multiphase Adjoint Capability in OpenFOAM

Thermal hydraulic predictions of flow regimes within nuclear reactor cores require significant computational resources and accuracy to ensure that the core design does not violate the thermal limits of materials. Multiphase computational fluid dynamics (CFD) has become a valuable computational capability for predicting flow characteristics as they relate to applications such as nuclear reactor safety and mixing phenomena around spacer grids within fuel assemblies. Multiphase CFD requires closure relationships for both the effects of turbulence as well as the transfer of mass, momentum, and energy between phases. Understanding the sensitivity of the parameters used in closure relationships is important for improving accuracy, but performing rigorous sensitivity analysis is computationally expensive. Adjoint mathematics have been utilized for reactor physics and fluid dynamics applications with respect to verification, sensitivity analysis, adaptive mesh refinement, and optimization. The usage of adjoint methods to predict the sensitivities of a variety of closure relationship parameters within a given problem has been shown to return sensitivity responses with significantly fewer computations than normal 'large-scale' methods. As the complexity of multiphase CFD methods increases, the demand for accurate verification tools and improvements in computational efficiency also increases, making the development of adjoint capabilities an attractive option. Closure relationships that describe interphase momentum physics in multiphase CFD modelling rely heavily on prescribed constants determined from experimental data. Due to the computational efficiency of an adjoint approach, the time to derive these closure relationships could be dramatically reduced, and data assimilation techniques could be used to return probability density functions of closure models derived using experimental data. This work develops a multiphase adjoint capability for the Eulerian-Eulerian two field, two phase equations. Specifically, the adjoint capability has been developed for the sub-cooled nucleate boiling solver boilEulerFoam developed by Dr. Nam Dinh of NC State University within the open-source CFD library OpenFOAM.

22 GENERAL STUDIES OF NUCLEAR REACTORS↗

Influence of Real Gas Effects on Chemical Kinetics in Oxycombustion in Supercritical Carbon Dioxide

Oxycombustion in supercritical carbon dioxide is an integral part of the Allam Cycle, a technology that enables carbon-neutral use of fossil-fuels and carbon-negative use of biofuels. We simulate oxycombustion in a realistic combustor geometry for two sets of fuel conditions: pure methane, and a 40 percent methane/60 percent carbon dioxide blend, both at 343.15 K. The fuel jet mixes with a preheated swirler of 20 percent oxygen and 80 percent carbon dioxide at 1005.35 K, with a 100 percent carbon dioxide coflow at 783.15 K. The entire system operates at a pressure of 300 bar, putting the entire system above the critical temperature and pressure of carbon dioxide. Simulations are performed using PeleC, a compressible block-structured adaptive-mesh refinement (AMR) reacting flow code. Direct comparison of results using thermodynamically self-consistent implementations of the ideal gas equation of state and the Soave-Redlich-Kwong (SRK) equation of state allow quantification of the real gas impacts on combustion kinetics, flow temperatures, and pollutant formation.

carbon dioxide↗

Computational Methods for Multi-Physics Simulation of Melting in Steelmaking

Iron and steel production accounts for approximately 8% of global carbon dioxide (CO) emissions. Pathways to decarbonize include replacing fossil fuels in iron ore reduction and electrifying other steelmaking processes. Iron pellets produced by hydrogen, called Hydrogen Direct Reduced Iron (HDRI), have property differences from those produced using conventional DRI processes. These differences may impact melting in electric arc furnaces (EAF) and other downstream processes. The physical properties of iron pellets vary significantly with temperature during heating, complicating predictions of their behavior. In this project, we seek to develop an integrated simulation, including the fluid flow and convective thermal transport around the pellet particle. We also examine conduction and phase changes within the particle as they impact the melting process. We use adaptive mesh refinement (AMR) to resolve both the changing size of the particle and the complex physics of the interaction between the pellet and the surrounding fluid. We base our simulations on the AMReX-incflo module, which allows large-scale Navier-Stokes simulation while resolving the changing particle size during melting. As we advance our numerical tools, we anticipate an improved understanding of the dynamics of HDRI melting, which will, in turn, accelerate the adoption of low-carbon technologies in the steelmaking industry.

AMReX↗

Development of a Performance Portable Non-Equilibrium Plasma Fluid Solver on Adaptive Grids

This presentation will describe the numerical techniques, programming paradigms, verification, and performance of a non-equilibrium plasma fluid solver that can effectively utilize current and upcoming central processing and graphics processing unit (CPU+GPU) architectures. Our plasma fluid model solves the conservation equations for self-consistent electrostatic Poisson, electron and heavy species transport, and electron temperature on adaptive Cartesian grids. Our solver is written using performance portable adaptive mesh management library, AMReX (Zhang et al., JOSS, 4 (37) 1370, 2019), and can be built and run on widely available vendor specific GPU architectures (NVIDIA/AMD/Intel). We utilize a non-subcycled second order semi-implicit time-stepping method where all adaptive mesh refinement (AMR) levels are advanced with the same time step. The composite multi-level multigrid solver from within AMReX is used for each of the governing equations that are cast into a Helmholtz equation form. We have also developed a python based chemical mechanism parser framework that uses a similar format as CANTERA (Goodwin et al., Zenodo, 2018) yaml files as input. Our custom parser reads the yaml file and provides C++ files with transport and production rate functions that can be executed on both host (CPU) and device (GPU). We present verification of our solver using method of manufactured solutions that indicate formal second order accuracy with central diffusion and fifth order weighted-essentially-non-oscillatory (WENO) advection scheme. We also verify our solver with published literature on low-pressure capacitive and high-pressure streamer discharges. Our initial performance studies indicate 10X speed-up using 20 NVIDIA GPUs versus 200 CPUs for an atmospheric streamer discharge problem solved on a 512 x 1024 x 512 grid.

graphics processing units↗

What the Formation of the First Stars Left in its Wake

The formation of the first stars marked a crucial transition in the formation of structure in the universe. Through their feedback effects, which include ionization by their radiation and the supernovae or black holes formed at the end of their lives, they were able to influence the evolution of their surroundings. In this paper we present a new visualization and use analytical calculations in order to study the influence of these first stars. The visualization was created using both Enzo, a simulation program that uses adaptive mesh refinement, and Amira, a 3D volume rendering program. This visualization allows for a better understanding of the impact these stars had on their surroundings and conveys the importance of these stars to a broader audience. The analytical calculations used investigate the possibility that black holes left by the first stars could be seeds for the 10{sup 9} M{sub {circle_dot}} black holes seen as quasars at redshift z{approx}6. We find that if a remnant black hole was to begin Eddington accretion at z{approx}20, then it would be able to form a 10{sup 9} M{sub {circle_dot}} black hole by z{approx}6, but that there is likely to be a delay in the onset of accretion onto the seed black hole because of the radiative feedback of its progenitor. Future, more detailed numerical calculations will be necessary to understand whether the black holes left by the first stars could possibly be seeds for quasar formation.

71 CLASSICAL AND QUANTUM MECHANICS, GENERAL PHYSIC↗

Magnetohydrodynamic Simulations of Disk GalaxyFormation: the Magnetization of The Cold and Warm Medium

Using magnetohydrodynamic (MHD) adaptive mesh refinement simulations, we study the formation and early evolution of disk galaxies with a magnetized interstellar medium. For a 10{sup 10} M{sub {circle_dot}} halo with initial NFW dark matter and gas profiles, we impose a uniform 10{sup -9} G magnetic field and follow its collapse, disk formation and evolution up to 1 Gyr. Comparing to a purely hydrodynamic simulation with the same initial condition, we find that a protogalactic field of this strength does not significantly influence the global disk properties. At the same time, the initial magnetic fields are quickly amplified by the differentially rotating turbulent disk. After the initial rapid amplification lasting {approx} 500 Myr, subsequent field amplification appears self-regulated. As a result, highly magnetized material begin to form above and below the disk. Interestingly, the field strengths in the self-regulated regime agrees well with the observed fields in the Milky Way galaxy both in the warm and the cold HI phase and do not change appreciably with time. Most of the cold phase shows a dispersion of order ten in the magnetic field strength. The global azimuthal magnetic fields reverse at different radii and the amplitude declines as a function of radius of the disk. By comparing the estimated star formation rate (SFR) in hydrodynamic and MHD simulations, we find that after the magnetic field strength saturates, magnetic forces provide further support in the cold gas and lead to a decline of the SFR.

71 CLASSICAL AND QUANTUM MECHANICS, GENERAL PHYSIC↗

Toward fully self-consistent simulation of the interaction of E-Clouds and beams with WARP-POSINST

To predict the evolution of electron clouds and their effect on the beam, the high energy physics community has relied so far on the complementary use of 'buildup' and 'single/multi-bunch instability' reduced descriptions. The former describes the evolution of electron clouds at a given location in the ring, or 'station', under the influence of prescribed beams and external fields [1], while the latter (sometimes also referred as the 'quasi-static' approximation [2]) follows the interaction between the beams and the electron clouds around the accelerator with prescribed initial distributions of electrons, assumed to be concentrated at a number of discrete 'stations' around the ring. Examples of single bunch instability codes include HEADTAIL [3], QuickPIC [4, 5], and PEHTS [6]. By contrast, a fully self-consistent approach, in which both the electron cloud and beam distributions evolve simultaneously under their mutual influence without any restriction on their relative motion, is required for modeling the interaction of high-intensity beams with electron clouds for heavy-ion beam-driven fusion and warm-dense matter science. This community has relied on the use of Particle-In-Cell (PIC) methods through the development and use of the WARP-POSINST code suite [1, 7, 8]. The development of novel numerical techniques (including adaptive mesh refinement, and a new 'drift-Lorentz' particle mover for tracking charged particles in magnetic fields using large time steps) has enabled the first application of WARP-POSINST to the fully self-consistent modeling of beams and electron clouds in high energy accelerators [9], albeit for only a few betatron oscillations. It was recently observed [10] that there exists a preferred frame of reference which minimizes the number of computer operations needed to simulate the interaction of relativistic objects. This opens the possibility of reducing the cost of fully self-consistent simulations for the interaction of ultrarelativistic beams with electron cloud by orders of magnitude. The computational cost of the fully self-consistent mode is then predicted to be comparable to that of the quasi-static mode, assuming that several stations per betatron period are needed. During the workshop, there was some debate about the number of stations per betatron period that are needed when using the quasi-static mode. The argument was made that if there is less than one station per betatron period, then artificial resonances can be triggered and the resulting emittance growth provides an upper bound. The emittance growth thus obtained will fall either above or below the operational requirements of the machine. In the latter case, one can conclude that the electron effect that has been simulated is of no concern. However, if the emittance growth that was obtained is above the threshold, then the results become inconclusive, and simulations which resolve the betatron motion are then needed. In this case, according to [10], the fully self-consistent approach becomes an option. The aim of this paper is to investigate whether this option is indeed practical.

70 PLASMA PHYSICS AND FUSION TECHNOLOGY↗

The Kinematics of Molecular Cloud Cores in the Presence of Driven and Decaying Turbulence: Comparisons with Observations

In this study we investigate the formation and properties of prestellar and protostellar cores using hydrodynamic, self-gravitating Adaptive Mesh Refinement simulations, comparing the cases where turbulence is continually driven and where it is allowed to decay. We model observations of these cores in the C{sup 18}O(2 {yields} 1), NH{sub 3}(1, 1), and N{sub 2}H{sup +}(1 {yields} 0) lines, and from the simulated observations we measure the linewidths of individual cores, the linewidths of the surrounding gas, and the motions of the cores relative to one another. Some of these distributions are significantly different in the driven and decaying runs, making them potential diagnostics for determining whether the turbulence in observed star-forming clouds is driven or decaying. Comparing our simulations with observed cores in the Perseus and {rho} Ophiuchus clouds shows reasonably good agreement between the observed and simulated core-to-core velocity dispersions for both the driven and decaying cases. However, we find that the linewidths through protostellar cores in both simulations are too large compared to the observations. The disagreement is noticeably worse for the decaying simulation, in which cores show highly supersonic in fall signatures in their centers that decrease toward their edges, a pattern not seen in the observed the regions.

99 GENERAL AND MISCELLANEOUS↗

Solving Partial Differential Equations on Overlapping Grids

We discuss the solution of partial differential equations (PDEs) on overlapping grids. This is a powerful technique for efficiently solving problems in complex, possibly moving, geometry. An overlapping grid consists of a set of structured grids that overlap and cover the computational domain. By allowing the grids to overlap, grids for complex geometries can be more easily constructed. The overlapping grid approach can also be used to remove coordinate singularities by, for example, covering a sphere with two or more patches. We describe the application of the overlapping grid approach to a variety of different problems. These include the solution of incompressible fluid flows with moving and deforming geometry, the solution of high-speed compressible reactive flow with rigid bodies using adaptive mesh refinement (AMR), and the solution of the time-domain Maxwell's equations of electromagnetism.

99 GENERAL AND MISCELLANEOUS↗

Cosmological AMR MHD with Enzo

In this work, we present EnzoMHD, the extension of the cosmological code Enzoto include magnetic fields. We use the hyperbolic solver of Li et al. (2008) for the computation of interface fluxes. We use constrained transport methods of Balsara & Spicer (1999) and Gardiner & Stone (2005) to advance the induction equation, the reconstruction technique of Balsara (2001) to extend the Adaptive Mesh Refinement of Berger & Colella (1989) already used in Enzo, though formulated in a slightly different way for ease of implementation. This combination of methods preserves the divergence of the magnetic field to machine precision. We use operator splitting to include gravity and cosmological expansion. We then present a series of cosmological and non cosmologjcal tests problems to demonstrate the quality of solution resulting from this combination of solvers.

71 CLASSICAL AND QUANTUM MECHANICS, GENERAL PHYSIC↗

Reactive Blast Waves from Composite Charges

Investigated here is the performance of composite explosives - measured in terms of the blast wave they drive into the surrounding environment. The composite charge configuration studied here was a spherical booster (1/3 charge mass), surrounded by aluminum (Al) powder (2/3 charge mass) at an initial density of {rho}{sub 0} = 0.604 g/cc. The Al powder acts as a fuel but does not detonate - thereby providing an extreme example of a 'non-ideal' explosive (where 2/3 of the charge does not detonate). Detonation of the booster charge creates a blast wave that disperses the Al powder and ignites the ensuing Al-air mixture - thereby forming a two-phase combustion cloud embedded in the explosion. Afterburning of the booster detonation products with air also enhances and promotes the Al-air combustion process. Pressure waves from such reactive blast waves have been measured in bomb calorimeter experiments. Here we describe numerical simulations of those experiments. A Heterogeneous Continuum Model was used to model the dispersion and combustion of the Al particle cloud. It combines the gasdynamic conservation laws for the gas phase with a dilute continuum model for the dispersed phase, as formulated by Nigmatulin. Inter-phase mass, momentum and energy exchange are prescribed by phenomenological models of Khasainov. It incorporates a combustion model based on mass conservation laws for fuel, air and products; source/sink terms are treated in the fast-chemistry limit appropriate for such gasdynamic fields, along with a model for mass transfer from the particle phase to the gas. The model takes into account both the afterburning of the detonation products of the booster with air, and the combustion of the Al particles with air. The model equations were integrated by high-order Godunov schemes for both the gas and particle phases. Adaptive Mesh Refinement (AMR) was used to capture the energy-bearing scales of the turbulent flow on the computational grid, and to track/resolve reaction zones. Numerical simulations of the explosion fields from 1.5-g and 10-kg composite charges were performed. Computed pressure histories (red curve) are compared with measured waveforms (black curves) in Fig. 1. Comparison of these results with a waveform for a non-combustion case in nitrogen (blue curve) demonstrates that a reactive blast wave was formed. Cross-sectional views of the temperature field at various times are presented in Fig. 2, which shows that the flow is turbulent. Initially, combustion occurs at the fuel-air interface, and the energy release rate is controlled by the rate of turbulent mixing. Eventually, oxidizer becomes distributed throughout the cloud via ballistic mixing of the particles with air; energy release then occurs in a distributed combustion mode, and Al particle kinetics controls the energy release rate. Details of the Heterogeneous Continuum Model and results of the numerical simulations of composite charge explosions will be described in the paper.

71 CLASSICAL AND QUANTUM MECHANICS, GENERAL PHYSIC↗

A Cartesian grid embedded boundary method for solving the Poisson and heat equations with discontinuous coefficients in three dimensions

We present a method for solving Poisson and heat equations with discon- tinuous coefficients in two- and three-dimensions. It uses a Cartesian cut-cell/embedded boundary method to represent the interface between materi- als, as described in Johansen& Colella (1998). Matching conditions across the interface are enforced using an approximation to fluxes at the boundary. Overall second order accuracy is achieved, as indicated by an array of tests using non-trivial interface geometries. Both the elliptic and heat solvers are shown to remain stable and efficient for material coefficient contrasts up to 106, thanks in part to the use of geometric multigrid. A test of accuracy when adaptive mesh refinement capabilities are utilized is also performed. An example problem relevant to nuclear reactor core simulation is presented, demonstrating the ability of the method to solve problems with realistic physical parameters.

22 GENERAL STUDIES OF NUCLEAR REACTORS↗

Recent Advances in VisIt: AMR Streamlines and Query-Driven Visualization

Adaptive Mesh Refinement (AMR) is a highly effective method for simulations spanning a large range of spatiotemporal scales such as those encountered in astrophysical simulations. Combining research in novel AMR visualization algorithms and basic infrastructure work, the Department of Energy's (DOEs) Science Discovery through Advanced Computing (SciDAC) Visualization and Analytics Center for Enabling Technologies (VACET) has extended VisIt, an open source visualization tool that can handle AMR data without converting it to alternate representations. This paper focuses on two recent advances in the development of VisIt. First, we have developed streamline computation methods that properly handle multi-domain data sets and utilize effectively multiple processors on parallel machines. Furthermore, we are working on streamline calculation methods that consider an AMR hierarchy and detect transitions from a lower resolution patch into a finer patch and improve interpolation at level boundaries. Second, we focus on visualization of large-scale particle data sets. By integrating the DOE Scientific Data Management (SDM) Center's FastBit indexing technology into VisIt, we are able to reduce particle counts effectively by thresholding and by loading only those particles from disk that satisfy the thresholding criteria. Furthermore, using FastBit it becomes possible to compute parallel coordinate views efficiently, thus facilitating interactive data exploration of massive particle data sets.

97 MATHEMATICS AND COMPUTING↗

Persistent Octrees for Parallel Mesh Refinement Through Non-Volatile Byte-Addressable Memory

We report that octree-based mesh adaptation has enabled simulations of complex physical phenomena. Existing meshing algorithms were proposed with the assumption that computer memory is volatile. Consequently, for failure recovery, the in-core algorithms need to save memory states as snapshots with slow file I/Os. The out-of-core algorithms store octants on disks for persistence. However, neither of them was designed to leverage unique characteristics of non-volatile byte-addressable memory (NVBM). In this paper, we propose a novel data structure Distributed Persistent Merged octree (DPM-octree) for both meshing and in-memory storage of persistent octrees using NVBM. It is a multi-version data structure and can recover from failures using its earlier persistent version stored in NVBM. In addition, we design a feature-directed sampling approach to help dynamically transform the DPM-octree layout for reducing NVBM-induced memory write latency. DPM-octree uses parity trees which are created using erasure coding and stored in NVBM to support low-latency in-memory octant recovery after data loss. DPM-octree has been successfully integrated with Gerris software for simulation of fluid dynamics. Finally, our experimental results with real-world scientific workloads show that DPM-octree scales up to 1.1 billion mesh elements with 1000 processors on the Titan supercomputer.

97 MATHEMATICS AND COMPUTING↗