Search NASA⌕ Search

SEARCH · Search NASA

Results for “macros”

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 37 records · Page 2

A tool and a methodology to use macros for abstracting variations in code for different computational demands

Scientific software used on high-performance computing platforms is in a phase of transformation because of the combined increase in the heterogeneity and complexity of models and hardware platforms. Having separate implementations for different platforms can easily lead to combinatorial explosions; therefore, the computational science community has been looking for mechanisms to express code through abstractions that can be specialized for different platforms. Most existing approaches use template meta-programming in C++, and are, therefore language specific. Here, we have developed a tool that uses customized expansion of macros to mimic some of C++ behavior in other languages. It enables unification of any code variants that may be necessary to run efficiently on different target architectures and different computational environments through use of macros with multiple alternative definitions and ability to arbitrate on definition selection for expansion. Combined with two other tools, a custom runtime, and a user specified recipe translator, our custom macroprocessor becomes a part of an overall performance portability solution that does not depend on any specific programming language. We also use macros as code-shorthand that lets code snippets become building blocks that allow variations in control flow to explore performance options. We demonstrate use of macros in Flash-X, a multiphysics multicomponent code with many Fortran legacy components derived from an earlier community code FLASH.

Heterogenous computing↗

Enhanced stopping of macro-particles in particle-in-cell simulations

We derive an equation for energy transfer from relativistic charged particles to a cold background plasma appropriate for finite-size particles that are used in particle-in-cell simulation codes. Expressions for one-, two-, and three-dimensional particles are presented, with special attention given to the two-dimensional case. This energy transfer is due to the electric field of the wake set up in the background plasma by the relativistic particle. The enhanced stopping is dependent on the q{sup 2}/m, where q is the charge and m is the mass of the relativistic particle, and therefore simulation macro-particles with large charge but identical q/m will stop more rapidly. The stopping power also depends on the effective particle shape of the macro-particle. These conclusions are verified in particle-in-cell simulations. We present 2D simulations of test particles, relaxation of high-energy tails, and integrated fast ignition simulations showing that the enhanced drag on macro-particles may adversely affect the results of these simulations in a wide range of high-energy density plasma scenarios. We also describe a particle splitting algorithm which can potentially overcome this problem and show its effect in controlling the stopping of macro-particles.

70 PLASMA PHYSICS AND FUSION TECHNOLOGY↗

Macro-micro multiscale modeling to assist the design of HPDC Al castings microstructure and alloys for EV super-large body structures (Phase 1)

Implementation of High Pressure Die Casting (HPDC) Aluminum (Al) body structures for high volume electrified vehicles (EV) to improve electric efficiency remains a key strategy within many original equipment manufacturer (OEM)s. In addition to high strength for safety requirements, superior Self-Piercing Riveting (SPR) performance is demanded for HPDC Al alloys to be compatible with high volume SPR joining. In this work, it is proposed to extend and validate an existing Contractor finite element multiscale macro-micro modeling approach to quantify the influence of the microstructure of HPDC alloys on the fracture strain/displacement under 3-point bend and clinch testing. The success of this work will allow to replace solution treatment stage with low energy consumption heat treatment (HT) processes, or to design new non heat treatable (NHT) HPDC Al alloys to eliminate HT requirements. Ultimately, this project will facilitate the application of HPDC Al alloys for super-large vehicle structures to significantly reduce vehicle weight, and thus improving energy efficiency. The purpose of this project is to extend and validate an existing finite element code, which is based on the Contractor developed macro-micro multi-scale modeling approach, to numerically simulate the three-point bending and clinch test and study the influences of material microstructural characteristics and phase properties on the rivetability. The macro-micro modeling approach begins with a sample scale model and identify the location, which is mostly prone to failure, the deformation history of the boundaries of that location calculated will be used to drive a microstructure-based sub-models where the material microstructure and microscale properties are considered. Using this approach, the wrap-bending failure for two Al alloys are correctly predicted for the first time. This will start with phase I effort of building a framework of macro-micro three point bending test and clinch test of Al10SiMgMn HPDC alloy in the as-cast and T7 heat treated conditions. Those results will then be validated with experimental test results. The phase II effort will involve the utilization of the knowledge learned in phase I to establish the quantitative correlation between the microstructure characteristics and the riveting performance, which will be further used to guide the optimization of HPDC Al alloy microstructure using heat treatment process to achieve sufficient rivetability to join large thin-wall HPDC alloys.

