Search NASA⌕ Search

SEARCH · Search NASA

Results for “Code Generation”

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,477 records · Page 82

Grid Generation Techniques Utilizing the Volume Grid Manipulator

This paper presents grid generation techniques available in the Volume Grid Manipulation (VGM) code. The VGM code is designed to manipulate existing line, surface and volume grids to improve the quality of the data. It embodies an easy to read rich language of commands that enables such alterations as topology changes, grid adaption and smoothing. Additionally, the VGM code can be used to construct simplified straight lines, splines, and conic sections which are common curves used in the generation and manipulation of points, lines, surfaces and volumes (i.e., grid data). These simple geometric curves are essential in the construction of domain discretizations for computational fluid dynamic simulations. By comparison to previously established methods of generating these curves interactively, the VGM code provides control of slope continuity and grid point-to-point stretchings as well as quick changes in the controlling parameters. The VGM code offers the capability to couple the generation of these geometries with an extensive manipulation methodology in a scripting language. The scripting language allows parametric studies of a vehicle geometry to be efficiently performed to evaluate favorable trends in the design process. As examples of the powerful capabilities of the VGM code, a wake flow field domain will be appended to an existing X33 Venturestar volume grid; negative volumes resulting from grid expansions to enable flow field capture on a simple geometry, will be corrected; and geometrical changes to a vehicle component of the X33 Venturestar will be shown.

Alter, Stephen J.↗

Postacceleration Of Laser-Generated High Energy Protons Through Conventional Accelerator Linacs

The post-acceleration of laser-generated protons through conventional drift tube linear accelerators has been simulated with the particle code Parmela. The proton source is generated on the rear surface of a target irradiated by an high-intensity (10{sup 19} W{center_dot}cm{sup -2}) short-pulse (350 fs) laser and focused by a microlens that allows selecting collimated protons at 7{+-}0.1 MeV with rms unnormalized emittance of 0.180 mm.mrad. The simulations show that protons can be accelerated by one drift tube linac tank to more than 14 MeV with unnormalized emittance growth of 8 in x and 22.6 in y directions when considering a total proton charge of 0.112 mA. This result shows for the first time that coupling between laser-plasma accelerators with traditional accelerators is possible, allowing a luminosity gain for the final beam.

43 PARTICLE ACCELERATORS↗

Event-by-Event Simulation of Induced Fission

We are developing a novel code that treats induced fission by statistical (or Monte-Carlo) simulation of individual decay chains. After its initial excitation, the fissionable compound nucleus may either de-excite by evaporation or undergo binary fission into a large number of fission channels each with different energetics involving both energy dissipation and deformed scission pre-fragments. After separation and Coulomb acceleration, each fission fragment undergoes a succession of individual (neutron) evaporations, leading to two bound but still excited fission products (that may further decay electromagnetically and, ultimately, weakly), as well as typically several neutrons. (The inclusion of other possible ejectiles is planned.) This kind of approach makes it possible to study more detailed observables than could be addressed with previous treatments which have tended to focus on average quantities. In particular, any type of correlation observable can readily be extracted from a generated set of events. With a view towards making the code practically useful in a variety of applications, emphasis is being put on making it numerically efficient so that large event samples can be generated quickly. In its present form, the code can generate one million full events in about 12 seconds on a MacBook laptop computer. The development of this qualitatively new tool is still at an early stage and quantitative reproduction of existing data should not be expected until a number of detailed refinement have been implemented.

73 NUCLEAR PHYSICS AND RADIATION PHYSICS↗

Topological subsystem codes

We introduce a family of two-dimensional (2D) topological subsystem quantum error-correcting codes. The gauge group is generated by two-local Pauli operators, so that two-local measurements are enough to recover the error syndrome. We study the computational power of code deformation in these codes and show that boundaries cannot be introduced in the usual way. In addition, we give a general mapping connecting suitable classical statistical mechanical models to optimal error correction in subsystem stabilizer codes that suffer from depolarizing noise.

71 CLASSICAL AND QUANTUM MECHANICS, GENERAL PHYSIC↗

Vistransformers Explained

The Vistransformers Explained library is a collection of python notebooks that demonstrate the internal mechanics and uses of visual-transformer (ViT) machine learning models. The code implements, with mild modifications, ViT models that have been made publicly available through publication and GitHub code. The value added by this code is in-depth explanations of the mathematics behind the sub-modules of the ViT models, including original figures. Additionally, the library contains the code necessary to implement and train the ViT models. The library does not include example training data for the models; instead, it would rely on users generating their own datasets. The code is based on the PyTorch python library. It does not include any files other than python scripts, modules, or notebooks.

