MixtureOfFluids Type

Represents a mixture of fluids.

Constructors

Constructor Description

MixtureOfFluids(fluid1, moleFraction1, fluid2, moleFraction2, ?checkForSumEqualsOne)

Full Usage: MixtureOfFluids(fluid1, moleFraction1, fluid2, moleFraction2, ?checkForSumEqualsOne)

Parameters:

fluid1 : HelmholtzEquationOfStateOfPureFluidsBySpanEtAl
moleFraction1 : float
fluid2 : HelmholtzEquationOfStateOfPureFluidsBySpanEtAl
moleFraction2 : float
?checkForSumEqualsOne : bool

MixtureOfFluids(fluid1, moleFraction1, fluid2, moleFraction2, fluid3, moleFraction3, ?checkForSumEqualsOne)

Full Usage: MixtureOfFluids(fluid1, moleFraction1, fluid2, moleFraction2, fluid3, moleFraction3, ?checkForSumEqualsOne)

Parameters:

fluid1 : HelmholtzEquationOfStateOfPureFluidsBySpanEtAl
moleFraction1 : float
fluid2 : HelmholtzEquationOfStateOfPureFluidsBySpanEtAl
moleFraction2 : float
fluid3 : HelmholtzEquationOfStateOfPureFluidsBySpanEtAl
moleFraction3 : float
?checkForSumEqualsOne : bool

MixtureOfFluids(fluid1, moleFraction1, fluid2, moleFraction2, fluid3, moleFraction3, fluid4, moleFraction4, ?checkForSumEqualsOne)

Full Usage: MixtureOfFluids(fluid1, moleFraction1, fluid2, moleFraction2, fluid3, moleFraction3, fluid4, moleFraction4, ?checkForSumEqualsOne)

Parameters:

fluid1 : HelmholtzEquationOfStateOfPureFluidsBySpanEtAl
moleFraction1 : float
fluid2 : HelmholtzEquationOfStateOfPureFluidsBySpanEtAl
moleFraction2 : float
fluid3 : HelmholtzEquationOfStateOfPureFluidsBySpanEtAl
moleFraction3 : float
fluid4 : HelmholtzEquationOfStateOfPureFluidsBySpanEtAl
moleFraction4 : float
?checkForSumEqualsOne : bool

MixtureOfFluids(fluid1, moleFraction1, fluid2, moleFraction2, fluid3, moleFraction3, fluid4, moleFraction4, fluid5, moleFraction5, ?checkForSumEqualsOne)

Full Usage: MixtureOfFluids(fluid1, moleFraction1, fluid2, moleFraction2, fluid3, moleFraction3, fluid4, moleFraction4, fluid5, moleFraction5, ?checkForSumEqualsOne)

Parameters:

fluid1 : HelmholtzEquationOfStateOfPureFluidsBySpanEtAl
moleFraction1 : float
fluid2 : HelmholtzEquationOfStateOfPureFluidsBySpanEtAl
moleFraction2 : float
fluid3 : HelmholtzEquationOfStateOfPureFluidsBySpanEtAl
moleFraction3 : float
fluid4 : HelmholtzEquationOfStateOfPureFluidsBySpanEtAl
moleFraction4 : float
fluid5 : HelmholtzEquationOfStateOfPureFluidsBySpanEtAl
moleFraction5 : float
?checkForSumEqualsOne : bool

MixtureOfFluids(fluidsAndMoleFractions, ?checkForSumEqualToOne)

Full Usage: MixtureOfFluids(fluidsAndMoleFractions, ?checkForSumEqualToOne)

Parameters:

fluidsAndMoleFractions : IReadOnlyList<HelmholtzEquationOfStateOfPureFluidsBySpanEtAl * float>
?checkForSumEqualToOne : bool

Instance members

Instance member Description

this.MolecularWeight

Full Usage: this.MolecularWeight

Returns: float
Modifiers: abstract

Returns: float

this.Phi0_OfReducedVariables

Full Usage: this.Phi0_OfReducedVariables

Parameters:
    delta : float
    tau : float

Returns: float
Modifiers: abstract

delta : float
tau : float
Returns: float

this.Phi0_tau_OfReducedVariables

Full Usage: this.Phi0_tau_OfReducedVariables

Parameters:
    delta : float
    tau : float

Returns: float
Modifiers: abstract

delta : float
tau : float
Returns: float

this.Phi0_tautau_OfReducedVariables

Full Usage: this.Phi0_tautau_OfReducedVariables

Parameters:
    delta : float
    tau : float

Returns: float
Modifiers: abstract

delta : float
tau : float
Returns: float

this.PhiR_OfReducedVariables

Full Usage: this.PhiR_OfReducedVariables

Parameters:
    delta : float
    tau : float

Returns: float
Modifiers: abstract

delta : float
tau : float
Returns: float

this.PhiR_delta_OfReducedVariables

Full Usage: this.PhiR_delta_OfReducedVariables

Parameters:
    delta : float
    tau : float

Returns: float
Modifiers: abstract