36 MATERIALS SCIENCE↗

Finite Macro-Element Mesh Deformation in a Structured Multi-Block Navier-Stokes Code

A mesh deformation scheme is developed for a structured multi-block Navier-Stokes code consisting of two steps. The first step is a finite element solution of either user defined or automatically generated macro-elements. Macro-elements are hexagonal finite elements created from a subset of points from the full mesh. When assembled, the finite element system spans the complete flow domain. Macro-element moduli vary according to the distance to the nearest surface, resulting in extremely stiff elements near a moving surface and very pliable elements away from boundaries. Solution of the finite element system for the imposed boundary deflections generally produces smoothly varying nodal deflections. The manner in which distance to the nearest surface has been found to critically influence the quality of the element deformation. The second step is a transfinite interpolation which distributes the macro-element nodal deflections to the remaining fluid mesh points. The scheme is demonstrated for several two-dimensional applications.

Bartels, Robert E.↗

On modeling subgrid-scale macro-structures in narrow twisted channels

Porosity-based subgrid topography models often fail to capture the effects of subgrid-scale topographic features in the interior of coarse grid cells. Existing approaches that modify bottom roughness or a drag coefficient are inadequate for macro-structures (large emergent or submerged obstacles) in subgrid-scale narrow twisted channels. Such structures partially block the cross-sectional area and provide enhanced topographic dissipation – effects that are not well represented by a drag coefficient that scales on a coarse-grid cell-averaged velocity and the cell volume. The relative alignment between mesh and flow further complicates this problem as it makes the subgrid model sensitive to mesh design. In the present study, three new approaches for simulating subgrid-scale macro-structures in narrow channels are proposed. The interior partial-blocking effect of structures is modeled as reduction of grid face-area. The sheltering of flow volumes around obstacles, which leads to topographic dissipation, is modeled by reducing the cell volume in the momentum equation (only). A mesh-shift procedure is designed to optimize mesh alignment for identifiable subgrid features. Combining the three subgrid methods improves the approximation of surface elevation and in-channel flow rate with a coarse-grid model. Tests are conducted for channelized flow using both synthetic domains and real marsh topography. Finally, the new methods reduce the overall mesh dependency of the subgrid model and provides stronger physical connection between effects of macro-structures and their geometry at coarse grid scales.

42 ENGINEERING↗

Micro- and macro-scale characterization of nano-SiO2 reinforced alkali activated slag composites

Highlights: • Combined advanced micro-scale measurements were used to predict properties of NS AASC. • NS enhances both the macro- and micro-mechanical properties of AASC. • Combination of MIP and XCT facilitates a complete characterization of pore structure. • Combined tools at multi-scale provide efficient approaches to optimize material design. - Abstract: The effect of nano-SiO{sub 2} on the micromechanical properties and microstructure of alkali-activated slag cement (AASC) composites was investigated. The investigation involved the use of: (i) nanoindentation to determine the elastic properties of the constituent phases using statistical deconvolution; (ii) scanning electron microscopy equipped with energy-dispersive X-ray spectroscopy and backscattered electrons to identify and characterize the solid phases in the microstructure; and (iii) X-ray computed tomography microscopy to determine the morphology of microscale pores and mercury intrusion porosimetry to measure the volume fraction of the nanoscale pores. The combined use of micro- and macro-scale characterization tools can establish a logical link between the macro-mechanics, microstructure, and micromechanical properties, which provides valuable information aiding the material design of AASC with nanoparticles.

