Search NASA⌕ Search

SEARCH · Search NASA

Results for “computer code development”

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,495 records · Page 83

Evaluation of vectorized Monte Carlo algorithms on GPUs for a neutron Eigenvalue problem

Conventional Monte Carlo (MC) methods for radiation transport computations are 'history-based', which means that one particle history at a time is tracked. Simulations based on such methods suffer from thread divergence on the graphics processing unit (GPU), which severely affects the performance of GPUs. To circumvent this limitation, event-based vectorized MC algorithms can be utilized. A versatile software test-bed, called ARCHER - Accelerated Radiation-transport Computations in Heterogeneous Environments - was used for this study. ARCHER facilitates the development and testing of a MC code based on the vectorized MC algorithm implemented on GPUs by using NVIDIA's Compute Unified Device Architecture (CUDA). The ARCHER{sub GPU} code was designed to solve a neutron eigenvalue problem and was tested on a NVIDIA Tesla M2090 Fermi card. We found that although the vectorized MC method significantly reduces the occurrence of divergent branching and enhances the warp execution efficiency, the overall simulation speed is ten times slower than the conventional history-based MC method on GPUs. By analyzing detailed GPU profiling information from ARCHER, we discovered that the main reason was the large amount of global memory transactions, causing severe memory access latency. Several possible solutions to alleviate the memory latency issue are discussed. (authors)

97 MATHEMATICS AND COMPUTING↗

UCLA Final Technical Report for the "Community Petascale Project for Accelerator Science and Simulation”.

The UCLA Plasma Simulation Group is a major partner of the “Community Petascale Project for Accelerator Science and Simulation”. This is the final technical report. We include an overall summary, a list of publications, progress for the most recent year, and individual progress reports for each year. We have made tremendous progress during the three years. SciDAC funds have contributed to the development of a large number of skeleton codes that illustrate how to write PIC codes with a hierarchy of parallelism. These codes cover 2D and 3D as well as electrostatic solvers (which are used in beam dynamics codes and quasi-static codes) and electromagnetic solvers (which are used in plasma based accelerator codes). We also used these ideas to develop a GPU enabled version of OSIRIS. SciDAC funds were also contributed to the development of strategies to eliminate the Numerical Cerenkov Instability (NCI) which is an issue when carrying laser wakefield accelerator (LWFA) simulations in a boosted frame and when quantifying the emittance and energy spread of self-injected electron beams. This work included the development of a new code called UPIC-EMMA which is an FFT based electromagnetic PIC code and to new hybrid algorithms in OSIRIS. A new hybrid (PIC in r-z and gridless in φ) algorithm was implemented into OSIRIS. In this algorithm the fields and current are expanded into azimuthal harmonics and the complex amplitude for each harmonic is calculated separately. The contributions from each harmonic are summed and then used to push the particles. This algorithm permits modeling plasma based acceleration with some 3D effects but with the computational load of an 2D r-z PIC code. We developed a rigorously charge conserving current deposit for this algorithm. Very recently, we made progress in combining the speed up from the quasi-3D algorithm with that from the Lorentz boosted frame. SciDAC funds also contributed to the improvement and speed up of the quasi-static PIC code QuickPIC. We have also used our suite of PIC codes to make scientific discovery. Highlights include supporting FACET experiments which achieved the milestones of showing high beam loading and energy transfer efficiency from a drive electron beam to a witness electron beam and the discovery of a self-loading regime a for high gradient acceleration of a positron beam. Both of these experimental milestones were published in Nature together with supporting QuickPIC simulation results. Simulation results from QuickPIC were used on the cover of Nature in one case. We are also making progress on using highly resolved QuickPIC simulations to show that ion motion may not lead to catastrophic emittance growth for tightly focused electron bunches loaded into nonlinear wakefields. This could mean that fully self-consistent beam loading scenarios are possible. This work remains in progress. OSIRIS simulations were used to discover how 200 MeV electron rings are formed in LWFA experiments, on how to generate electrons that have a series of bunches on nanometer scale, and how to transport electron beams from (into) plasma sections into (from) conventional beam optic sections.

43 PARTICLE ACCELERATORS↗

Hybrid photovoltaic/thermal (PV/T) solar systems simulation with Simulink/Matlab

