Search NASA⌕ Search

SEARCH · Search NASA

Results for “Code Cases”

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 325 records · Page 18

Adaptive grid embedding for the two-dimensional flux-split Euler equations

A numerical algorithm is presented for solving the 2-D flux-split Euler equations using a multigrid method with adaptive grid embedding. The method uses an unstructured data set along with a system of pointers for communication on the irregularly shaped grid topologies. An explicit two-stage time advancement scheme is implemented. A multigrid algorithm is used to provide grid level communication and to accelerate the convergence of the solution to steady state. Results are presented for a subcritical airfoil and a transonic airfoil with 3 levels of adaptation. Comparisons are made with a structured upwind Euler code which uses the same flux integration techniques of the present algorithm. Good agreement is obtained with converged surface pressure coefficients. The lift coefficients of the adaptive code are within 2 1/2 percent of the structured code for the sub-critical case and within 4 1/2 percent of the structured code for the transonic case using approximately one-third the number of grid points.

Warren, Gary Patrick↗

A SQL to C compiler in 500 lines of code

Abstract We present the design and implementation of a SQL query processor that outperforms existing database systems and is written in just about 500 lines of Scala code – a convincing case study that high-level functional programming can handily beat C for systems-level programming where the last drop of performance matters. The key enabler is a shift in perspective toward generative programming. The core of the query engine is an interpreter for relational-algebra operations, written in Scala. Using the open-source lightweight modular staging framework, we turn this interpreter into a query compiler with very low effort. To do so, we capitalize on an old and widely known result from partial evaluation: the first Futamura projection, which states that a process that can specialize an interpreter to any given input program is equivalent to a compiler. In this context, we discuss lightweight modular staging programming patterns such as mixed-stage data structures (e.g., data records with static schema and dynamic field components) and techniques to generate low-level C code, including specialized data structures and data loading primitives.

Computer Science↗

Potential of pin-by-pin SPN calculations as an industrial reference

This paper aims at analysing the potential of pin-by-pin SP{sub n} calculations to compute the neutronic flux in PWR cores as an alternative to the diffusion approximation. As far as pin-by-pin calculations are concerned, a SPH equivalence is used to preserve the reactions rates. The use of SPH equivalence is a common practice in core diffusion calculations. In this paper, a methodology to generalize the equivalence procedure in the SP{sub n} equations context is presented. In order to verify and validate the equivalence procedure, SP{sub n} calculations are compared to 2D transport reference results obtained with the APOLL02 code. The validation cases consist in 3x3 analytical assembly color sets involving burn-up heterogeneities, UOX/MOX interfaces, and control rods. Considering various energy discretizations (up to 26 groups) and flux development orders (up to 7) for the SP{sub n} equations, results show that 26-group SP{sub 3} calculations are very close to the transport reference (with pin production rates discrepancies < 1%). This proves the high interest of pin-by-pin SP{sub n} calculations as an industrial reference when relying on 26 energy groups combined with SP{sub 3} flux development order. Additionally, the SP{sub n} results are compared to diffusion pin-by-pin calculations, in order to evaluate the potential benefit of using a SP{sub n} solver as an alternative to diffusion. Discrepancies on pin-production rates are less than 1.6% for 6-group SP{sub 3} calculations against 3.2% for 2-group diffusion calculations. This shows that SP{sub n} solvers may be considered as an alternative to multigroup diffusion. (authors)

22 GENERAL STUDIES OF NUCLEAR REACTORS↗

An analytical thermohydraulic model for discretely fractured geothermal reservoirs

In discretely fractured reservoirs such as those found in Enhanced/Engineered Geothermal Systems (EGS), knowledge of the fracture network is important in understanding the thermal hydraulics, i.e., how the fluid flows and the resulting temporal evolution of the subsurface temperature. Here, the purpose of this study was to develop an analytical model of the fluid flow and heat transport in a discretely fractured network that can be used for a wide range of modeling applications and serve as an alternative analysis tool to more computationally intensive numerical codes. Given the connectivity and structure of a fracture network, the flow in the system was solved using a linear system of algebraic equations for the pressure at the nodes of the network. With the flow determined, the temperature in the fracture was solved by coupling convective heat transport in the fracture with one-dimensional heat conduction perpendicular to the fracture, employing the Green’s function derived solution for a single discrete fracture. The predicted temperatures along the fracture surfaces from the analytical solution were compared to numerical simulations using the TOUGH2 reservoir code. Through two case studies, we showed the capabilities of the analytical model and explored the effect of uncertainty in the fracture apertures and network structure on thermal performance. While both sources of uncertainty independently produce large variations in production temperature, uncertainty in the network structure, whenever present, had a predominant influence on thermal performance.

