Search NASA⌕ Search

SEARCH · Search NASA

Results for “simulation codes”

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,639 records · Page 91

Exact self-similar solutions for the magnetized Noh Z pinch problem

A self-similar solution is derived for a radially imploding cylindrical plasma with an embedded, azimuthal magnetic field. The plasma stagnates through a strong, outward propagating shock wave of constant velocity. This analysis is an extension of the classic Noh gasdynamics problem to its ideal magnetohydrodynamics (MHD) counterpart. The present exact solution is especially suitable as a test for MHD codes designed to simulate linear Z pinches. To demonstrate the application of the new solution to code verification, simulation results from the cylindrical R-Z version of Mach2 and the 3D Cartesian code Athena are compared against the analytic solution. Alternative routines from the default ones in Athena lead to significant improvement of the results, thereby demonstrating the utility of the self-similar solution for verification.

70 PLASMA PHYSICS AND FUSION TECHNOLOGY↗

Hybrid Electro-Mechanical Simulation Tool for Wind Turbine Generators: Preprint

This paper describes the use of MATLAB/Simulink to simulate the electrical and grid-related aspects of a WTG and the FAST aero-elastic wind turbine code to simulate the aerodynamic and mechanical aspects of the WTG. The combination of the two enables studies involving both electrical and mechanical aspects of the WTG.

17 WIND ENERGY↗

Natural Circulation Patterns in the VHTR Air-Ingress Accident and Related Issues

Natural circulation patterns in the VHTR during a hypothetical air-ingress accident have been investigated using computational fluid dynamic (CFD) methods in order to compare results from the previous 1-D model which was developed using GAMMA code for the air-ingress analyses. The GT-MHR 600 MWt reactor was selected to be the reference design and modeled by a half symmetric 3-D geometry using FLUENT 6.3, a commercial CFD code. CFD simulations were carried out as the steady-state calculation, and the boundary conditions were either assumed or provided from the 1-D GAMMA code results. Totally, 12 different cases have been reviewed, and many notable results have been obtained through in this work. According to the simulations, natural circulation patterns in the reactor were quite different from the previous 1-D assumptions. A large re-circulation flow with thermal stratification phenomena was clearly observed in the hot-leg and the lower plenum in the 3-D model. This re-circulation flow provided about an order faster air-ingress speed (0.46 m/s in superficial velocity) than previously predicted by 1-D modeling (0.02~0.03 m/s). It indicates that the 1-D air-ingress modeling may significantly distort the air-ingress scenario and consequences. In addition, complicated natural circulation patterns are eventually expected to result in very complex graphite oxidations and corrosion behaviors.

11 NUCLEAR FUEL CYCLE AND FUEL MATERIALS↗

NUMERICAL SIMULATIONS OF A ROTATING RED GIANT STAR. I. THREE-DIMENSIONAL MODELS OF TURBULENT CONVECTION AND ASSOCIATED MEAN FLOWS

With the development of one-dimensional stellar evolution codes including rotation and the increasing number of observational data for stars of various evolutionary stages, it becomes more and more possible to follow the evolution of the rotation profile and angular momentum distribution in stars. In this context, understanding the interplay between rotation and convection in the very extended envelopes of giant stars is very important considering that all low- and intermediate-mass stars become red giants after the central hydrogen burning phase. In this paper, we analyze the interplay between rotation and convection in the envelope of red giant stars using three-dimensional numerical experiments. We make use of the Anelastic Spherical Harmonics code to simulate the inner 50% of the envelope of a low-mass star on the red giant branch. We discuss the organization and dynamics of convection, and put a special emphasis on the distribution of angular momentum in such a rotating extended envelope. To do so, we explore two directions of the parameter space, namely, the bulk rotation rate and the Reynolds number with a series of four simulations. We find that turbulent convection in red giant stars is dynamically rich, and that it is particularly sensitive to the rotation rate of the star. Reynolds stresses and meridional circulation establish various differential rotation profiles (either cylindrical or shellular) depending on the convective Rossby number of the simulations, but they all agree that the radial shear is large. Temperature fluctuations are found to be large and in the slowly rotating cases, a dominant l = 1 temperature dipole influences the convective motions. Both baroclinic effects and turbulent advection are strong in all cases and mostly oppose one another.

79 ASTRONOMY AND ASTROPHYSICS↗