Callis, Skylar↗

Comparison of FDMA and CDMA for second generation land-mobile satellite communications

Code Division Multiple Access (CDMA) and Frequency Division Multiple Access (FDMA) (both analog and digital) systems capacities are compared on the basis of identical link availabilities and physical propagation models. Parameters are optimized for a bandwidth limited, multibeam environment. For CDMA, the benefits of voice activated carriers, antenna discrimination, polarization reuse, return link power control and multipath suppression are included in the analysis. For FDMA, the advantages of bandwidth efficient modulation/coding combinations, voice activated carriers, polarization reuse, beam placement, and frequency staggering were taken into account.

Yongacoglu, A.↗

Theoretical studies of a molecular beam generator

At present no adequate computer code exists for predicting the effects of thermal nonequilibrium on the flow quality of a converging-diverging N2 nozzle. It is the purpose of this research to develop such a code and then perform parametric studies to determine the effects of intermolecular forces (high gas pressure) and thermal nonequilibrium (the splitting of temperature into a vibrational and rotational-translational excitation) upon the flow quality. The two models to be compared are given. Appendix A contains nomenclature and additional relationships.

Heinbockel, John↗

Development of the FITS tools package for multiple software environments

The HEASARC is developing a package of general purpose software for analyzing data files in FITS format. This paper describes the design philosophy which makes the software both machine-independent (it runs on VAXs, Suns, and DEC-stations) and software environment-independent. Currently the software can be compiled and linked to produce IRAF tasks, or alternatively, the same source code can be used to generate stand-alone tasks using one of two implementations of a user-parameter interface library. The machine independence of the software is achieved by writing the source code in ANSI standard Fortran or C, using the machine-independent FITSIO subroutine interface for all data file I/O, and using a standard user-parameter subroutine interface for all user I/O. The latter interface is based on the Fortran IRAF Parameter File interface developed at STScI. The IRAF tasks are built by linking to the IRAF implementation of this parameter interface library. Two other implementations of this parameter interface library, which have no IRAF dependencies, are now available which can be used to generate stand-alone executable tasks. These stand-alone tasks can simply be executed from the machine operating system prompt either by supplying all the task parameters on the command line or by entering the task name after which the user will be prompted for any required parameters. A first release of this FTOOLS package is now publicly available. The currently available tasks are described, along with instructions on how to obtain a copy of the software.

Pence, W. D.↗

Neutron/gamma coupled library generation and gamma transport calculation with KARMA 1.2

KAERI has developed a lattice transport calculation code KARMA and its multi-group cross section library generation system. Recently, the multi-group cross section library generation system has included a gamma cross section generation capability and KARMA also has been improved to include a gamma transport calculation module. This paper addresses the multi-group gamma cross section generation capability for the KARMA 1.2 code and the preliminary test results of the KARMA 1.2 gamma transport calculations. The gamma transport calculation with KARMA 1.2 gives the gamma flux, gamma smeared power, and gamma energy deposition distributions. The results of the KARMA gamma calculations were compared with those of HELIOS and they showed that KARMA 1.2 gives reasonable gamma transport calculation results. (authors)

22 GENERAL STUDIES OF NUCLEAR REACTORS↗

Comparison of Modeled to Measured Spectra using MCNP and GADRAS to Benchmark and Contrast Modeling Limitations