77 NANOSCIENCE AND NANOTECHNOLOGY↗

Effect of RF power density on micro- and macro-structural properties of PECVD grown hydrogenated nanocrystalline silicon thin films

This contribution provides the comparison between micro- and macro-structure of hydrogenated nanocrystalline silicon (nc-Si:H) thin films grown by plasma enhanced chemical vapor deposition (PECVD) technique under different RF power densities (P{sub RF}: 100−444 mW/cm{sup 2}). Micro-structure is assessed through grazing angle X-ray diffraction (GAXRD), while macro-structure is followed by surface and cross-sectional morphology via field emission scanning electron microscopy (FE-SEM). The nanocrystallite size (∼5 nm) and FE-SEM surface conglomerate size (∼40 nm) decreases with increasing P{sub RF}, crystalline volume fraction reaches maximum at 162 mW/cm{sup 2}, FE-SEM cross-sectional structure is columnar except for the film grown at 162 mW/cm{sup 2}. The dependence of previously determined ‘oxygen content–refractive index’ correlation on obtained macro-structure is investigated. Also, the effect of P{sub RF} is discussed in the light of plasma parameters during film deposition process and nc-Si:H film growth models.

36 MATERIALS SCIENCE↗

MetaPop: a pipeline for macro- and microdiversity analyses and visualization of microbial and viral metagenome-derived populations

Abstract Background Microbes and their viruses are hidden engines driving Earth’s ecosystems from the oceans and soils to humans and bioreactors. Though gene marker approaches can now be complemented by genome-resolved studies of inter-(macrodiversity) and intra-(microdiversity) population variation, analytical tools to do so remain scattered or under-developed. Results Here, we introduce MetaPop, an open-source bioinformatic pipeline that provides a single interface to analyze and visualize microbial and viral community metagenomes at both the macro - and microdiversity levels. Macrodiversity estimates include population abundances and α- and β-diversity. Microdiversity calculations include identification of single nucleotide polymorphisms, novel codon-constrained linkage of SNPs, nucleotide diversity ( π and θ ), and selective pressures (pN/pS and Tajima’s D ) within and fixation indices ( F ST ) between populations. MetaPop will also identify genes with distinct codon usage. Following rigorous validation, we applied MetaPop to the gut viromes of autistic children that underwent fecal microbiota transfers and their neurotypical peers. The macrodiversity results confirmed our prior findings for viral populations (microbial shotgun metagenomes were not available) that diversity did not significantly differ between autistic and neurotypical children. However, by also quantifying microdiversity, MetaPop revealed lower average viral nucleotide diversity ( π ) in autistic children. Analysis of the percentage of genomes detected under positive selection was also lower among autistic children, suggesting that higher viral π in neurotypical children may be beneficial because it allows populations to better “bet hedge” in changing environments. Further, comparisons of microdiversity pre- and post-FMT in autistic children revealed that the delivery FMT method (oral versus rectal) may influence viral activity and engraftment of microdiverse viral populations, with children who received their FMT rectally having higher microdiversity post-FMT. Overall, these results show that analyses at the macro level alone can miss important biological differences. Conclusions These findings suggest that standardized population and genetic variation analyses will be invaluable for maximizing biological inference, and MetaPop provides a convenient tool package to explore the dual impact of macro - and microdiversity across microbial communities.

59 BASIC BIOLOGICAL SCIENCES↗

Mentat: An object-oriented macro data flow system

Mentat, an object-oriented macro data flow system designed to facilitate parallelism in distributed systems, is presented. The macro data flow model is a model of computation similar to the data flow model with two principal differences: the computational complexity of the actors is much greater than in traditional data flow systems, and there are persistent actors that maintain state information between executions. Mentat is a system that combines the object-oriented programming paradigm and the macro data flow model of computation. Mentat programs use a dynamic structure called a future list to represent the future of computations.