SIMULATING ASTEROID RUBBLE PILES WITH A SELF-GRAVITATING SOFT-SPHERE DISTINCT ELEMENT METHOD MODEL

This paper applies a soft-sphere distinct element method Granular Dynamics code to simulate asteroid regolith and rubble piles. Applications to regolith studies in low gravity are also studied. Then an algorithm to calculate self-gravity is derived and incorporated for full-scale simulations of rubble-pile asteroids using Granular Dynamics techniques. To test its validity, the algorithm's results are compared with the exact direct calculation of the gravitational forces. Further avenues to improve the performance of the algorithm are also discussed.

79 ASTRONOMY AND ASTROPHYSICS↗

Multi-GPU porting of a phase-change cascaded lattice Boltzmann method for three-dimensional pool boiling simulations

The Lattice Boltzmann method (LBM) has proven effective in simulating phase-change phenomena, such as melting, solidification, evaporation, and boiling. In this work, we develop a highly parallelized multi-GPU implementation of LBM for three-dimensional pool boiling simulations. The code is based on the OpenACC programming model, which enables the code to be deployed efficiently on multi-core CPUs, GPUs, and potentially other accelerators, without the need for architecture-specific rewrites. To support large-scale simulations, the domain is decomposed and distributed across multiple compute nodes using MPI. We demonstrate that the code exhibits excellent scaling properties, with ideal strong-scaling running with up to 256 GPUs on the MareNostrum5 cluster.

97 MATHEMATICS AND COMPUTING↗

CMS Full Simulation for Run 3

We report the status of the CMS full simulation for Run 3. During the long shutdown of the LHC a significant update has been introduced to the CMS code for simulation. The CMS geometry description is reviewed. Several important modifications were needed. CMS detector description software is migrated to the DD4Hep community developed tool. We will report on our experience obtained during the process of this migration. Geant4 10.7 is the CMS choice for Run 3 simulation productions. We will discuss arguments for this choice, the strategy of adaptation of a new Geant4 version, and will report on the physics performance of the CMS simulation. A special Geant4 Physics List configuration FTFP_BERT_EMM will be described, which provides a compromise between simulation accuracy and CPU performance. A significant fraction of time for simulation of CMS events is spent on tracking of charged particles in a magnetic field. In the CMS simulation a dynamic choice of Geant4 parameters for tracking in field is implemented. A new method is introduced into simulation of electromagnetic components of hadronic showers in the electromagnetic calorimeter of CMS. For low-energy electrons and positrons a parametrization of GFlash type is applied. Results of tests of this method will be discussed. In summary, we expect about 25% speedup of the CMS simulation production for Run 3 compared to the Run 2 simulations.

72 PHYSICS OF ELEMENTARY PARTICLES AND FIELDS↗

First step toward a synthetic diagnostic for magnetic fluctuation measurements using cross-polarization scattering on DIII-D

Cross-polarization scattering (CPS) provides localized magnetic fluctuation ($\tilde{B}$) measurements in fusion plasmas based on the process where $\tilde{B}$ scatters electromagnetic radiation into the orthogonal polarization. The CPS system on DIII-D utilizes the probe beam of a Doppler backscattering (DBS) diagnostic combined with a cross-view CPS receiver system, which allows simultaneous density and $\tilde{B}$ measurements with good spatial and wavenumber coverage. The interpretation of the signals is challenging due to the complex plasma propagation of the DBS probe beam and CPS receive beams. A synthetic diagnostic for CPS is therefore essential to interpret data and perform detailed validation tests of non-linear turbulence simulations. This work reports a first step toward a synthetic diagnostic for CPS utilizing GENRAY, a 3-D ray tracing code, to simulate the propagation of the probe and scattered rays. The local $\tilde{B}$ wavenumber is calculated from the local O- and X-mode wavenumbers using the wave vector matching scattering condition. The CPS wavenumber values and spatial locations are determined by a complex consideration that includes the local density and $\tilde{B}$ level, receive antenna pattern and orientation, scattering volume, wavenumber values detected at the various scattering centers, and alignment of the magnetic wave vector with the plane perpendicular to the magnetic field. The issue of a spurious CPS signal due to polarization mismatches for launch and receive is also discussed. It is suggested that simultaneous O- and X-mode DBS measurements should be utilized for better understanding of the CPS signal contamination when the cutoff locations for both polarizations are close.

