Search NASASearch

SEARCH · Search NASA

Results for “Static Analysis”

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 163 records · Page 9

Reducing False Positives in Runtime Analysis of Deadlocks

This paper presents an improvement of a standard algorithm for detecting dead-lock potentials in multi-threaded programs, in that it reduces the number of false positives. The standard algorithm works as follows. The multi-threaded program under observation is executed, while lock and unlock events are observed. A graph of locks is built, with edges between locks symbolizing locking orders. Any cycle in the graph signifies a potential for a deadlock. The typical standard example is the group of dining philosophers sharing forks. The algorithm is interesting because it can catch deadlock potentials even though no deadlocks occur in the examined trace, and at the same time it scales very well in contrast t o more formal approaches to deadlock detection. The algorithm, however, can yield false positives (as well as false negatives). The extension of the algorithm described in this paper reduces the amount of false positives for three particular cases: when a gate lock protects a cycle, when a single thread introduces a cycle, and when the code segments in different threads that cause the cycle can actually not execute in parallel. The paper formalizes a theory for dynamic deadlock detection and compares it to model checking and static analysis techniques. It furthermore describes an implementation for analyzing Java programs and its application to two case studies: a planetary rover and a space craft altitude control system.

Bensalem, Saddek

ToF-SIMS spectral analysis of pristine and neutron irradiated single crystal tungsten

Time-of-flight secondary ion mass spectrometry (ToF-SIMS) has many promising features in studying materials including high spatial resolution and high mass accuracy of elements, molecules, and isotopes. Its ability to resolve isotopes is especially attractive in studying transmutation products of single crystal tungsten (SCW) post neutron irradiation. Tungsten (W) is a contender of plasma facing materials (PFMs) due to its high thermal and radiological stability. PFMs to be used in the construction of fusion vessels are subject to high temperature and neutron irradiation, resulting in changes to materials including transmutation, which ultimately impact material mechanical and thermal properties. We used IONTOF TOF.SIMS V instrument equipped with a 30 keV Bi 3 + primary ion beam to study pristine SCW and irradiated SCW speciemens. Scanning electron microscope coupled with focused ion beam (SEM-FIB) was used to reduce the dosage of neutron irradiated tungsten and prepare for specimens for SIMS analysis. Static ToF-SIMS spectra were obtained, and transmutation product peak identification was presented in this work. Identified molecules and molecular fragments were compared against isotope theoretical mass to charge ratios of tungsten, rhenium, osmium, and other relevant products. Our results show that ToF-SIMS provides a viable means to study transmutation products of W post neutron irradiation. Such applications are suitable to investigate transmutation effects on materials that are being considered and developed for fusion pilot plants.

36 MATERIALS SCIENCE

Toward Automated Detection of Portability Bugs in Kokkos Parallel Programs

Performance-portable programming frameworks provide abstractions for parallel execution to allow easily porting an application to multiple backend programming models, such as CUDA, HIP, and OpenMP. However, programs may still have portability bugs that manifest only on specific backends. Traditional testing is ineffective in discovering these bugs, as it would require concrete execution on all supported hardware configurations for a potentially infinite set of inputs. To mitigate this issue, we focused on a specific programming framework, Kokkos, and identified several categories of common portability bugs. We then developed Klokkos, a static analysis approach based on symbolic execution that can run on commodity hardware, before execution on supercomputers. As a proof-of-concept, we ran Klokkos on examples encoding the identified bugs. Our results show that Klokkos is effective, efficient, and precise: it detected all the considered bugs, quickly, and without any false positives. Although preliminary, our results motivate further research and development in this direction.

Kale, Vivek

Self-Admitted Technical Debt in Scientific Software: Prioritization, Sentiment, and Propagation Across Artifacts

Self-admitted technical debt (SATD) impairs scientific software (SSW), yet its prioritization, sentiment, persistence, and propagation remains underexplored. Understanding how SSW developers express, and address SATD is crucial for improving SSW maintenance, and tooling. This study investigates how SATD types and artifacts in SSW are prioritized, how sentiment relates to urgency, SATD removal and resolution rates, and the extent to which SATD propagates across artifacts. We analyzed nine SSW repositories using a SATD classification model and a semantic embedding-based prioritization heuristic. SATD was examined across multiple artifacts, with sentiment assessed via a fine-tuned transformer. Propagation was traced, priority scores compared to static analysis, and removal and resolution rates quantified. SATD in comments, commits, and pull requests receive higher priority than SATD in issues, with negative sentiment amplifying urgency. Resolution and removal rates lag behind open-source software (OSS) averages. Most SATD remains confined to the originating artifact, but longer propagation chains are rare and correlate with higher priority, highlighting persistent and high impact debt. Prioritization is influenced by artifact type and sentiment, while low removal and resolution rates signal persistent debt. Cross-artifact propagation marks high priority, unresolved SATD, providing empirical guidance for targeted monitoring, review prioritization, and tool supported maintenance in SSW.

Melin, Eric [Boise State University]

pnnl/CARTS

This compiler for ARTS (CARTS) is framework designed to connect a high productive languages with a distributed fine grained runtime that run effectively across clusters. It is built using MLIR and the LLVM infrastructure and it can be used as a platform to test static analysis ideas mapped towards distributed environments with novel technologies

