We describe the AMReX suite of astrophysics codes and their application to modeling problems in stellar astrophysics. Maestro is tuned to efficiently model subsonic convective flows while Castro models the highly compressible flows associated with stellar explosions. Both are built on the block-structured adaptive mesh refinement library AMReX. Together, these codes enable a thorough investigation of stellar phenomena, including Type Ia supernovae and X-ray bursts. We describe these science applications and the approach we are taking to make these codes performant on current and future many-core and GPU-based architectures.
We investigate the explosion-induced ignition and combustion of an acetylene cloud in a rectangular chamber (\(10\,\hbox {cm}\times 10\,\hbox {cm} \times 39\,\hbox {cm}\)). In the experiments, a 0.2-g PETN charge was located at \(x = 9.7\,\hbox {cm}\) and a soap bubble (\(d = 5\,\hbox {cm}\)) filled with pure acetylene was located at \(x= 27\,\hbox {cm}\) as measured relative to the end wall. Detonation of the charge created a blast wave that crushed the soap bubble—inducing mixing with the air. After 0.55 ms, the mixture ignited, forming at turbulent combustion cloud. The flow was modeled using the compressible Navier–Stokes equations assuming unity Lewis number. Arrhenius-based kinetics were used to model ignition. Adaptive mesh refinement was used to capture turbulent mixing on the grid (the MILES approach of J. Boris). Computed pressures were found to be in agreement with measured pressure histories. Finite-rate kinetics were required to capture the ignition processes over the duration of the experiment.
In the past, we have studied turbulent combustion effects in both confined [1,2] and unconfined [3] explosions. And we have proposed gasdynamic models [4] and heterogeneous continuum models [5] for the turbulent combustion fields. More recently we have proposed an induction-time model [6] for the ignition of Al particle clouds. It is based on Arrhenius fits to the shock tube data of Boiko [7,8]. This paper explores “scaling issues” associated with Al particle combustion in explosions. The research idea is the following:
This study explores the properties of spherical combustion clouds in explosions. Two cases are investigated: (1) detonation of a TNT charge and combustion of its detonation products with air, and (2) shock dispersion of aluminum powder and its combustion with air. The evolution of the blast wave and ensuing combustion cloud dynamics are studied via numerical simulations with our adaptive mesh refinement combustion code. The code solves the multi-phase conservation laws for a dilute heterogeneous continuum as formulated by Nigmatulin. Single-phase combustion (e.g., TNT with air) is modeled in the fast-chemistry limit. Two-phase combustion (e.g., Al powder with air) uses an induction time model based on Arrhenius fits to Boiko’s shock tube data, along with an ignition temperature criterion based on fits to Gurevich’s data, and an ignition probability model that accounts for multi-particle effects on cloud ignition. Equations of state are based on polynomial fits to thermodynamic calculations with the Cheetah code, assuming frozen reactants and equilibrium products. Adaptive mesh refinement is used to resolve thin reaction zones and capture the energy-bearing scales of turbulence on the computational mesh (ILES approach). Taking advantage of the symmetry of the problem, azimuthal averaging was used to extract the mean and rms fluctuations from the numerical solution, including: thermodynamic profiles, kinematic profiles, and reaction-zone profiles across the combustion cloud. Fuel consumption was limited to \(\sim \)60–70 %, due to the limited amount of air a spherical combustion cloud can entrain before the turbulent velocity field decays away. Turbulent kinetic energy spectra of the solution were found to have both rotational and dilatational components, due to compressibility effects. The dilatational component was typically about 1 % of the rotational component; both seemed to preserve their spectra as they decayed. Kinetic energy of the blast wave decayed due to the pressure field. Turbulent kinetic energy of the combustion cloud decayed due to enstrophy \(\overline{\omega ^{2}} \) and dilatation \(\overline{\Delta ^{2}} \).
An empirical model for the ignition of aluminum particle clouds is developed and applied to the study of particle ignition and combustion behavior resulting from explosive blast waves. This model incorporates both particle ignition time delay as well as cloud concentration effects on ignition. The total mass of aluminum that burns is found to depend on the model, with shorter ignition delay times resulting in increased burning of the cloud. After the Al particles ignite, a competition for oxidizer between the booster detonation products and Al ensues. A new mass-averaged ignition parameter is defined and is observed to serve as a useful parameter to compare cloud ignition behavior. Investigation of this variable reveals that both peak ignition as well as the time required to attain peak ignition, are sensitive to the model parameters. The peak degree of dissociation in the fireball is about 19 % and the associated energy can play a significant role on the dynamics of the problem. The peak degree of ionization is about 2.9 % and the energy associated with this is much lower than the other controlling factors. Overall, this study demonstrates that the new ignition model developed captures effects not included in other combustion models for the investigation of shock-induced ignition of aluminum particle clouds.
A model is proposed to simulate turbulent combustion in confined TNT explosions. It is based on: (i) the multi-component gasdynamic conservation laws, (ii) a fast-chemistry model for TNT–air combustion, (iii) a thermodynamic model for frozen reactants and equilibrium products, (iv) a high-order Godunov scheme providing a non-diffusive solution of the governing equations, and (v) an ILES approach whereby adaptive mesh refinement is used to capture the energy-bearing scales of the turbulence on the grid. Three-dimensional numerical simulations of explosion fields from 1.5-g PETN/TNT charges were performed. Explosions in six different chambers were studied: three calorimeters (volumes of 6.6-L, 21.2-L and 40.5-L with L/D = 1), and three tunnels (L/D = 3.8, 4.65 and 12.5 with volumes of 6.3-L)—to investigate the influence of chamber volume and geometry on the combustion process. Predicted pressures histories were quite similar to measured pressure histories for all cases studied. Experimentally, mass-fraction of products, YPexp, reached a peak value of 88% at an excess air ratio of twice stoichiometric, and then decayed with increasing air dilution; mass-fractions YPcalc computed from the numerical simulations followed similar trends. Based on this agreement, we conclude that the dominant effect that controls the rate of TNT combustion with air is the turbulent mixing rate; the ILES approach along with the fast-chemistry model used here adequately captures this effect.
We present a new code, CASTRO, that solves the multicomponent compressible hydrodynamic equations for astrophysical flows including self-gravity, nuclear reactions, and radiation. CASTRO uses an Eulerian grid and incorporates adaptive mesh refinement (AMR). Our approach to AMR uses a nested hierarchy of logically rectangular grids with simultaneous refinement in both space and time. The radiation component of CASTRO will be described in detail in the next paper, Part II, of this series.
A heterogeneous continuum model is proposed to describe the dispersion and combustion of an aluminum particle cloud in an explosion. It combines gasdynamic conservation laws for the gas phase with a continuum model for the dispersed phase, as formulated by Nigmatulin. Interphase mass, momentum, and energy exchange are prescribed by the phenomenological model of Khasainov. It incorporates a combustion model based on mass conservation laws for fuel, air, and products. The 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 are integrated by high-order Godunov schemes for both the gas and particle phases. Numerical simulations of the explosion fields from 1.5-g shock-dispersed-fuel charges in 3 different chambers are performed. Computed pressure histories are similar to measured waveforms when the ignition temperature model is employed. The predicted product production is 10–14% greater than that measured in the experiments. This fact can be ascribed to unsteady ignition effects not included in the modeling.
One strategy for reducing US dependence on petroleum is to develop new combustion technologies for burning the fuel-lean mixtures of hydrogen or hydrogen-rich syngas fuels obtained from the gasification of coal and biomass. Fuel-flexible combustion systems based on lean premixed combustion have the potential for dramatically reducing pollutant emissions in transportation systems, heat and stationary power generation. However, lean premixed flames are highly susceptible to fluid-dynamical combustion instabilities making robust and reliable systems difficult to design. Low swirl burners are emerging as an important technology for meeting design requirements in terms of both reliability and emissions for next generation combustion devices. In this paper, we present simulations of a lean, premixed hydrogen flame stabilized on a laboratory-scale low swirl burner. The simulations use detailed chemistry and transport without incorporating explicit models for turbulence or turbulence/chemistry interaction. Here we discuss the overall structure of the flame and compare with experimental data. We also use the simulation data to elucidate the characteristics of the turbulent flame interaction and how this impacts the analysis of experimental measurements.
Adaptive Mesh Refinement (AMR) is a highly effective computation method for simulations that span a large range of spatiotemporal scales, such as astrophysical simulations, which must accommodate ranges from interstellar to sub-planetary. Most mainstream visualization tools still lack support for AMR grids as a first class data type and AMR code teams use custom built applications for AMR visualization. The Department of Energy's (DOE's) Science Discovery through Advanced Computing (SciDAC) Visualization and Analytics Center for Enabling Technologies (VACET) is currently working on extending VisIt, which is an open source visualization tool that accommodates AMR as a first-class data type. These efforts will bridge the gap between general-purpose visualization applications and highly specialized AMR visual analysis applications. Here, we give an overview of the state of the art in AMR scalar data visualization research.
We consider the energy accumulation in meta-stable clusters. This energy can be much larger than the typical chemical bond energy (~;;1 ev/atom). For example, polymeric nitrogen can accumulate 4 ev/atom in the N8 (fcc) structure, while helium can accumulate 9 ev/atom in the excited triplet state He2* . They release their energy by cluster fission: N8 -> 4N2 and He2* -> 2He. We study the locus of states in thermodynamic state space for the detonation of such meta-stable clusters. In particular, the equilibrium isentrope, starting at the Chapman-Jouguet state, and expanding down to 1 atmosphere was calculated with the Cheetah code. Large detonation pressures (3 and 16 Mbar), temperatures (12 and 34 kilo-K) and velocities (20 and 43 km/s) are a consequence of the large heats of detonation (6.6 and 50 kilo-cal/g) for nitrogen and helium clusters respectively. If such meta-stable clusters could be synthesized, they offer the potential for large increases in the energy density of materials.