71 CLASSICAL AND QUANTUM MECHANICS, GENERAL PHYSIC↗

RAY-RAMSES: a code for ray tracing on the fly in N-body simulations

We present a ray tracing code to compute integrated cosmological observables on the fly in AMR N-body simulations. Unlike conventional ray tracing techniques, our code takes full advantage of the time and spatial resolution attained by the N-body simulation by computing the integrals along the line of sight on a cell-by-cell basis through the AMR simulation grid. Moroever, since it runs on the fly in the N-body run, our code can produce maps of the desired observables without storing large (or any) amounts of data for post-processing. We implemented our routines in the RAMSES N-body code and tested the implementation using an example of weak lensing simulation. We analyse basic statistics of lensing convergence maps and find good agreement with semi-analytical methods. The ray tracing methodology presented here can be used in several cosmological analysis such as Sunyaev-Zel'dovich and integrated Sachs-Wolfe effect studies as well as modified gravity. Our code can also be used in cross-checks of the more conventional methods, which can be important in tests of theory systematics in preparation for upcoming large scale structure surveys.

79 ASTRONOMY AND ASTROPHYSICS↗

Nonlinear kinetic description of Raman growth using an envelope code, and comparisons with Vlasov simulations

In this paper, we present our nonlinear kinetic modeling of stimulated Raman scattering in a uniform and collisionless plasma using envelope equations. We recall the derivation of these equations, as well as our theoretical predictions for each of the nonlinear kinetic terms, the precision of which having been carefully checked against Vlasov simulations. We particularly focus here on the numerical resolution of these equations, which requires the additional concept of ''self-optimization'' that we explain, and we describe the envelope code BRAMA that we used. As an application of our modeling, we present one-dimensional BRAMA simulations of stimulated Raman scattering which predict threshold intensities, as well as time scales for Raman growth above threshold, in very good agreement with those inferred from Vlasov simulations. Finally, we discuss the differences between our modeling and other published ones.

70 PLASMA PHYSICS AND FUSION TECHNOLOGY↗

C HIMERA : A Massively Parallel Code for Core-collapse Supernova Simulations

Herein we provide a detailed description of the C HIMERA code, a code developed to model core collapse supernovae (CCSNe) in multiple spatial dimensions. The CCSN explosion mechanism remains the subject of intense research. Progress to date demonstrates that it involves a complex interplay of neutrino production, transport, and interaction in the stellar core, three-dimensional stellar core fluid dynamics and its associated instabilities, nuclear burning, and the fundamental physics of the neutrino–stellar core weak interactions and the equations of state of all stellar core constituents—particularly, the nuclear equation of state associated with core nucleons, both free and bound in nuclei. C HIMERA , by incorporating detailed neutrino transport, realistic neutrino–matter interactions, three-dimensional hydrodynamics, realistic nuclear, leptonic, and photonic equations of state, and a nuclear reaction network, along with other refinements, can be used to study the role of neutrino radiation, hydrodynamic instabilities, and a variety of input physics in the explosion mechanism itself. It can also be used to compute observables such as neutrino signatures, gravitational radiation, and the products of nucleosynthesis associated with CCSNe. The code contains modules for neutrino transport, multidimensional compressible hydrodynamics, nuclear reactions, a variety of neutrino interactions, equations of state, and modules to provide data for post-processing observables such as the products of nucleosynthesis, and gravitational radiation. C HIMERA is an evolving code, being updated periodically with improved input physics and numerical refinements. We detail here the current version of the code, from which future improvements will stem, which can in turn be described as needed in future publications.

79 ASTRONOMY AND ASTROPHYSICS↗

RADIAL STELLAR PULSATION AND THREE-DIMENSIONAL CONVECTION. II. TWO-DIMENSIONAL CONVECTION IN FULL AMPLITUDE RADIAL PULSATION

We have developed a three-dimensional radiation hydrodynamics code to simulate the interaction of convection and radial pulsation in classical variable stars. One key goal is the ability to carry these simulations to full amplitude in order to compare them with observed light curves. Previous multi-dimensional calculations were prevented from reaching full amplitude because of drift in the radial coordinate system, due to the algorithm defining radial movement of the coordinate system during the pulsation cycle. We have removed this difficulty by defining our radial coordinate flow algorithm to require that the mass in a spherical shell remain constant for every time step throughout the pulsation cycle. We have used our new code to perform two-dimensional (2D) simulations of the interaction of radial pulsation and convection. We have made comparisons between light curves from our 2D convective simulations with observed light curves and find that our 2D simulated light curves are better able to match the observed light curve shape near the red edge of the RR Lyrae instability strip than light curves from previous one-dimensional time-dependent convective models.

