Search NASA⌕ Search

SEARCH · Search NASA

Results for “code verification”

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 577 records · Page 32

Automatic inspection of program state in an uncooperative environment

Abstract The program state is formed by the values that the program manipulates. These values are stored in the stack, in the heap, or in static memory. The ability to inspect the program state is useful as a debugging or as a verification aid. Yet, there exists no general technique to insert inspection points in type‐unsafe languages such as C or C++. The difficulty comes from the need to traverse the memory graph in a so‐called uncooperative environment. In this article, we propose an automatic technique to deal with this problem. We introduce a static code transformation approach that inserts in a program the instrumentation necessary to report its internal state. Our technique has been implemented in LLVM. It is possible to adjust the granularity of inspection points trading precision for performance. In this article, we demonstrate how to use inspection points to debug compiler optimizations; to augment benchmarks with verification code; and to visualize data structures.

Magalhães, José Wesley de Souza↗

From Verified Models to Verifiable Code

Declarative specifications of digital systems often contain parts that can be automatically translated into executable code. Automated code generation may reduce or eliminate the kinds of errors typically introduced through manual code writing. For this approach to be effective, the generated code should be reasonably efficient and, more importantly, verifiable. This paper presents a prototype code generator for the Prototype Verification System (PVS) that translates a subset of PVS functional specifications into an intermediate language and subsequently to multiple target programming languages. Several case studies are presented to illustrate the tool's functionality. The generated code can be analyzed by software verification tools such as verification condition generators, static analyzers, and software model-checkers to increase the confidence that the generated code is correct.

Lensink, Leonard↗

Magnetic chaos healing in hte helical reversed-field pinch: indications from the volume-preserving field line tracing code NEMATO

The emergence of a self-organized reversed-field pinch (RFP) helical regime, first shown by 3D MHD numerical simulations, has been highlighted in the RFX-mod experiment at high current operation (IP above 1 MA). In fact, a quasi-stationary helical configuration spontaneously appears, characterized by strong internal electron transport barriers. In such regime electron temperature and density become, to a very good approximation, functions of the helical flux coordinate related to the dominant helical magnetic component. In addition, this regime is diagnosed to be associated with the topological transition to a single-helical-axis (SHAx) state, achieved after the expulsion of the separatrix of the dominant mode's magnetic island. The SHAx state is theoretically predicted to be resilient to the magnetic chaos induced by secondary modes. In this paper, we present initial results of the volume-preserving field line tracing code nemato [Finn J M and Chacon L 2005 Phys. Plasmas 12 054503] applied to study the magnetic topology resulting from 3D MHD simulations of the RFP. First, a successful 2D verification test of the code is shown, then, initial application to a systematic study of chaos healing in the helical RFP is discussed. The separatrix disappearance is confirmed to play an essential role for chaos healing. The triggering effect of a reversed magnetic shear for the formation of ordered surfaces within magnetic chaos is also diagnosed.

70 PLASMA PHYSICS AND FUSION TECHNOLOGY↗

Progress Towards the Validation of a new RELAP5-3D model of the High Temperature Test Facility