The desire to improve nuclear material detection through portal monitors and other low resolution detectors has led to interest in benchmarking the performance of radiation transport codes. These codes can be used to generate a variety and quantity of spectra that may be cost prohibitive to measure directly. Particular characteristics of typical detection scenarios were isolated to compare the performance of radiation transport codes to laboratory experiments. These benchmark experiments were performed to validate simulations in a number of key areas. These experiments included high areal density configurations in both one- and three-dimensional configurations. In addition, off-angle measurements were conducted to investigate the impact of detector response assumptions on complex geometries, for example where an unknown source is not physically collocated with an apparent hot spot. Furthermore, by examining both simple shielding and backscatter configurations, isolation of the scatter emanating from the object and environmental background scatter contributions to the spectra could be elucidated. A series of experiments were performed in which the order of shielding layers and the thickness were evaluated to examine the ability of the simulations to address these variables. Experiments with increasing thickness of polyethylene around a neutron source also allows for examinations of the ability of the transport simulations to properly model n,γ reactions. Finally, depleted uranium (DU) measurements have more complicated spectra than the cobalt-60 and consequently allow for investigations into the ability of transport simulations to model self-shielding. In each case, the results of the experiments were compared to MCNP simulations to judge the performance of the code, as was done previously with GADRAS 18.7.9 simulations [7]. All of the benchmark measurements were taken with a liquid nitrogen cooled 140% high purity germanium (HPGe) detector with a bismuth collimator that had the front tin filter removed. The measurement location and detector configuration were subsequently used for all experimental configurations. The remainder of this report details the experimental measurements, Section 2 and the MCNP model, Section 3. Comparisons between the experimental results and MCNP-generated spectra are performed, Section 4. Section 5 compares the results obtained with MCNP with the previously reported results obtained with GADRAS [2]. Finally, Section 6 presents the conclusions.

61 RADIATION PROTECTION AND DOSIMETRY↗

Results from computational analysis of a mixed compression supersonic inlet

A numerical study was performed to simulate the critical flow through a supersonic inlet. This flowfield has many phenomena such as shock waves, strong viscous effects, turbulent boundary layer development, boundary layer separations and mass flow suction through the walls (bleed). The computational tools used in this study were two full Navier-Stokes (FNS) codes. The supersonic inlet that was analyzed in this study is the Variable Diameter Centerbody (VDC), inlet. This inlet is a candidate concept for the next generation supersonic transport. Application of the code to the inlet geometry involved effort in generating an efficient grid geometry and specifying boundary conditions, particularly in the bleed region and at the outflow boundary. Results for a critical inlet operation compare favorably to Method of Characteristics predictions and experimental data.

Saunders, J. D.↗

RISMC Industry Application no. 1 (ECCS/LOCA) Core characterization automation: Reference PWR designs for IA no. 1

The U.S. NRC is currently proposing rulemaking '10 CFR 50.46c' to revise the loss-of-coolant-accident (LOCA) and emergency core cooling system (ECCS) acceptance criteria to include the effects of higher burn-up on cladding performance. The key implications of this proposition are that both cladding and ECCS performance need to be considered in a coupled manner. This implies that LOCA methodologies will need to be updated for regulatory purposes. The Risk-Informed Safety Margin Characterization (RISMC) Pathway, as part of the DOE Light Water Reactor Sustainability (LWRS) research and development program initialed several programs at the Idaho National Laboratory (INL) to support the industry by offering potential solutions to this new LOCA/ECCS analysis. One of these programs is the Industry Application no. 1 (IA1). It's goal is to develop an integrated evaluation model called LOCA Toolkit for the US (LOTUS) to revisit how risks are evaluated in a LOCA under 10 CFR 50.46c. The focus of LOTUS is to establish the automation interfaces among the physics disciplines involved, namely the core design automation, the fuels/clad performance, the system analysis, the risk assessment and the core design optimization. The risk-informed margins management approach for IA1 will provide a means of quantifying the impact on the key LOCA analysis figures-of-merit like peak cladding temperature (PCT), equivalent cladding reacted (ECR), etc. of a change in LOCA analysis inputs. The information obtained can then be used for decision-making and margin management. The modular approach for LOTUS will enable plant owners/vendors to further customize the LOTUS framework for use within their established codes and methods. One of the LOTUS modules deals with the core design automation (CD-A). The purpose of this module is to supply the LOCA analysis with initial conditions, i.e. assembly/pin power histories, power shapes, etc. to be employed by the Fuels/Clad Performance (EP) and System Analysis (SA) modules. In the CD-A module, the plant owner/operator will characterize his core design with the tools he has. For the current LOTUS demonstration, the tools used are the already coupled codes PHISICS and RELAP5-3D2,3. Cross section generation will be done using the Studsvik lattice code HELIOS-2.

21 SPECIFIC NUCLEAR REACTORS AND ASSOCIATED PLANTS↗

Mechanism of generating fast electrons by an intense laser at a steep overdense interface

The acceleration and heating of electrons by an intense laser normally incident on a steep overdense plasma interface is investigated using the particle-in-cell code osiris. Energetic electrons are generated by the laser's electric field in the vacuum region within {lambda}/4 of the surface. Only those electrons which originate within the plasma with a sufficiently large transverse momentum can escape the plasma. This mechanism relies on the standing wave structure created by the incoming and reflected wave and is therefore very different for linear and circularly polarized light.

70 PLASMA PHYSICS AND FUSION TECHNOLOGY↗

A procedure for automating CFD simulations of an inlet-bleed problem

A procedure was developed to improve the turn-around time for computational fluid dynamics (CFD) simulations of an inlet-bleed problem involving oblique shock-wave/boundary-layer interactions on a flat plate with bleed into a plenum through one or more circular holes. This procedure is embodied in a preprocessor called AUTOMAT. With AUTOMAT, once data for the geometry and flow conditions have been specified (either interactively or via a namelist), it will automatically generate all input files needed to perform a three-dimensional Navier-Stokes simulation of the prescribed inlet-bleed problem by using the PEGASUS and OVERFLOW codes. The input files automatically generated by AUTOMAT include those for the grid system and those for the initial and boundary conditions. The grid systems automatically generated by AUTOMAT are multi-block structured grids of the overlapping type. Results obtained by using AUTOMAT are presented to illustrate its capability.

Chyu, Wei J.↗

Error Assessment of Homogenized Cross Sections Generation for Whole Core Neutronic Calculation

The objective of the work here was to assess the errors introduced by using 2D, few group homogenized cross sections to perform neutronic analysis of BWR problems with significant axial heterogeneities. The 3D method of characteristics code DeCART is used to generate 2-group assembly homogenized cross sections first using a conventional 2D lattice model and then using a full 3D solution of the assembly. A single BWR fuel assembly model based on an advanced BWR lattice design is used with a typical void distribution applied to the fuel channel coolant. This model is validated against an MCNP model. A comparison of the cross sections is performed for the assembly homogenized planar cross sections from the DeCART 3D and DeCART 2D solutions.

22 GENERAL STUDIES OF NUCLEAR REACTORS↗

Generation of the TSL for Zirconium Hydrides from Ab Initio Methods

Zirconium hydride (ZrHx) is a moderator material used in TRIGA and other reactors that may exist in multiple phases with varying stoichiometry, which include the δ phase and the ϵ phase. Current ENDF/B-VIII.0 ZrHx thermal scattering law (TSL) evaluations do not distinguish between phases. These sub-libraries were generated with the LEAPR module of NJOY using historic phonon spectra derived from a central force model and assume incoherent elastic scattering for both bound hydrogen and zirconium, which neglects the effects of crystal structures important for scattering from zirconium bound in ZrHx. In this work, the TSLs for hydrogen and zirconium bound in δ-ZrHx and ϵ-ZrH2 were generated from phonon spectra derived from modern ab initio lattice dynamics methods and ab initio molecular dynamics. Subsequently, TSLs for hydrogen and zirconium in ZrHx and ZrH2 were generated using the Full Law Analysis Scattering System Hub (FLASSH) code. The built-in generalized coherent elastic routine was used to generate the previously neglected elastic contribution from zirconium for this material. The present TSLs provide both a re-evaluation of the current ZrH sub-libraries and expansion of the set of TSLs available for the examination of neutrons in systems with zirconium hydride, permitting explicit treatment of δ and ϵ phases.

73 NUCLEAR PHYSICS AND RADIATION PHYSICS↗

Simulation of beam-induced plasma for the mitigation of beam-beam effects

One of the main challenges in the increase of luminosity of circular colliders is the control of the beam-beam effect. In the process of exploring beam-beam mitigation methods using plasma, we evaluated the possibility of plasma generation via ionization of neutral gas by proton beams, and performed highly resolved simulations of the beam-plasma interaction using SPACE, a 3D electromagnetic particle-in-cell code. The process of plasma generation is modelled using experimentally measured cross-section coefficients and a plasma recombination model that takes into account the presence of neutral gas and beam-induced electromagnetic fields. Numerically simulated plasma oscillations are consistent with theoretical analysis. In the beam-plasma interaction process, high-density neutral gas reduces the mean free path of plasma electrons and their acceleration. A numerical model for the drift speed as a limit of plasma electron velocity was developed. Simulations demonstrate a significant reduction of the beam electric field in the presence of plasma. Preliminary simulations using fully-ionized plasma have also been performed and compared with the case of beam-induced plasma.

43 PARTICLE ACCELERATORS↗