The purpose of this work consists in thermodynamic modeling of hybrid photovoltaic-thermal (PV/T) solar systems, pursuing a modular strategy approach provided by Simulink/Matlab. PV/T solar systems are a recently emerging solar technology that allows for the simultaneous conversion of solar energy into both electricity and heat. This type of technology present some interesting advantages over the conventional ''side-by-side'' thermal and PV solar systems, such as higher combined electrical/thermal energy outputs per unit area, and a more uniform and aesthetical pleasant roof area. Despite the fact that early research on PV/T systems can be traced back to the seventies, only recently it has gained a renewed impetus. In this work, parametric studies and annual transient simulations of PV/T systems are undertaken in Simulink/Matlab. The obtained results show an average annual solar fraction of 67%, and a global overall efficiency of 24% (i.e. 15% thermal and 9% electrical), for a typical four-person single-family residence in Lisbon, with p-Si cells, and a collector area of 6 m{sup 2}. A sensitivity analysis performed on the PV/T collector suggests that the most important variable that should be addressed to improve thermal performance is the photovoltaic (PV) module emittance. Based on those results, some additional improvements are proposed, such as the use of vacuum, or a noble gas at low-pressure, to allow for the removal of PV cells encapsulation without air oxidation and degradation, and thus reducing the PV module emittance. Preliminary results show that this option allows for an 8% increase on optical thermal efficiency, and a substantial reduction of thermal losses, suggesting the possibility of working at higher fluid temperatures. The higher working temperatures negative effect in electrical efficiency was negligible, due to compensation by improved optical properties. The simulation results are compared with experimental data obtained from other authors and perform reasonably well. The Simulink modeling platform has been mainly used worldwide on simulation of control systems, digital signal processing and electric circuits, but there are very few examples of application to solar energy systems modeling. This work uses the modular environment of Simulink/Matlab to model individual PV/T system components, and to assemble the entire installation layout. The results show that the modular approach strategy provided by Matlab/Simulink environment is applicable to solar systems modeling, providing good code scalability, faster developing time, and simpler integration with external computational tools, when compared with traditional imperative-oriented programming languages. (author)

14 SOLAR ENERGY↗

Fluid modeling of low-temperature plasmas

Fluid models are essential for understanding and predicting low-temperature plasma (LTP) behavior in various scientific and industrial settings. This paper provides an introductory tutorial on fluid modeling of LTPs, covering model formulation, implementation, and computational simulations. The tutorial focuses on five main components of the formulation of LTP fluid models: fluid flow, energy, chemistry, electromagnetism, and material properties, as well as in essential aspects of model implementations, including multiscale phenomena, multiphysics coupling, and numerical convergence. Designed for students and early-career researchers, this work offers a practical foundation for developing and using fluid models, from in-house computational codes to commercial software, bridging fundamental theory with real-world applications.

70 PLASMA PHYSICS AND FUSION TECHNOLOGY↗

Effects of emitting surfaces and trapped ions on the sheath physics and current flow in multidimensional plasma systems

Recent one-dimensional simulations of planar sheaths with strong electron emission have shown that trapping of charge-exchange ions causes transitions from space-charge limited (SCL) to inverse sheaths. However, multidimensional emitting sheath phenomena with collisions remained unexplored, due in part to high computational cost. As such, we developed a novel continuum kinetic code to study the sheath physics, current flow and potential distributions in two-dimensional unmagnetized configurations with emitting surfaces. For small negatively biased thermionic cathodes in a plasma, the cathode sheath can exist in an equilibrium SCL state. The SCL sheath carries an immense density of trapped ions, neutralized by thermoelectrons, within the potential well of the virtual cathode. For further increases of emitted flux, the trapped ion cloud expands in space. The trapped ion space charge causes an increase of thermionic current far beyond the saturation limit predicted by conventional collisionless SCL sheath models without ion trapping. For sufficiently strong emission, the trapped ion cloud consumes the entire 2D plasma domain, forming a mode with globally confined ions and an inverse sheath at the cathode. In situations where the emitted flux is fixed and the bias is swept (e.g. emissive probe), the trapped ions cause a large thermionic current to escape for all biases below the plasma potential. Strong suppression of the thermionic emission, required for the probe to float, only occurs when the probe is above the plasma potential.

70 PLASMA PHYSICS AND FUSION TECHNOLOGY↗

Dirac's equation and its implications for density functional theory based calculations of materials containing heavy elements