delta : float
tau : float
Returns: float

this.PhiR_deltadelta_OfReducedVariables

Full Usage: this.PhiR_deltadelta_OfReducedVariables

Parameters:
    delta : float
    tau : float

Returns: float
Modifiers: abstract

delta : float
tau : float
Returns: float

this.PhiR_deltatau_OfReducedVariables

Full Usage: this.PhiR_deltatau_OfReducedVariables

Parameters:
    delta : float
    tau : float

Returns: float
Modifiers: abstract

delta : float
tau : float
Returns: float

this.PhiR_tau_OfReducedVariables

Full Usage: this.PhiR_tau_OfReducedVariables

Parameters:
    delta : float
    tau : float

Returns: float
Modifiers: abstract

delta : float
tau : float
Returns: float

this.PhiR_tautau_OfReducedVariables

Full Usage: this.PhiR_tautau_OfReducedVariables

Parameters:
    delta : float
    tau : float

Returns: float
Modifiers: abstract

delta : float
tau : float
Returns: float

this.ReducingMoleDensity

Full Usage: this.ReducingMoleDensity

Returns: float
Modifiers: abstract

Returns: float

this.ReducingTemperature

Full Usage: this.ReducingTemperature

Returns: float
Modifiers: abstract

Returns: float

this.WithMassFractions

Full Usage: this.WithMassFractions

Parameters:
    massFractions : float[] - The mass fractions of the components.

Returns: MixtureOfFluids A mixture with the same components, but different mass fractions. The sum of mass fractions has to be equal to 1.

Returns the same mixture of fluids, but with other mass fractions.

massFractions : float[]

The mass fractions of the components.

Returns: MixtureOfFluids

A mixture with the same components, but different mass fractions. The sum of mass fractions has to be equal to 1.

this.WithMoleFractions

Full Usage: this.WithMoleFractions

Parameters:
    moleFractions : float[] - The mole fractions of the components.

Returns: MixtureOfFluids A mixture with the same components, but different mole fractions. The sum of mole fractions has to be equal to 1.

Returns the same mixture of fluids, but with other mole fractions.

moleFractions : float[]

The mole fractions of the components.

Returns: MixtureOfFluids

A mixture with the same components, but different mole fractions. The sum of mole fractions has to be equal to 1.

this.WithMoleFractions

Full Usage: this.WithMoleFractions

Parameters:
    moleFractions : IEnumerable<float> - The mole fractions of the components.
    ?checkForSumEqualToOne : bool - If set to true, it is checked that the sum of mole fractions equals to 1. If this is not the case, a ArgumentOutOfRangeException is thrown.

Returns: MixtureOfFluids

Returns the same mixture of fluids, but with other mole fractions.

moleFractions : IEnumerable<float>

The mole fractions of the components.

?checkForSumEqualToOne : bool

If set to true, it is checked that the sum of mole fractions equals to 1. If this is not the case, a ArgumentOutOfRangeException is thrown.

Returns: MixtureOfFluids

this.WorkingUniversalGasConstant

Full Usage: this.WorkingUniversalGasConstant

Returns: float
Modifiers: abstract

Returns: float

Static members

Static member Description

MixtureOfFluids.FromCASRegistryNumbersAndMassFractions(casNumbersAndMassFractions)

Full Usage: MixtureOfFluids.FromCASRegistryNumbersAndMassFractions(casNumbersAndMassFractions)

Parameters:
    casNumbersAndMassFractions : IEnumerable<string * float>

Returns: MixtureOfFluids

casNumbersAndMassFractions : IEnumerable<string * float>
Returns: MixtureOfFluids

MixtureOfFluids.FromCASRegistryNumbersAndMoleFractions(casNumbersAndMoleFractions)

Full Usage: MixtureOfFluids.FromCASRegistryNumbersAndMoleFractions(casNumbersAndMoleFractions)

Parameters:
    casNumbersAndMoleFractions : IEnumerable<string * float>

Returns: MixtureOfFluids

casNumbersAndMoleFractions : IEnumerable<string * float>
Returns: MixtureOfFluids

MixtureOfFluids.GetMassFractionsFromFluidsAndMoleFractions(list)

Full Usage: MixtureOfFluids.GetMassFractionsFromFluidsAndMoleFractions(list)

Parameters:
Returns: float[] An array with the mass fractions of the fluids.

Gets the mass fractions from the fluids and the mole fractions of the fluids.

list : (HelmholtzEquationOfStateOfPureFluidsBySpanEtAl * float)[]

The list of fluids and mole fractions of the fluids.

Returns: float[]

An array with the mass fractions of the fluids.

MixtureOfFluids.GetMassFractionsFromFluidsAndMoleFractions(list)

Full Usage: MixtureOfFluids.GetMassFractionsFromFluidsAndMoleFractions(list)

Parameters:
Returns: float[] An array with the mass fractions of the fluids.

Gets the mass fractions from the fluids and the mole fractions of the fluids.

list : IEnumerable<HelmholtzEquationOfStateOfPureFluidsBySpanEtAl * float>

