Search NASA⌕ Search

DOE OSTI · 970915

C++ Coding Standards for the AMP Project

Abstract

This document provides an initial starting point to define the C++ coding standards used by the AMP nuclear fuel performance integrated code project and a part of AMP's software development process. This document draws from the experiences, and documentation [1], of the developers of the Marmot Project at Los Alamos National Laboratory. Much of the software in AMP will be written in C++. The power of C++ can be abused easily, resulting in code that is difficult to understand and maintain. This document gives the practices that should be followed on the AMP project for all new code that is written. The intent is not to be onerous but to ensure that the code can be readily understood by the entire code team and serve as a basis for collectively defining a set of coding standards for use in future development efforts. At the end of the AMP development in fiscal year (FY) 2010, all developers will have experience with the benefits, restrictions, and limitations of the standards described and will collectively define a set of standards for future software development. External libraries that AMP uses do not have to meet these requirements, although we encourage external developers to follow these practices. For any code of which AMP takes ownership, the project will decide on any changes on a case-by-case basis. The practices that we are using in the AMP project have been in use in the Denovo project [2] for several years. The practices build on those given in References [3-5]; the practices given in these references should also be followed. Some of the practices given in this document can also be found in [6].

Explore related subjects

Keep this discovery

Explore connections, maps & timelines

BibTeXRIS

Evans, Thomas M, Clarno, Kevin T. 2009-09-01. C++ Coding Standards for the AMP Project. https://doi.org/10.2172/970915

Cite the original work for its findings. Save a collection to share your selection of sources.

KEEP EXPLORING

Related reports

Evaluating transient fission gas release in high burnup light water reactor fuel during loss of coolant accident conditions via new capabilities

In this work, the role of transient fission gas release (tFGR) in the cladding burst behavior of high burnup fuel during a loss-of-coolant accident (LOCA) in commercial light water reactors was further investigated via the use of a new apparatus. During the LOCA-related temperature ramps of high burnup fuel, the release of fission gases exceeds the steady-state release observed under normal operating conditions. An enhancement was made to the Oak Ridge National Laboratory Severe Accident Test Station (SATS) to probe the various factors influencing tFGR. Experiments were performed on commercially irradiated, zirconium-clad uranium dioxide fuel, and this paper details the design of the experimental setup, the initial test results, and the subsequent post-test analyses. Notably, the first test on high burnup fuel demonstrated a LOCA-relevant tFGR of 5.3% from an unpressurized fuel segment. The ultimate tFGR was 10.7% for beyond LOCA conditions. A follow-up test on similar fuel revealed a tFGR of 12.6% under comparable conditions. Microstructural analysis and an analysis of the released gas provide some insight regarding the source of tFGR in the fuel. Finally, a grain boundary bubble model may aid in the interpretation of the results and offer a guide for future work.

11 NUCLEAR FUEL CYCLE AND FUEL MATERIALS↗

Characterization of ceramic fuel powder packing fractions to support INFLUX

Triply periodic minimal surface (TPMS)-based structures show marked potential in novel nuclear reactor fuel designs, as their high surface area-to-volume ratio increases the efficiency of heat transfer out of the fuel, enabling safer, more innovative reactor designs. This milestone report addresses the role of dUO 2 powder processing route on the fill behavior of TPMS-based cladding shells to understand and advance the feasibility of manufacturing TPMS-based nuclear fuel forms. dUO 2 powder was processed through either a dry granulation route, varying consolidation pressure, or through milling, varying milling time, milling method and milled size distribution. The lowest tapped bulk densities (TBD), but best powder flowabilities, were obtained when testing unprocessed dUO 2 powder which was prone to self-agglomeration and formed low-density spheroids. The highest TBD and lowest flowabilities were obtained when using powder produced by hammer-milling dUO 2 powder to pass through a 200-mesh sieve, which led to particles with angular morphologies. Powder produced by dry granulation exhibited TBD that varied according to the consolidation pressure used to form the initial pellets and exhibited improved flowabilities when compared to hammer-milled material. Because of the large span of granule sizes formed as well as the irregular shape associated with the granules, a packing fraction of 0.69 was achieved, exceeding the analytical solution for random close packing of mono-sized spheres. TPMS polymer shells were loaded with unprocessed, granulated, and hammer-milled dUO 2 powders, and their qualitative packing behaviors were analyzed using x-ray computed tomography (xCT). TBDs calculated after loading TPMS polymer shells were 10-20% lower when compared to tapped bulk density measurements taken in a glass graduated cylinder, indicating a non-trivial impact on the tapped bulk density of either the TPMS channel size, TPMS channel surface material, powder cohesiveness, or a combination of the two parameters. A metallic zircaloy-4 TPMS shell will be loaded with hammer-milled dUO 2 powder upon receipt of the shell from Oak Ridge National Laboratory (ORNL) and shipped to Idaho National Labs (INL) for subsequent hot isostatic pressing (HIP) densification experiments.

11 NUCLEAR FUEL CYCLE AND FUEL MATERIALS↗