Electronic structure calculations based on density functional theory (DFT) give quantitatively accurate predictions of properties of most materials containing light elements. For heavy materials, and in particular for f -electron systems, DFT based methods can fail both qualitatively and quantitatively for two distinct reasons: their failure to describe confinement effects arising from localized f -electron behavior and their incomplete or approximate treatment of relativity. In addition, different methods for incorporating relativistic effects, which give identical results in most light materials, can give different predictions in heavy elements. In order to develop a quantitative capability for calculating the properties of these materials, it is essential to separate the predictions of the underlying equations from the uncertainty introduced in approximations used in computation. Working toward that goal, here we have developed a code, called dirac-fp , which is based directly on solving the Dirac-Kohn-Sham equations and uses the full-potential linear muffin-tin orbital (FP-LMTO) approach to electronic structure. In order to assess the performance of dirac-fp , we perform calculations on three different face-centered cubic materials using different approximate treatments of relativity: the scalar relativistic (SR) approach commonly used in most solid-state DFT codes, the scalar relativistic plus spin-orbit coupling corrections (SR+SO) approach which includes spin-orbit coupling self-consistently using the SR states inside the muffin tins, and the Dirac-Kohn-Sham (Dirac) approach implemented in dirac-fp . Performing calculations on thorium, in which relativistic effects should be strong, aluminum, in which relativistic effects should be negligible, and gold, in which relativistic effects play an intermediate role, we find that the Dirac approach is able to provide theoretically consistent results in the electronic structure and ground-state properties across all three materials.

3-dimensional systems↗

Radiative Møller scattering involving polarized particles

A method for taking into account radiative events in experiments aimed at studying Møller scattering with polarized particles was developed for an arbitrary implementation of such experiments. A computer code used to perform a numerical analysis with allowance for the kinematical conditions of the MOLLER experiment at the Thomas Jefferson National Accelerator Facility (Jefferson Lab or JLab) was constructed. The respective results were compared with their counterparts obtained in the soft-photon approximation.

72 PHYSICS OF ELEMENTARY PARTICLES AND FIELDS↗

A Preliminary Analysis of Dose Rates Associated with ITER CVCS Equipment/Area Location

A preliminary analysis of the ITER Chemical and Volume Control System (CVCS) Area was performed to assess dose rates outside the walls and ceiling of the facility after 1.5 years of operation at shutdown, 2 days, and 10 days after shutdown. For this purpose a simplified Monte Carlo computer model was developed using the MCNP (MCNP5 Ver. 1.51) code. Two components are included: the smaller filter tank and the larger ion exchanger. These pieces of equipment are associated with the Integrated Blanket ELM Divertor Primary Heat Transfer System, which will have the largest dose rates associated with activated corrosion products during operation in comparison with other systems. The ion exchanger contained two source regions, a 1.2-m-thick resin bed above a 0.55 m-thick skirt, and a 0.8-m-thick water region. The filter constituted an additional source. Thus the model consisted of three sources (filter, resin, water), homogeneously distributed within the appropriate source regions. However, much of the results (that address individual isotopes) are presented with the two sources in the ion exchanger combined. In these cases the sources are referred to as the 'ion exchanger source' and the 'filter source.' Dimensions for the facility and components, as well as source isotopes and strengths, and material densities, were supplied by US ITER. Because of its simplification, the model does not contain pipes. Consequently, radiation streaming through pipe penetrations, radiation emanating from the pipes, and shielding from the pipes were not considered in this analysis. Dose rates on the outside of two walls and the ceiling were calculated. The two walls are labeled as the 'long' wall (aligned with the X-axis) and the 'short' wall (aligned with the Y-axis). These walls and ceiling were nominally set to 30-cm-thick concrete. In the original analysis, standard concrete (2.3 g/cc density) was used. In addition to the shielding walls/ceiling, a floor and an additional wall opposite the long wall were added for photon scattering contributions. These were both 10-cm-thick, standard concrete structures. Other components (tanks, pipes, etc.), that were not included in the model, would potentially add additional scattering and shielding. Possibly these additional effects will be addressed in a later, more detailed analysis. The room was 29.6 m in length (X-axis), but was limited to 15 m in the model. The inside width (Y axis) and height (Z axis) were 4 m and 3.4 m, respectively. The origin for the model was located inside the room at the corner opposite the long wall and adjacent to the short wall at the floor level. The room was filled with air at standard temperature and pressure. The stainless steel (SS304) wall thicknesses for the ion exchanger and filter were 2.2 cm and 0.8 cm, respectively. The axial center of the filter was located 140 cm from the short wall and 100 cm from the long wall (outer surface). The axial center of the ion exchanger was located 440 cm from the short wall and 250 cm from the long wall (inner surface). The resin was assumed to be a homogeneous mixture of equal atom density fractions of hydrogen and carbon* at a specified density of 1.136 g/cc. The filter material was assumed to be homogeneous carbon at a specified density of 1.8 g/cc. If the filter media were stainless steel and the accumulated activity were the same, the dose rate outside the filter would be lower, provided the density of the stainless steel sintered filter material is significantly higher than 1.8g/cc. The densities of the water and air were assumed to be 1.0 g/cc and 1.096E-3 g/cc, respectively. The model included 10 small volumes placed outside the model adjacent to the wall at locations where the dose rates were expected to be highest and which showed to a degree the fall-off of the dose rate with distance along a particular wall or ceiling. These 'tally cells' are shown in Fig. 2 and are described in Table 1. Each cell had dimensions of 50 cm x 50 cm x 1 cm and was oriented so that the 1-cm-thick dimension was perpendicular to the wall against which the cell was located. Also, smaller tally volumes were placed at 5 cm (updated model), 30 cm, 50 cm, and 100 cm from each source, both radially from the outside of each component at the height of each source mid-plane, and vertically, along the axial centerline, above the ion-exchanger and below the filter. (For the ion exchanger, the vertical distance was limited to 75 cm because of interference from the ceiling.) These tally regions can be seen in Fig. 3. Each cell had dimensions of 5 cm x 5 cm x 1 cm, oriented so that the 1-cm-thick dimension was perpendicular to the X, Y or Z axis.