Validation is a key step in the development of any type of systems model. As the next generation of reactors approaches, the need for codes that have been validated for these new types of systems continues to grow. An example of a prominent option is the Reactor Excursion Leak Analysis Program (RELAP5-3D), developed by Idaho National Laboratory. This code was developed for the purpose of systems level thermal-hydraulic modeling of light water reactors (LWRS) and postulated transients that can occur in LWRS.RELAP5-3D has been substantially validated against LWR data. Due to its long history as a reactor safety analysis tool, there has been an effort to adapt RELAP5-3D for the purposes of advanced reactor concepts such as prismatic high-temperature gas-cooled reactors (HTGRs). However, RELAP5-3D has not nearly been validated and verified for HTGRs to the degree of LWRs, warranting verification and validation opportunities with computational benchmarks and existing experimental facilities. Examples of such facilities include the modular high-temperature gas-cooled reactor (MHTGR) 350 and the high temperature engineering test reactor (HTTR) from Japan. The MHTGR 350 is a benchmark design concept for code-to-code verification purposes; therefore, it does not provide any experimental data for validation opportunities The HTTR provides useful multiphysics validation data but does not have the in-core instruments to generate thermal-hydraulic experimental data to help with RELAP5-3D validation. Consequently, a facility that could provide key in-core temperatures for thermal-hydraulic validation was still needed. The High Temperature Test Facility (HTTF) is an integral effects facility for HTGR thermal hydraulics developed and operated by Oregon State University. HTTF represents ¼ length scale of the General Atomics MHTGR and is rated for a total power of 2.2 MW. Axially, the core consists of an upper and lower reflector and 10 blocks, numbered from bottom to top (Block 1 is right above lower reflector). The core is heated via graphite resistive heater rods, with respective channels distributed throughout the core. The primary coolant is helium and heat can radiate out of the core to the reactor cavity cooling system (RCCS), which is cooled by water. The primary purpose of the facility is to investigate pressurized conduction cooldown (PCC) and depressurized conduction cooldown (DCC) transients, which are also referred to as the pressurized and depressurized loss of forced cooling respectively. Two experiments were chosen to perform the validation study with a RELAP5-3D model of HTTF. These experiments are PG-27 (PCC) and PG-29 (DCC). These were chosen based off of the quality of available experimental data before and during the experiment which led to their inclusion in the HTGR Thermal Hydraulics Benchmark.

22 - GENERAL STUDIES OF NUCLEAR REACTORS↗

Surface harmonics method for two-dimensional time-dependent neutron transport problems of square-lattice nuclear reactors

Time-dependent equations of the Surface Harmonics Method (SHM) have been derived from the time-dependent neutron transport equation with explicit representation of delayed neutrons for solving the two-dimensional time-dependent problems. These equations have been realized in the SUHAM-TD code. The TWIGL benchmark problem has been used for verification of the SUHAM-TD code. The results of the study showed that computational costs required to achieve necessary accuracy of the solution can be an order of magnitude less than with the use of the conventional finite difference method (FDM). (authors)

22 GENERAL STUDIES OF NUCLEAR REACTORS↗

SCALE 6.2 REACTOR PHYSICS CODE ACCURACY ASSESMENT FOR LIGHT WATER REACTOR FUEL

Verification and validation results of the SCALE 6.2 lattice physics codes TRITON/NEWT and Polaris are presented. The SCALE/KENO continuous energy Monte-Carlo code is used as a reference to compare results of more than 2,000 combinations of pressurized water reactor and boiling water reactor lattice designs and state points. Radiochemical assay measurements were also used to assess the accuracy of depletion calculations. Results show that Polaris and TRITON/NEWT using ENDF/B_VII.1 produce accurate lattice physics calculations and cross section data for core simulators.

Mertyurek, Ugur↗

Numerical Verification of Equilibrium Thermodynamic Computations in Nuclear Fuel Performance Codes

There is an increasing desire to integrate thermodynamic computations directly into multi-physics nuclear fuel performance and safety codes. These computations provide, among other matters, boundary conditions in heat and mass transport modules in predicting fuel behaviour. Precision must be maintained in computations involving fission and activation products with very low concentrations which may nonetheless have significant radiological consequences. Also, there is the concern about the propagation of numerical errors in multi-physics codes. A method to numerically verify equilibrium thermodynamic computations is therefore necessary to satisfy rigorous quality assurance standards of the nuclear industry without significantly impeding computational performance. A technique is presented that can be applied to systems of any number of phases and system components. The technique is reliable and comprehensive in ensuring that all conceivable equilibrium constants have been satisfied without having to formulate each one of a potentially very large number.

Piro, Markus↗

Verification of linear resistive tearing instability with gyrokinetic particle code VirtEx

