Search NASA⌕ Search

SEARCH · Search NASA

Results for “Finite differences”

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,387 records · Page 77

FARGO3D: A NEW GPU-ORIENTED MHD CODE

We present the FARGO3D code, recently publicly released. It is a magnetohydrodynamics code developed with special emphasis on the physics of protoplanetary disks and planet–disk interactions, and parallelized with MPI. The hydrodynamics algorithms are based on finite-difference upwind, dimensionally split methods. The magnetohydrodynamics algorithms consist of the constrained transport method to preserve the divergence-free property of the magnetic field to machine accuracy, coupled to a method of characteristics for the evaluation of electromotive forces and Lorentz forces. Orbital advection is implemented, and an N-body solver is included to simulate planets or stars interacting with the gas. We present our implementation in detail and present a number of widely known tests for comparison purposes. One strength of FARGO3D is that it can run on either graphical processing units (GPUs) or central processing units (CPUs), achieving large speed-up with respect to CPU cores. We describe our implementation choices, which allow a user with no prior knowledge of GPU programming to develop new routines for CPUs, and have them translated automatically for GPUs.

79 ASTRONOMY AND ASTROPHYSICS↗

Jipole: A Differentiable ipole-based Code for Radiative Transfer in Curved Spacetimes

Recent imaging of supermassive black holes by the Event Horizon Telescope has relied on exhaustive parameter-space searches, matching observations to large, precomputed libraries of theoretical models. As observational data become increasingly precise, the limitations of this computationally expensive approach grow more acute, creating a pressing need for more efficient methods. In this work, we present Jipole, an automatically differentiable (AD), ipole-based code for radiative transfer in curved spacetimes, designed to compute image gradients with respect to underlying model parameters. These gradients quantify how parameter changes—such as the black hole’s spin or the observer’s inclination—affect the image, enabling more efficient parameter estimation and reducing the number of required images. We validate Jipole against ipole in two analytical tests and then compare pixelwise intensity derivatives from AD with those from finite-difference methods. We then demonstrate the utility of these gradients by performing parameter recovery for an analytical model in three increasingly complex cases for the injected image: ideal, blurred, and blurred with added noise. In most cases, high-accuracy fits are obtained in only a few optimization steps, failing only in cases with extremely low signal-to-noise ratios. These results highlight the potential of AD-based methods to accelerate robust, high-fidelity model-data comparisons in current and future black hole imaging efforts.

79 ASTRONOMY AND ASTROPHYSICS↗

Cloud droplet diffusional growth in homogeneous isotropic turbulence: bin microphysics versus Lagrangian super-droplet simulations

The increase in the spectral width of an initially monodisperse population of cloud droplets in homogeneous isotropic turbulence is investigated by applying a finite-difference fluid flow model combined with either Eulerian bin microphysics or a Lagrangian particle-based scheme. The turbulence is forced applying a variant of the so-called linear forcing method that maintains the mean turbulent kinetic energy (TKE) and the TKE partitioning between velocity components. The latter is important for maintaining the quasi-steady forcing of the supersaturation fluctuations that drive the increase in the spectral width. We apply a large computational domain (64 3 m 3 ), one of the domains considered in Thomas et al. (2020). The simulations apply 1 m grid length and are in the spirit of the implicit large eddy simulation (ILES), that is, with small-scale dissipation provided by the model numerics. This is in contrast to the scaled-up direct numerical simulation (DNS) applied in Thomas et al. (2020). Two TKE intensities and three different droplet concentrations are considered. Analytic solutions derived in Sardina et al. (2015), valid for the case when the turbulence integral timescale is much larger than the droplet phase relaxation timescale, are used to guide the comparison between the two microphysics simulation techniques. The Lagrangian approach reproduces the scalings relatively well. Representing the spectral width increase in time is more challenging for the bin microphysics because appropriately high resolution in the bin space is needed. The bin width of 0.5 µm is only sufficient for the lowest droplet concentration (26 cm -3 ). For the highest droplet concentration (650 cm -3 ), an order of magnitude smaller bin size is barely sufficient. The scalings are not expected to be valid for the lowest droplet concentration and the high-TKE case, and the two microphysics schemes represent similar departures. Finally, because the fluid flow is the same for all simulations featuring either low or high TKE, one can compare point-by-point simulation results. Such a comparison shows very close temperature and water vapor point-by-point values across the computational domain and larger differences between simulated mean droplet radii and spectral width. The latter are explained by fundamental differences in the two simulation methodologies, numerical diffusion in the Eulerian bin approach and a relatively small number of Lagrangian particles that are used in the particle-based microphysics.

54 ENVIRONMENTAL SCIENCES↗