Grimshaw, Andrew S.↗

A macro-micro robot for precise force applications

This paper describes an 8 degree-of-freedom macro-micro robot capable of performing tasks which require accurate force control. Applications such as polishing, finishing, grinding, deburring, and cleaning are a few examples of tasks which need this capability. Currently these tasks are either performed manually or with dedicated machinery because of the lack of a flexible and cost effective tool, such as a programmable force-controlled robot. The basic design and control of the macro-micro robot is described in this paper. A modular high-performance multiprocessor control system was designed to provide sufficient compute power for executing advanced control methods. An 8 degree of freedom macro-micro mechanism was constructed to enable accurate tip forces. Control algorithms based on the impedance control method were derived, coded, and load balanced for maximum execution speed on the multiprocessor system.

Marzwell, Neville I.↗

A force-controllable macro-micro manipulator and its application to medical robots

This paper describes an 8-degrees-of-freedom macro-micro robot. This robot is capable of performing tasks that require accurate force control, such as polishing, finishing, grinding, deburring, and cleaning. The design of the macro-micro mechanism, the control algorithms, and the hardware/software implementation of the algorithms are described in this paper. Initial experimental results are reported. In addition, this paper includes a discussion of medical surgery and the role that force control may play. We introduce a new class of robotic systems collectively called Robotic Enhancement Technology (RET). RET systems introduce the combination of robotic manipulation with human control to perform manipulation tasks beyond the individual capability of either human or machine. The RET class of robotic systems offers new challenges in mechanism design, control-law development, and man/machine interface design. We believe force-controllable mechanisms such as the macro-micro structure we have developed are a necessary part of RET. Work in progress in the area of RET systems and their application to minimally invasive surgery is presented, along with future research directions.

Marzwell, Neville I.↗

Critique of Macro Flow/Damage Surface Representations for Metal Matrix Composites Using Micromechanics

Guidance for the formulation of robust, multiaxial, constitutive models for advanced materials is provided by addressing theoretical and experimental issues using micromechanics. The multiaxial response of metal matrix composites, depicted in terms of macro flow/damage surfaces, is predicted at room and elevated temperatures using an analytical micromechanical model that includes viscoplastic matrix response as well as fiber-matrix debonding. Macro flow/damage surfaces (i.e., debonding envelopes, matrix threshold surfaces, macro 'yield' surfaces, surfaces of constant inelastic strain rate, and surfaces of constant dissipation rate) are determined for silicon carbide/titanium in three stress spaces. Residual stresses are shown to offset the centers of the flow/damage surfaces from the origin and their shape is significantly altered by debonding. The results indicate which type of flow/damage surfaces should be characterized and what loadings applied to provide the most meaningful experimental data for guiding theoretical model development and verification.

Lissenden, Cliff J.↗

Relationship of Interplanetary Shock Micro and Macro Characteristics: A Wind Study

The non-linear least squared MHD fitting technique of Szabo 11 9941 has been recently further refined to provide realistic confidence regions for interplanetary shock normal directions and speeds. Analyzing Wind observed interplanetary shocks from 1995 to 200 1, macro characteristics such as shock strength, Theta Bn and Mach numbers can be compared to the details of shock micro or kinetic structures. The now commonly available very high time resolution (1 1 or 22 vectors/sec) Wind magnetic field data allows the precise characterization of shock kinetic structures, such as the size of the foot, ramp, overshoot and the duration of damped oscillations on either side of the shock. Detailed comparison of the shock micro and macro characteristics will be given. This enables the elucidation of shock kinetic features, relevant for particle energization processes, for observations where high time resolution data is not available. Moreover, establishing a quantitative relationship between the shock micro and macro structures will improve the confidence level of shock fitting techniques during disturbed solar wind conditions.

Szabo, Adam↗