79 ASTRONOMY AND ASTROPHYSICS↗

Sensitivity Analysis of Cf-252 (sf) Neutron and Gamma Observables in CGMF

CGMF is a Monte Carlo code that simulates the decay of primary fission fragments by emission of neutrons and gamma rays, according to the Hauser-Feshbach equations. As the CGMF code was recently integrated into the MCNP6.2 transport code, great emphasis has been placed on providing optimal parameters to CGMF such that many different observables are accurately represented. Of these observables, the prompt neutron spectrum, prompt neutron multiplicity, prompt gamma spectrum, and prompt gamma multiplicity are crucial for accurate transport simulations of criticality and nonproliferation applications. This contribution to the ongoing efforts to improve CGMF presents a study of the sensitivity of various neutron and gamma observables to several input parameters for Californium-252 spontaneous fission. Among the most influential parameters are those that affect the input yield distributions in fragment mass and total kinetic energy (TKE). A new scheme for representing Y(A,TKE) was implemented in CGMF using three fission modes, S1, S2 and SL. The sensitivity profiles were calculated for 17 total parameters, which show that the neutron multiplicity distribution is strongly affected by the TKE distribution of the fragments. The total excitation energy (TXE) of the fragments is shared according to a parameter RT, which is defined as the ratio of the light to heavy initial temperatures. The sensitivity profile of the neutron multiplicity shows a second order effect of RT on the mean neutron multiplicity. A final sensitivity profile was produced for the parameter alpha, which affects the spin of the fragments. Higher values of alpha lead to higher fragment spins, which inhibit the emission of neutrons. Understanding the sensitivity of the prompt neutron and gamma observables to the many CGMF input parameters provides a platform for the optimization of these parameters.

73 NUCLEAR PHYSICS AND RADIATION PHYSICS↗

The magnetic furnace: intense core dynamos in B stars

The dynamo action achieved in the convective cores of main-sequence massive stars is explored here through three-dimensional (3D) global simulations of convective core dynamos operating within a young 10 M{sub ⊙} B-type star, using the anelastic spherical harmonic code. These simulations capture the inner 65% of this star by radius, encompassing the convective nuclear-burning core (about 23% by radius) and a portion of the overlying radiative envelope. Eight rotation rates are considered, ranging from 0.05% to 16% of the surface breakup velocity, thereby capturing both convection that barely senses the effects of rotation and other situations in which the Coriolis forces are prominent. The vigorous dynamo action realized within all of these turbulent convective cores builds magnetic fields with peak strengths exceeding a megagauss, with the overall magnetic energy (ME) in the faster rotators reaching super-equipartition levels compared to the convective kinetic energy (KE). The core convection typically involves turbulent columnar velocity structures roughly aligned with the rotation axis, with magnetic fields threading through these rolls and possessing complex linkages throughout the core. The very strong fields are able to coexist with the flows without quenching them through Lorentz forces. The velocity and magnetic fields achieve such a state by being nearly co-aligned, and with peak magnetic islands being somewhat displaced from the fastest flows as the intricate evolution proceeds. As the rotation rate is increased, the primary force balance shifts from nonlinear advection balancing Lorentz forces to a magnetostrophic balance between Coriolis and Lorentz forces.

79 ASTRONOMY AND ASTROPHYSICS↗

Data and code for: "Soil respiration response to simulated precipitation change depends on ecosystem type and study duration"

Data, code, and figures from our meta-analysis of the effect of precipitation change on soil respiration, with an emphasis on ecosystem variability and the effect of study duration. We combined the results of 81 separate studies to determine the effect of altered rainfall on the amount of carbon that leaves soil in the form of carbon dioxide, a major component of global carbon cycling. In addition we looked at how long the changes lasted, and how different soil properties and the intensity of precipitation changes affected the study results. We found that more precipitation resulted in greater amounts of carbon dioxide leaving the soil, and less precipitation resulted in less. However, the changes weakened over time in ecosystems that typically receive plenty of rainfall (e.g., forests), in contrast to ecosystems that typically receive little rainfall (e.g., deserts) where changes strengthened over time. Changes in the amount of carbon dioxide that left the soil were also affected by the amount of carbon in the soil, which impacts how much water soil can hold.

