Unsteady-state modeling of a tubular reactor

 

This is a guide to unsteady-state modeling of PFR-reactors with radial effects using the COMSOL Multiphysics software. The example models a nonisothermal reactor with a nonisothermal cooling jacket.  The reaction is reversible, exothermic, and of 2nd order

 

A + B2 C

 

which reacts in a tubular reactor (liquid phase, laminar flow regime), same as previous web module on radial heat effects. The reactants are solved in water.

 

The time dependency will be shown as animations of the concentration of species A and the temperature modeled in COMSOL Multiphysics. As shown in Figure 1 the reactants are preheated separately and mixed before entering the reactor. When the start-up begins it takes some time before the preheaters get warmed up, so the inlet temperature of the reaction mixture will increase until it reaches the desired value, T0, which is 320 K. At t=0 there are only solvent in the reactor.

 

 

Model Description

 

 

 


When the reactor is modeled in COMSOL Multiphysics it is assumed that the variations in angular direction around the central axis are negligible, and therefore the model can be axial-symmetric. The system is described by a set of differential equations on a 2D surface that represents a cross section of the tubular reactor in the z-r plane. That 2D surface's borders represent the inlet, the outlet, the reactor wall, and the center line. Due to rotational symmetry, the software needs only to solve these equations for half of the domain shown in Figure 2.

 

Model Equations

The mass balances and heat balances in the reactors are described with partial differential equations (PDEs), while one ordinary differential equation (ODE) is required for the heat balance in the cooling jacket. For the three species A, B and C (all equally expressed and denoted as i) the equations and boundary conditions are defined as follows.

Mass Balance:

where Dp denotes the diffusion coefficient, Ci is the concentration of species i, U is the flow velocity, R gives the radius of the reactor, and ri is the reaction rate. See the derivation of the mass balance.

Boundary Conditions for the Mass Balance:

1. Center (symmetry) line

 

 

2. Inlet (z = 0)

 

 

 

For species A and B an inbuilt heavy side

function is used to smoothen the

discontinuity between the initial and the

boundary concentration. To learn more

about this click here.

                            

3. Outlet (z = L)

The boundary condition selected for the outlet does not set any restrictions except that convection dominates transport out of the reactor. Thus this condition keeps the outlet boundary open and does not set any restrictions on the concentration.

 

where L denotes the length of the reactor.

4. At the wall (r = R)

 

where R is the radius of the reactor. This makes sure that no material flow through the reactor wall.

 

Energy Balance inside the Reactor:

where k denotes the thermal conductivity, T is temperature, r is density, Cp equals the heat capacity, and ΔHRx is the reaction enthalpy. To see the derivation of the energy balance, click here.

 

Boundary Conditions for the Energy Balance:

  1. Center (symmetry) line

  2. Inlet (z = 0)

    To use the heat flux as the boundary condition for the inlet the radial effect is included in the uz term and the preheating in T0.



    where q0 is the heat flux, T01 is the temperature of the reactants before entering the heat exchangers, T02 is the temperature difference between the start temperature (t=0) and the desired inlet temperature, T0. Finally "a" is a heating constant chosen to give a smooth preheating.

  3. Outlet (z = L)

    As for the mass balance, choose the boundary condition at the outlet for the energy balance such that it keeps the outlet boundary open. This condition sets only one restriction, that the heat transport out of the reactor is convective.

     



  4. At the wall (r = R)

    where Ta denotes the temperature in the cooling jacket.

Energy Balance of the Coolant in the Cooling Jacket:

Here we assume that only axial temperature variations are present in the cooling jacket. This assumption gives a single ODE for the heat balance:

where mc is the mass flow rate of the coolant, CPc represents its heat capacity, and Uk gives the heat-transfer coefficient between the reactor and the cooling jacket. You can neglect the contribution of heat conduction in the cooling jacket and thus assume that heat transport takes place only through convection.

Boundary Condition for the Cooling Jacket:

You can describe the cooling jacket with a 1D line. Therefore you need only an inlet boundary condition.

 

Model Parameters

We now list the model's input data. You define them either as constants or as logical expressions in COMSOL Multiphysics's Option menu. In defining each parameter in COMSOL Multiphysics, for the constant's Name use the left-hand side of the equality in the following list (in the first entry, for example, Diff), and use the value on the right-hand side of the equality (for instance, 1E-9) for the Expression that defines it.

The constants in the model are:

Next, the following section lists the definitions for the expressions this model uses. The expressions are stated under Scalar Expression in COMSOL Multiphysics's Option menu. Again, to put each expression in COMSOL Multiphysics form, use the left-hand side of the equality (for instance, u0) for the variable's Name, and use the right-hand side of the equality (for instance, v0/(pi*Ra^2)) for its Expression.

After typing this into COMSOL Multiphysics we are now ready to solve. To see a detailed description on how to set up the model click here.