Skip to content

Releases: NatLabRockies/FuelLib

v2.1.0

30 Sep 18:48
49ef045

Choose a tag to compare

What's Changed

Full Changelog: v2.0.2...v2.0.3

v2.0.2

01 Sep 23:15
2512fdf

Choose a tag to compare

Minor quality of life fixes and typo corrections in docs

What's Changed

  • Add number of compounds to header by @dmontgomeryNREL in #23
  • Fix minor typo by @dmontgomeryNREL in #24

Full Changelog: v2.0.1...v2.0.2

v2.0.1

30 Aug 21:13
d83d938

Choose a tag to compare

What's Changed

  • Fix typo in docs, update Export4Pele.py by @dmontgomeryNREL in #22

Full Changelog: v2.0.0...v2.0.1

v2.0.0

27 Aug 20:14
ea54be3

Choose a tag to compare

What's Changed

  • Re-org and add functionality for exporting to Pele and Converge by @dmontgomeryNREL in #19
  • Fix minor typo in docs and Export4Pele by @dmontgomeryNREL in #20
  • Add source directory, rename groupContribution class to fuel by @dmontgomeryNREL in #21

Breaking changes

  • GroupContributionMethod.py was renamed FuelLib.py. This was motivated by the name of the repository and the fact that this script contains much more than GCM tools. All imports of GroupContributionMethod must changed as follows:
    # Old import
    import GroupContributionMethod as gcm
    # New import
    import FuelLib as fl
    
  • While not entirely necessary, we recommend importing FuelLib as fl instead of gcm. This is consistent with the repo name and will help avoid confusion in the future. This will require searching and replacing all gcm. with fl..
    • Creation of a source directory. This is necessary for organization as we build toward including multi-component evaporation models within FuelLib.
  • In FuelLib.py, the groupContribution class was renamed fuel. This was motivated by the fact that the class is much more than GCM--it provides a characterization of the fuel. All instances of groupContribution must now be called using the following:
    import FuelLib as fl
    # Old instance
    fuel = fl.groupContribution(<fuel_name>)
    # New instance
    fuel = fl.fuel(<fuel_name>)
    
    This also makes the documentation more clear.
  • Mixture functions are now functions of the mass fraction, not mass. This is consistent with the Pele codes and provides the most general approach for predicting mixture properties. All calls to mixture functions will need to have mass replaced with a mass fractions. For example:
    # Old mixture function call for vapor pressure
    mixture_psat = fuel.mixture_vapor_pressure(mass_i, T)
    
    # New mixture function call
    Y_i = mass_i / np.sum(mass_i)
    mixture_psat = fuel.mixture_vapor_pressure(Y_i, T)
    

New functionality

There are two new scripts in the testing phase for exporting GCM-based predictions to CFD solvers:

  • source/Export4Pele.py: Exports the fundamental GCM predictions for each component for use in the Spray module of PelePhysics.

  • source/Export4Converge: Exports mixture-level predictions over a range of temperatures for use in VOF simulations in Converge.

  • There is now a file FuelLib/paths.py that creates variables for the various paths. Any file that imports paths automatically imports the source directory.

Reorganization

  • Main library files (eg. FuelLib.py) have been moved to a source directory
  • The examples have been moved to a directory called tutorials. This coincides with a new tutorials section in the documentation and should provide users a better introduction to FuelLib.

Updated Baseline for Testing

Minor diffs from converting the mixture property functions from mass-based to mass-fraction-based introduced minor diffs in the baseline tests. The baseline has been reset for future testing based on these changes.

Full Changelog: v1.1.0...v2.0.0

v2.0.0-alpha

19 Aug 16:43
ea54be3

Choose a tag to compare

v2.0.0-alpha Pre-release
Pre-release

What's Changed

  • Re-org and add functionality for exporting to Pele and Converge by @dmontgomeryNREL in #19

This version includes some breaking changes, new functionality, new tutorials, additional documentation, and renaming/reorganization of files.

Breaking changes:

  • GroupContributionMethod.py was renamed FuelLib.py. This was motivated by the name of the repository and the fact that this script contains much more than GCM tools. All imports of GroupContributionMethod must changed as follows:
    # Old import
    import GroupContributionMethod as gcm
    # New import
    import FuelLib as fl
    
  • While not entirely necessary, we recommend importing FuelLib as fl instead of gcm. This is consistent with the repo name and will help avoid confusion in the future. This will require searching and replacing all gcm. with fl..
  • Mixture functions are now functions of the mass fraction, not mass. This is consistent with the Pele codes and provides the most general approach for predicting mixture properties. All calls to mixture functions will need to have mass replaced with a mass fractions. For example:
    # Old mixture function call for vapor pressure
    mixture_psat = fuel.mixture_vapor_pressure(mass_i, T)
    
    # New mixture function call
    Y_i = mass_i / np.sum(mass_i)
    mixture_psat = fuel.mixture_vapor_pressure(Y_i, T)
    

New functionality:
There are two new scripts in the testing phase for exporting GCM-based predictions to CFD solvers:

  • Export4Pele.py: Exports the fundamental GCM predictions for each component for use in the Spray module of PelePhysics.
  • Export4Converge: Exports mixture-level predictions over a range of temperatures for use in VOF simulations in Converge.

Reorganization:
The examples have been moved to a directory called tutorials. This coincides with a new tutorials section in the documentation and should provide users a better introduction to FuelLib.

Updated Baseline for Testing:
Minor diffs from converting the mixture property functions from mass-based to mass-fraction-based introduced minor diffs in the baseline tests. The baseline has been reset for future testing based on these changes.

Full Changelog: v1.1.0...v2.0.0-alpha

v1.1.0

19 Aug 15:53
52743de

Choose a tag to compare

What's Changed

  • Update docs by @dmontgomeryNREL in #12
  • Add function for computing Antoine coeffs of a mixture by @dmontgomeryNREL in #13
  • Add three HEFA fuels derived from different feedstocks by @dmontgomeryNREL in #14
  • Composition plots by @dmontgomeryNREL in #15
  • Organize examples and tests by @dmontgomeryNREL in #16
  • Add logo and ignore pdfs in codespell by @dmontgomeryNREL in #17
  • Add logo to sidebar in docs by @dmontgomeryNREL in #18

Full Changelog: v1.0.0...v1.1.0

Version 1.0.0

07 May 19:20
2deec56

Choose a tag to compare

This is the first version release of FuelLib. It contains GCxGC data and group decompositions for the following fuels:

  • decane
  • dodecane
  • heptane
  • POSF-4658 (representative Jet-A fuel used in research and development of jet fuel surrogates)
  • POSF-10264 (JP-8, a relatively high viscosity, high flash point, low hydrogen content fuel)
  • POSF-10289 (JP-5)
  • POSF-10325 (conventional Jet-A)
  • POSF-11498 (GEVO C1, an alcohol-to-jet synthetic fuel studied as a test fuel in the National Jet Fuels Combustion Program)