SICOPOLIS-AD v1: an open-source adjoint modeling framework for ice sheet simulation enabled by the algorithmic differentiation tool OpenAD

We present a new capability of the ice sheet model SICOPOLIS that enables flexible adjoint code generation via source transformation using the open-source algorithmic differentiation (AD) tool OpenAD.The adjoint code enables efficient calculation of the sensitivities of a scalar-valued objective function or quantity of interest (QoI) to a range of important, often spatially varying and uncertain model input variables, including initial and boundary conditions, as well as model parameters.Compared to earlier work on the adjoint code generation of SICOPOLIS, our work makes several important advances:(i) it is embedded within the up-to-date trunk of the SICOPOLIS repository – accounting for 1.5 decades of code development and improvements – and is readily available to the wider community;(ii) the AD tool used, OpenAD, is an open-source tool;(iii) the adjoint code developed is applicable to both Greenland and Antarctica, including grounded ice as well as floating ice shelves, with an extended choice of thermodynamical representations.A number of code refactorization steps were required. They are discussed in detail in an Appendix as they hold lessons for the application of AD to legacy codes at large.As an example application, we examine the sensitivity of the total Antarctic Ice Sheet volume to changes in initial ice thickness, austral summer precipitation, and basal and surface temperatures across the ice sheet.Simulations of Antarctica with floating ice shelves show that over 100 years of simulation the sensitivity of total ice sheet volume to the initial ice thickness and precipitation is almost uniformly positive, while the sensitivities to surface and basal temperature are almost uniformly negative. Sensitivity to austral summer precipitation is largest on floating ice shelves from Queen Maud to Queen Mary Land. The largest sensitivity to initial ice thickness is at outlet glaciers around Antarctica. Comparison between total ice sheet volume sensitivities to surface and basal temperature shows that surface temperature sensitivities are higher broadly across the floating ice shelves, while basal temperature sensitivities are highest at the grounding lines of floating ice shelves and outlet glaciers. A uniformly perturbed region of East Antarctica reveals that, among the four control variables tested here, total ice sheet volume is the most sensitive to variations in austral summer precipitation as formulated in SICOPOLIS.Comparison between adjoint- and finite-difference-derived sensitivities shows good agreement, lending confidence that the AD tool is producing correct adjoint code.The new modeling infrastructure is freely available at http://www.sicopolis.net (last access: 2 April 2020) under the development trunk.

58 GEOSCIENCES↗

Tree hydrodynamic modelling of the soil–plant–atmosphere continuum using FETCH3

Modelling the water transport along the soil–plant–atmosphere continuum is fundamental to estimating and predicting transpiration fluxes. A Finite-difference Ecosystem-scale Tree Crown Hydrodynamics model (FETCH3) for the water fluxes across the soil–plant–atmosphere continuum is presented here. The model combines the water transport pathways into one vertical dimension, and assumes that the water flow through the soil, roots, and above-ground xylem can be approximated as flow in porous media. This results in a system of three partial differential equations, resembling the Richardson–Richards equation, describing the transport of water through the plant system and with additional terms representing sinks and sources for the transfer of water from the soil to the roots and from the leaves to the atmosphere. The numerical scheme, developed in Python 3, was tested against exact analytical solutions for steady state and transient conditions using simplified but realistic model parameterizations. The model was also used to simulate a previously published case study, where observed transpiration rates were available, to evaluate model performance. With the same model setup as the published case study, FETCH3 results were in agreement with observations. Through a rigorous coupling of soil, root xylem, and stem xylem, FETCH3 can account for variable water capacitance, while conserving mass and the continuity of the water potential between these three layers. FETCH3 provides a ready-to-use open access numerical model for the simulation of water fluxes across the soil–plant–atmosphere continuum.

54 ENVIRONMENTAL SCIENCES↗

Refactoring the elastic–viscous–plastic solver from the sea ice model CICE v6.5.1 for improved performance

This study focuses on the performance of the elastic–viscous–plastic (EVP) dynamical solver within the sea ice model, CICE v6.5.1. The study has been conducted in two steps. First, the standard EVP solver was extracted from CICE for experiments with refactored versions, which are used for performance testing. Second, one refactored version was integrated and tested in the full CICE model to demonstrate that the new algorithms do not significantly impact the physical results. The study reveals two dominant bottlenecks, namely (1) the number of Message Parsing Interface (MPI) and Open Multi-Processing (OpenMP) synchronization points required for halo exchanges during each time step combined with the irregular domain of active sea ice points and (2) the lack of single-instruction, multiple-data (SIMD) code generation. The standard EVP solver has been refactored based on two generic patterns. The first pattern exposes how general finite differences on masked multi-dimensional arrays can be expressed in order to produce significantly better code generation by changing the memory access pattern from random access to direct access. The second pattern takes an alternative approach to handle static grid properties. The measured single-core performance improvement is more than a factor of 5 compared to the standard implementation. The refactored implementation of strong scales on the Intel® Xeon® Scalable Processors series node until the available bandwidth of the node is used. For the Intel® Xeon® CPU Max series, there is sufficient bandwidth to allow the strong scaling to continue for all the cores on the node, resulting in a single-node improvement factor of 35 over the standard implementation. This study also demonstrates improved performance on GPU processors.

58 GEOSCIENCES↗

The ICON-1.2 Hydrostatic Atmospheric Dynamical Core on Triangular Grids - Part 1: Formulation and Performance of the Baseline Version

A hydrostatic atmospheric dynamical core is developed for the purpose of global climate modelling. The model applies a finite difference method to discretize the primitive equations on spherical icosahedral grids, using C-type staggering with triangles as control volume for mass. This paper documents the numerical method employed in the baseline version of this model, discusses its properties, and presents results from idealized test cases. The evaluation shows that the new dynamical core is able to correctly represent the evolution of baroclinic eddies in the atmosphere and their role in meridional heat and momentum transport. The simulations compare well with the reference solutions, and converge as the horizontal resolution increases. First results from two aqua planet experiments are also presented, in which the equatorial wave spectra derived from tropical precipitation agree well with those simulated by a spectral transform model. The new dynamical core thus provides a good basis for further model development. Certain aspects of the model formulation that need further investigation and improvement are also pointed out.

atmospheric↗

Finch

Finite difference heat transfer using Cabana for additive manufacturing

Reeve, Sam↗

Numerical Differentiation of Noisy, Nonsmooth Data

We consider the problem of differentiating a function specified by noisy data. Regularizing the differentiation process avoids the noise amplification of finite-difference methods. We use total-variation regularization, which allows for discontinuous solutions. The resulting simple algorithm accurately differentiates noisy functions, including those which have a discontinuous derivative.

Chartrand, Rick↗

Probabilistic estimation of depth-resolved profiles of soil thermal diffusivity from temperature time series: Supporting Data

This dataset consists of soil temperature time series that were used to estimate soil thermal diffusivity and its uncertainty trough the probabilistic modelling approach developed and presented in the article named "Probabilistic estimation of depth-resolved profiles of soil thermal diffusivity from temperature time series" and published in Earth Surface Dynamics. There are two compressed (.zip) files that contains synthetic (Synthetic_soiltemp_Teller.zip) and field (Field_soiltemp_Teller.zip) data. There is one MATLAB file that requires MATLAB to execute but any text editor can open it. The Synthetic_soiltemp_Teller.zip file includes 5 comma-delimited data files (.csv) each of which contains soil temperature time series generated through forward modeling (i.e., heat-conduction process in a heterogeneous medium using an explicit finite difference method) to mimic various types of temperature gradients, trend and fluctuations. These synthetic soil temperatures were used to investigate the impact of different environmental conditions on the uncertainty of thermal diffusivity estimates. The Field_soiltemp_Teller.zip file contains 28 comma-delimited data files (.csv) out of which (a) 27 files includes soil temperature time series recorded from 27 temperature probes located in a site along Teller Road about 40 km northwest of Nome, Alaska (64.72°N, 165.94°W), (b) one includes the name and coordinates of the 27 probes. These field soil temperatures were used to infer soil thermal diffusivity at numerous locations and depths in a discontinuous permafrost environment, and to evaluate the links between the estimated soil thermal diffusivity values and soil physical properties. The comma-delimited data files (.csv) of the synthetic and field soil temperature time series includes date and time (UTC) in the first column and soil temperature from 5 cm below the ground surface to 1.05 m depth (with 5 or 10 cm spacing between sensors) in the other columns. The measurements were acquired every 15 minutes. The Next-Generation Ecosystem Experiments: Arctic (NGEE Arctic), was a research effort to reduce uncertainty in Earth System Models by developing a predictive understanding of carbon-rich Arctic ecosystems and feedbacks to climate. NGEE Arctic was supported by the Department of Energy's Office of Biological and Environmental Research. The NGEE Arctic project had two field research sites: 1) located within the Arctic polygonal tundra coastal region on the Barrow Environmental Observatory (BEO) and the North Slope near Utqiagvik (Barrow), Alaska and 2) multiple areas on the discontinuous permafrost region of the Seward Peninsula north of Nome, Alaska. Through observations, experiments, and synthesis with existing datasets, NGEE Arctic provided an enhanced knowledge base for multi-scale modeling and contributed to improved process representation at global pan-Arctic scales within the Department of Energy's Earth system Model (the Energy Exascale Earth System Model, or E3SM), and specifically within the E3SM Land Model component (ELM).