The list of fluids and mole fractions of the fluids.

Returns: float[]

An array with the mass fractions of the fluids.

MixtureOfFluids.GetMassFractionsFromMolecularWeightsAndMoleFractions(list)

Full Usage: MixtureOfFluids.GetMassFractionsFromMolecularWeightsAndMoleFractions(list)

Parameters:
    list : (float * float)[] - The list of molecular weights and mole fractions of the fluids.

Returns: float[] An array with the mass fractions of the fluids.

Gets the mass fractions from the molecular weights and mole fractions of the fluids.

list : (float * float)[]

The list of molecular weights and mole fractions of the fluids.

Returns: float[]

An array with the mass fractions of the fluids.

MixtureOfFluids.GetMassFractionsFromMolecularWeightsAndMoleFractions(list)

Full Usage: MixtureOfFluids.GetMassFractionsFromMolecularWeightsAndMoleFractions(list)

Parameters:
    list : IEnumerable<float * float> - The list of molecular weights and mole fractions of the fluids.

Returns: float[] An array with the mass fractions of the fluids.

Gets the mass fractions from the molecular weights and mole fractions of the fluids.

list : IEnumerable<float * float>

The list of molecular weights and mole fractions of the fluids.

Returns: float[]

An array with the mass fractions of the fluids.

MixtureOfFluids.GetMoleFractionsFromFluidsAndMassFractions(list)

Full Usage: MixtureOfFluids.GetMoleFractionsFromFluidsAndMassFractions(list)

Parameters:
Returns: float[] An array with the mole fractions of the fluids.

Gets the mole fractions from the fluids and the mass fractions of the fluids.

list : (HelmholtzEquationOfStateOfPureFluidsBySpanEtAl * float)[]

The list of fluids and mass fractions of the fluids.

Returns: float[]

An array with the mole fractions of the fluids.

MixtureOfFluids.GetMoleFractionsFromFluidsAndMassFractions(list)

Full Usage: MixtureOfFluids.GetMoleFractionsFromFluidsAndMassFractions(list)

Parameters:
Returns: float[] An array with the mole fractions of the fluids.

Gets the mole fractions from the fluids and the mass fractions of the fluids.

list : IEnumerable<HelmholtzEquationOfStateOfPureFluidsBySpanEtAl * float>

The list of fluids and mass fractions of the fluids.

Returns: float[]

An array with the mole fractions of the fluids.

MixtureOfFluids.GetMoleFractionsFromMolecularWeightsAndMassFractions(list)

Full Usage: MixtureOfFluids.GetMoleFractionsFromMolecularWeightsAndMassFractions(list)

Parameters:
    list : (float * float)[] - The list of molecular weights and mass fractions of the fluids.

Returns: float[] An array with the mole fractions of the fluids.

Gets the mole fractions from the molecular weights and mass fractions of the fluids.

list : (float * float)[]

The list of molecular weights and mass fractions of the fluids.

Returns: float[]

An array with the mole fractions of the fluids.

MixtureOfFluids.GetMoleFractionsFromMolecularWeightsAndMassFractions(list)

Full Usage: MixtureOfFluids.GetMoleFractionsFromMolecularWeightsAndMassFractions(list)

Parameters:
    list : IEnumerable<float * float> - The list of molecular weights and mass fractions of the fluids.

Returns: float[] An array with the mole fractions of the fluids.

Gets the mole fractions from the molecular weights and mass fractions of the fluids.

list : IEnumerable<float * float>

The list of molecular weights and mass fractions of the fluids.

Returns: float[]

An array with the mole fractions of the fluids.

MixtureOfFluids.KnownBinaryMixtures

Full Usage: MixtureOfFluids.KnownBinaryMixtures

Returns: IEnumerable<string * string * Type * Func<BinaryMixtureDefinitionBase>>

Gets the known binary mixture definitions.

Returns: IEnumerable<string * string * Type * Func<BinaryMixtureDefinitionBase>>

MixtureOfFluids.KnownFluids

Full Usage: MixtureOfFluids.KnownFluids

Returns: IEnumerable<string * Type * Func<HelmholtzEquationOfStateOfPureFluidsBySpanEtAl>>

Gets the known fluids.

Returns: IEnumerable<string * Type * Func<HelmholtzEquationOfStateOfPureFluidsBySpanEtAl>>

MixtureOfFluids.TryGetFluidFromCasRegistryNumber(casRegistryNumber, fluid)

Full Usage: MixtureOfFluids.TryGetFluidFromCasRegistryNumber(casRegistryNumber, fluid)

Parameters:
Returns: bool True if an instance of a fluid with the given CAS registry number could be found; otherwise false.

Tries to the get fluid from its CAS registry number.

casRegistryNumber : string

The CAS registry number of the fluid.

fluid : byref<HelmholtzEquationOfStateOfPureFluidsBySpanEtAl>

If the return value is true, an instance of the fluid; otherwise null.

Returns: bool

True if an instance of a fluid with the given CAS registry number could be found; otherwise false.