The procedure for setting up a population balance problem is described below. (Note that this procedure includes only those steps necessary for the population balance model itself; you will need to set up other models, boundary conditions, and so on, as usual. See the ANSYS Fluent User's Guide for details.)
Start the double-precision version of ANSYS Fluent.
To enable the population balance model, follow the instructions in Loading the Population Balance Module.
Remember to enable the mixture or Eulerian multiphase model.
Open the Population Balance Model dialog box (Figure 3.1: The Population Balance Model Dialog Box).
Setup → Models → Population Balance
Edit...
Specify the population balance method under Method.
If you select Discrete, you will need to specify the following parameters:
specifies the value for the particle volume coefficient (as described in Particle Growth). By default, this coefficient
has a value of
.
can be specified as a Geometric Ratio or as a File. If Geometric Ratio is selected, then the Ratio Exponent must be specified. If File is selected, you will click the Load File... button and select the bin size file that you want loaded.
You can input the diameter through the text file, with each diameter listed on a separate line, starting from the smallest to the largest diameter (one entry per line). Hence, you are not limited by the choices specified in the dialog box.
specifies the number of particle size bins used in the calculation.
specifies the exponent used in the discretization of
the growth term volume coordinate (see Numerical Method).
specifies the minimum bin size .
displays the maximum bin size, which is calculated internally.
To display a list of the bin sizes in the console window, click Print Bins. The bin sizes will be listed in order of size, from the largest to the smallest. This option is only available when the Geometric Ratio Definition is selected.
If you select Inhomogeneous Discrete under Method, you will specify the same parameters as for the Discrete model. Additionally, you can include more than one secondary phase in the bin definition. Enter the total number of Active Secondary Phases in your simulation.
Note: While reading bins through the Load File... option for the Inhomogeneous Discrete model,
the corresponding phase name must be included, for example (("air-1" (0.1 0.2 0.3))
If you select Standard Moment under Method, you will specify the number of Moments under Parameters.
If you selected Quadrature Moment under Method, you will set the number of moments
to either 4, 6 or 8 under Parameters.
If you selected DQMOM under Method, you will select the DQMOM Phases from the list. You will also specify the following Parameters:
specifies the maximum size of the particle.
specifies the minimum size of the particle.
is the reference particle size. Normally, the averaged size of the particle group should be sufficient.
is the minimum VOF, where the total volume fraction of the particle phases (participating in DQMOM computations) is below the minimum value; the source terms caused by the breakage and coalescence are not computed in that cell for the DQMOM and VOF equations.
is the maximum VOF change in percentage for each DQMOM phase per time step, in order to smooth the convergence progress.
enables you to generate DQMOM values from PDF, CDF, or Overall Moments files. Each of the file formats and the way to generate the values are discussed in Generated DQMOM Values.
Note: The DQMOM method is restricted to a four-phase system, of which three secondary phases are directly involved in the DQMOM computation. Unsteady simulations are required to model breakage and coalescence and a well defined initial field is recommended, in which the abscissas are distinct. Only growth, breakage, and aggregation are the available phenomena. No nucleation is considered.
Select the secondary phase from the Phase drop-down list for which you want to apply the population balance model parameters.
For all population balance methods, you can enable the following under Phenomena :
enables you to specify the nucleation rate (). You can select constant or user-defined from the drop-down list. If
you select constant, specify a value in the adjacent
field. If you have a user-defined function (UDF) that you want to
use to model the nucleation rate, you can choose the user-defined option and specify the appropriate UDF.
Note: This option is not available when using the Inhomogeneous Discrete method.
enables you to specify the particle growth rate (m/s). You can select constant or user-defined from the drop-down list. If you select constant, specify a value in the adjacent field. If you have a user-defined function (UDF) that you want to use to model the growth rate, you can choose the user-defined option and specify the appropriate UDF.
Note: This option is not available when using the Inhomogeneous Discrete method.
enables you to specify the aggregation kernel (). You can select constant, luo-model, free-molecular-model, turbulent-model, or user-defined from the drop-down list:
If you select constant, specify a value in the adjacent field.
If you select luo-model, the Surface Tension for Population Balance dialog box will open automatically to enable you to specify the surface tension (see Figure 3.2: The Surface Tension for Population Balance Dialog Box). The aggregation rate for the model will then be calculated based on Luo’s aggregation kernel (as described in Particle Birth and Death Due to Breakage and Aggregation).
If you select free-molecular-model, then Equation 2–40 is applied.
If you select turbulent-model, the Hamaker Constant for Population Balance dialog box will open automatically to enable you to specify the Hamaker constant (see Figure 3.3: The Hamaker Constant for Population Balance Dialog Box). More information about this model is available in Turbulent Aggregation Kernel.
If you have a user-defined function (UDF) that you want to use to model the aggregation rate, you can choose the user-defined option and specify the appropriate UDF.
enables you to specify the particle breakage frequency
(). You can
select constant, luo-model, lehr-model, ghadiri-model, laakkonen-model or user-defined from the Frequency drop-down list:
If you select constant, specify a value in the adjacent field.
If you select luo-model, the Surface Tension for Population Balance dialog box will open automatically to enable you to specify the surface tension (see Figure 3.2: The Surface Tension for Population Balance Dialog Box). The frequency used in the breakage rate will then be calculated based on Luo’s breakage kernel (as described in Particle Birth and Death Due to Breakage and Aggregation).
If you select lehr-model, the Surface Tension and Weber Number dialog box will open automatically to enable you to specify the surface tension and critical Weber number (see Figure 3.4: The Surface Tension and Weber Number Dialog Box). The frequency used in the breakage rate will then be calculated based on Lehr’s breakage kernel (as described in Particle Birth and Death Due to Breakage and Aggregation).
If you select ghadiri-model, the Ghadiri Breakage Constant for Population Balance dialog box will open automatically to enable you to specify the breakage constant (see Figure 3.5: The Ghadiri Breakage Constant for Population Balance Dialog Box). The frequency will then be calculated based on Ghadiri’s breakage kernel (as described in Particle Birth and Death Due to Breakage and Aggregation).
If you select laakkonen-model, the Surface Tension for Population Balance dialog box will open automatically to enable you to specify the Surface Tension and the constant C2 (Laakkonen Breakage Kernels). The frequency will then be calculated based on Laakkonen's breakage kernel (as described in Laakkonen Breakage Kernels).
If you have a user-defined function (UDF) that you want to use to model the frequency for the breakage rate, you can choose the user-defined option and specify the appropriate UDF.
If you selected constant, ghadiri-model, laakkonen-model, or user-defined for Frequency, then you can specify the probability density function used to calculate the breakage rate by making a selection in the PDF drop-down list. You can select parabolic, laakkonen, generalized, or user-defined :
If you select parabolic, the Shape Factor for Parabolic PDF dialog box will open automatically to enable you to specify the shape factor C (see Figure 3.6: The Shape Factor for Parabolic PDF Dialog Box). The PDF used in the breakage rate will then be calculated according to Equation 2–22 (as described in Particle Birth and Death Due to Breakage and Aggregation).
If you select generalized, the Generalized pdf for multiple breakage dialog box will open automatically (Figure 3.7: The Generalized pdf for multiple breakage Dialog Box).
Perform the following steps in the Generalized pdf for multiple breakage dialog box:
Select either One Term or Two Term from the Options list. Your
selection will determine whether in Equation 2–28 is 0 or 1, respectively.
Enter a value for the averaged Number of Daughters. It can be any real number (including non-integers, such as 2.5), as long as it is not less than 2.
Define the parameter(s) for Equation 2–28 in the Input Parameters group box. When One Term is selected from the Options list, you must enter a value for qi0. When Two Term is selected from the Options list, you must enter values for wi0, pi0, qi0, ri0, and qi1. For information about appropriate values for these parameters to result in the daughter distributions shown in Table 2.3: Daughter Distributions, see Table 2.4: Daughter Distributions (cont.).
Note: For the equal-size generalized pdf breakage distribution,
the value for qi0 should be set to 1e20.
Click the Validate/Apply button to save the settings. The text boxes in the All Parameters group box will be updated, using the values you entered in the Input Parameters group box, as well as values derived from the constraints shown in Equation 2–29 – Equation 2–31.
Verify that the values in the All Parameters group box represent your intended PDF before clicking Close.
If you have a user-defined function (UDF) that you want to use to model the PDF for the breakage rate, you can choose the user-defined option and specify the appropriate UDF. See UDFs for Population Balance Modeling for details about UDFs for the population balance model.
Choose between the default Hagesather formulation and the Ramakrishna formulation. Detailed information about these two methods can be found in Breakage Formulations for the Discrete Method.
(Discrete and QMOM models only) If you want to account for bubble expansion due to large changes in hydrostatic pressure in compressible flows, enable Include Expansion. The bubble expansion is modeled as a growth term in the Population Balance equations (Equation 2–4). This can be relevant in applications such as deep-water drilling. For more information, see Particle Growth.
Note: The secondary phase must be modeled as compressible. This option is currently available for Discrete and QMOM only.
Specify the boundary conditions for the solution variables.
Setup →
Boundary Conditions
Specify the initial guess for the solution variables.
Solution →
Initialization
Solve the problem and perform relevant postprocessing functions.
Solution →
Run Calculation
See Postprocessing for the Population Balance Model for details about postprocessing.
When using the DQMOM model, you have the option of generating DQMOM values from three different file formats. To do so, select Overall Moments, PDF or CDF under Generate DQMOM Values and then click the Load File… button. The Select File dialog box will open where you will select the appropriate file. Clicking in the Select File dialog box will result in the file being read and calculations carried out. The DQMOM values will be printed in the console.
DQMOM Values Produced From PDF, CDF Files, or Overall Moments for the Particles
Three quadrature points are assumed, namely QP0, QP1, and QP2 (see Figure 3.9: DQMOM Values Produced From a PDF File).
Length, Volume
Fraction , and DQMOM-m4 values
are given. The latter two can be used for initial fields of VOF and
DQMOM as well as boundary conditions.
For verification purposes, the first six moments are also given together with the total volume fraction of all particles from the PDF or CDF file. It is your responsibility to make sure that these values are correct, especially the total volume fraction.
The definition of the first six moments of the particles is length based for the overall moments, described in The Quadrature Method of Moments (QMOM).
In PDF or CDF format, the resultant volume fraction is normally given as unity. If you want the real particle volume fraction to be reflected in the mixture, the second column of the PDF or CDF data file need to be multiplied by the value of the real volume fraction. Another way is to multiply the values of the generated DQMOM volume fraction and DQMOM-m4 using the real particle volume fraction.
PDF File Format
The probability density function (PDF) is defined by the probability distribution of particles in terms of the volume fraction over the particle length (namely the diameter of the particle).
The integration of PDF over all possible particle length (normally from 0 to the maximum diameter) shall give a value of unity or the real value of the volume fraction of all participating particles.
The following file format is required (as shown below):
An integer number specified in the first line, indicating the number of data pairs to follow
The data in the 1st column specifying the length or diameter of particles in ascending order in meters (m)
The data in the 2nd column specifying the probability density function. Be aware that the integration of the PDF over the length shall result in a value of volume fraction for that particular particle length range
37 5e-6 0.000058e6 10e-6 0.000271e6 15e-6 0.000669e6 20e-6 0.001264e6 25e-6 0.002062e6 30e-6 0.003055e6 35e-6 0.004228e6 40e-6 0.005549e6 45e-6 0.006972e6 50e-6 0.008439e6 55e-6 0.00988e6 60e-6 0.011217e6 65e-6 0.012366e6 70e-6 0.013253e6 75e-6 0.013811e6 80e-6 0.013996e6 85e-6 0.013789e6 90e-6 0.013199e6 95e-6 0.012268e6 100e-6 0.011062e6 105e-6 0.009668e6 110e-6 0.00818e6 115e-6 0.006694e6 120e-6 0.00529e6 125e-6 0.004033e6 130e-6 0.002962e6 135e-6 0.002093e6 140e-6 0.00142e6 145e-6 0.000925e6 150e-6 0.000576e6 155e-6 0.000344e6 160e-6 0.000196e6 170e-6 0.000055e6 180e-6 0.000012e6 190e-6 0.000002e6 200e-6 0. 210e-6 0.
CDF File Format
The cumulative density function (CDF) is defined as
the integration of PDF over all possible particles up to the length , resulting in a value of
volume fraction for all particles less than length
.
The value of the CDF at the maximum particle length/diameter shall be unity, or the real value of the volume fraction of all particles in the mixture.
The following file format is required (as shown below):
An integer number specified in the first line, indicating the number of data pairs to follow
The data in the 1st column specifying the length or diameter of particles in ascending order in meters (m)
The data in the 2nd column specifying the cumulative density function in terms of the volume fraction of particles
at the maximum particle length
37 5e-6 0 10e-6 0.109e-2 15e-6 0.16e-2 20e-6 0.175e-2 25e-6 0.208e-2 30e-6 0.304e-2 35e-6 0.614e-2 40e-6 1.5e-2 44e-6 3.e-2 45e-6 3.44e-2 50e-6 6.573e-2 55e-6 11.19e-2 60e-6 17.11e-2 65e-6 24.17e-2 70e-6 32.007e-2 75e-6 40.243e-2 80e-6 48.397e-2 85e-6 56.453e-2 90e-6 63.823e-2 95e-6 70.53e-2 100e-6 76.073e-2 105e-6 81e-2 110e-6 85.057e-2 115e-6 88.187e-2 120e-6 90.89e-2 125e-6 92.897e-2 130e-6 94.437e-2 135e-6 95.543e-2 140e-6 96.523e-2 145e-6 97.173e-2 150e-6 97.717e-2 155e-6 98.007e-2 160e-6 98.363e-2 170e-6 98.88e-2 180e-6 99.16e-2 190e-6 99.327e-2 200e-6 100.e-2
Overall Moments File Format
The third option is to specify the first six moments for all particles as shown below.
The following file format is required (as shown below):
An integer number specified in the first line, indicating the number of data (moments) to follow. By default, this shall be 6
six moments from moment-0 to moment-5 are given in that order. The definition of the first six moments is based on length as described in The Quadrature Method of Moments (QMOM)
As a check for moments, . In the values given below, volume fraction is assumed to be unity
and
is assumed to be
6 1.120556e+013 4.022475e+008 2.523370e+004 1.909857e+000 1.611191e-004 1.498663e-008