58 GEOSCIENCES↗

Use of Stereotactic Radiosurgery for Brain Metastases From Non-Small Cell Lung Cancer in the United States

Purpose: The indications for treatment of brain metastases from non-small cell lung cancer (NSCLC) with stereotactic radiosurgery (SRS) remain controversial. We studied patterns, predictors, and cost of SRS use in elderly patients with NSCLC. Methods and Materials: Using the Surveillance, Epidemiology, and End Results-Medicare (SEER-Medicare) database, we identified patients with NSCLC who were diagnosed with brain metastases between 2000 and 2007. Our cohort included patients treated with radiation therapy and not surgical resection as initial treatment for brain metastases. Results: We identified 7684 patients treated with radiation therapy within 2 months after brain metastases diagnosis, of whom 469 (6.1%) cases had billing codes for SRS. Annual SRS use increased from 3.0% in 2000 to 8.2% in 2005 and varied from 3.4% to 12.5% by specific SEER registry site. After controlling for clinical and sociodemographic characteristics, we found SRS use was significantly associated with increasing year of diagnosis, specific SEER registry, higher socioeconomic status, admission to a teaching hospital, no history of participation in low-income state buy-in programs (a proxy for Medicaid eligibility), no extracranial metastases, and longer intervals from NSCLC diagnosis. The average cost per patient associated with radiation therapy was 2.19 times greater for those who received SRS than for those who did not. Conclusions: The use of SRS in patients with metastatic NSCLC increased almost 3-fold from 2000 to 2005. In addition, we found significant variations in SRS use across SEER registries and socioeconomic quartiles. National practice patterns in this study suggested both a lack of consensus and an overall limited use of the approach among elderly patients before 2008.

62 RADIOLOGY AND NUCLEAR MEDICINE↗

Genomic analyses implicate noncoding de novo variants in congenital heart disease

A genetic etiology is identified for one-third of patients with congenital heart disease (CHD), with 8% of cases attributable to coding de novo variants (DNVs). To assess the contribution of noncoding DNVs to CHD, we compared genome sequences from 749 CHD probands and their parents with those from 1,611 unaffected trios. Neural network prediction of noncoding DNV transcriptional impact identified a burden of DNVs in individuals with CHD (n = 2,238 DNVs) compared to controls (n = 4,177; P = 8.7 × 10 -4 ). Independent analyses of enhancers showed an excess of DNVs in associated genes (27 genes versus 3.7 expected, P = 1 × 10 -5 ). We observed significant overlap between these transcription-based approaches (odds ratio (OR) = 2.5, 95% confidence interval (CI) 1.1-5.0, P = 5.4 × 10 -3 ). CHD DNVs altered transcription levels in 5 of 31 enhancers assayed. Finally, we observed a DNV burden in RNA-binding-protein regulatory sites (OR = 1.13, 95% CI 1.1-1.2, P = 8.8 × 10 -5 ). Overall, our findings demonstrate an enrichment of potentially disruptive regulatory noncoding DNVs in a fraction of CHD at least as high as that observed for damaging coding DNVs.

60 APPLIED LIFE SCIENCES↗

Microturbulence studies of pulsed poloidal current drive discharges in the reversed field pinch