Molecular Analyzer for Complex Refractory Organic-Rich Surfaces (MACROS)

The Molecular Analyzer for Complex Refractory Organic-rich Surfaces, MACROS, is a novel instrument package being developed at NASA Goddard Space Flight Center. MACROS enables the in situ characterization of a sample's composition by coupling two powerful techniques into one compact instrument package: (1) laser desorption/ionization time-of-flight mass spectrometry (LDMS) for broad detection of inorganic mineral composition and non-volatile organics, and (2) liquid-phase extraction methods to gently isolate the soluble organic and inorganic fraction of a planetary powder for enrichment and detailed analysis by liquid chromatographic separation coupled to LDMS. The LDMS is capable of positive and negative ion detection, precision mass selection, and fragment analysis. Two modes are included for LDMS: single laser LDMS as the broad survey mode and two step laser mass spectrometry (L2MS). The liquid-phase extraction will be done in a newly designed extraction module (EM) prototype, providing selectivity in the analysis of a complex sample. For the sample collection, a diamond drill front end will be used to collect rock/icy powder. With all these components and capabilities together, MACROS offers a versatile analytical instrument for a mission targeting an icy moon, carbonaceous asteroid, or comet, to fully characterize the surface composition and advance our understanding of the chemical inventory present on that body.

Getty, Stephanie A.↗

Macro-scale Testing and Micromechanics Modeling of Fracture Behaviors for Boron Carbide Composites with Hierarchical Microstructures

With a unique combination of properties including high hardness, low density, wear and corrosion resistance, thermal stability, high neutron absorption, and semi-conductivity, boron carbide (B4C) is a candidate material for various engineering applications that involve extreme environment. The current applications of boron carbide, however, are limited by its intrinsic brittleness due to its strong covalent bonding. To toughen boron carbide, in this work hierarchical microstructure designs was used to provide multiple toughening mechanisms including crack deflection/bridging, micro-crack toughening, etc. Using field assisted sintering, B4C composites with hierarchical microstructure features including graphite platelets, micron and sub-micron sized TiB2 reinforcements were fabricated. The fracture toughness of fabricated B4C composites were previously measured at micro-scale using micro-indentation followed by post-testing microstructure inspection. However, questions including whether the fracture toughness enhancement measured at micro-scale can translate to macro-scale mechanical properties, and what are the fundamental mechanisms behind observed fracture toughness enhancement, remain to be answered. In this study, the fabricated B4C composites were tested using standardized four-point bending method to obtain fracture toughness at macro-scale. In addition, micromechanics modeling was conducted using MAC/GMC code and crack-band model to study the effect of residual stress and weak interphases on fracture behaviors of B4C composites reinforced with TiB2 particles. Through standardized four-point bending tests, fracture toughness enhancements up to 2.85, 3.32, and 3.65 MPa∙m(exp 1/2) (from 2.38 MPa∙m(exp 1/2)) were achieved for B4C composites with graphite platelets addition (micro/nano B4C), with TiB2 formation (micro B4C-TiB2), and with both graphite and TiB2 addition (micro/nano B4C-TiB2) respectively. Micromechanics modeling indicated that introduction of thermal residual stress and weak interphases caused enhanced micro-cracking behavior and resulted in the observed fracture toughness enhancement. These results furthered understanding about the mechanical behaviors at macro-scale and the mechanisms behind observed fracture toughness enhancement for B4C composites with hierarchical microstructures and can provide reference data for the future design of B4C composites with optimized microstructures for further fracture toughness enhancement.

Boron Carbide↗

Two-phase mixed media dielectric with macro dielectric beads for enhancing resistivity and breakdown strength