08 HYDROGEN↗

EPSI 2013-2014. Annual Progress Report

Initially a separate orthogonal expansion for the low-k components and FEM for high-k components was considered, or a multi-scale FEM method, but a more attractive hybrid FDM/FEM model for parallel computations has been devised with minimal impact to formerly developed code. This system involves using Lagrange polynomials along magnetic field lines to establish a FDM discretization of the toroidal contributions to the perpendicular Laplacian, which is the operator of importance in gyrokinetic solution of the vector potential. The method was found analytically to be stable, due to some dissipation from varying field-line lengths. The accuracy of this method has been evaluated using the method of manufactured solutions (with Bei Wang of Princeton University), whereby we find that for a Poisson problem the maximum error roughly diminishes linearly as a function of the grid resolution (uniformly refined), whereas the L2 norm as square root of the resolution improvement. Most of the error appears to be contributed near boundaries and where the FEM grid has anisotropy, so we are trying to improve this analysis using improved tessellations obtained from Mark Shepard, and publish the results as soon as the problems with the grid have been eliminated.

71 CLASSICAL AND QUANTUM MECHANICS, GENERAL PHYSIC↗

Large Eddy Simulations of Turbulent and Buoyant Flows in Urban and Complex Terrain Areas Using the Aeolus Model

Fast and accurate predictions of the flow and transport of materials in urban and complex terrain areas are challenging because of the heterogeneity of buildings and land features of different shapes and sizes connected by canyons and channels, which results in complex patterns of turbulence that can enhance material concentrations in certain regions. To address this challenge, we have developed an efficient three-dimensional computational fluid dynamics (CFD) code called Aeolus that is based on first principles for predicting transport and dispersion of materials in complex terrain and urban areas. The model can be run in a very efficient Reynolds average Navier–Stokes (RANS) mode or a detailed large eddy simulation (LES) mode. The RANS version of Aeolus was previously validated against field data for tracer gas and radiological dispersal releases. As a part of this work, we have validated the Aeolus model in LES mode against two different sets of data: (1) turbulence quantities measured in complex terrain at Askervein Hill; and (2) wind and tracer data from the Joint Urban 2003 field campaign for urban topography. As a third set-up, we have applied Aeolus to simulate cloud rise dynamics for buoyant plumes from high-temperature explosions. For all three cases, Aeolus LES predictions compare well to observations and other models. These results indicate that Aeolus LES can be used to accurately simulate turbulent flow and transport for a wide range of applications and scales.

42 ENGINEERING↗

Improved neutron activation prediction code system development

Two integrated neutron activation prediction code systems have been developed by modifying and integrating existing computer programs to perform the necessary computations to determine neutron induced activation gamma ray doses and dose rates in complex geometries. Each of the two systems is comprised of three computational modules. The first program module computes the spatial and energy distribution of the neutron flux from an input source and prepares input data for the second program which performs the reaction rate, decay chain and activation gamma source calculations. A third module then accepts input prepared by the second program to compute the cumulative gamma doses and/or dose rates at specified detector locations in complex, three-dimensional geometries.

