Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Radiation property library #72

Open
BYUignite opened this issue Dec 14, 2020 · 9 comments
Open

Radiation property library #72

BYUignite opened this issue Dec 14, 2020 · 9 comments
Labels
work-in-progress An enhancement that someone is currently working on

Comments

@BYUignite
Copy link

BYUignite commented Dec 14, 2020

Abstract

A brief description of the work being done.

We have developed a radiation property library called radlib (https://github.com/BYUignite/radlib) the implements the Planck Mean (PM), WSGG, and the new RCSLW models. These models provide absorption coefficients and weighting factors that can be combined with a solver for the radiative transport equation. The code is fully documented, verified, and includes several examples. The library is written in C++ and includes a Python interface written in Cython. Each of the three models currently implemented includes CO2, H2O, and soot, with RCSLW including CO, and PM including CO and CH4. One of many advantages of Cantera is that it provides a library of thermochemical and reaction properties that simplify the development of user tools. We would like to include additional radiation properties in Cantera for use in user tools.

Motivation

Describe the need for the work being done:

  • What problem is it trying to solve?
    Provide radiation properties for a varying levels of accuracy, computational cost, and complexity.

  • Who is affected by the change?
    These models will aid researchers who want to implement radiative transport solvers by providing models for the radiative properties in participating media. Examples include CFD solvers, and laminar flames, among others.

  • Why is this a good solution?

The models noted seem consistent with the purpose and approach of Cantera. The radlib code is only a starting point and would require appropriate integration into Cantera, which we are willing to do, with some guidance. The Planck Mean model is already implemented in Cantera. We would like to extend the capabilities to other models.

Description
Please see https://github.com/BYUignite/radlib for a detailed description, including code documentation: https://ignite.byu.edu/radlib_documentation/. Code examples and plots are shown here: https://github.com/BYUignite/radlib/blob/master/examples/python/run_and_plot_examples.ipynb

Alternatives

If any alternative solutions to solving the same problem have been considered, describe them here, and explain why the chosen approach is preferred.

References

Links to a development branch in your fork of the Cantera repository, Pull Requests, GitHub Issues, Users' Group topics, or other relevant material.

https://github.com/BYUignite/radlib

Note, we are preparing a journal publication on this code. There is also a code ocean module in review.

Sincerely,
David Lignell
Professor, Brigham Young University
http://ignite.byu.edu

@BYUignite BYUignite added the work-in-progress An enhancement that someone is currently working on label Dec 14, 2020
@bryanwweber
Copy link
Member

Hi @BYUignite! Thank you so much for posting this. I don't have any updates other than to say I'm looking forward to seeing how this can be integrated with Cantera!

@BYUignite
Copy link
Author

BYUignite commented Jan 13, 2021 via email

@ischoegl
Copy link
Member

ischoegl commented Feb 9, 2021

Hi David, I am posting a link to a current PR Cantera/cantera/pull/965 here that I believe has overlap. I haven’t looked into radiation properties myself at this point, and mainly wanted to connect dots here.

@BYUignite
Copy link
Author

BYUignite commented Feb 9, 2021 via email

@lavrenyukiv
Copy link

You use the same polynomials for calculating the Planck-averaged coefficients as https://www.sandia.gov/TNF/radiation.html. It is not clear how accurate these polynomials are at high temperatures (small approximation errors lead to huge deviations in energy), so using linear interpolation in logarithm scale between "exact" values is preferably. Also polynomial for CO2 leads to negative absorption coefficient at low temperatures.

@BYUignite
Copy link
Author

Changing the Planck-mean coefficients would be easy to do, and we could guard properly against value ranges.

@wandadars
Copy link

@BYUignite Am I correct in my understanding that the radiation properties are totally uncoupled to the radiation solver that someone chooses to use? If RadLib has those 3 models for the radiation coefficients, any of those three could be used in any other models that compute heat transfer? Of is it a more complex relation where property-method A works for solver-methods 1 and 2, but not 3, etc.?

@BYUignite
Copy link
Author

BYUignite commented Jan 17, 2025 via email

@BYUignite
Copy link
Author

BYUignite commented Jan 17, 2025 via email

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
work-in-progress An enhancement that someone is currently working on
Projects
None yet
Development

No branches or pull requests

5 participants