Current-driven resistive tearing instability is verified using the newly developed global first-principles particle-in-cell code called VirtEx, which was coded from scratch in conformity with the C++'11 specifications. The tearing instability is first verified in the fluid limit in a cylinder geometry by ignoring the gyrokinetic effect of ions, and the numerical results agree well with the analytical predictions of the resistive tearing theory. Furthermore, the effect of toroidicity on resistive tearing instability is investigated.

70 PLASMA PHYSICS AND FUSION TECHNOLOGY↗

CIAE-ANL CRADA for SFR SAFETY ANALYSIS: Final CRADA Report

The purpose of this project is joint verification and validation of system analysis code capabilities for Sodium-cooled Fast Reactor (SFR) design and licensing. As the researchers and code developers at the Argonne National Laboratory (ANL) and China Institute of Atomic Energy (CIAE) independently build their own SFR system analysis capabilities, this collaboration facilitated exchange of information on, and evaluation of alternative approaches for, modeling the key phenomena (such as decay heat removal and natural circulation) and the safety-related components (such as pumps, heat exchangers, and outlet plenum) common in SFR systems. The analysis at ANL and CIAE also applied their respective computational capabilities and methods (in SAS4A/SASSYS-1 computer code at ANL and FR-Sdaso computer code at CIAE) on jointly identified benchmark problems for verification, and publicly available integral tests for validation, of their results. ANL team also shared the expertise on the established software quality assurance practices and the techniques for component reliability estimates to support probabilistic risk assessments.

21 SPECIFIC NUCLEAR REACTORS AND ASSOCIATED PLANTS↗

Model-based software design

Domain-specific knowledge is required to create specifications, generate code, and understand existing systems. Our approach to automating software design is based on instantiating an application domain model with industry-specific knowledge and then using that model to achieve the operational goals of specification elicitation and verification, reverse engineering, and code generation. Although many different specification models can be created from any particular domain model, each specification model is consistent and correct with respect to the domain model.

Iscoe, Neil↗

Verification and Validation in NASA-CUIP LOX/methane Injector Research Efforts

The NASA-CUIP program is supporting experimental and modeling/computational research efforts investigating wall heat flux characteristics of LOX/methane single-element injectors. A Verification and Validation (V&V) task has begun with the objective of quantifying the degree of accuracy of the models for wall heat flux distributions at specific sets of conditions. The V&V approach used is that being drafted as a standard by the ASME Performance Test Codes Committee, PTC 61: Verification and Validation in Computational Fluid Dynamics and Heat Transfer. The approach is based on well-established concepts from experimental uncertainty analysis. Initially the V&V and uncertainty estimation efforts will use data obtained previously in the same facility using oxygen/hydrogen in single-element injector testing. In this paper the V&V process, experimental facility, and computer code are described, and approaches to estimating the associated uncertainties are discussed.

Coleman, Hugh W.↗

Center for Extended Magnetohydrodynamics Modeling

This researcher participated in the DOE-funded Center for Extended Magnetohydrodynamics Modeling (CEMM), a multi-institutional collaboration led by the Princeton Plasma Physics Laboratory with Dr. Stephen Jardin as the overall Principal Investigator. This project developed advanced simulation tools to study the non-linear macroscopic dynamics of magnetically confined plasmas. The collaborative effort focused on the development of two large numerical simulation codes, M3D-C1 and NIMROD, and their application to a wide variety of problems. Dr. Ramos was responsible for theoretical aspects of the project, deriving consistent sets of model equations applicable to weakly collisional plasmas and devising test problems for verification of the numerical codes. This activity was funded for twelve years.

70 PLASMA PHYSICS AND FUSION TECHNOLOGY↗

Measurements of Neutron Importance Distribution in {sup 235}U Fast Critical Reactor