Experimental discharges with pulsed poloidal current drive (PPCD) in the Madison Symmetric Torus reversed field pinch are investigated using a semi-analytic equilibrium model in the gyrokinetic turbulence code GENE. PPCD cases, with plasma currents of 500 kA and 200 kA, exhibit a density-gradient-driven trapped electron mode (TEM) and an ion temperature gradient mode, respectively. Relative to expectations of tokamak core plasmas, the critical gradients for the onset of these instabilities are found to be greater by roughly a factor of the aspect ratio. A significant upshift in the nonlinear TEM transport threshold, previously found for tokamaks, is confirmed in nonlinear reversed field pinch simulations and is roughly three times the threshold for linear instability. The simulated heat fluxes can be brought in agreement with measured diffusivities by introducing a small, resonant magnetic perturbation, thus modeling the residual fluctuations from tearing modes. These fluctuations significantly enhance transport.

70 PLASMA PHYSICS AND FUSION TECHNOLOGY↗

Investigating the Role of Accident Tolerant Cladding on Source Term Reduction for High-Burnup PWRs Using MELCOR

The use of accident tolerant fuel (ATF) cladding can increase coping times during and beyond design basis accidents. While such gains may be incremental, they provide a margin that can potentially be recovered to enable high-burnup (HBU) operation. Realizing such a margin requires demonstrating that the combination of HBU and ATF has not led to an overall increase in source term. This study investigates the influence of cladding technology (Zr-based, Cr-coated Zr, and FeCrAl) and fuel cycle length (18 and 24 months) on radiological dose at the boundary of the exclusion zone for a four-loop pressurized water reactor to investigate whether ATF claddings can provide such benefits. We analyze a recovered large break loss-of-coolant accident scenario to investigate the impact of transient timescale on the benefits of such coping time increases. The simulations have been performed using the MELCOR and MELCOR Accident Consequence Code System codes. For the cases analyzed, increased fuel cycle length did not necessarily increase radionuclide release and hydrogen generation, as these were found to be sensitive to the core power distribution. Similarly, off-site dose consequence is dominated by short-lived radionuclides that tend to saturate earlier in the burnup, so higher burnup operation did not necessarily increase the source term for the phenomena and transients analyzed here. Delays in recovery of the lowpressure safety injection system increase hydrogen production and radionuclide release, especially between 780 s and 1620 s, due to the nonlinear oxidation and core degradation behavior. Results show that Cr-coated Zr enhances safety by delaying heatup and gap release. Here, when uncertainty propagation on oxidation properties is considered, FeCrAl exhibits the lowest overall radionuclide release and off-site dose throughout the spectrum. However, while the considered “base model” performance is superior under delayed injection scenarios, upper-bound cases display hydrogen generation risk comparable to the Zr-based cladding.

Accident Tolerant Fuel↗

Measurement of maximum strain of steel beam structures based on average strains from vibrating wire strain gages

In structural health monitoring, the safety of steel beam structures can be assessed by comparing the measured maximum stress and the allowable stress of the beam calculated by a design code. For the case of a steel beam subjected to variable lateral loadings, many difficulties exist in measuring the maximum stress in a beam with point sensors that can measure the strain only at a local point of a beam since the location and magnitude of the maximum stress induced in a beam by the loading change. Although traditional strain sensors can measure the strain only at a local point, a vibrating wire strain gage (VWSG) that measures integrated strains over its gage length can consider the variation of strains due to variable loadings. This paper presents an estimation model to determine the maximum strains or stresses in a steel beam based on average strains measured using VWSGs. The model is derived by defining the relation between the average strains measured using VWSGs and the maximum strains of beams. The model is experimentally tested by comparing the maximum strain directly obtained from electrical strain gages and the estimated maximum strain based on the average strain from VWSGs.

42 ENGINEERING↗

Modification of the SAS4A Safety Analysis Code for Integration with the ADAPT Discrete Dynamic Event Tree Framework.

It is difficult to assess the consequences of a transient in a sodium-cooled fast reactor (SFR) using traditional probabilistic risk assessment (PRA) methods, as numerous safety-related sys- tems have passive characteristics. Often there is significant dependence on the value of con- tinuous stochastic parameters rather than binary success/failure determinations. One form of dynamic PRA uses a system simulator to represent the progression of a transient, tracking events through time in a discrete dynamic event tree (DDET). In order to function in a DDET environment, a simulator must have characteristics that make it amenable to changing physical parameters midway through the analysis. The SAS4A SFR system analysis code did not have these characteristics as received. This report describes the code modifications made to allow dynamic operation as well as the linking to a Sandia DDET driver code. A test case is briefly described to demonstrate the utility of the changes.

