FCSys.Species.H2O.Ionomer

H2O in ionomer

Information

Extends from Modelica.Icons.Package (Icon for standard packages).

Package Content

NameDescription
FCSys.Species.H2O.Ionomer.Fixed Fixed Fixed properties

FCSys.Species.H2O.Ionomer.Fixed FCSys.Species.H2O.Ionomer.Fixed

Fixed properties FCSys.Species.H2O.Ionomer.Fixed

Information

Assumptions:

  1. The generalized resistivities (η, θ) are fixed (e.g., independent of thermodynamic state).

For more information, please see the Species model.

Extends from Fluid (Base model for a fluid species).

Parameters

TypeNameDefaultDescription
Integern_inter0Number of exchange connections with other phases
Material properties
replaceable package DataCharacteristics.H2O.IonomerCharacteristic data
DiffusivityMassSpecificzetaData.zeta(T, v)** [L2.M/(N.T)]
Independence factors
NumberAbsolutek_intra_Phi[n_intra, n_trans]ones(n_intra, n_trans)For translational exchange among species within the phase [1]
NumberAbsolutek_intra_Q[n_intra]ones(n_intra)For thermal exchange among species within the phase [1]
Initialization
Velocityphi.start[n_trans]0Velocity [L/T]
CurrentI.start[n_trans]0Current [N/T]
Velocityphi_boundaries.start[n_trans, Side]0Normal velocities at the boundaries [L/T]
Forcef.start[n_trans]0Total normal translational force on pairs of boundaries [L.M/T2]
ForceminusDeltaf.start[n_trans]0Dynamic and nonequilibrium compression forces [L.M/T2]
Geometry
LengthkL[:]L[cartTrans]Effective transport length [L]
Initialization
InitinitMaterialInit.noneMethod of initializing the material state
InitinitEnergyInit.temperatureMethod of initializing the thermal state
NumberAbsolutelambda_IC14*environment.RHInitial ratio of H2O molecules to SO3- end-groups [1]
Assumptions
Integern_trans1Number of transport axes
Integern_chem1Number of reaction and phase change processes
Formulation of the conservation equations
BooleanconsRotfalseConserve rotational momentum
ConsTransconsTransXConsTrans.dynamicX-axis translational momentum
ConsTransconsTransYConsTrans.dynamicY-axis translational momentum
ConsTransconsTransZConsTrans.dynamicZ-axis translational momentum
ConsThermoconsEnergyConsThermo.dynamicEnergy
Axes with upstream discretization
BooleanupstreamXtrueX
BooleanupstreamYtrueY
BooleanupstreamZtrueZ
Flow conditions
BooleanapproxVelocitytrueCalculate normal boundary velocities assuming uniform density
NumberAbsoluteNu_Phi[Axis]{4,4,4}Translational Nusselt numbers [1]
NumberAbsoluteNu_Q1Thermal Nusselt number [1]
Advanced
AmountN00Nominal amount of material to prevent depletion [N]

Connectors

TypeNameDescription
Intraintra[n_intra]Connectors to exchange translational momentum and energy within the phase
Interinter[n_inter]Connectors to exchange translational momentum and energy with all other species
DaltondaltonConnector for additivity of pressure
Boundaryboundaries[n_trans, Side]Connectors for transport
Chemicalchemical[n_chem]Connector for reactions and phase change
Material properties
replaceable package DataCharacteristic data

Modelica definition

model Fixed "Fixed properties"

  extends Fluid(
    redeclare replaceable package Data = Characteristics.H2O.Ionomer,
    redeclare parameter Q.Mobility mu=Data.mu(),
    redeclare parameter Q.TimeAbsolute nu=Data.nu(),
    redeclare parameter Q.Fluidity eta=Data.eta(),
    redeclare parameter Q.ResistivityThermal theta=Data.theta(),
    final N_IC,
    final h_IC,
    final g_IC,
    final rho_IC,
    final p_IC,
    final V_IC,
    final T_IC,
    final consMaterial,
    final tauprime,
    n_chem=1,
    final initMaterial=Init.none);

  parameter Q.NumberAbsolute lambda_IC=14*environment.RH 
    "Initial ratio of H2O molecules to SO3- end-groups";

  Q.NumberAbsolute lambda(start=lambda_IC, fixed=true) 
    "Ratio of H2O molecules to SO3- end-groups";

equation 
  lambda*v = Characteristics.'SO3-'.Ionomer.b_v[1, 1];

end Fixed;