You're reading the documentation for a development version. For the latest stable documentation, please have a look at v5.1.X.
Crystallization / Precipitation models#
Crystallization / Precipitation in CADET can be modeled by Primary Particle Formation, Aggregation Models, Fragmentation Models, as well as their combinations. The configuration is described for all three modules in the following. For more information on the model equations, please refer to Crystallization / Precipitation Models.
Note that any of these models can be used in any unit operation that supports reactions.
Attention
By setting the NCOMP field, you specify the number of FV cells for the internal coordinate:
If primary particle formation is considered, we have two components that account for the solute \(c\) and solubility \(c_\text{eq}\).
Note that the first component must be solute \(c\) and the last component must be the solubility \(c_\text{eq}\).
Additionally, we discretize the particle size domain (internal coordinate) using customary FV methods, giving us a finite set of particle sizes under consideration \(\{x_1, \dots, x_{N_x}\}\).
Every particle size considered is treated as an individual component of the unit operation and the field NCOMP of that unit operation in which the crystallization happens, must be specified accordingly as \(N_x\) or \(N_x + 2\) if the model includes primary particle formation.
Example code for configuring the crystallization models is available in CADET-Verification .
Group /input/model/unit_XXX#
NCOMPNumber of components, which is defined by the number of considered particle sizes (i.e. discretization with FV cells) plus, in the case that primary particle formation is employed, 2 (for solute and solubility).
Type: int
Range: \(\geq 3\)
Length: 1
NREAC_LIQUIDNumber of liquid phase reaction models (optional, only if liquid reactions are present).
Type: int
Range: \(\geq 0\)
Length: 1
Group /input/model/unit_XXX/liquid_reaction_000 - TYPE = CRYSTALLIZATION - UNIT_TYPE = CSTR#
The following parameters need to be specified under Group /input/model/unit_XXX/liquid_reaction_000/
CRY_MODECrystallization mode, which determines the exact model equation to be employed.
Pure primary particle formation, as described in Primary Particle Formation.
Pure aggregation, as described in Aggregation Models.
Combined primary particle formation and aggregation.
Pure fragmentation, as described in Fragmentation Models.
Combined primary particle formation and fragmentation.
Combined aggregation and fragmentation.
Combined primary particle formation, aggregation, and fragmentation.
Type: int
Range: \(\{1, \dots, 7 \}\)
Length: 1
CRY_BINSCoordinates of the cell faces, e.g. equidistant or logarithmic discretization of the internal coordinate \(x \in [x_c, x_\text{end}]\), including the end points.
Type: double
Range: \(\geq 1\)
Length: \(\mathrm{N_x} + 1\)
Population and Mass Balance input parameters#
CRY_NUCLEI_MASS_DENSITYNuclei mass density
Type: double
Range: \(\geq 0\)
Length: 1
CRY_VOL_SHAPE_FACTORVolumetric shape factor of the particles
Type: double
Range: \(\geq 0\)
Length: 1
CRY_PRIMARY_NUCLEATION_RATEPrimary nucleation rate constant \(k_p\)
Type: double
Range: \(\geq 0\)
Length: 1
CRY_SECONDARY_NUCLEATION_RATESecondary nucleation rate \(k_b\)
Type: double
Range: \(\geq 0\)
Length: 1
CRY_GROWTH_RATE_CONSTANTGrowth rate constant \(k_g\)
Type: double
Range: \(\geq 0\)
Length: 1
CRY_GROWTH_CONSTANTGrowth constant \(\gamma\)
Type: double
Range: \(\geq 0\)
Length: 1
CRY_ADefines constant \(a\) used to determine the growth rate
Type: double
Range: \(\geq 0\)
Length: 1
CRY_GDefines constant \(g\) used to determine the growth rate
Type: double
Range: \(\geq 0\)
Length: 1
CRY_PDefines constant \(p\) used to determine the growth rate
Type: double
Range: \(\geq 0\)
Length: 1
CRY_GROWTH_DISPERSION_RATEGrowth dispersion rate \(D_g\)
Type: double
Range: \(\geq 0\)
Length: 1
CRY_UDefines constant \(u\) used to determine the primary nucleation
Type: double
Range: \(\geq 0\)
Length: 1
CRY_BDefines constant \(b\) used to determine the secondary nucleation
Type: double
Range: \(\geq 0\)
Length: 1
CRY_KDefines constant \(k\) used to determine the secondary nucleation, usually set to \(\geq 1\)
Type: double
Range: \(\geq 0\)
Length: 1
CRY_GROWTH_SCHEME_ORDERDefines the growth flux FV reconstruction scheme. It can only be
\(1\): upwind scheme
\(2\): HR Koren scheme
\(3\): WENO23 scheme
\(4\): WENO35 scheme.
We recommend using the HR Koren scheme, which showed to be the most performant in our benchmarks.
Type: int
Range: \([1, \dots, 4]\)
Length: 1
Aggregation input parameters#
CRY_AGGREGATION_INDEXDefines the aggregation kernel. It can only be
\(0\): constant kernel
\(1\): Brownian kernel
\(2\): Smoluchowski kernel
\(3\): Golovin kernel
\(4\): differential force kernel
Type: int
Range: \([0, \dots, 4]\)
Length: 1
CRY_AGGREGATION_RATE_CONSTANTAggregation rate constant \(\beta_0\)
Type: double
Range: \(> 0\)
Length: 1
Fragmentation input parameters#
CRY_FRAGMENTATION_RATE_CONSTANTFragmentation rate constant \(S_0\)
Type: double
Range: \(> 0\)
Length: 1
CRY_FRAGMENTATION_KERNEL_GAMMAFragmentation kernel coefficient \(\gamma\)
Type: double
Range: \(> 1.0\)
Length: 1
CRY_FRAGMENTATION_SELECTION_FUNCTION_ALPHAFragmentation selection function coefficient \(\alpha\)
Type: double
Range: \(> 0\)
Length: 1