modelMassDiffusion

Lumped element transporting mass without storing it

Information

This is a model for transport of mass without storing it; It may be used for complicated geometries where the mass diffusion Gd is determined by measurements and is assumed to be constant over the range of operations. If the component consists mainly of one type of material and a regular geometry, it may be calculated, e.g., with one of the following equations:

  • Diffusion for a box geometry under the assumption that mass flows along the box length:

        Gd = D*A/L
        D: Diffusifity (material constant)
        A: Area of box
        L: Length of box
        
  • Diffusion for a cylindrical geometry under the assumption that heat flows from the inside to the outside radius of the cylinder:

        Gd = 2*pi*D*L/log(r_out/r_in)
        pi   : Modelica.Constants.pi
        D    : Diffusivity (material constant)
        L    : Length of cylinder
        log  : Modelica.Math.log;
        r_out: Outer radius of cylinder
        r_in : Inner radius of cylinder
        

Connectors

TypeNameDefaultDescription
Modelica.Blocks.Interfaces.RealInputGdSignal representing the convective mass transfer coefficient in [m³/(s Pa)]
MassPortsolid
MassPortfluid

Components

TypeNameDefaultDescription
Modelica.Units.SI.MassFlowRatem_flowMass flow rate from solid -> fluid
Modelica.Units.SI.PartialPressuredp= solid.p - fluid.p

Revisions

  • November 20, 2019, by Martin Kremer:
    First Implementation.