A two-phase mixed media insulator having a dielectric fluid filling the interstices between macro-sized dielectric beads packed into a confined volume, so that the packed dielectric beads inhibit electro-hydrodynamically driven current flows of the dielectric liquid and thereby increase the resistivity and breakdown strength of the two-phase insulator over the dielectric liquid alone. In addition, an electrical apparatus incorporates the two-phase mixed media insulator to insulate between electrical components of different electrical potentials. And a method of electrically insulating between electrical components of different electrical potentials fills a confined volume between the electrical components with the two-phase dielectric composite, so that the macro dielectric beads are packed in the confined volume and interstices formed between the macro dielectric beads are filled with the dielectric liquid.

42 ENGINEERING↗

Interface learning in fluid dynamics: Statistical inference of closures within micro–macro-coupling models

Many complex multiphysics systems in fluid dynamics involve using solvers with varied levels of approximations in different regions of the computational domain to resolve multiple spatiotemporal scales present in the flow. The accuracy of the solution is governed by how the information is exchanged between these solvers at the interface and several methods have been devised for such coupling problems. In this article, we construct a data-driven model by spatially coupling a microscale lattice Boltzmann method (LBM) solver and macroscale finite difference method (FDM) solver for reaction-diffusion systems. The coupling between the micro-macro solvers has one to many mapping at the interface leading to the interface closure problem, and we propose a statistical inference method based on neural networks to learn this closure relation. The performance of the proposed framework in a bifidelity setting partitioned between the FDM and LBM domain shows its promise for complex systems where analytical relations between micro-macro solvers are not available.

42 ENGINEERING↗

Photo-Stabilisation and UV Blocking Efficacy of Coated Macro and Nano-Rutile Titanium Dioxide Particles in Paints and Coatings

Surface treated macro and nanoparticle TiO{sub 2} samples have been prepared, characterised and their efficiency as UV blockers evaluated in clear coatings and paints. The particle size of the ‘base’ TiO{sub 2} has been optimised to block UV radiation and the surface treatment developed to deactivate the photocatalytic activity of the surface of the TiO{sub 2} particles. The resultant UV blockers have been evaluated in both solvent and water-based clear coatings. Nanoparticle TiO{sub 2} has been prepared from ‘seed’ and the particle size was controlled by calcination. It was found that the choice of particle size is a compromise between UVA absorption, UVB absorption, visible transmission and photoactivity. It has been demonstrated that TiO{sub 2} with a crystallite size of 25 nm yields a product with the optimum properties. A range of dispersants was successfully used to disperse and mill the TiO{sub 2}. Both organic and inorganic dispersants were used; 2-amino-2-methyl-1-propanol and 1-amino-2-propanol (MIPA) and P{sub 2}O{sub 5} and Na{sub 2}SiO{sub 3} respectively. The surface of the nano-TiO{sub 2} was coated with mixed oxides of silicon, aluminium, zirconium and phosphorous. Addition of the resultant coated nano-rutiles to an Isocyanate Acrylic clear coating prolonged the lifetime of that coating compared to the blank. Generally, a surface treatment based on SiO{sub 2}, Al{sub 2}O{sub 3} and P{sub 2}O{sub 5} was more successful than one based on ZrO{sub 2}, Al{sub 2}O{sub 3} and P{sub 2}O{sub 5}. Higher addition levels of the surface treatment were beneficial for protecting the polymeric coating. The UV blocker products were also evaluated in a water-based acrylic, first a water-based dispersion of the UV blocker was prepared before addition to the acrylic. The dispersions and resultant acrylic thin films were evaluated using UV/Vis spectroscopy and durability assessed. The ratio of absorbance at 300:500 nm for the water-based dispersion was shown to be a good predictor of both the transparency of the resultant acrylic thin film and the durability of that film, in terms of weight loss. Macro grade titanium dioxide pigments were also prepared and coated with treatments of silica, alumina and siloxane and their photo-stabilising activity in alkyd paint film assessed and found to be directly related to the electron–hole pair mobility and trapping as determined by micro-wave spectroscopy.

77 NANOSCIENCE AND NANOTECHNOLOGY↗