54 ENVIRONMENTAL SCIENCES↗

Effects of Model Uncertainties in Underground Chemical Explosions on Far-field Results

We used the CTH shock physics code to simulate the explosion of an 18-t chemical explosive at a depth of 250 m. We used the CTH in the two-dimensional axisymmetric (cylindrical) geometry (2DC) and most simulations included fully tamped explosions in wet tuff. Our study focused on parametric studies of three of the traditional strength models available in CTH, namely, geologic-yield, elastic perfectly-plastic von Mises, and Johnson-Cook strength (flow stress) models. We processed CTH results through a code that generates Reduced Displacement Potential (RDP) histories for each simulation. Since RDP is the solution of the linear wave equation in spherical coordinates, it is mainly valid at far-enough distance from the explosion the elastic radius. Among various parameters examined, we found the yield strength to have the greatest effect on the resulting RDP, where the peak RDP reduces almost linearly in log-log space as the yield strength increases. Moreover, an underground chemical explosion results in a cavity whose final diameter is inversely proportional to the material yield strength, i.e., as the material's yield strength increases the resulting final cavity radius decreases. Additionally, we found the choice of explosive material (COMP-C4 versus COMP-B) has minor effects on the peak RDP, where denser COMP-C4 shows higher peak RDP than the less dense COMP-B by a factor of ~1.1. In addition to wet tuff, we studied explosions in dry tuff, salt, and basalt, for a single strength model and yield strength value. We found wet tuff has the highest peak RDP value, followed by dry tuff, salt, and basalt. 2DC simulations of explosions in 11 m radius spherical, hemispherical, and cylindrical cavities showed the RDP signals have much lower magnitude than tamped explosions, where the cavity explosions mimicked nearly decoupled explosions.

45 MILITARY TECHNOLOGY, WEAPONRY, AND NATIONAL DEF↗

DTK C/Fortran Interface Development for NEAMS FSI Simulations

This report documents the development of DataTransferKit (DTK) C and Fortran interfaces for fluid-structure-interaction (FSI) simulations in NEAMS. In these simulations, the codes Nek5000 and Diablo are being coupled within the SHARP framework to study flow-induced vibration (FIV) in reactor steam generators. We will review the current Nek5000/Diablo coupling algorithm in SHARP and the current state of the solution transfer scheme used in this implementation. We will then present existing DTK algorithms which may be used instead to provide an improvement in both flexibility and scalability of the current SHARP implementation. We will show how these can be used within the current FSI scheme using a new set of interfaces to the algorithms developed by this work. These new interfaces currently expose the mesh-free solution transfer algorithms in DTK, a C++ library, and are written in C and Fortran to enable coupling of both Nek5000 and Diablo in their native Fortran language. They have been compiled and tested on Cooley, the test-bed machine for Mira at ALCF.

21 SPECIFIC NUCLEAR REACTORS AND ASSOCIATED PLANTS↗

TRANSP-based optimization towards tokamak scenario development

An optimization approach that incorporates the predictive transport code TRANSP is proposed for tokamak scenario development. Optimization methods are often employed to develop open-loop control strategies to aid access to high performance tokamak scenarios. Generally, the optimization approaches use control-oriented models, i.e. models that are reduced in complexity and prediction accuracy as compared to physics-oriented transport codes such as TRANSP. In the presented approach, an optimization procedure using the TRANSP code to simulate the tokamak plasma is considered for improved predictive capabilities. As a test case, the neutral beam injection (NBI) power is optimized to develop a control strategy that maximizes the noninductive current fraction during the ramp-up phase for NSTX-U. Simulation studies towards the achievement of noninductive ramp-up in NSTX-U have already been carried out with the TRANSP code. The optimization-based approach presented in this work is used to maximize the noninductive current fraction during ramp-up in NSTX-U, demonstrating that the scenario development task can be automated. An additional test case considers optimization of the current ramp rate in DIII-D for obtaining a stationary plasma characterized by a flat loop voltage profile in the flattop phase.

70 PLASMA PHYSICS AND FUSION TECHNOLOGY↗