modelTest2Subregions

Test two subregions with an initial pressure difference

Extends from FCSys.Subregions.Examples.Subregions (Horizontal array of subregions with an initial pressure difference (H2 included by default)).

Parameters

TypeNameDefaultDescription
Integern_x (from Subregions)0Number of discrete subregions along the x axis, besides the 2 side subregions
Q.PressureDeltap_IC (from Subregions)-100*U.PaInitial pressure difference
Species
Boolean'inclC+' (from Subregions)false<html>Carbon plus (C<sup>+</sup>)</html>
Boolean'inclSO3-' (from Subregions)false<html>Nafion sulfonate (C<sub>19</sub>HF<sub>37</sub>O<sub>5</sub>S)</html>
Boolean'incle-' (from Subregions)false<html>Electrons (e<sup>-</sup>)</html>
Boolean'inclH+' (from Subregions)false<html>Protons (H<sup>+</sup>)</html>
BooleaninclH2 (from Subregions)true<html>Hydrogen (H<sub>2</sub>)</html>
BooleaninclH2O (from Subregions)false<html>Water vapor (H<sub>2</sub>O)</html>
BooleaninclN2 (from Subregions)false<html>Nitrogen (N<sub>2</sub>)</html>
BooleaninclO2 (from Subregions)false<html>Oxygen (O<sub>2</sub>)</html>

Components

TypeNameDefaultDescription
Conditions.Environmentenvironment (from Subregions)
FCSys.Subregions.Subregionsubregion1 (from Subregions)
FCSys.Subregions.Subregion[n_x]subregions (from Subregions)
FCSys.Subregions.Subregionsubregion2 (from Subregions)
FCSys.Quantities.AmountSsubregion1.graphite.'C+'.S + subregion2.graphite.'C+'.S + subregion1.ionomer.'SO3-'.S + subregion2.ionomer.'SO3-'.S + subregion1.graphite.'e-'.S + subregion2.graphite.'e-'.S + subregion1.gas.H2.S + subregion2.gas.H2.S + subregion1.gas.H2O.S + subregion2.gas.H2O.S + subregion1.gas.N2.S + subregion2.gas.N2.S + subregion1.gas.O2.S + subregion2.gas.O2.STotal entropy