54 ENVIRONMENTAL SCIENCES↗

Scattering of radio frequency waves by randomly modulated density interfaces in the edge of fusion plasmas

In the scrape-off layer and the edge region of a tokamak, the plasma is strongly turbulent and scatters the radio frequency (RF) electromagnetic waves that propagate through this region. It is important to know, whether used for diagnostics or for heating and current drive, the spectral properties of these scattered RF waves. The spectral changes influences the interpretation of the diagnostic-data obtained and the current and heating profiles. A full-wave, 3D electromagnetic code ScaRF (see Papadopoulos et al. 2019) has been developed for studying the RF wave propagation through turbulent plasma. ScaRF is a finite-difference frequency-domain (FDFD) method for solving Maxwell's equations. The magnetized plasma is defined through the cold plasma, anisotropic permittivity tensor. As a result, ScaRF can be used to study the scattering of any cold plasma RF wave. It can be for the study of scattering of electron cyclotron waves in ITER-type and medium-sized tokamaks such as TCV, ASDEX-U, DIII-D. For the case of medium-sized tokamaks, there's experimental evidence that drift waves and rippling modes are present in the edge region (see Ritz et al. 1984). Hence, we study the scattering of RF waves by periodic density interfaces (plasma gratings) in the form of a superposition of spatial modes with varying periodicity and random amplitudes (see Papadopoulos et al. 2019). The power reflection coefficient (a random variable) is calculated for different realizations of the density interface. In this work, the uncertainty of the power reflection coefficient is rigorously quantified by use of the Polynomial Chaos Expansion (see Xiu & Karniadakis 2002) method in conjunction with the Smolyak sparse grid integration (see Papadopoulos et al. 2018) (PCE-SG). The PCE-SG method is proven accurate and much more efficient (roughly 2-orders of magnitude shorter execution time) compared to alternative methods such as the Monte Carlo (MC) approach.

70 PLASMA PHYSICS AND FUSION TECHNOLOGY↗

ISOL TARGET-VAPOR TRANSPORT SYSTEM SIMULATIONS

Computational simulation studies with state-of-the-art codes offer cost effective means for designing ISOL targets with optimized diffusion release properties and vapor transport systems with short effusion path lengths. To demonstrate the power of the technique for designing optimum thickness targets, analytic solutions to the diffusion equation are compared with those obtained from a finite-difference code for radioactive isotope diffusion release from simple geometry targets. The viability of the Monte Carlo technique as a practical means for optimally designing target-vapor transport systems is demonstrated by simulating the effusive-flow of neutral particles through several complex target-vapor transport systems. Important issues which affect the yield rates of short-lived species generated in high power ISOL targets are also discussed

43 PARTICLE ACCELERATORS↗

Dynamic Heat Flow Measurements to Study the Distribution of Phase-Change Material in an Insulation Matrix

Phase change materials (PCMs) are used in building envelopes in many forms. The PCMs may be encased in discrete pouches or containers, or they may be distributed within another medium, such as in a board or within a loose fill product. In addition, most PCM products are blends containing fire retardants and chemical stabilizers. However, the current test method to measure the dynamic characteristics of PCMs, the differential scanning calorimeter (DSC), requires specimens that are relatively uniform and very small. Considering the limitations of DSC test results when applied to more complex PCM building envelope applications, we developed a combined experimental analytical protocol to determine the amount of phase-change energy actually available to provide thermal storage. This paper presents this new methodology for performing dynamic heat flow analysis of complex PCM-enhanced building materials. The experimental analytical protocol uses a conventional heat-flow apparatus and three-dimensional (3-D), finite-difference modeling. Based upon results from this methodology, ORNL researchers developed a simplified one-dimensional (1-D) model that can be easily used in whole-building simulations. This paper describes this methodology as applied to an insulation assembly containing a complex array of PCM pouches.

25 ENERGY STORAGE↗

Imaging Faults with Reverse-Time Migration for Geothermal Exploration at Jemez Pueblo in New Mexico

