|
•
|
L is the particle diameter (m)
|
|
•
|
G is the crystal growth rate (m/s)
|
|
•
|
ν is the kinematic viscosity (m2/s)
|
|
•
|
Sc is the Schmidt number
|
|
•
|
|
•
|
Lc0 the smallest stable crystal size (m)
|
|
•
|
|
•
|
NA is the Avogadro number (1/mol)
|
|
•
|
|
•
|
kB is the Boltzmann constant (J/K)
|
|
•
|
|
•
|
T is the temperature (K)
|
|
1
|
|
2
|
In the Select Physics tree, select Chemical Species Transport > Precipitation and Crystallization > Precipitation and Crystallization in Fluid Flow.
|
|
3
|
Click Add.
|
|
4
|
|
5
|
|
6
|
Click
|
|
7
|
|
8
|
Click
|
|
1
|
|
2
|
|
3
|
Click
|
|
4
|
Browse to the model’s Application Libraries folder and double-click the file barium_sulfate_precipitation_parameters.txt.
|
|
1
|
|
2
|
|
3
|
|
4
|
Browse to the model’s Application Libraries folder and double-click the file barium_sulfate_precipitation_debye_huckel_constants.txt.
|
|
1
|
|
2
|
|
3
|
|
4
|
Locate the Definition section. In the Expression text field, type ((0.06+0.6*B)*(Z1*Z2))/((1+I*1.5/(Z1*Z2))^2)+B.
|
|
5
|
|
6
|
|
1
|
|
2
|
|
3
|
Click
|
|
4
|
Browse to the model’s Application Libraries folder and double-click the file barium_sulfate_precipitation_variables1.txt.
|
|
1
|
|
2
|
|
3
|
|
1
|
|
2
|
|
3
|
|
4
|
Click Apply.
|
|
5
|
|
1
|
|
2
|
|
3
|
|
4
|
Click Apply.
|
|
5
|
|
1
|
|
2
|
|
3
|
|
4
|
|
1
|
|
2
|
|
3
|
|
1
|
|
2
|
|
1
|
|
2
|
|
3
|
|
4
|
|
5
|
|
6
|
|
7
|
|
8
|
|
9
|
|
10
|
|
11
|
|
1
|
In the Model Builder window, under Component 1 (comp1) > Multiphysics click Precipitation in Fluid Flow 1 (pffg1).
|
|
2
|
|
3
|
From the list, choose BaSO4.
|
|
4
|
|
5
|
In the text field, type c_effective.
|
|
6
|
|
7
|
|
1
|
|
2
|
|
3
|
|
1
|
|
2
|
|
3
|
|
4
|
|
5
|
|
6
|
In the Model Builder window, expand the Study 1 > Solver Configurations > Solution 1 (sol1) > Dependent Variables 1 node, then click Concentration (comp1.ODE1).
|
|
7
|
|
8
|
|
9
|
In the Model Builder window, under Study 1 > Solver Configurations > Solution 1 (sol1) click Time-Dependent Solver 1.
|
|
10
|
|
11
|
|
12
|
Click
|
|
1
|
|
2
|
|
3
|
|
1
|
In the Model Builder window, expand the Average Size Distribution (pbsb) node, then click Line Segments 1.
|
|
2
|
|
3
|
|
4
|
|
5
|
|
1
|
|
2
|
|
3
|
|
4
|
Locate the Plot Settings section.
|
|
5
|
|
6
|
|
1
|
|
2
|
|
3
|
Click
|
|
5
|
|
6
|
|
1
|
|
2
|
|
3
|
|
4
|
Locate the Plot Settings section.
|
|
5
|
Select the y-axis label checkbox. In the associated text field, type Mass Concentration (kg/m<SUP>3</SUP>).
|
|
6
|
|
1
|
|
2
|
|
3
|
Click
|
|
5
|
|
6
|
|
8
|
|
1
|
|
2
|
|
3
|
|
4
|
|
1
|
|
2
|
Go to the Add Physics window.
|
|
3
|
In the tree, select Chemical Species Transport > Precipitation and Crystallization > Size-Based Population Balance (pbsb).
|
|
4
|
Click the Add to Component 2 button in the window toolbar.
|
|
5
|
|
1
|
|
2
|
Right-click Component 2 (comp2) > Multiphysics > Reacting Flow, Diluted Species 1 (rfd1) and choose Delete.
|
|
1
|
|
2
|
|
3
|
|
4
|
Browse to the model’s Application Libraries folder and double-click the file barium_sulfate_precipitation_variables2.txt.
|
|
1
|
|
2
|
|
3
|
|
4
|
|
1
|
|
2
|
|
3
|
|
4
|
|
5
|
|
6
|
|
7
|
|
8
|
|
1
|
|
2
|
|
3
|
|
4
|
|
5
|
|
6
|
|
7
|
|
1
|
|
2
|
|
3
|
|
1
|
|
2
|
|
3
|
|
1
|
In the Model Builder window, right-click Geometry 1(3D) and choose Virtual Operations > Ignore Faces.
|
|
2
|
On the object fin, select Boundaries 13–15, 17, 18, 23–26, and 29–31 only.
|
|
3
|
|
4
|
|
5
|
|
6
|
Clear the Automatic detection of small details checkbox.
|
|
1
|
|
2
|
|
3
|
|
4
|
Locate the Species Matching section. Find the Bulk species subsection. In the table, enter the following settings:
|
|
1
|
In the Model Builder window, expand the Chemistry (chem) node, then click 1: HSO4(-) = H(+) + SO4(2-).
|
|
2
|
|
3
|
|
4
|
|
5
|
|
1
|
In the Model Builder window, under Component 2 (comp2) > Chemistry (chem) click 2: Ba(++) + SO4(2-) = BaSO4.
|
|
2
|
|
3
|
|
4
|
|
5
|
|
1
|
|
2
|
|
3
|
|
1
|
In the Model Builder window, under Component 2 (comp2) > Transport of Diluted Species (tds), Ctrl-click to select Equilibrium Reaction 1 and Equilibrium Reaction 2.
|
|
2
|
Right-click and choose Delete.
|
|
1
|
In the Model Builder window, under Component 2 (comp2) > Transport of Diluted Species (tds) click Fluid 1.
|
|
2
|
|
3
|
|
4
|
Locate the Model Input section. From the T list, choose User defined. In the associated text field, type T.
|
|
5
|
|
6
|
|
7
|
|
8
|
|
9
|
|
10
|
|
1
|
|
3
|
|
4
|
|
5
|
|
1
|
|
3
|
|
4
|
|
5
|
|
6
|
|
1
|
|
1
|
In the Model Builder window, under Component 2 (comp2) click Size-Based Population Balance 2 (pbsb2).
|
|
2
|
|
3
|
|
4
|
|
5
|
|
6
|
|
7
|
|
8
|
|
9
|
|
10
|
|
11
|
|
12
|
|
13
|
Click to expand the Dependent Variables section. In the Number of population number densities text field, type 30.
|
|
1
|
|
2
|
In the Show More Options dialog, in the tree, select the checkbox for the node Physics > Advanced Physics Options.
|
|
3
|
Click OK.
|
|
4
|
|
5
|
|
6
|
Find the Pseudo time stepping subsection. From the Use pseudo time stepping for stationary equation form list, choose On.
|
|
1
|
In the Model Builder window, under Component 2 (comp2) > Size-Based Population Balance 2 (pbsb2) click Fluid 1.
|
|
2
|
|
3
|
|
4
|
|
1
|
|
1
|
|
1
|
In the Model Builder window, expand the Component 2 (comp2) > Laminar Flow (spf) node, then click Laminar Flow (spf).
|
|
2
|
|
3
|
|
1
|
|
2
|
|
3
|
From the list, choose Fully developed flow.
|
|
4
|
|
1
|
|
1
|
In the Model Builder window, under Component 2 (comp2) > Multiphysics click Precipitation in Fluid Flow 1a (pff1).
|
|
2
|
|
3
|
From the list, choose cBaSO4.
|
|
4
|
|
5
|
In the text field, type c_effective.
|
|
6
|
|
7
|
In the text field, type D_AB.
|
|
8
|
|
9
|
|
1
|
|
2
|
|
3
|
From the list, choose User-controlled mesh.
|
|
1
|
|
2
|
|
3
|
|
1
|
|
2
|
|
3
|
|
1
|
|
2
|
|
3
|
|
1
|
|
2
|
|
3
|
|
4
|
|
5
|
Click
|
|
6
|
|
7
|
Click OK.
|
|
1
|
|
2
|
|
3
|
|
4
|
|
5
|
|
1
|
|
2
|
Drag and drop below Free Tetrahedral 1.
|
|
3
|
|
1
|
|
2
|
Go to the Add Study window.
|
|
3
|
Find the Physics interfaces in study subsection. In the table, clear the Solve checkboxes for Reaction Engineering (re) and Size-Based Population Balance (pbsb).
|
|
4
|
Find the Multiphysics couplings in study subsection. In the table, clear the Solve checkbox for Precipitation in Fluid Flow 1 (pffg1).
|
|
5
|
Find the Studies subsection. In the Select Study tree, select Preset Studies for Selected Multiphysics > Stationary Precipitation in Fluid Flow.
|
|
6
|
Click the Add Study button in the window toolbar.
|
|
7
|
|
1
|
In the Settings window for 3D Plot Group, type Number of Particles and Supersaturation in the Label text field.
|
|
2
|
|
3
|
|
4
|
|
5
|
|
1
|
|
2
|
|
3
|
|
4
|
|
1
|
|
1
|
|
2
|
|
3
|
|
4
|
|
1
|
|
2
|
|
3
|
|
4
|
|
5
|
|
1
|
In the Model Builder window, under Results > Number of Particles and Supersaturation, Ctrl-click to select Reactor Walls and Slice 1.
|
|
2
|
Right-click and choose Duplicate.
|
|
1
|
|
2
|
|
1
|
|
2
|
|
3
|
|
4
|
|
5
|
|
6
|
|
1
|
|
2
|
|
3
|
|
4
|
|
5
|
|
1
|
|
2
|
|
3
|
Select the LaTeX markup checkbox.
|
|
4
|
|
5
|
|
6
|
|
7
|
|
1
|
|
2
|
|
3
|
|
4
|
|
5
|
|
6
|
|
7
|
|
8
|
|
1
|
|
2
|
|
3
|
|
4
|
|
5
|
|
6
|
|
1
|
|
2
|
|
3
|
|
1
|
|
2
|
|
3
|
|
1
|
|
2
|
|
3
|
|
1
|
In the Model Builder window, expand the Results > Population Number Density, n121, Streamline (pbsb2) node, then click Results > Datasets > Average 3.
|
|
2
|
|
3
|
|
1
|
|
2
|
|
3
|
|
1
|
|
2
|
|
3
|
|
1
|
|
2
|
|
3
|
|
1
|
|
2
|
In the Settings window for 1D Plot Group, type Average Size Distribution at Specified z-Coordinates in the Label text field.
|
|
3
|
|
4
|
|
1
|
In the Model Builder window, expand the Average Size Distribution at Specified z-Coordinates node, then click Line Segments 1.
|
|
2
|
|
3
|
|
4
|
|
5
|
|
6
|
Select the Show legends checkbox.
|
|
1
|
Right-click Results > Average Size Distribution at Specified z-Coordinates > Line Segments 1 and choose Duplicate.
|
|
2
|
|
3
|
|
4
|
Locate the Legends section. In the table, enter the following settings:
|
|
1
|
|
2
|
|
3
|
|
4
|
Locate the Legends section. In the table, enter the following settings:
|
|
1
|
|
2
|
|
3
|
|
4
|
Locate the Legends section. In the table, enter the following settings:
|
|
1
|
|
2
|
|
3
|
|
4
|
Locate the Legends section. In the table, enter the following settings:
|
|
5
|
|
1
|
|
2
|
In the Settings window for 3D Plot Group, type Concentration of Particles at Different Sizes in the Label text field.
|
|
3
|
|
4
|
|
5
|
|
6
|
|
7
|
|
1
|
|
2
|
|
3
|
|
4
|
|
5
|
|
1
|
|
2
|
|
3
|
|
4
|
|
5
|
|
6
|
|
1
|
|
2
|
|
3
|
|
4
|
|
5
|
|
1
|
|
2
|
|
3
|
Click to select the
|
|
1
|
In the Model Builder window, under Results > Concentration of Particles at Different Sizes, Ctrl-click to select Slice 1, Slice 2, Annotation 1, and Reactor Walls.
|
|
2
|
Right-click and choose Duplicate.
|
|
1
|
|
2
|
|
3
|
|
4
|
|
1
|
|
2
|
|
3
|
|
4
|
|
1
|
|
2
|
|
3
|
|
4
|
|
1
|
|
2
|
|
3
|
|
1
|
In the Model Builder window, under Results > Concentration of Particles at Different Sizes, Ctrl-click to select Slice 3, Slice 4, Annotation 2, and Reactor Walls 1.
|
|
2
|
Right-click and choose Duplicate.
|
|
1
|
|
2
|
|
3
|
|
1
|
|
2
|
|
3
|
|
4
|
|
1
|
|
2
|
|
3
|
|
4
|
|
1
|
|
2
|
|
3
|
|
1
|
In the Model Builder window, under Results > Concentration of Particles at Different Sizes, Ctrl-click to select Slice 5, Slice 6, Annotation 3, and Reactor Walls 1.1.
|
|
2
|
Right-click and choose Duplicate.
|
|
1
|
|
2
|
|
3
|
|
1
|
|
2
|
|
3
|
|
4
|
|
1
|
|
2
|
|
3
|
|
4
|
|
1
|
|
2
|
|
3
|
|
1
|
In the Model Builder window, under Results, Ctrl-click to select Concentration, Ba_2p, Surface (tds), Concentration, BaSO4, Surface (tds), Concentration, Cl_1m, Surface (tds), Concentration, H_1p, Surface (tds), Concentration, HSO4_1m, Surface (tds), Population Number Density, n101, Streamline (pbsb2), Population Number Density, n101, Surface (pbsb2), Population Number Density, n111, Streamline (pbsb2), Population Number Density, n111, Surface (pbsb2), Population Number Density, n121, Streamline (pbsb2), and Population Number Density, n121, Surface (pbsb2).
|
|
2
|
Right-click and choose Delete.
|
|
1
|
In the Model Builder window, under Results, Ctrl-click to select Concentration (re), Average Size Distribution (pbsb), Size Intervals (pbsb), Supersaturation, and Mass Balance.
|
|
2
|
Right-click and choose Group.
|
|
1
|
In the Model Builder window, under Results, Ctrl-click to select Concentration, Ba_2p, Streamline (tds), Concentration, BaSO4, Streamline (tds), Concentration, Cl_1m, Streamline (tds), Concentration, H_1p, Streamline (tds), Concentration, HSO4_1m, Streamline (tds), Velocity (spf), Pressure (spf), Number of Particles and Supersaturation, Number of Particles, Surface (pbsb2), Size Intervals (pbsb2), Average Size Distribution (pbsb2), Average Size Distribution at Specified z-Coordinates, and Concentration of Particles at Different Sizes.
|
|
2
|
Right-click and choose Group.
|