modelGas
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
| Type | Name | Default | Description |
|---|---|---|---|
| Integer | n_spec (from PartialPhase) | Number of species | |
| Integer | n_inter (from PartialPhase) | 0 | Number of exchange connections with other phases |
| Integer | n_trans (from PartialPhase) | 1 | Number 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 | |||
| Boolean | inclH2 | false | Include H2 |
| Boolean | inclH2O | false | Include H2O |
| Boolean | inclN2 | false | Include N2 |
| Boolean | inclO2 | false | Include O2 |
Connectors
| Type | Name | Default | Description |
|---|---|---|---|
| Connectors.BoundaryBus | xNegative | Negative boundary along the x axis | |
| Connectors.BoundaryBus | yNegative | Negative boundary along the y axis | |
| Connectors.BoundaryBus | zNegative | Negative boundary along the z axis | |
| Connectors.BoundaryBus | xPositive | Positive boundary along the x axis | |
| Connectors.BoundaryBus | yPositive | Positive boundary along the y axis | |
| Connectors.BoundaryBus | zPositive | Positive boundary along the z axis | |
| Connectors.Dalton | dalton | Connector for additivity of pressure | |
| Connectors.Inter[n_inter] | inter | Connector to exchange momentum and energy with other phases | |
| Connectors.Chemical[H2.n_chem] | chemH2 | Chemical connector for H2 | |
| Connectors.Chemical[H2O.n_chem] | chemH2O | Chemical connector for H2O | |
| Connectors.Chemical[O2.n_chem] | chemO2 | Chemical connector for O2 |
Components
| Type | Name | Default | Description |
|---|---|---|---|
| Q.Volume | V (from PartialPhase) | 0 | Volume of the phase |
| Q.NumberAbsolute | epsilon (from PartialPhase) | V/product(L) | Volumetric fill fraction |
| FCSys.Species.H2.Gas.Fixed | H2 | ||
| FCSys.Species.H2O.Gas.Fixed | H2O | ||
| FCSys.Species.N2.Gas.Fixed | N2 | ||
| FCSys.Species.O2.Gas.Fixed | O2 | ||
| ExchangeParams | common | Among species in the phase | |
| ExchangeParams | H2_H2O | <html>Between H<sub>2</sub> and H<sub>2</sub>O</html> | |
| ExchangeParams | H2O_N2 | <html>Between H<sub>2</sub>O and N<sub>2</sub></html> | |
| ExchangeParams | H2O_O2 | <html>Between H<sub>2</sub>O and O<sub>2</sub></html> | |
| ExchangeParams | N2_O2 | <html>Between N<sub>2</sub> and O<sub>2</sub></html> | |
| Q.PressureAbsolute | p | dalton.p | Total thermodynamic pressure |