.TILMedia.Internals.GasDiffusionCoefficients.multiComponentDiffCoeff

Information

Multicomponent diffusion coefficient for the limiting case of a single dilute component diffusing into a homogeneous mixture according to [Poling2020]. \\[ D_{i,m} = \left( \sum_{\substack{j=1 , j\neq i}}^{n} \frac{x_j}{D_{ij}} \right)^{-1} \\] Herein, \\(D_{ij}\\) is the binary diffusion coefficient of the components \\(i\\) and \\(j\\).

Interface

function multiComponentDiffCoeff
  input Modelica.Units.SI.AbsolutePressure p "Pressure";
  input Modelica.Units.SI.Temperature T "Temperature";
  input Modelica.Units.SI.MoleFraction molarMixingRatio[size(molarMixingRatio, 1)] "Mole fraction";
  input Integer i "Component ID";
  input BinaryFunctionType binaryFunctionType;
  input TILMedia.GasTypes.BaseGas gasType "Gas Type";
  output Modelica.Units.SI.DiffusionCoefficient D "Molcular diffusion coefficient";
end multiComponentDiffCoeff;

Generated at 2024-11-22T19:25:38Z by OpenModelicaOpenModelica 1.24.2 using GenerateDoc.mos