The fault zones at Jemez Pueblo may dominate the flow paths of hot water, or confine the boundaries of the geothermal reservoir. Therefore, it is crucial to image the geometry of these fault zones for geothermal exploration in the area. We use reverse-time migration with a separation imaging condition to image the faults at Jemez Pueblo. A finite-difference full-wave equation method with a perfectly-matching-layer absorbing boundary condition is used for backward propagation of seismic reflection data from receivers and forward propagation of wavefields from sources. In the imaging region, the wavefields are separated into the upgoing and downgoing waves, and leftgoing and rightgoing waves. The upgoing and downgoing waves are used to obtain the downward-looking image, and the leftgoing and rightgoing waves are used to form the left-looking image and right-looking image from sources. The left-looking and right-looking images are normally weaker than the downward-looking image because the reflections from the fault zones are much weaker than those from sedimentary layers, but these migration results contain the images of the faults. We apply our reverse-time migration with a wavefield separation imaging condition to seismic data acquired at Jemez Pueblo, and our preliminary results reveal many faults in the area.

BOUNDARY CONDITIONS↗

Integrated EM & Thermal Simulations with Upgraded VORPAL Software

Nuclear physics accelerators are powered by microwaves which must travel in waveguides between room-temperature sources and the cryogenic accelerator structures. The ohmic heat load from the microwaves is affected by the temperature-dependent surface resistance and in turn affects the cryogenic thermal conduction problem. Integrated EM & thermal analysis of this difficult non-linear problem is now possible with the VORPAL finite-difference time-domain simulation tool. We highlight thermal benchmarking work with a complex HOM feed-through geometry, done in collaboration with researchers at the Thomas Jefferson National Accelerator Laboratory, and discuss upcoming design studies with this emerging tool. This work is part of an effort to generalize the VORPAL framework to include generalized PDE capabilities, for wider multi-physics capabilities in the accelerator, vacuum electronics, plasma processing and fusion R&D fields, and we will also discuss user interface and algorithmic upgrades which facilitate this emerging multiphysics capability.

43 PARTICLE ACCELERATORS↗

Applications of Twisted Hollow Waveguides as Accelerating Structures

A new class of accelerating structures employing a uniformly twisted waveguide is considered. Such a twisted helical structure can be designed to have a specified longitudinal cross section. The design of twisted accelerating structures is discussed with regard to particle velocity and strength of the accelerating field. It is shown how to choose a cross section and twist rate in order to produce a slow wave with a given velocity. With two representative structures, obtained wave velocities range from the speed of light, , down to 61% the speed of light, while values of over 1,000 Ohms/m have been achieved. A novel two dimensional finite difference based solver is employed to analyze the twisted structures considered. Two twisted cavity prototypes are fabricated and measured, and good agreement is obtained between measured and predicted dispersion curves.

99 GENERAL AND MISCELLANEOUS↗

Moment-Preserving SN Discretizations for the One-Dimensional Fokker-Planck Equation

The Fokker-Planck equation: (1) Describes the transport and interactions of charged particles, (2) Many small-angle scattering collisions, (3) Asymptotic limit of the Boltzmann equation (Pomraning, 1992), and (4) The Boltzmann collision operator becomes the angular Laplacian. SN angular discretization: (1) Angular flux is collocated at the SN quadrature points, (2) The second-order derivatives in the Laplacian term must be discretized, and (3) Weighted finite-difference method preserves zeroth and first moments (Morel, 1985). Moment-preserving methods: (1) Collocate the Fokker-Planck operator at the SN quadrature points, (2) Develop several related and/or equivalent methods, and (3) Motivated by discretizations for the angular derivative appearing in the transport equation in one-dimensional spherical coordinates.

22 GENERAL STUDIES OF NUCLEAR REACTORS↗

Use of Phase Change Material in a Building Wall Assembly: A Case Study of Technical Potential in Two Climates

Phase change material (PCM), placed in an exterior wall, alters the temperature profile within the wall and thus influences the heat transport through the wall. This may reduce the net energy transport through the wall via interactions with diurnal temperature swings in the external environment or reduce the electricity needed to meet the net load through the wall by shifting the time of the peak load to a time when the cooling system operates more efficiently. This study covers a broad range of parameters that can influence the effectiveness of such a merged thermal storage-thermal insulation system. These parameters included climate, PCM location within the wall, amount of PCM, midpoint of the PCM melting and freezing range relative to the indoor setpoint temperature, temperature range over which phase change occurs, and the wall orientation. Two climates are investigated using finite difference and optimization analyses: Phoenix and Baltimore, with two utility rate schedules. Although potential savings for a PCM with optimized properties were greater when the PCM was concentrated near the inside wall surface, other considerations described here lead to a recommendation for a full-thickness application. An examination of the temperature distribution within the walls also revealed the potential for this system to reduce the amount of energy transported through the wall framing. Finally, economic benefits can exceed energy savings when time-of-day utility rates are in effect, reflecting the value of peak load reductions for the utility grid.

36 MATERIALS SCIENCE↗