PDF

A Multiscale 3D Packed Bed Reactor
Introduction
The packed bed reactor is used in heterogeneous catalytic processes and is one of the most common reactors in the chemical industry. Its basic design is a column filled with porous catalyst particles, and in some cases the reactor also has a specially designed bottom plate through which the reaction mixture enters. The catalyst particles can be contained within a supporting structure, such as tubes or channels, or they can be packed in one single compartment in the reactor.
Figure 1: An example of the macroscale (bed volume with entry holes) and the microscale (pellet) of a packed bed reactor.
The bed with the packed catalyst particles makes the modeling of mass transport and reactions in the reactor a challenge. The challenge is that species transport and reaction occur in dimensions of different orders of magnitude:
As such, the problem is regarded as a multiscale problem. The Reactive Pellet Bed feature, available with the Transport of Diluted Species interface, is dedicated to these multiscale problems.
The structure between particles in the bed is described as a macroporous material of meter dimensions. The particle radii are often in the order of mm. The pores inside the catalyst particles form the microscale structure of the bed. The pore radii in the particles are often between 1 and 10 microns. There are two porosities that are important: bed porosity (macroscale) and pellet porosity (microscale). Sometimes such models are called double-porosity models.
When a pressure drop is applied across the bed, flow and convection of the fluid is initiated in the bed. The transport of chemicals inside the pellets are dominated by diffusion.
This model is an extension to the 1D example, Packed Bed Reactor, which contains more complex reactions.
Model Definition
A model geometry made up of one eighth of the reactor in Figure 1 can be used due to symmetry. The geometry is shown in Figure 2.
Figure 2: The packed bed reactor simulation geometry. Symmetry observations enables modeling of 1/8 of the true geometry. The results will be expanded to the true geometry with aid of a sector data set.
The reversible catalytic chemical reaction occurs inside a pellet. The reactant species A and B forms a product C:
A + B 2C
The reaction kinetics are assumed to be equimolecular and are set up with the Chemistry interface. The automatic reaction rate can thus be used and has the following form:
where k is the rate factor (SI unit: m3/(mol·s)) with the superscripts f and r denoting the forward and reverse reaction, respectively. ci is the concentration (SI unit: mol/m3) of species i. The forward reaction constant is defined with the inbuilt Arrhenius expression and the reverse is computed with the equilibrium constant of the reaction.
The mass transport of the reacting species in the reactor is modeled with the Transport of Diluted Species interface, which accounts for diffusion, convection, and reaction in diluted solutions. The species are assumed to be diluted in water.
The reaction inside the pellets is added to the mass balances in the Transport of Diluted Species interface with the Reactive Pellet Bed feature. This feature has a predefined extra dimension (1D) on the normalized radius (r = rdim/rpe) of the pellet particle. The mesh on the extra dimension has a default of 10 elements with a cubic root sequence distribution. If spherical pellets are selected, the following spherical diffusion/reaction equation is set up and solved along the pellet radius for each species i:
(1)
Here, r is a dimensionless radial coordinate that goes from 0 (center) to 1 (pellet surface), rpe is the pellet radius, and N the number of pellets per unit volume of bed. The advantage of formulating Equation 1 on a dimensionless 1D geometry is that the pellet radius can be changed without changing the geometry limits.
Dpe is an effective diffusion coefficient (SI unit: m2/s) and Rpe, i is the reaction source term (SI unit: mol/(m3·s)). Note that the latter term is taken per unit volume of porous pellet material.
At the pellet-fluid interface, a film condition assumption is made. The flux of mass across the pellet-fluid interface into the pellet is possibly rate determined by the resistance to mass transfer on the bulk fluid side. The resistance is expressed in terms of a film mass transfer coefficient, hDi, such that:
(2),
where Ni, inward is the molar flux from the free fluid into a pellet and has the unit moles/(m2·s). The mass transfer coefficient to calculated automatically as described in the section Theory for the Reactive Pellet Bed in the Chemical Reaction Engineering Module User’s Guide.
The pressure drop in the reactor is also accounted for and is modeled with the Darcy’s Law interface.
In Table 1 the model parameters are tabulated.
Hr
1 [m]
Rr
ρb
ρpe
εb
1-ρb/ρpe
εpe
rpe
Dpe,A
Dpe,B
2e-9 [m2/s]
Dpe,C
2e12 [m3/(mol s)]
Keq0
CA,in
CB,in
CC,in
DA
1e-8 [m2/s]
DB
1.5e-8 [m2/s]
DC
0.5e-8 [m2/s]
pDarcy
Results and Discussion
The following figures display the results at 180 s. Figure 3 shows the velocity distribution in the fluid between the pellets.
Figure 3: Velocity distribution on the macroscale.
Figure 4 shows the macroscale concentration of the reactant A in the bed column fluid. The species is consumed due to the catalytic chemical reaction in the pellets.
Figure 4: Concentration of reactant A.
Streamline plots can be useful to get an understanding of the flow pattern. It can be seen from Figure 5 that no recirculation occurs at the entry holes. The fluid is evenly spread out in the bed chamber as it enters the holes in the bottom place.
Figure 5: The streamlines show how the fluid enters the holes and then spread out in the bed volume as it. The colors of the lines represent the reactant concentration in moles/m3.
A line plot of the concentration in a pellet at a certain position in the bed is interesting in order to understand the local reaction. Figure 6 shows the position at which the pellet line plot is sampled: (x = 0.5, z = 0, y = 0), and Figure 7 is the line plot of both the reactant and the product inside a pellet in the same position.
Figure 6: Coordinate at which the pellet plot is sampled: Centerline of reactor and at 0.5 m height.
Figure 7: Concentration of species A, B and C within the pellet at 0.5 m bed height.
In Figure 8, the concentrations of the species are shown along the reactor height in the center of the geometry. Both the concentrations in the bed and averaged in the pellets are shown and illustrates the local reaction in detail. The species C concentration profiles portray a reaction intense zone within the reactor. A closer look at this zone shows it expanding toward the outlet with time.
Figure 8: Concentration of the species in reactor bed and averaged within the pellets along the reactor height.
Figure 9 shows a 3D concentration plot of the product C within the pellet at the sampled coordinate. It can be seen that the concentration is higher closer to the center of the pellet, where products build up and from where these diffuse into the bulk gas.
Figure 9: Concentration of species C at 0.5 m bed height.
Application Library path: Chemical_Reaction_Engineering_Module/Reactors_with_Porous_Catalysts/packed_bed_reactor_3d
Modeling Instructions
Start by adding the necessary physics interfaces for a 3D model.
From the File menu, choose New.
New
In the New window, click  Model Wizard.
Model Wizard
1
In the Model Wizard window, click  3D.
2
In the Select Physics tree, select Chemical Species Transport>Chemistry (chem).
3
Click Add.
4
In the Select Physics tree, select Chemical Species Transport>Transport of Diluted Species in Porous Media (tds).
5
Click Add.
6
In the Number of species text field, type 3.
7
In the Concentrations table, enter the following settings:
8
In the Select Physics tree, select Fluid Flow>Porous Media and Subsurface Flow>Darcy’s Law (dl).
9
Click Add.
10
Click  Study.
11
In the Select Study tree, select General Studies>Time Dependent.
12
Geometry 1
Add the model parameters from a text file.
Global Definitions
Parameters 1
1
In the Model Builder window, under Global Definitions click Parameters 1.
2
In the Settings window for Parameters, locate the Parameters section.
3
Click  Load from File.
4
Geometry 1
Now create the geometry. You can simplify this by inserting a prepared geometry sequence from a file with prepared geometry selections.
1
In the Model Builder window, expand the Component 1 (comp1)>Definitions node.
2
Right-click Component 1 (comp1)>Geometry 1 and choose Insert Sequence.
3
4
In the Geometry toolbar, click  Build All.
Specify the material properties. Some properties can be found in the COMSOL built-in materials, other are manually entered.
Assume the reaction mixture has mainly aqueous properties.
Add Material
1
In the Home toolbar, click  Add Material to open the Add Material window.
2
Go to the Add Material window.
3
In the tree, select Built-in>Water, liquid.
4
Click Add to Component in the window toolbar.
5
In the Home toolbar, click  Add Material to close the Add Material window.
Chemistry (chem)
Start with the Chemistry interface and create the needed reaction kinetics expressions by typing in the reaction formulas.
1
In the Model Builder window, under Component 1 (comp1) click Chemistry (chem).
2
In the Settings window for Chemistry, locate the Mixture Properties section.
3
From the Phase list, choose Liquid.
Reaction 1
1
In the Physics toolbar, click  Domains and choose Reaction.
2
In the Settings window for Reaction, locate the Reaction Formula section.
3
In the Formula text field, type A+B<=>2C.
4
Click Apply.
5
Locate the Rate Constants section. Select the Specify equilibrium constant check box.
6
Select the Use Arrhenius expressions check box.
7
In the Af text field, type A.
8
In the Ef text field, type E.
9
Locate the Equilibrium Settings section. From the Equilibrium constant list, choose User defined.
10
In the Keq0 text field, type Keq0.
The molar masses for the reacting species can be entered for possible future use. For example, if the mass-based Concentrations feature is used in the Transport of Diluted Species interface, it can pick up the molar mass values from the Chemistry node automatically.
Species: A
1
In the Model Builder window, click Species: A.
2
In the Settings window for Species, locate the General Parameters section.
3
In the M text field, type Mn_A.
Species: B
1
In the Model Builder window, click Species: B.
2
In the Settings window for Species, locate the General Parameters section.
3
In the M text field, type Mn_B.
Species: C
1
In the Model Builder window, click Species: C.
2
In the Settings window for Species, locate the General Parameters section.
3
In the M text field, type Mn_C.
The reactive species are diluted in water. For completeness, add the solvent H2O, which does not partake in the reactions. It can be used later if the model is extended.
Species 1
1
In the Physics toolbar, click  Domains and choose Species.
2
In the Settings window for Species, locate the Species Name section.
3
4
Locate the Species Type section. From the list, choose Solvent.
5
Locate the General Parameters section. In the M text field, type Mn_solvent.
Now tell the Chemistry interface which concentrations to use as input for the rate expressions. Select the pellet concentrations. The entries will at this stage appear yellow since the Reactive Pellet Bed feature is not yet created.
6
In the Model Builder window, click Chemistry (chem).
7
In the Settings window for Chemistry, locate the Species Matching section.
8
Find the Bulk species subsection. In the table, enter the following settings:
Select the Define variables in extra dimension check box because the Chemistry is coupled to the Reactive Pellet Bed feature which is defined in extra dimension.
9
Click to expand the Extra Dimension section. Select the Define variables in extra dimension check box.
Continue with the Transport of Diluted Species in Porous Media interface to set up the mass transport model.
Transport of Diluted Species in Porous Media (tds)
Fluid 1
1
In the Model Builder window, expand the Porous Medium 1 node, then click Fluid 1.
2
In the Settings window for Fluid, locate the Convection section.
3
From the u list, choose Darcy’s velocity field (dl).
4
Locate the Diffusion section. In the DF,cA text field, type DA.
5
In the DF,cB text field, type DB.
6
In the DF,cC text field, type DC.
7
From the Effective diffusivity model list, choose No correction.
Porous Matrix 1
1
In the Model Builder window, click Porous Matrix 1.
2
In the Settings window for Porous Matrix, locate the Matrix Properties section.
3
From the εp list, choose User defined. In the associated text field, type epsilon_b.
Reactive Pellet Bed 1
Add the Reactive Pellet Bed feature. A predefined extra dimension is attached to this feature. The extra dimension is 1D on the radial coordinate of the pellet particle of which the radius is normalized to 1. The mesh for the extra dimension has a default of 10 elements with a cubic root sequence distribution.
1
In the Physics toolbar, click  Domains and choose Reactive Pellet Bed.
2
In the Settings window for Reactive Pellet Bed, locate the Domain Selection section.
3
From the Selection list, choose All domains.
4
Locate the Pellet Properties section. In the rpe text field, type r_pe.
5
In the εpe text field, type epsilon_pe.
Use a film theory condition to account for any film resistance to mass transfer between the bulk fluid and the pellet. Use spherical pellets.
6
Locate the Pellet-Fluid Surface section. From the Coupling type list, choose Film resistance (mass flux).
7
Locate the Pellet Discretization section. In the Nelem text field, type 6.
Enter the user-defined diffusion coefficients.
Porous Media Diffusion 1
1
In the Model Builder window, expand the Reactive Pellet Bed 1 node, then click Porous Media Diffusion 1.
2
In the Settings window for Porous Media Diffusion, locate the Diffusion section.
3
From the Diffusion model list, choose User defined.
4
In the Dpeff,cA text field, type DAp.
5
In the Dpeff,cB text field, type DBp.
6
In the Dpeff,cC text field, type DCp.
Use the reaction rates calculated in the Chemistry interface.
Reactions 1
1
In the Model Builder window, click Reactions 1.
2
In the Settings window for Reactions, locate the Reaction Rates section.
3
From the Rpe,cA list, choose Reaction rate for species A (chem).
4
From the Rpe,cB list, choose Reaction rate for species B (chem).
5
From the Rpe,cC list, choose Reaction rate for species C (chem).
6
Click to expand the Reacting Volume section. From the list, choose Total volume.
Inflow 1
1
In the Physics toolbar, click  Boundaries and choose Inflow.
2
In the Settings window for Inflow, locate the Boundary Selection section.
3
From the Selection list, choose Inlet.
4
Locate the Concentration section. In the c0,cA text field, type CA_in.
5
In the c0,cB text field, type CB_in.
6
In the c0,cC text field, type CC_in.
Outflow 1
1
In the Physics toolbar, click  Boundaries and choose Outflow.
2
In the Settings window for Outflow, locate the Boundary Selection section.
3
From the Selection list, choose Outlet.
Darcy’s Law (dl)
Lastly, enter the model specifications for the Darcy’s Law interface to compute the convective flow in the reactor.
Fluid and Matrix Properties 1
Take the porosity directly from the Reactive Pellet Bed feature.
1
In the Model Builder window, under Component 1 (comp1)>Darcy’s Law (dl) click Fluid and Matrix Properties 1.
2
In the Settings window for Fluid and Matrix Properties, locate the Matrix Properties section.
3
From the εp list, choose User defined. In the associated text field, type epsilon_b.
4
From the κ list, choose User defined. In the associated text field, type kappa.
Pressure 1
1
In the Physics toolbar, click  Boundaries and choose Pressure.
2
In the Settings window for Pressure, locate the Boundary Selection section.
3
From the Selection list, choose Outlet.
Pressure 2
1
In the Physics toolbar, click  Boundaries and choose Pressure.
2
In the Settings window for Pressure, locate the Boundary Selection section.
3
From the Selection list, choose Inlet.
4
Locate the Pressure section. In the p0 text field, type p_Darcy.
This completes the setup of the model equations describing the reacting flow and heat transfer in the packed bed reactor. Before solving the problem numerically, the geometry needs to be meshed.
First create a free triangular mesh at the reactor inlet and sweep that mesh along the x direction (the height) of the reactor.
Mesh 1
Free Triangular 1
1
In the Mesh toolbar, click  Boundary and choose Free Triangular.
2
In the Settings window for Free Triangular, locate the Boundary Selection section.
3
From the Selection list, choose Bottom plate.
Size 1
1
Right-click Free Triangular 1 and choose Size.
2
In the Settings window for Size, locate the Element Size section.
3
From the Predefined list, choose Fine.
Swept 1
In the Mesh toolbar, click  Swept.
Distribution 1
1
Right-click Swept 1 and choose Distribution.
2
In the Settings window for Distribution, locate the Distribution section.
3
From the Distribution type list, choose Predefined.
4
In the Number of elements text field, type 15.
5
In the Element ratio text field, type 5.
6
Click  Build All.
Since this is a one-way problem, it can be solved in two steps in order to consume less memory: First solve the Darcy’s law interface for the velocity, which is a stationary problem. Then solve the Transport of Diluted Species interface with a time dependent study step.
Study 1
Step 1: Time Dependent
1
In the Model Builder window, under Study 1 click Step 1: Time Dependent.
2
In the Settings window for Time Dependent, locate the Study Settings section.
3
In the Output times text field, type range(0,10,180).
4
Locate the Physics and Variables Selection section. In the table, clear the Solve for check box for Darcy’s Law (dl).
Stationary
1
In the Study toolbar, click  Study Steps and choose Stationary>Stationary.
2
In the Settings window for Stationary, locate the Physics and Variables Selection section.
3
In the table, clear the Solve for check boxes for Chemistry (chem) and Transport of Diluted Species in Porous Media (tds).
4
Right-click Study 1>Step 2: Stationary and choose Move Up.
5
In the Study toolbar, click  Compute.
Root
1
Click the  Show More Options button in the Model Builder toolbar.
2
In the Show More Options dialog box, in the tree, select the check box for the node Results>Views.
3
Create views for plotting different angles of the geometry.
Results
Column view
1
In the Model Builder window, under Results right-click Views and choose View 3D.
2
In the Settings window for View 3D, type Column view in the Label text field.
Pellet view
1
Right-click Views and choose View 3D.
2
In the Settings window for View 3D, type Pellet view in the Label text field.
Sector 3D 1
Create a dataset that can be used to plot the column with a sector cut-out for better view.
1
In the Results toolbar, click  More Datasets and choose Sector 3D.
2
In the Settings window for Sector 3D, locate the Axis Data section.
3
In row Point 2, set X to 1 and z to 0.
4
Locate the Symmetry section. In the Number of sectors text field, type 8.
5
From the Sectors to include list, choose Manual.
6
In the Number of sectors to include text field, type 5.
Adjust the view angle of the plot with the mouse, then go to the Views -> Column view under Results and select the Lock camera check-box to save the view.
First create Figure 3 showing the velocity distribution in the reactor.
Velocity
1
In the Results toolbar, click  3D Plot Group.
2
In the Settings window for 3D Plot Group, type Velocity in the Label text field.
3
Locate the Data section. From the Dataset list, choose Sector 3D 1.
4
Locate the Plot Settings section. From the View list, choose Column view.
Slice 1
1
Right-click Velocity and choose Slice.
2
In the Settings window for Slice, click Replace Expression in the upper-right corner of the Expression section. From the menu, choose Component 1 (comp1)>Darcy’s Law>Velocity and pressure>dl.U - Darcy’s velocity magnitude - m/s.
3
Locate the Plane Data section. In the Planes text field, type 8.
4
In the Velocity toolbar, click  Plot.
5
Click the  Zoom Extents button in the Graphics toolbar.
Continue with Figure 4 illustrating the concentration of species A in the reactor.
Concentration, A, Surface (tds)
1
In the Model Builder window, click Concentration, A, Surface (tds).
2
In the Settings window for 3D Plot Group, locate the Data section.
3
From the Dataset list, choose Sector 3D 1.
4
Locate the Plot Settings section. From the View list, choose Column view.
5
In the Concentration, A, Surface (tds) toolbar, click  Plot.
6
Click the  Zoom Extents button in the Graphics toolbar.
To create the first xy plot, a new dataset is required. Also, the special syntax comp1.atxd3 is needed to plot variables within the pellet.
Study 1/Solution 1 (3) (sol1)
1
In the Model Builder window, under Results>Datasets right-click Study 1/Solution 1 (sol1) and choose Duplicate.
2
In the Settings window for Solution, locate the Solution section.
3
From the Component list, choose Extra Dimension from Reactive Pellet Bed 1 (tds_rpb1_xdim).
1D Plot Group 10
In the Home toolbar, click  Add Plot Group and choose 1D Plot Group.
Line Graph 1
Right-click 1D Plot Group 10 and choose Line Graph.
Pellet x-y plot
1
In the Settings window for 1D Plot Group, type Pellet x-y plot in the Label text field.
2
Click to expand the Title section. From the Title type list, choose Manual.
3
In the Title text area, type Pellet concentrations @ x=0.5[m], y=0, z=0.
4
Locate the Data section. From the Dataset list, choose Study 1/Solution 1 (3) (sol1).
A
1
In the Model Builder window, under Results>Pellet x-y plot click Line Graph 1.
2
In the Settings window for Line Graph, type A in the Label text field.
3
Locate the Selection section. From the Selection list, choose All domains.
4
Locate the y-Axis Data section. In the Expression text field, type comp1.atxd3(0.5,0,0,comp1.tds.rpb1.cpe_cA).
The syntax comp1.atxd3(0.5,0,0,comp1.tds.rpb1.cpe_cA) means that you visualize the internal pellet concentration 0.5 m from the inlet, and in the center of the column.
5
Select the Description check box.
6
In the associated text field, type pellet (comp1.tds.rpb1.cpe_cA) @ x=0.5[m], y=0, z=0.
7
Click to expand the Coloring and Style section. In the Width text field, type 2.
8
Click to expand the Legends section. Select the Show legends check box.
9
From the Legends list, choose Manual.
10
B
1
Right-click A and choose Duplicate.
2
In the Settings window for Line Graph, type B in the Label text field.
3
Locate the y-Axis Data section. In the Expression text field, type comp1.atxd3(0.5,0,0,comp1.tds.rpb1.cpe_cB).
4
In the Description text field, type pellet (comp1.tds.rpb1.cpe_cB) @ x=0.5[m], y=0, z=0.
5
Locate the Legends section. In the table, enter the following settings:
C
1
Right-click B and choose Duplicate.
2
In the Settings window for Line Graph, type C in the Label text field.
3
Locate the y-Axis Data section. In the Expression text field, type comp1.atxd3(0.5,0,0,comp1.tds.rpb1.cpe_cC).
4
In the Description text field, type pellet (comp1.tds.rpb1.cpe_cC) @ x=0.5[m], y=0, z=0.
5
Locate the Legends section. In the table, enter the following settings:
6
In the Pellet x-y plot toolbar, click  Plot.
Pellet x-y plot
1
In the Model Builder window, click Pellet x-y plot.
2
In the Settings window for 1D Plot Group, locate the Data section.
3
From the Time selection list, choose Last.
4
Locate the Plot Settings section. Select the x-axis label check box.
5
In the associated text field, type Normalized Pellet Radius (r/rpe).
6
Select the y-axis label check box.
7
In the associated text field, type Concentration (mol/m<sup>3</sup>).
8
In the Pellet x-y plot toolbar, click  Plot.
9
Click the  Zoom Extents button in the Graphics toolbar.
Next plot is created to visualize the difference in species’ average concentrations in the pellets and the reactor bed in the same plot. The figure requires a new dataset.
Cut Line 3D 1
In the Results toolbar, click  Cut Line 3D.
Concentration comparison
1
In the Results toolbar, click  1D Plot Group.
2
In the Settings window for 1D Plot Group, type Concentration comparison in the Label text field.
3
Locate the Data section. From the Time selection list, choose Last.
4
From the Dataset list, choose Cut Line 3D 1.
5
Locate the Title section. From the Title type list, choose Manual.
6
In the Title text area, type Comparison between concentration in bed and average concentration in pellets.
7
Locate the Plot Settings section. Select the x-axis label check box.
8
In the associated text field, type Height coordinate from bottom at center of reactor (m).
9
Select the y-axis label check box.
10
In the associated text field, type Concentration (mol/m<sup>3</sup>).
11
Locate the Legend section. From the Position list, choose Middle right.
A, bed
1
Right-click Concentration comparison and choose Line Graph.
2
In the Settings window for Line Graph, type A, bed in the Label text field.
3
Locate the Coloring and Style section. Find the Line style subsection. From the Line list, choose Dashed.
4
From the Color list, choose Blue.
5
In the Width text field, type 2.
6
Locate the Legends section. Select the Show legends check box.
7
From the Legends list, choose Manual.
8
B, bed
1
Right-click A, bed and choose Duplicate.
2
In the Settings window for Line Graph, type B, bed in the Label text field.
3
Locate the y-Axis Data section. In the Expression text field, type cB.
4
Locate the Coloring and Style section. From the Color list, choose Green.
5
Locate the Legends section. In the table, enter the following settings:
C, bed
1
Right-click B, bed and choose Duplicate.
2
In the Settings window for Line Graph, type C, bed in the Label text field.
3
Locate the y-Axis Data section. In the Expression text field, type cC.
4
Locate the Coloring and Style section. From the Color list, choose Red.
5
Locate the Legends section. In the table, enter the following settings:
A, pellet
1
Right-click C, bed and choose Duplicate.
2
In the Settings window for Line Graph, type A, pellet in the Label text field.
3
Locate the y-Axis Data section. In the Expression text field, type tds.rpb1.avecpe_cA.
4
Locate the Coloring and Style section. Find the Line style subsection. From the Line list, choose Solid.
5
From the Color list, choose Blue.
6
Locate the Legends section. In the table, enter the following settings:
B, pellet
1
Right-click A, pellet and choose Duplicate.
2
In the Settings window for Line Graph, type B, pellet in the Label text field.
3
Locate the y-Axis Data section. In the Expression text field, type tds.rpb1.avecpe_cB.
4
Locate the Coloring and Style section. From the Color list, choose Green.
5
Locate the Legends section. In the table, enter the following settings:
C, pellet
1
Right-click B, pellet and choose Duplicate.
2
In the Settings window for Line Graph, type C, pellet in the Label text field.
3
Locate the y-Axis Data section. In the Expression text field, type tds.rpb1.avecpe_cC.
4
Locate the Coloring and Style section. From the Color list, choose Red.
5
Locate the Legends section. In the table, enter the following settings:
6
In the Concentration comparison toolbar, click  Plot.
7
Click the  Zoom Extents button in the Graphics toolbar.
Lastly, create the figure showing the concentration of species C in a pellet. The pellet is located at (0.5,0,0) and is visualized with a new dataset.
Cut Point 3D 1
1
In the Results toolbar, click  Cut Point 3D.
The next step is to create the image showing the coordinates of the visualized pellet.
2
In the Settings window for Cut Point 3D, locate the Point Data section.
3
In the X text field, type 0.5.
4
In the Y text field, type 0.
5
In the Z text field, type 0.
6
7
Click the  Zoom Extents button in the Graphics toolbar.
Revolution 1D 1
1
In the Results toolbar, click  More Datasets and choose Revolution 1D.
2
In the Settings window for Revolution 1D, click to expand the Revolution Layers section.
3
In the Start angle text field, type -90.
4
In the Revolution angle text field, type 180.
Revolution 2D 2
1
In the Results toolbar, click  More Datasets and choose Revolution 2D.
2
In the Settings window for Revolution 2D, click to expand the Revolution Layers section.
3
In the Revolution angle text field, type 270.
Pellet 3D plot
1
In the Results toolbar, click  3D Plot Group.
2
In the Settings window for 3D Plot Group, type Pellet 3D plot in the Label text field.
3
Locate the Data section. From the Dataset list, choose Revolution 2D 2.
4
Locate the Plot Settings section. From the View list, choose Pellet view.
5
Clear the Plot dataset edges check box.
Surface 1
1
Right-click Pellet 3D plot and choose Surface.
2
In the Settings window for Surface, locate the Expression section.
3
In the Expression text field, type comp1.atxd3(0.5,0,0,comp1.tds.rpb1.cpe_cC).
4
Click to expand the Title section. From the Title type list, choose Manual.
5
In the Title text area, type Pellet concentration of species C (mol/m<sup>3</sup>) at x=0.5[m], y=0, z=0.
Adjust the view angle of the plot with the mouse, then go to the Views - Pellet under Results and select the Lock camera check-box to change the view.
6
In the Pellet 3D plot toolbar, click  Plot.
7
Click the  Zoom Extents button in the Graphics toolbar.
8
In the Pellet 3D plot toolbar, click  Plot.
Concentration, A, Streamline (tds)
Modify the default streamline plot. For high plot performance it is good to make them start on a cut plane above the bottom.
1
In the Model Builder window, click Concentration, A, Streamline (tds).
2
In the Settings window for 3D Plot Group, locate the Data section.
3
From the Dataset list, choose Sector 3D 1.
4
Locate the Plot Settings section. From the View list, choose Column view.
Cut Plane 1
1
In the Model Builder window, expand the Concentration, A, Streamline (tds) node.
2
Right-click Datasets and choose Cut Plane.
3
In the Settings window for Cut Plane, locate the Data section.
4
From the Dataset list, choose Sector 3D 1.
5
Locate the Plane Data section. In the X-coordinate text field, type 0.005.
Streamline 1
1
In the Model Builder window, click Streamline 1.
2
In the Settings window for Streamline, locate the Streamline Positioning section.
3
In the Points text field, type 1000.
4
From the Along curve or surface list, choose Cut Plane 1.
5
Locate the Coloring and Style section. Find the Line style subsection. From the Type list, choose Tube.
6
In the Tube radius expression text field, type cA[m^4/mol].
7
Select the Radius scale factor check box.
8
You can zoom in by pressing down the middle mouse button and moving the mouse forward. Hold down the Ctrl-button to dolly in the camera position.
9
In the Concentration, A, Streamline (tds) toolbar, click  Plot.
10
Click the  Zoom Extents button in the Graphics toolbar.