98 NUCLEAR DISARMAMENT, SAFEGUARDS, AND PHYSICAL P↗

Implementation of a feature selection algorithm in FARM to identify important state variables and time-invariant matrices

The FARM (Feasible Actuator Range Modifier) software module is a component of the RAVEN-based FORCE framework for analysis of Integrated Energy Systems (IES). FARM aids the HERON software module in the evaluation of the optimal dispatch for the different IES components. Set-point trajectories are required to meet limits on both production variables (i.e., the variables to be optimized such as the electrical power, the hydrogen production rate, etc.) and process variables tied to the service life of equipment (e.g., steam flowrate, vessel pressure, turbine firing temperature, etc.). To evaluate the feasibility of HERON generated set-points and to do so in an acceptable time, FARM employs reduced order models to represent the dynamic behavior of the systems to be dispatched. These surrogate models take the form of a linear dynamic system with sets of Linear Parameter Varying (LPV) matrices that are mapped to the system operating space. These matrices are derived from the trajectories of system state variables and system output variables during transients. The accuracy of LPV matrices depends on the selection of state variables. In previous reports, state variables were selected by adopting a complicated workflow requiring multiple software licenses and an advanced level of user expertise. In this report, a new workflow that automates the state variable selection process is presented. It significantly reduces the frequency of user interventions and does not require multiple software licenses. Each module in the new workflow is described in detail, and the input / output examples in each step of the workflow are provided. It was demonstrated that this workflow can greatly reduce the complexity of the state variable selection process, and that the updated FARM-Gamma and FARM-Delta validators can benefit from this workflow when solving the power dispatch problem of a representative IES test case. Finally, some code improvements that can further enhance the efficiency are suggested.

42 ENGINEERING↗

Final Report: DOE/ID/14215

The proposed straw separation system developed in the research project harvests the large internode sections of the straw which has the greater potential as a feedstock for lignocellulosic ethanol production while leaving the chaff and nodes in the field. This strategy ensures sustainable agriculture by preventing the depletion of soil minerals, and it restores organic matter to the soil in amounts and particle sizes that accommodate farmers’ needs to keep tillage and fertilizer costs low. A ton of these nutrient-rich plant tissues contains as much as $10.55 worth of fertilizer (economic and energy benefits), in terms of nitrogen, phosphorus, potassium, and other nutrients provided to the soil when incorporated by tillage instead of being burned. Biomass conversion to fermentable sugars for the purpose of producing fuels, chemicals, and other industrial products is well understood. Most bioenergy strategies rely on low-cost fermentable sugars for sustainability and economic viability in the marketplace. Exploitation of the “whole crop”—specifically, wheat straw or other plant material currently regarded as residue or waste—is a practical approach for obtaining a reliable and low-cost source of sugars. However, industrial-scale production of sugars from wheat straw, while technically feasible, is plagued by obstacles related to capital costs, energy consumption, waste streams, production logistics, and the quality of the biomass feedstock. Currently available separation options with combine harvesters are not able to achieve sufficient separation of the straw/stover and chaff streams to realize the full potential of selective harvest. Since ethanol yield is a function of feedstock structural carbohydrate content, biomass anatomical fractions of higher product yield can have a significant beneficial impact on minimum ethanol selling price. To address this advanced biomass separation computation engineering models were developed to more effectively and efficiently engineer high-fidelity and high throughput separation systems for biomass components. INL and Iowa State University developed a computational modeling strategy for simulating multi-phase flow with an integrated solver using various computational fluid dynamics (CFD) codes. ISU set up a classic multi-phase test problem to be solved by the various CFD codes. The benchmark case was based on experimental data for bubble gas holdup and bed expansion for a gas/solid fluidized bed. Preliminary fluidization experiments identified some unexpected fluidization behavior, where rather than the bed uniformly fluidizing, a “blow out” would occur where a hole would open up in the bed through which the air would preferentially flow, resulting in erratic fluidization. To improve understanding of this phenomena and aid in building a design tool, improved computational tools were developed. The virtual engineering techniques developed were tested and utilized to design a separation baffle in a CNH combine. A computational engineering approach involving modeling, analysis, and simulation was used in the form of virtual engineering to design a baffle separator capable of accomplishing the high-fidelity residue separation established by the performance targets. Through the use of the virtual engineering model, baffle designs were simulated to (1) determine the effect of the baffle on the airflow of the combine cleaning system, and (2) predict the effectiveness of the baffle in separating the residue streams. A baffle design was selected based on the virtual engineering modeling, built into the INL selective harvest test combine. The result of the baffle changes improved the crop separation capability of the combine, enabling downstream improvement in composition and theoretical ethanol yield. In addition, the positive results from the application of the virtual engineering tools to the CNH combine design resulted in further application of these tools to other INL areas of research. INL and the University of Idaho identified, characterized, and modified a key plant biosynthetic lignin gene, cinnamoyl CoA reductase (CCR), to assess its influence on the efficiency with which the resulting biomaterials interact with and are processed by engineering systems. The characterization of CCR genes and resulting antisense gene constructs enabled the modification and assessment of the impact of cell wall biosynthetic gene in wheat. This allows the model systems needed to study the structural and functional post-harvest properties of straw to be created and assessed. Progress was made toward identifying and using key CCR lignin biosynthesis gene sequences for controlling lignin biosynthesis with the goal of altering lignin content and composition in wheat. This was important because of the potential impact that reduced lignin could have on feedstock harvesting, transportation, storage, pretreatment, and processing.

09 BIOMASS FUELS↗

A kinetic study of fusion burn waves in compressed deuterium–tritium and proton–boron plasmas

We present particle-in-cell simulations with Monte Carlo collisions of fusion burn waves in compressed deuterium–tritium and proton–boron plasmas. We study the energy balance in the one-dimensional expansion of a hot-spot by simulating Coulomb collisions, fusion reactions, and bremsstrahlung emission with a Monte Carlo model and inverse bremsstrahlung absorption using a new PIC model. This allows us to self-consistently capture the alpha particle heating and radiative losses in the expanding hot-spot and surrounding cold fuel. After verifying our model in a code-to-code comparison with both kinetic and fluid codes for the case of a deuterium–tritium hot-spot, we simulate the expansion of a proton–boron hot-spot initialized at 200 keV and 1,000 g/cm 3 . Our model predicts that energy radiated by the hot-spot is recaptured by the surrounding high-density opaque fuel reducing the expansion work done by the propagating burn wave. As a result, we find the net fusion energy produced over the course of $20$~ps is twice the initial hot-spot energy independent of whether radiation physics is included.

70 PLASMA PHYSICS AND FUSION TECHNOLOGY↗

Tensor networks, p -adic fields, and algebraic curves: arithmetic and the AdS 3 /CFT 2 correspondence

One of the many remarkable properties of conformal field theory in two dimensions is its connection to algebraic geometry. Since every compact Riemann surface is a projective algebraic curve, many constructions of interest in physics (which a priori depend on the analytic structure of the spacetime) can be formulated in purely algebraic language. This opens the door to interesting generalizations, obtained by taking another choice of field: for instance, the p-adics. Herein, we generalize the $\mathrm{AdS} / \mathrm{CFT}$ correspondence according to this principle; the result is a formulation of holography in which the bulk geometry is discrete&#x2014;the Bruhat&#x2013;Tits tree for $\mathrm{PGL} (2, \mathbb{Q}_p)$&#x2014;but the group of bulk isometries nonetheless agrees with that of boundary conformal transformations and is not broken by discretization. We anticipate that this forms the natural geometric setting for tensor networks that have been proposed as models of bulk reconstruction via quantum error correcting codes; in certain cases, geodesics in the Bruhat&#x2013;Tits tree reproduce those constructed using quantum error correction. Other aspects of holography also hold: Standard holographic results for massive free scalar fields in a fixed background carry over to the tree, whose vertical direction can be interpreted as a renormalization-group scale for modes in the boundary $\mathrm{CFT}$. Higher-genus bulk geometries (the $\mathrm{BTZ}$ black hole and its generalizations) can be understood straightforwardly in our setting, and the Ryu&#x2013;Takayanagi formula for the entanglement entropy appears naturally

