Enum Class PropellantType

java.lang.Object
java.lang.Enum<PropellantType>
com.github.jbgust.jsrm.application.motor.propellant.PropellantType
All Implemented Interfaces:
SolidPropellant, Serializable, Comparable<PropellantType>, Constable

public enum PropellantType extends Enum<PropellantType> implements SolidPropellant
  • Enum Constant Details

    • KNDX

      public static final PropellantType KNDX
      KNDX = Potassium Nitrate/Dextrose, 65/35 O/F ratio
    • KNSB_FINE

      public static final PropellantType KNSB_FINE
      KNSB fine = potassium nitrate/sorbitol 65/35 O/F ratio, oxidizer finely milled
    • KNSB_COARSE

      public static final PropellantType KNSB_COARSE
      KNSB coarse = potassium nitrate/sorbitol 65/35 O/F ratio, oxidizer granular or lightly milled prills
    • KNSU

      public static final PropellantType KNSU
      KNSU = potassium nitrate/sucrose 65/35 O/F ratio, oxidizer finely milled
    • KNER_COARSE

      public static final PropellantType KNER_COARSE
      KNER coarse = potassium nitrate/erythritol 65/35 O/F ratio, oxidizer granular or lightly milled prills
    • KNMN_COARSE

      public static final PropellantType KNMN_COARSE
      KNMN coarse = potassium nitrate/mannitol 65/35 O/F ratio, oxidizer granular or lightly milled prills
    • KNXY

      public static final PropellantType KNXY
      KNXY = potassium nitrate/Xylitol 65/35 O/F ratio
    • KNFR

      public static final PropellantType KNFR
      KNFR = Potassium Nitrate/Fructose 65/35 O/F ratio
    • KNPSB

      public static final PropellantType KNPSB
      KNPSB = Potassium Nitrate/Potassium Perchlorate/Sorbitol 35/30/35 O/O/F ratio
  • Method Details

    • values

      public static PropellantType[] values()
      Returns an array containing the constants of this enum class, in the order they are declared.
      Returns:
      an array containing the constants of this enum class, in the order they are declared
    • valueOf

      public static PropellantType valueOf(String name)
      Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (Extraneous whitespace characters are not permitted.)
      Parameters:
      name - the name of the enum constant to be returned.
      Returns:
      the enum constant with the specified name
      Throws:
      IllegalArgumentException - if this enum class has no constant with the specified name
      NullPointerException - if the argument is null
    • getDescription

      public String getDescription()
      Specified by:
      getDescription in interface SolidPropellant
      Returns:
      a simple description of the propellant ex: "KNDX = Potassium Nitrate/Dextrose, 65/35 O/F ratio"
    • getIdealMassDensity

      public double getIdealMassDensity()
      Specified by:
      getIdealMassDensity in interface SolidPropellant
      Returns:
      Grain mass density, ideal [g/cm3]
    • getK2Ph

      public double getK2Ph()
      Specified by:
      getK2Ph in interface SolidPropellant
      Returns:
      Ratio of specific heats, 2-ph.
    • getK

      public double getK()
      Specified by:
      getK in interface SolidPropellant
      Returns:
      Ratio of specific heats, mixture
    • getEffectiveMolecularWeight

      public double getEffectiveMolecularWeight()
      Specified by:
      getEffectiveMolecularWeight in interface SolidPropellant
      Returns:
      Effective molecular wt. [kg/kmol]
    • getChamberTemperature

      public double getChamberTemperature()
      Specified by:
      getChamberTemperature in interface SolidPropellant
      Returns:
      Chamber temperature [°K]
    • getBurnRateCoefficient

      public double getBurnRateCoefficient(double chamberPressure) throws ChamberPressureOutOfBoundException
      Specified by:
      getBurnRateCoefficient in interface SolidPropellant
      Parameters:
      chamberPressure - in [Mpa]
      Returns:
      Burn rate coefficient by chamber pressure [mm/s]
      Throws:
      ChamberPressureOutOfBoundException - if a pressure data is not find
    • getPressureExponent

      public double getPressureExponent(double chamberPressure) throws ChamberPressureOutOfBoundException
      Specified by:
      getPressureExponent in interface SolidPropellant
      Parameters:
      chamberPressure - in [Mpa]
      Returns:
      Pressure exponent valid at Po
      Throws:
      ChamberPressureOutOfBoundException - if a pressure data is not find
    • getId

      public int getId()