modelGas

Gas phase

Extends from Icons.Phases.Gas (Icon for a gas phase), PartialPhase (Base model for a phase).

Information

It is usually appropriate to assume that species exist at the same temperature within a phase. The time constants for thermal exchange (τQE) are usually much shorter than the time span of interest due to the very small coupling resistances. If this is the case, set common.k_Q to zero. This will reduce the index of the problem, so it may be necessary to eliminate some initial conditions.

In bulk flow, it is usually appropriate to assume that species travel with the same velocity within a phase. If this is the case, set the entries of common.k_Phi to zero. This will reduce the index of the problem, so it may be necessary to eliminate some initial conditions.

Please see the documentation of the PartialPhase model.

Parameters

TypeNameDefaultDescription
Integern_spec (from PartialPhase)Number of species
Integern_inter (from PartialPhase)0Number of exchange connections with other phases
Integern_trans (from PartialPhase)1Number of transport axes
Geometry
Q.NumberAbsolute[Axis]k (from PartialPhase){1, 1, 1}Length factors for transport
Independence factors
Q.NumberAbsolute[n_inter,n_trans]k_inter_Phi (from PartialPhase)ones(n_inter, n_trans)For translational exchange with other phases
Q.NumberAbsolute[n_inter]k_inter_Q (from PartialPhase)ones(n_inter)For thermal exchange with other phases
Species
BooleaninclH2falseInclude H2
BooleaninclH2OfalseInclude H2O
BooleaninclN2falseInclude N2
BooleaninclO2falseInclude O2

Connectors

TypeNameDefaultDescription
Connectors.BoundaryBusxNegativeNegative boundary along the x axis
Connectors.BoundaryBusyNegativeNegative boundary along the y axis
Connectors.BoundaryBuszNegativeNegative boundary along the z axis
Connectors.BoundaryBusxPositivePositive boundary along the x axis
Connectors.BoundaryBusyPositivePositive boundary along the y axis
Connectors.BoundaryBuszPositivePositive boundary along the z axis
Connectors.DaltondaltonConnector for additivity of pressure
Connectors.Inter[n_inter]interConnector to exchange momentum and energy with other phases
Connectors.Chemical[H2.n_chem]chemH2Chemical connector for H2
Connectors.Chemical[H2O.n_chem]chemH2OChemical connector for H2O
Connectors.Chemical[O2.n_chem]chemO2Chemical connector for O2

Components

TypeNameDefaultDescription
Q.VolumeV (from PartialPhase)0Volume of the phase
Q.NumberAbsoluteepsilon (from PartialPhase)V/product(L)Volumetric fill fraction
FCSys.Species.H2.Gas.FixedH2
FCSys.Species.H2O.Gas.FixedH2O
FCSys.Species.N2.Gas.FixedN2
FCSys.Species.O2.Gas.FixedO2
ExchangeParamscommonAmong species in the phase
ExchangeParamsH2_H2O<html>Between H<sub>2</sub> and H<sub>2</sub>O</html>
ExchangeParamsH2O_N2<html>Between H<sub>2</sub>O and N<sub>2</sub></html>
ExchangeParamsH2O_O2<html>Between H<sub>2</sub>O and O<sub>2</sub></html>
ExchangeParamsN2_O2<html>Between N<sub>2</sub> and O<sub>2</sub></html>
Q.PressureAbsolutepdalton.pTotal thermodynamic pressure