97 MATHEMATICS AND COMPUTING↗

Large-Eddy Simulation Sensitivities to Variations of Configuration and Forcing Parameters in Canonical Boundary-Layer Flows for Wind Energy Applications

Here, the sensitivities of idealized Large-Eddy Simulations (LES) to variations of model configuration and forcing parameters on quantities of interest to wind power applications are examined. Simulated wind speed, turbulent fluxes, spectra and cospectra are assessed in relation to variations of two physical factors, geostrophic wind speed and surface roughness length, and several model configuration choices, including mesh size and grid aspect ratio, turbulence model, and numerical discretization schemes, in three different code bases. Two case studies representing nearly steady neutral and convective atmospheric boundary layer (ABL) flow conditions over nearly flat and homogeneous terrain were used to force and assess idealized LES, using periodic lateral boundary conditions. Comparison with fast-response velocity measurements at five heights within the lowest 50 m indicates that most model configurations performed similarly overall, with differences between observed and predicted wind speed generally smaller than measurement variability. Simulations of convective conditions produced turbulence quantities and spectra that matched the observations well, while those of neutral simulations produced good predictions of stress, but smaller than observed magnitudes of turbulence kinetic energy, likely due to tower wakes influencing the measurements. While sensitivities to model configuration choices and variability in forcing can be considerable, idealized LES are shown to reliably reproduce quantities of interest to wind energy applications within the lower ABL during quasi-ideal, nearly steady neutral and convective conditions over nearly flat and homogeneous terrain.

17 WIND ENERGY↗

Large-eddy simulation sensitivities to variations of configuration and forcing parameters in canonical boundary-layer flows for wind energy applications

Abstract. The sensitivities of idealized large-eddy simulations (LESs) to variations of model configuration and forcing parameters on quantities of interest to wind power applications are examined. Simulated wind speed, turbulent fluxes, spectra and cospectra are assessed in relation to variations in two physical factors, geostrophic wind speed and surface roughness length, and several model configuration choices, including mesh size and grid aspect ratio, turbulence model, and numerical discretization schemes, in three different code bases. Two case studies representing nearly steady neutral and convective atmospheric boundary layer (ABL) flow conditions over nearly flat and homogeneous terrain were used to force and assess idealized LESs, using periodic lateral boundary conditions. Comparison with fast-response velocity measurements at 10 heights within the lowest 100 m indicates that most model configurations performed similarly overall, with differences between observed and predicted wind speed generally smaller than measurement variability. Simulations of convective conditions produced turbulence quantities and spectra that matched the observations well, while those of neutral simulations produced good predictions of stress, but smaller than observed magnitudes of turbulence kinetic energy, likely due to tower wakes influencing the measurements. While sensitivities to model configuration choices and variability in forcing can be considerable, idealized LESs are shown to reliably reproduce quantities of interest to wind energy applications within the lower ABL during quasi-ideal, nearly steady neutral and convective conditions over nearly flat and homogeneous terrain.

17 WIND ENERGY↗

Ensemble-Based Characterization of Historical Storm Types in ERA5 over CONUS

We present Storm-Type Labeled Precipitation, a gridded dataset that classifies ERA5 precipitation over CONUS (20–50° N, 125–66° W) by storm type at 6-hourly resolution. Each grid cell/time step is assigned to one of five classes—mesoscale convective system (MCS), extratropical cyclone (ETC), hurricane (HUR), atmospheric river (AR), or other convective, with an “unidentified” code reserved for cases with no detected type. Two products are provided: (i) a TempestExtremes (TE)–only version, and (ii) a hybrid TRACK–TE version that uses TRACK for ETCs and HURs and TE for MCSs and ARs. Outputs are integer masks aligned to ERA5 precipitation, supporting storm-type attribution of rainfall, event compositing, trend analysis, and model evaluation. Future work will extend detection to high-resolution downscaled Earth system model projections to support evaluations of projected changes in hydrologic hazards that may threaten critical water and energy infrastructures.

Rastogi, Deeksha [ORNL] (ORCID:0000000204624027)↗