Saqui, R. M.↗

Performance measures for transform data coding.

This paper develops performance criteria for evaluating transform data coding schemes under computational constraints. Computational constraints that conform with the proposed basis-restricted model give rise to suboptimal coding efficiency characterized by a rate-distortion relation R(D) similar in form to the theoretical rate-distortion function. Numerical examples of this performance measure are presented for Fourier, Walsh, Haar, and Karhunen-Loeve transforms.

Pearl, J.↗

Implementation on a nonlinear concrete cracking algorithm in NASTRAN

A computer code for the analysis of reinforced concrete structures was developed using NASTRAN as a basis. Nonlinear iteration procedures were developed for obtaining solutions with a wide variety of loading sequences. A direct access file system was used to save results at each load step to restart within the solution module for further analysis. A multi-nested looping capability was implemented to control the iterations and change the loads. The basis for the analysis is a set of mutli-layer plate elements which allow local definition of materials and cracking properties.

Herting, D. N.↗

A new boundary-layer interaction techniques for separated flows

A new viscous-inviscid interation procedure is presented which is applicable to separated flows. The new procedure is simple, converges rapidly, and does not require numerical smoothing and underrelaxation at least in the cases computer thus far. Calculations are presented for the low-speed separated flow in the juncture region between an axisymmetric body and ting. The viscous computation is done with an inverse boundary-layer procedure which was previously developed. The inviscid computation is made with an axisymmetric transonic code called RAXBOD. The main advantage of the new interaction procedure is that it combines an inverse boundary-layer technique, which is applicable to separated flows, with an existing inviscid analysis code with only a slight boundary condition change required in the inviscid code.

Carter, J. E.↗

Optimized aerodynamic design process for subsonic transport wing fitted with winglets

The aerodynamic design of a wind-tunnel model of a wing representative of that of a subsonic jet transport aircraft, fitted with winglets, was performed using two recently developed optimal wing-design computer programs. Both potential flow codes use a vortex lattice representation of the near-field of the aerodynamic surfaces for determination of the required mean camber surfaces for minimum induced drag, and both codes use far-field induced drag minimization procedures to obtain the required spanloads. One code uses a discrete vortex wake model for this far-field drag computation, while the second uses a 2-D advanced panel wake model. Wing camber shapes for the two codes are very similar, but the resulting winglet camber shapes differ widely. Design techniques and considerations for these two wind-tunnel models are detailed, including a description of the necessary modifications of the design geometry to format it for use by a numerically controlled machine for the actual model construction.

Kuhlman, J. M.↗

Numerical simulation of turbulent flows with a three-dimensional vortex-in-cell method

A three-dimensional vortex-in-cell method has been developed for the evaluation of local flow fields due to a family of vortex filaments which employs the principles and architecture of a code developed for magnetic field evaluation in plasma simulations. The computational effort in the new method, as compared to 'vortex pushing' by direct Biot-Savarat interaction, increases directly, rather than quadratically, with the number of vortex elements. The method is well suited for studying large number of vortex filaments or rings and can be used for simulating continuous vorticity.

Buneman, O.↗

CARS system for turbulent flame measurements

Simultaneous nitrogen number density and rotational-vibrational temperatures were measured in a turbulent diffusion flame with a Coherent Anti-Stokes Raman Scattering (CARS) instrument. The fuel jet was diluted with nitrogen (20 percent by volume) to allow temperature measurements across the entire jet mixing region. These measurements were compared with fluid dynamics computations. The CARS system incorporated a neodymium YAG laser, an intensified silicon photodiode array detector, and unique dynamic range enhancement methods. Theoretical calculations were based on a parabolic Navier-Stokes computer code. The comparison of these techniques will aid their development in the study of complex flowfields.

Antcliff, R. R.↗

Structural Dynamics of Filament-Wound Booster Rockets

Report summarizes program of measurements and calculations of vibrations in filament-wound composite models of Space Shuttle solid-rocket boosters. Vibrational behavior predicted by finite-element computer model of structural dynamics correlates well with data from tests on full- and quarter-scale models. Computer model developed with NASTRAN general-purpose structural-analysis computer code.

Bugg, F. M.↗