,|
1
|
|
2
|
In the Select Physics tree, select Chemical Species Transport > Precipitation and Crystallization > Precipitation and Crystallization.
|
|
3
|
Click Add.
|
|
4
|
Click
|
|
5
|
|
6
|
Click
|
|
1
|
|
2
|
|
3
|
Click
|
|
4
|
Browse to the model’s Application Libraries folder and double-click the file cooling_crystallization_optimization_parameters.txt.
|
|
1
|
|
2
|
|
3
|
Click
|
|
4
|
Browse to the model’s Application Libraries folder and double-click the file cooling_crystallization_optimization_variables.txt.
|
|
1
|
|
2
|
|
3
|
|
4
|
Locate the Definition section. In the Expression text field, type -8.707+9.669*1e-2*T-3.610*1e-4*T^2+4.590*1e-7*T^3.
|
|
5
|
|
6
|
|
1
|
|
2
|
|
3
|
|
4
|
Click
|
|
5
|
Browse to the model’s Application Libraries folder and double-click the file cooling_crystallization_optimization_cooling_curve.txt.
|
|
6
|
|
7
|
|
8
|
In the Argument table, enter the following settings:
|
|
1
|
|
2
|
|
3
|
|
4
|
|
1
|
|
2
|
|
3
|
In the text field, type C8H9NO2.
|
|
1
|
|
2
|
|
1
|
|
2
|
|
3
|
|
4
|
|
5
|
|
6
|
|
7
|
|
8
|
|
9
|
|
10
|
Locate the Nucleation section. In the Bnuc text field, type if(S>1,kb2*(S-1+eps)^alpha*ms^(beta),0)+if(S>1,kb*exp(-(16*pi*v_mol^2*sig^3)/(3*k_B_const^3*T^3*(log(S))^2)),0).
|
|
11
|
Locate the Growth and Dissolution section. In the GL text field, type if(DeltaC>0,kg*exp(-Eag/(R_const*T))*DeltaC^gamma_g,0).
|
|
12
|
|
1
|
In the Model Builder window, under Component 1 (comp1) > Size-Based Population Balance (pbsb) click Initial Values 1.
|
|
2
|
|
3
|
|
1
|
|
2
|
|
3
|
|
4
|
Locate the Objective Function section. In the table, enter the following settings:
|
|
5
|
|
6
|
|
7
|
|
9
|
Click
|
|
11
|
Click
|
|
13
|
Click
|
|
15
|
Click
|
|
17
|
|
1
|
|
2
|
|
3
|
|
1
|
|
2
|
|
3
|
|
4
|
|
5
|
|
1
|
|
2
|
|
3
|
Select the Only plot when requested checkbox.
|
|
1
|
|
2
|
|
3
|
Click
|
|
4
|
|
5
|
|
6
|
Click OK.
|
|
7
|
|
1
|
|
2
|
|
3
|
|
4
|
|
5
|
Locate the Plot Settings section.
|
|
6
|
|
1
|
|
2
|
|
4
|
|
5
|
|
6
|
|
7
|
Clear the Expression checkbox.
|
|
8
|
Select the Description checkbox.
|
|
1
|
|
3
|
Locate the y-Coordinates section. In the table, enter the following settings:
|
|
4
|
Click to expand the Coloring and Style section. Find the Line style subsection. From the Line list, choose Dotted.
|
|
5
|
|
1
|
|
2
|
|
3
|
|
4
|
|
5
|
|
6
|
|
7
|
|
8
|
|
1
|
|
2
|
|
3
|
|
4
|
|
5
|
|
1
|
|
2
|
Go to the Result Templates window.
|
|
3
|
In the tree, select Study 1/Parametric Solutions 1 (sol2) > Size-Based Population Balance > Volume Density Distribution (pbsb).
|
|
4
|
Click the Add Result Template button in the window toolbar.
|
|
5
|
|
1
|
|
2
|
|
3
|
|
4
|
|
1
|
In the Model Builder window, expand the Volume Density Distribution (pbsb) node, then click Line Segments 1.
|
|
2
|
|
3
|
|
4
|
|
1
|
|
3
|
Locate the y-Coordinates section. In the table, enter the following settings:
|
|
4
|
Locate the Coloring and Style section. Find the Line style subsection. From the Line list, choose Dotted.
|
|
5
|
|
6
|
|
1
|
|
2
|
|
1
|
|
2
|
In the Text text field, type \textbf{\unicode{?}} Volume fraction of particles in target area = eval(TVf) \\ \\ \textbf{\unicode{?}} Crystal mass fraction of theoretical max in target area = eval(Vf) \\ \\ \textbf{\unicode{?}} Number fraction of particles below the target area = eval(N_small) \\ \\ Total maximization objective score (0-1) = eval(Vf/4+TVf/4+(1-N_small)/2).
|
|
3
|
Select the LaTeX markup checkbox.
|
|
4
|
|
5
|
|
6
|
|
7
|
|
8
|
|
1
|
|
2
|
|
3
|
|
4
|
Locate the Plot Settings section.
|
|
5
|
Select the y-axis label checkbox. In the associated text field, type Growth/Dissolution rate (µm/min).
|
|
6
|
|
7
|
|
8
|
|
9
|
|
10
|
|
11
|
|
1
|
|
2
|
|
4
|
|
5
|
Locate the Coloring and Style section. Find the Line style subsection. From the Line list, choose Dashed.
|
|
6
|
|
7
|
|
1
|
|
3
|
|
4
|
Locate the Coloring and Style section. Find the Line style subsection. From the Line list, choose Dotted.
|
|
5
|
|
6
|
|
1
|
|
2
|
|
3
|
|
4
|
|
5
|
|
6
|
|
1
|
|
2
|
|
3
|
|
4
|
|
5
|
|
1
|
|
2
|
|
3
|
|
4
|
|
5
|
|
6
|
|
7
|
Locate the Plot Settings section.
|
|
8
|
|
1
|
|
2
|
|
4
|
|
5
|
Locate the Coloring and Style section. Find the Line style subsection. From the Line list, choose Dotted.
|
|
6
|
|
7
|
|
8
|
|
9
|
|
10
|
|
1
|
|
2
|
|
3
|
|
4
|
|
5
|
|
6
|
|
7
|
|
8
|
|
1
|
|
2
|
|
3
|
Select the Show titles checkbox.
|
|
1
|
|
2
|
|
3
|
|
1
|
|
2
|
|
3
|
Locate the y-Axis Data section. In the table, enter the following settings:
|
|
4
|
|
5
|
|
6
|
|
7
|
Select the Reverse color table checkbox.
|
|
8
|
|
9
|
|
10
|
|
11
|
|
12
|
|
1
|
|
2
|
|
3
|
|
1
|
|
2
|
|
1
|
|
2
|
|
4
|