OpenVolume

Chemical Reactor Design Toolbox Reference Manual

ChemReactorDesign.Basic.Solid.Volumes.OpenVolume

OpenVolume.svg

Description

The component represents an variable solid volume.

Mass Balance

\begin{equation*}
\frac{dn_{i}}{dt} = F_{i}
\end{equation*}
1

initial conditions

\begin{equation*}
n_{i}(t=0) = \frac{m_{i_{0}}}{M_{i}}
\quad \text{for} \quad i=1,\dots,N
\end{equation*}
2

Energy Balance

\begin{equation*}
\sum_{i}^{N} F_{i} \, {\overline H}_{i}(T) +
\left( \sum_{i}^{N} n_{i} \, c_{p_{i}}(T) \right) \, \frac{dT}{dt} =
\Phi + \dot{Q}
\end{equation*}
3

with initial condition

\begin{equation*}
T(t=0) = T_{0}
\end{equation*}

Equation of State

Pressure

The pressure at the port is the sum of internal and potential pressure

\begin{equation*}
p_{A} = p + \rho \, g \, \left( \frac{V}{A_{0}}+h_{0} \right)
\end{equation*}

with

\begin{equation*}
\rho = \frac{\sum\limits_{i}^{N} n_{i} \, M_{i}}{V}
\end{equation*}

The internal pressure is either given by a component parameter or set by a physical input signal which may even be time variant (see Assumptions).

\begin{equation*}
p = \left\{ \begin{array}{lcl}
p_{0} \quad \text{or} \\
p_{in}(t) & &
\end{array} \right.
\end{equation*}
Volume
\begin{equation*}
\frac{dV}{dt} = \sum_{i}^{N} {\overline V}_{i}(T) \, F_{i}
\end{equation*}

Variables

To adjust the nominal values for the component variables use the Nominal Values tab in the dialogue box.

Assumptions and Limitations

  • The time response of the pressure input signal is assumed to be much slower than the dynamics of the balance component. Thus the internal pressure is regarded as approximately constant.

Ports

Conserving

  • Solid conserving port

    Port_A = Solid;  %
    
  • Thermal conserving port

    Port_C = foundation.thermal.thermal;  %
    

    Dependencies: The port is only visible when isothermalOperation is set to Off.

Input

  • Physical signals that controls the volume.

    pin = {1,'bar'}; % p
    

    Dependencies: The port is only visible when pressureInput is set to On.

Output

  • Physical signal that represents the current volume

    Vout = {0,'l'}; % V
    

    Dependencies: The port is only visible when volumeOutput is set to On.

  • Physical signal that represents the current solid mass

    mout = {zeros(length(selectSpecies),1),'g'}; % m
    

    The individual masses are obtained as

    \begin{equation*}
m_{i} = n_{i} \, M_{i}
\end{equation*}

    Dependencies: The port is only visible when massOutput is set to On. Arbitrary species can be selected by providing the index array selectSpecies accordingly.

Parameters

Options

  • Option to select thermal behaviour of the volume.

    isothermalOperation = OnOff.On;  
    

    Off | On

  • Option to select volume output

    volumeOutput = OnOff.Off; 
    

    On | Off

  • Option to select mass output

    massOutput = OnOff.Off; 
    

    On | Off

Geometry

  • Initial Volume

    V0 = {1,'l'};       % Volume
    
  • Cross Sectional Area

    A0 = {10,'cm^2'};
    
  • Geodetic Height

    h0 = {0,'m'}; 
    

Operation Conditions

  • Initial masses

    m0 = {[0;0],'g'};                % Initial Masses
    

    Note Initially only two species are considered. As the number of species can be changed via the properties dialogue, the size of the array must be adjusted accordingly.

  • Initial pressure

    p0 = {1.0,'bar'};   % Initial Pressure
    
  • Initial Temperature

    T0 = {298.15,'K'};  % Initial Temperature
    

Nominal Values

  • Nominal Value for Number of Moles

    n_nom = {1,'mol'};
    

Nomenclature

\(A_{0}\) cross sectional area
\(c_{i}\) molar concentration of species Ai
\(c_{p_{i}}\) specific heat for species Ai
\(F_{i}\) molar flow rate of species Ai
\(h_{0}\) geodetic height
\({\overline H}_{i}(T)\) molar enthalpy of species Ai
\(M_{i}\) molar weight of species Ai
\(N\) total number of species
\(m_{i}\) solid mass of species Ai
\(n_{i}\) number of moles of species Ai
\(p\) pressure
\(p_{0}\) initial pressure
\(p_{ext}\) external pressure
\(Q\) heat flow rate (independent of fluid flow)
\(R\) universal gas constant
\(t\) time
\(T\) temperature
\(T_{0}\) initial temperature
\(V_{0}\) volume
\({\overline V}_{i}\) molar volume of species Ai
\(x_{i}\) mole fraction of species Ai
\(x_{i_{0}}\) initial mole fraction of species Ai
\(\Phi\) energy flow rate