skip to main content
US FlagAn official website of the United States government
dot gov icon
Official websites use .gov
A .gov website belongs to an official government organization in the United States.
https lock icon
Secure .gov websites use HTTPS
A lock ( lock ) or https:// means you've safely connected to the .gov website. Share sensitive information only on official, secure websites.


Title: ChemCheck: A Cantera Tool For Debugging Chemical and Syntax Errors In Combustion Models
Detailed kinetic models are widely used in combustion modeling, and their size has been significantly increasing over the past decades. With the increasing size and varied data sources, there is need to detect chemical and syntax errors in the model to prevent the simulation from failure. In this work, we present a new open-source web based tool —ChemCheck, to help identify the incorrect data format, inappropriate pressure-dependent and duplicate reaction rate parameters, visualize the thermodynamic inconsistencies and the violations of collision limit. The main goal of this tool is to help Cantera, an open-source suite of tools for problems involving chemical kinetics, thermodynamics, and transport processes, debug the possible errors during computation, so a workflow about coupling Cantera and ChemCheck to improve a detailed kinetic model is demonstrated.  more » « less
Award ID(s):
1931389
PAR ID:
10259944
Author(s) / Creator(s):
;
Date Published:
Journal Name:
12th U.S. National Combustion Meeting
Page Range / eLocation ID:
2E09
Format(s):
Medium: X
Sponsoring Org:
National Science Foundation
More Like this
  1. A micropolar phase field fracture model is implemented in an open source library FEniCS. This implementation is based on the theoretical study in Suh et al. (2020) in which the resultant phase field model exhibits the consistent micropolar size effect in both elastic and damage regions identifiable via inverse problems for micropolar continua. By leveraging the automatic code generation technique in FEniCS, we provide a documentation of the source code expressed in a language very close to the mathematical expressions without comprising significant efficiency. This combination of generality and interpretability therefore enables us to provide a detailed walk-through that connects the implementation with the regularized damage theory for micropolar materials. By making the source code open source, the paper will provide an efficient development and educational tool for third-party verification and validation, as well as for future development of other higher-order continuum damage models. 
    more » « less
  2. Abstract. The Aerodyne Aerosol Mass Spectrometer (AMS) and Aerosol Chemical Speciation Monitor (ACSM) are the most widely applied tools for in situ chemical analysis of the non-refractory bulk composition of fine atmospheric particles. The mass spectra (MS) of many AMS and ACSM observations from field and laboratory studies have been reported in peer-reviewed literature and many of these MS have been submitted to an open-access website. With the increased reporting of such datasets, the database interface requires revisions to meet new demands and applications. One major limitation of the web-based database is the inability to automatically search the database and compare previous MS with the researcher's own data. In this study, a searchable database tool for the AMS and ACSM mass spectral dataset was built to improve the efficiency of data analysis using Igor Pro, consistent with existing AMS and ACSM software. The database tool incorporates the published MS and sample information uploaded on the website. This tool allows the comparison of a target mass spectrum with the reference MS in the database, calculating cosine similarity, and provides a range of MS comparison plots, reweighting, and mass spectrum filtering options. The aim of this work is to help AMS and ACSM users efficiently analyze their own data for possible source or atmospheric processing features by comparison to previous studies, enhancing information gained from past and current global research on atmospheric aerosol. 
    more » « less
  3. With Kotlin becoming a viable language replacement for Java, there is a need for translators and data flow analysis libraries to create maintainable and readable source code. Instagram, Uber, and Gradle are only a few of the large corporations that have either switched from Java to Kotlin completely or started to use it in internal tools in order to reduce code base size. Developers have claimed that Kotlin is fun to use in comparison to Java and much of the boilerplate code is reduced. With Java being the main language for the open source organization, PhenoApps, there is a need to support both Java and Kotlin to increase the maintainability of the code. Fortunately, JetBrains has an open-source IDE plugin for translating Java to Kotlin; however, the translation has some fundamental issues which shall be discussed further in this paper. Introducing, j2k, a CLI translation tool which includes various anti-pattern detection for syntactical formatting, performance, and other Android requirements. The new tool introduced within this paper, j2kCLI allows users to directly translate strings of Java code to Kotlin, or entire directories. This facilitates the maintainability of a large open source code base. 
    more » « less
  4. Chemical reaction neural network (CRNN), a recently developed tool for autonomous discovery of reaction models, has been successfully demonstrated on a variety of chemical engineering and biochemical systems. It leverages the extraordinary data-fitting capacity of modern deep neural networks (DNNs) while preserving high interpretability and robustness by embedding widely applicable physical laws such as the law of mass action and the Arrhenius law. In this paper, we further developed Bayesian CRNN to not only reconstruct but also quantify the uncertainty of chemical kinetic models from data. Two methods, the Markov chain Monte Carlo algorithm and variational inference, were used to perform the Bayesian CRNN, with the latter mainly adopted for its speed. We demonstrated the capability of Bayesian CRNN in the kinetic uncertainty quantification of different types of chemical systems and discussed the importance of embedding physical laws in data-driven modeling. Finally, we discussed the adaptation of Bayesian CRNN for incomplete measurements and model mixing for global uncertainty quantification. 
    more » « less
  5. The Reproducible Software Environment (Resen) is an open-source software tool enabling computationally reproducible scientific results in the geospace science community. Resen was developed as part of a larger project called the Integrated Geoscience Observatory (InGeO), which aims to help geospace researchers bring together diverse datasets from disparate instruments and data repositories, with software tools contributed by instrument providers and community members. The main goals of InGeO are to remove barriers in accessing, processing, and visualizing geospatially resolved data from multiple sources using methodologies and tools that are reproducible. The architecture of Resen combines two mainstream open source software tools, Docker and JupyterHub, to produce a software environment that not only facilitates computationally reproducible research results, but also facilitates effective collaboration among researchers. In this technical paper, we discuss some challenges for performing reproducible science and a potential solution via Resen, which is demonstrated using a case study of a geospace event. Finally we discuss how the usage of mainstream, open-source technologies seems to provide a sustainable path towards enabling reproducible science compared to proprietary and closed-source software. 
    more » « less