Skip to content

Comments

Update gas file output to use alpha/eta SST values#14

Open
cuddandr wants to merge 4 commits intoUTA-NURES:masterfrom
cuddandr:odie
Open

Update gas file output to use alpha/eta SST values#14
cuddandr wants to merge 4 commits intoUTA-NURES:masterfrom
cuddandr:odie

Conversation

@cuddandr
Copy link
Contributor

@cuddandr cuddandr commented Jul 2, 2020

Updated OdieRun to use the alpha and eta SST calculation values in the
gas file when the steady state threshold is crossed.

Previously the gas file would always store the first calculation of
alpha and eta. These values can be quite different from the later
calculations of alpha and eta from the SST, PT, or TOF simulations.

MagBoltz by default reports the SST calculations of alpha and eta if the
steady state threshold has been crossed. OdieRun now does the same in
the gas file.

The Boltz class was modified to include a boolean flag to indicate if
the steady state threshold has been crossed.

NB: If the steady state threshold was crossed, but the SST simulation
was not run, the flag is set to False as the alpha and eta SST values
are not calculated.

cuddandr and others added 3 commits July 2, 2020 12:04
Updated OdieRun to use the alpha and eta SST calculation values in the
gas file when the steady state threshold is crossed.

Previously the gas file would always store the first calculation of
alpha and eta. These values can be quite different from the later
calculations of alpha and eta from the SST, PT, or TOF simulations.

MagBoltz by default reports the SST calculations of alpha and eta if the
steady state threshold has been crossed. OdieRun now does the same in
the gas file.

The Boltz class was modified to include a boolean flag to indicate if
the steady state threshold has been crossed.

NB: If the steady state threshold was crossed, but the SST simulation
was not run, the flag is set to False as the alpha and eta SST values
are not calculated.
The types of gases in a given mix are specified by strings in the
settings dictionary. This commit adds alternative names/abbriviations
for most gases for a more user friendly experience. Additionally the gas
strings are now converted to upper case before comparison which makes
them case-insensitive to the user.

For example, PyBoltz now accepts N2, n2, or Nitrogen as a valid string for
nitrogen gas instead of only NITROGEN.

The ListGases() function now prints all accepted strings for each gas.

Edited the printing of the settings dictionary to use the JSON pretty
printing functionality.
Forgot to mention that the last commit only added the alternative gas
names to the OdieRun interface.

This commit ports the alternative gas names and modified functions to
the PyBoltzRun interface.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants