Enum SinglePhaseProperty

Source
pub(crate) enum SinglePhaseProperty {
Show 30 variants Viscosity, ViscositydTemperature, ViscositydPressure, ViscositydMoles, ViscositydMolFraction, ThermalConductivity, ThermalConductivitydTemperature, ThermalConductivitydPressure, ThermalConductivitydMoles, ThermalConductivitydMolFraction, Enthalpy, EnthalpydTemperature, EnthalpydPressure, EnthalpydMoles, EnthalpydMolFraction, Entropy, EntropydTemperature, EntropydPressure, EntropydMoles, EntropydMolFraction, Density, DensitydTemperature, DensitydPressure, DensitydMoles, DensitydMolFraction, Volume, VolumedTemperature, VolumedPressure, VolumedMoles, VolumedMolFraction,
}
Expand description

Enumeration containing all supported single phase properties

Variants§

§

Viscosity

Viscosity, Pa*s

§

ViscositydTemperature

Temperature derivative of Viscosity, Pa*s/K

§

ViscositydPressure

Pressure derivative of Viscosity, Pa*s/Pa

§

ViscositydMoles

Mole fraction derivative of viscosity, Pa*s

§

ViscositydMolFraction

Mole number derivative of viscosity, Pa*s/mol

§

ThermalConductivity

Thermal conductivity, W/m/K

§

ThermalConductivitydTemperature

Temperature derivative of thermal conductivity, W/m/K^2

§

ThermalConductivitydPressure

Pressure derivative of thermal conductivity, W/m/K/Pa

§

ThermalConductivitydMoles

Mole fraction derivative of thermal conductivity, W/m/K

§

ThermalConductivitydMolFraction

Mole number derivative of thermal conductivity, W/m/mol

§

Enthalpy

Enthalpy, J/mol

§

EnthalpydTemperature

Temperature derivative of enthalpy, J/mol/K

§

EnthalpydPressure

Pressure derivative of enthalpy, J/mol/Pa

§

EnthalpydMoles

Mole fraction derivative of enthalpy, J/mol

§

EnthalpydMolFraction

Mole number derivative of enthalpy, J/mol

§

Entropy

Entropy, J/mol/K

§

EntropydTemperature

Temperature derivative of entropy, J/mol/K^2

§

EntropydPressure

Pressure derivative of entropy, J/mol/K/Pa

§

EntropydMoles

Mole fraction derivative of entropy, J/mol/K

§

EntropydMolFraction

Mole number derivative of entropy, J/mol/K

§

Density

Density, mol/m^3

§

DensitydTemperature

Temperature derivative of density, mol/m^3/K

§

DensitydPressure

Pressure derivative of density, mol/m^3/Pa

§

DensitydMoles

Mole fraction derivative of density, mol/m^3

§

DensitydMolFraction

Mole number derivative of density, mol/m^3/mol

§

Volume

Volume, m^3/mol

§

VolumedTemperature

Temperature derivative of volume, m^3/mol/K

§

VolumedPressure

Pressure derivative of volume, m^3/mol/Pa

§

VolumedMoles

Mole fraction of volume, m^3/mol

§

VolumedMolFraction

Mole number derivative of volume, m^3/mol

Implementations§

Source§

impl SinglePhaseProperty

Source

pub(crate) fn name(&self) -> &str

Returns the name of the property as a string.

§Returns

A string slice representing the name of the property.

Trait Implementations§

Auto Trait Implementations§

Blanket Implementations§

Source§

impl<T> Any for T
where T: 'static + ?Sized,

Source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
Source§

impl<T> Borrow<T> for T
where T: ?Sized,

Source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
Source§

impl<T> BorrowMut<T> for T
where T: ?Sized,

Source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
Source§

impl<T> From<T> for T

Source§

fn from(t: T) -> T

Returns the argument unchanged.

Source§

impl<T, U> Into<U> for T
where U: From<T>,

Source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

Source§

impl<T, U> TryFrom<U> for T
where U: Into<T>,

Source§

type Error = Infallible

The type returned in the event of a conversion error.
Source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
Source§

impl<T, U> TryInto<U> for T
where U: TryFrom<T>,

Source§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
Source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.