The reactor physics related integral experiments are significant to criticality safety analysis and the design of the next generation nuclear system. Measurements of parameters such as prompt neutron decay constant α, prompt neutron generation time Λ, effective delayed neutron fraction β{sub eff}, neutron importance distribution, etc., can provide data for the verification of calculation methods, computer codes and cross-section data in criticality safety analysis and test the design of new reactors. Among these parameters, neutron importance distribution has its unique value. Beside verification and validation of nuclear data, computer codes, and simulation methods, the experimental results of neutron importance distribution are also useful to the correcting of the spatial effects in Rossi-α measurement, which is based on point-reactor neutron kinetics. The relative neutron importance distribution experiments were performed on the {sup 235}U fast critical reactor of China Academy of Engineering Physics (CAEP). The key experimental objective was to obtain the importance distribution data for nuclear data validation and criticality safety analysis. We demonstrate in this paper the experiment and the data analysis. {sup 252}Cf neutron importance spatial distributions in the diametral hole of a depleted uranium reflected {sup 235}U fast critical reactor were measured. The evaluated uncertainties of the experiment data were varying with the source location but within 1.5% ranges in all. The experiment results can provide useful data for applications like nuclear data validation and the determination of rectification factor R of Rossi-a measurements. However, the experimental uncertainties are not satisfying and can be further reduced by using a {sup 252}Cf source with much higher intensity, recording more precisely the absolute position of the neutron source, and carrying out the experiment in more shallow subcritical states in which the system multiplication is larger. (authors)

21 SPECIFIC NUCLEAR REACTORS AND ASSOCIATED PLANTS↗

A Fixed Point VHDL Component Library for a High Efficiency Reconfigurable Radio Design Methodology

Advances in Field Programmable Gate Array (FPGA) technologies enable the implementation of reconfigurable radio systems for both ground and space applications. The development of such systems challenges the current design paradigms and requires more robust design techniques to meet the increased system complexity. Among these techniques is the development of component libraries to reduce design cycle time and to improve design verification, consequently increasing the overall efficiency of the project development process while increasing design success rates and reducing engineering costs. This paper describes the reconfigurable radio component library developed at the Software Defined Radio Applications Research Center (SARC) at Goddard Space Flight Center (GSFC) Microwave and Communications Branch (Code 567). The library is a set of fixed-point VHDL components that link the Digital Signal Processing (DSP) simulation environment with the FPGA design tools. This provides a direct synthesis path based on the latest developments of the VHDL tools as proposed by the BEE VBDL 2004 which allows for the simulation and synthesis of fixed-point math operations while maintaining bit and cycle accuracy. The VHDL Fixed Point Reconfigurable Radio Component library does not require the use of the FPGA vendor specific automatic component generators and provide a generic path from high level DSP simulations implemented in Mathworks Simulink to any FPGA device. The access to the component synthesizable, source code provides full design verification capability:

Hoy, Scott D.↗

Computer Modeling and Simulation

Verification and validation of computer codes and models used in simulation are two aspects of the scientific practice of high importance and have recently been discussed by philosophers of science. While verification is predominantly associated with the correctness of the way a model is represented by a computer code or algorithm, validation more often refers to model’s relation to the real world and its intended use. It has been argued that because complex simulations are generally not transparent to a practitioner, the Duhem problem can arise for verification and validation due to their entanglement; such an entanglement makes it impossible to distinguish whether a coding error or model’s general inadequacy to its target should be blamed in the case of the model failure. I argue that in order to disentangle verification and validation, a clear distinction between computer modeling (construction of mathematical computer models of elementary processes) and simulation (construction of models of composite objects and processes by means of numerical experimenting with them) needs to be made. Holding on to that distinction, I propose to relate verification (based on theoretical strategies such as inferences) to modeling and validation, which shares the common epistemology with experimentation, to simulation. To explain reasons of their intermittent entanglement I propose a weberian ideal-typical model of modeling and simulation as roles in practice. I suggest an approach to alleviate the Duhem problem for verification and validation generally applicable in practice and based on differences in epistemic strategies and scopes

Pronskikh, V. S.↗