Manzano Franco, Joseph [Pacific Northwest National

Experiences in interfacing NASTRAN with another finite element program

The coupling of NASTRAN to another finite element program developed for the static analysis of automotive structures is discussed. The two programs were coupled together to use the substructuring capability of the in-house program and the normal mode analysis capability of NASTRAN. Modifications were made to the NASTRAN program in order to make the coupling feasible.

Schwerzler, D. D.

Applications of NASTRAN substructuring

The application of substructuring techniques are described for two example problems, a square plate and the static analysis of a frame-wall interaction problem in multistory structures. A DMAP routine for calculating the multipoint constraint forces is presented.

Narayanaswami, R.

Feasibility study of the numerical integration of shell equations using the field method

The field method is developed for arbitrary open branch domains subjected to general linear boundary conditions. Although closed branches are within the scope of the method, they are not treated here. The numerical feasibility of the method has been demonstrated by implementing it in a computer program for the linear static analysis of open branch shells of revolution under asymmetric loads. For such problems the field method eliminates the well-known numerical problem of long subintervals associated with the rapid growth of extraneous solutions. Also, the method appears to execute significantly faster than other numerical integration methods.

Cohen, G. A.

NASTRAN multipartitioning and one-shot substructuring

For intermediate size problems where all the data is accessible, the present method of substructuring in three separate phases (for static analysis) is unneccessarily cumbersome. The versatility of NASTRAN's DMAP and internal logic lends itself to finding a practical alternative to these procedures whereby self-contained special-purpose ALTER packages can be written to be run in one pass. Two examples are presented here under the titles of multipartitioning and one-shot substructuring. The flow of multipartitioning resembles that of the present three-phase substructuring. The basic effect is to partition the structure into substructures and operate on each substructure separately. This can be used to reduce the bandwidth of a given problem as well as to store information which will allow a change to be made in one of the substructures in a later run. This latter procedure is carried out in a second program titled one-shot substructuring.

Levy, A.

A survey of NASTRAN improvements since level 15.5

Several improvements and capabilities were developed and installed in intermediate levels and are being analyzed and evaluated. A survey of current improvements to the program is presented which includes static analysis with differential stiffness rigid format, normal modes with differential stiffness rigid format, the TRIAAX and TRAPAX elements, the CNGRNT feature, fully stressed design, element strain energy and grid point force balance, and complex modal displacement plots.

Mcdonough, J. R.

A comparison of the two NASTRAN differential stiffness techniques

NASTRAN contains two techniques to solve the differential stiffness problems. One is incorporated in a new static analysis rigid format and the other is contained in a new normal modes analysis rigid format. The two techniques relative to computational accuracy and time of execution are compared.

Mcdonough, J. R.

A finite element technique for non-deterministic thermal deformation analyses including temperature dependent material properties

A technique utilizing the finite element displacement method is developed for the static analysis of structures subjected to non-deterministic thermal loading in which the material properties, assumed isotropic, are temperature dependent. Matrix equations are developed for the first two statistical moments of the displacements using a third order series expansion for the displacements in terms of the random temperatures. Sample problems are included to demonstrate the range of applicability of the third order series solutions. These solutions are compared with results from Monte Carlo analyses and also, for some problems, with solutions obtained by numerically integrating equations for the statistical properties of the displacements. In general, it is shown that the effect of temperature dependent material properties can have a significant effect on the covariances of the displacements.

Case, W. R., Jr.

Development of structural dynamic test environments for subsystems and components

Structural dynamic environmental test levels were developed for the thematic mapper instrument, components of the Tandberg-Hanssen instrument, and components of the International Ultraviolet Explorer spacecraft using NASTRAN structural models and test data. Both static and dynamic NASTRAN analyses were used. The model size required could be as small as 300 degrees of freedom for the static analysis and as large as 4000 degrees of freedom or more for the high frequency dynamic analysis. An important step in the development of the levels is model verification by test. The launch environments that generally dictate many important features of the design of an instrument or component are steady state acceleration, sinusoidal vibration, and random vibration.

Coladonato, R. J.

Using tools for verification, documentation and testing

Methodologies are discussed on four of the major approaches to program upgrading -- namely dynamic testing, symbolic execution, formal verification and static analysis. The different patterns of strengths, weaknesses and applications of these approaches are shown. It is demonstrated that these patterns are in many ways complementary, offering the hope that they can be coordinated and unified into a single comprehensive program testing and verification system capable of performing a diverse and useful variety of error detection, verification and documentation functions.

Osterweil, L. J.

Solution of enforced boundary motion in direct transient and harmonic problems

The current versions of NASTRAN, i.e., NASA, MSC, and MAC support nonzero boundary displacements only in the static analysis. Forcing functions in the dynamic analysis formats allow only forces and pressures to exercise the mathematical model. A DMAP alter sequence to circumvent this limitation is described. For the direct harmonic problem, a simple change to module FRRD is incorporated to effect a more efficient use of the code.

Fox, G. L.

Recent advances in reduction methods for nonlinear problems

Status and some recent developments in the application of reduction methods to nonlinear structural mechanics problems are summarized. The aspects of reduction methods discussed herein include: (1) selection of basis vectors in nonlinear static and dynamic problems, (2) application of reduction methods in nonlinear static analysis of structures subjected to prescribed edge displacements, and (3) use of reduction methods in conjunction with mixed finite element models. Numerical examples are presented to demonstrate the effectiveness of reduction methods in nonlinear problems. Also, a number of research areas which have high potential for application of reduction methods are identified.

Noor, A. K.

Automated verification of flight software. User's manual

(Automated Verification of Flight Software), a collection of tools for analyzing source programs written in FORTRAN and AED is documented. The quality and the reliability of flight software are improved by: (1) indented listings of source programs, (2) static analysis to detect inconsistencies in the use of variables and parameters, (3) automated documentation, (4) instrumentation of source code, (5) retesting guidance, (6) analysis of assertions, (7) symbolic execution, (8) generation of verification conditions, and (9) simplification of verification conditions. Use of AVFS in the verification of flight software is described.

Saib, S. H.