
modelConvectionMedia
Convective mass transfer resistance model with a correlation
Information
Convective mass transfer resistance between a surface and a fluid in each of n segments, which computes the mass transfer coefficients with a mass transfer model chosen from a list and the fluid's properties. Convection takes the coefficients as inputs instead.
- The mole ports carry only concentrations and molar flow rates: the fluid's state and flow and the wall temperature reach the mass transfer model only through the inputs, not from the volume the port is connected to.
- Every mass transfer model except
Ideal needs the diffusion coefficient Ds_ab, set in its redeclare: the medium does not provide it.
Parameters
| Type | Name | Default | Description |
| Integer | n | 1 | # of mass transfer segments |
| Integer | nC | 1 | # of substances |
Components
| Type | Name | Default | Description |
| Medium.ThermodynamicState | states | Medium.setState_pTX(fill(1e5, n), fill(Medium.T_default, n)) | Fluid state for properties and velocity |
| SI.Temperature[n] | Ts_wall | | Wall temperature |
| SI.MassFlowRate[n] | m_flows | zeros(n) | Fluid mass flow rate |
| SI.Diameter[n] | dimensions | fill(1, n) | Characteristic dimension (e.g. hydraulic diameter) |
| SI.Area[n] | crossAreas | 0.25*pi*dimensions.^2 | Cross sectional flow area |
| SI.Length[n] | dlengths | fill(1, n) | Segment length along the flow |
| SI.Area[n] | surfaceAreas | pi*dimensions.*dlengths | Mass transfer surface area |
| SI.Height[n] | roughnesses | fill(2.5e-5, n) | Average height of surface asperities |
| MassTransferCoeff | massTransferCoeff | | Correlation for the mass transfer coefficients |
| SI.MolarFlowRate[n,nC] | n_flows | | Molar flow rate from surface to fluid |
| SI.Concentration[n,nC] | dCs | | Surface minus fluid concentration |
| SItf.DiffusionResistance[n,nC] | R | | Surface to fluid diffusion resistance |