analyticmgopac

An analytic opacity integrator for multigroup calculations

https://github.com/llnl/analyticmgopac

Science Score: 65.0%

This score indicates how likely this project is to be science-related based on various indicators:

  • CITATION.cff file
    Found CITATION.cff file
  • codemeta.json file
    Found codemeta.json file
  • .zenodo.json file
    Found .zenodo.json file
  • DOI references
    Found 3 DOI reference(s) in README
  • Academic publication links
  • Academic email domains
  • Institutional organization owner
    Organization llnl has institutional domain (software.llnl.gov)
  • JOSS paper metadata
  • Scientific vocabulary similarity
    Low similarity (14.2%) to scientific vocabulary
Last synced: 9 months ago · JSON representation ·

Repository

An analytic opacity integrator for multigroup calculations

Basic Info
  • Host: GitHub
  • Owner: LLNL
  • License: mit
  • Language: C++
  • Default Branch: main
  • Size: 3.8 MB
Statistics
  • Stars: 0
  • Watchers: 3
  • Forks: 0
  • Open Issues: 0
  • Releases: 0
Created over 2 years ago · Last pushed about 1 year ago
Metadata Files
Readme Contributing License Code of conduct Citation

README.md

AnalyticMGOpac: An analytic opacity integrator for multigroup calculations

This C++14 code numerically integrates the opacity formulas for the test problem described in * Thomas A. Brunner, "A Family of Multi-Dimensional Thermal Radiative Transfer Test Problems", 2023, LLNL-TR-858450-REV-1, DOI 10.2172/2280904

Please see that document for a full description.

Getting started

This code mainly consists of two implementation files for the opacity and integrator. The there is a test file that will output sample data used in LLNL-TR-858450 and a Python file to make the plots.

  • AnalyticEdgeOpacity.cc and AnalyticEdgeOpacity.hh: C++14 code to compute the frequency dependent opacity for a given set of parameters
  • MultiGroupIntegrator.cc and MultiGroupIntegrator.hh: C++14 code to integrate a given instance of AnalyticEdgeOpacity for a particular set of group bounds.
  • opacTest.cc: An optional C++20 test driver. This language version was chosen to help reduce some boilerplate in order to help make it clearer how to use the library.
  • Makefile: A simple makefile to build the test driver, assuming you have clang++ installed.
  • plotOpacs.py: A matplotlib based script to plot the results from opacTest.cc which can be seen in LLNL-TR-858450.

Prerequisites

The opacity integrator only requires C++14. The test file opacTest.cc which documents the usage of the integrator relies on the {fmt} library.

Installing

A simple Makefile is included for this project. You can edit it to fit your compiler. git clone git@github.com:fmtlib/fmt.git make

Running the tests

After building the test code, you can generate opacity plots by running % ./opacTest % python3 plotOpacs.py

Release

The code of this site is released under the MIT License. For more details, see the LICENSE file. All new contributions must be made under this license.

See the NOTICE file for other important information.

LLNL-CODE-858992

Owner

  • Name: Lawrence Livermore National Laboratory
  • Login: LLNL
  • Kind: organization
  • Email: github-admin@llnl.gov
  • Location: Livermore, CA, USA

For over 70 years, the Lawrence Livermore National Laboratory has applied science and technology to make the world a safer place.

Citation (CITATION.cff)

# This CITATION.cff file was generated with cffinit.
# Visit https://bit.ly/cffinit to generate yours today!

cff-version: 1.2.0
title: AnalyticMGOpac
message: LLNL-CODE-858992
type: software
authors:
  - given-names: Thomas A.
    family-names: Brunner
    affiliation: Lawrence Livermore National Laboratory
    orcid: 'https://orcid.org/0000-0002-0629-6397'
repository-code: 'https://github.com/LLNL/AnalyticMGOpac'
license: MIT

GitHub Events

Total
  • Delete event: 1
  • Push event: 2
  • Create event: 1
Last Year
  • Delete event: 1
  • Push event: 2
  • Create event: 1

Issues and Pull Requests

Last synced: over 1 year ago

All Time
  • Total issues: 0
  • Total pull requests: 3
  • Average time to close issues: N/A
  • Average time to close pull requests: 4 minutes
  • Total issue authors: 0
  • Total pull request authors: 1
  • Average comments per issue: 0
  • Average comments per pull request: 0.33
  • Merged pull requests: 3
  • Bot issues: 0
  • Bot pull requests: 0
Past Year
  • Issues: 0
  • Pull requests: 3
  • Average time to close issues: N/A
  • Average time to close pull requests: 4 minutes
  • Issue authors: 0
  • Pull request authors: 1
  • Average comments per issue: 0
  • Average comments per pull request: 0.33
  • Merged pull requests: 3
  • Bot issues: 0
  • Bot pull requests: 0
Top Authors
Issue Authors
Pull Request Authors
  • brunner6 (6)
Top Labels
Issue Labels
Pull Request Labels