You're reading the documentation for a development version. For the latest stable documentation, please have a look at v5.1.X.
Axial Flow Column 2D#
Group /input/model/unit_XXX - UNIT_TYPE - COLUMN_MODEL_2D#
UNIT_TYPESpecifies the type of unit operation model
Type: string
Range: \(\texttt{COLUMN_MODEL_2D}\)
Length: 1
NCOMPNumber of chemical components in the chromatographic medium
Type: int
Range: \(\geq 1\)
Length: 1
CROSS_SECTION_AREACross section area of the column. This parameter is only read by the FV discretization and is ignored if
COL_RADIUSis provided.Unit: \(\mathrm{m}^{2}\)
Type: double
Range: \(>0\)
Length: 1
BED_LENGTHColumn length / height
Unit: \(\mathrm{m}\)
Type: double
Range: \(> 0\)
Length: 1
COL_RADIUSColumn radius. Required for the DG discretization; for the FV discretization it is optional if
CROSS_SECTION_AREAis provided.Unit: \(\mathrm{m}\)
Type: double
Range: \(> 0\)
Length: 1
COL_POROSITYColumn porosity, either constant (length is 1) or for each radial zone (length is \(\texttt{RAD_NELEM}\)). In case of a spatially inhomogeneous setting, the \(\texttt{SENS_PARTYPE}\) field is used for indexing the radial zone when specifying parameter sensitivities.
Type: double
Range: \((0,1]\)
Length: \(1 / \texttt{RAD_NELEM}\)
NPARTYPENumber of particle types. A value of \(0\) means that no particles are present.
Type: int
Range: \(\geq 0\)
Length: 1
PAR_TYPE_VOLFRACVolume fractions of the particle types. The volume fractions can be set homogeneous or individually along both axes. For each cell, the volume fractions have to sum to 1. In case of a spatially inhomogeneous setting, the \(\texttt{SENS_SECTION}\) field is used for indexing the axial cell and the \(\texttt{SENS_REACTION}\) field is used for indexing the radial cell when specifying parameter sensitivities. This field is optional in case of only one particle type.
Type: double
Range: \([0,1]\)
Length: see \(\texttt{PAR_TYPE_VOLFRAC_MULTIPLEX}\)
PAR_TYPE_VOLFRAC_MULTIPLEXMultiplexing mode of \(\texttt{PAR_TYPE_VOLFRAC}\). Determines whether \(\texttt{PAR_TYPE_VOLFRAC}\) is treated as radial- and/or section-independent. This field is optional. When left out, multiplexing behavior is inferred from the length of \(\texttt{PAR_TYPE_VOLFRAC}\). Valid modes are:
Radial-independent, axial-independent; length of \(\texttt{PAR_TYPE_VOLFRAC}\) is \(\texttt{NPARTYPE}\)
Radial-dependent, axial-independent; length of \(\texttt{PAR_TYPE_VOLFRAC}\) is \(\texttt{RAD_NELEM} \cdot \texttt{NPARTYPE}\); ordering is radial-major
Axial-dependent; length of \(\texttt{PAR_TYPE_VOLFRAC}\) is \(\texttt{NCOL} \cdot \texttt{NPARTYPE}\); ordering is axial-major
Radial-dependent, axial-dependent; length of \(\texttt{PAR_TYPE_VOLFRAC}\) is \(\texttt{NCOL} \cdot \texttt{RAD_NELEM} \cdot \texttt{NPARTYPE}\); ordering is axial-radial-major
Type: int
Range: \(\{0, \dots, 3 \}\)
Length: 1
VELOCITYInterstitial velocity and flow direction in each radial zone (forward if value is positive, backward if value is negative), see Section Specification of flow rate / velocity and direction. Optional; if left out, the velocity is inferred from the volumetric flow rates of the network connections. In case of a spatially inhomogeneous setting, the \(\texttt{SENS_PARTYPE}\) field is used for indexing the radial cell when specifying parameter sensitivities.
Type: double
Range: \(\mathbb{R}\)
Length: see \(\texttt{VELOCITY_MULTIPLEX}\)
VELOCITY_MULTIPLEXMultiplexing mode of \(\texttt{VELOCITY}\). Determines whether \(\texttt{VELOCITY}\) is treated as radial- and/or section-independent. This field is optional. When left out, multiplexing behavior is inferred from the length of \(\texttt{VELOCITY}\). Valid modes are:
Radial-independent, section-independent; length of \(\texttt{VELOCITY}\) is 1
Radial-dependent, section-independent; length of \(\texttt{VELOCITY}\) is \(\texttt{RAD_NELEM}\)
Section-dependent; length of \(\texttt{VELOCITY}\) is \(\texttt{NSEC}\)
Radial-dependent, section-dependent; length of \(\texttt{VELOCITY}\) is \(\texttt{RAD_NELEM} \cdot \texttt{NSEC}\); ordering is section-major
Type: int
Range: \(\{0, \dots, 3 \}\)
Length: 1
COL_DISPERSION_AXIALAxial dispersion coefficient
Unit: \(\mathrm{m}_{\mathrm{IV}}^{2}\,\mathrm{s}^{-1}\)
Type: double
Range: \(\geq 0\)
Length: see \(\texttt{COL_DISPERSION_AXIAL_MULTIPLEX}\)
COL_DISPERSION_AXIAL_MULTIPLEXMultiplexing mode of \(\texttt{COL_DISPERSION_AXIAL}\). Determines whether \(\texttt{COL_DISPERSION_AXIAL}\) is treated as component-, radial-, and/or section-independent. This field is optional. When left out, multiplexing behavior is inferred from the length of \(\texttt{COL_DISPERSION_AXIAL}\). Valid modes are:
Component-independent, radial-independent, section-independent; length of \(\texttt{COL_DISPERSION_AXIAL}\) is 1
Component-independent, radial-dependent, section-independent; length of \(\texttt{COL_DISPERSION_AXIAL}\) is \(\texttt{RAD_NELEM}\)
Component-dependent, radial-independent, section-independent; length of \(\texttt{COL_DISPERSION_AXIAL}\) is \(\texttt{NCOMP}\)
Component-dependent, radial-dependent, section-independent; length of \(\texttt{COL_DISPERSION_AXIAL}\) is \(\texttt{NCOMP} \cdot \texttt{RAD_NELEM}\); ordering is radial-major
Component-independent, radial-independent, section-dependent; length of \(\texttt{COL_DISPERSION_AXIAL}\) is \(\texttt{NSEC}\)
Component-independent, radial-dependent, section-dependent; length of \(\texttt{COL_DISPERSION_AXIAL}\) is \(\texttt{RAD_NELEM} \cdot \texttt{NSEC}\); ordering is section-major
Component-dependent, radial-independent, section-dependent; length of \(\texttt{COL_DISPERSION_AXIAL}\) is \(\texttt{NCOMP} \cdot \texttt{NSEC}\); ordering is section-major
Component-dependent, radial-dependent, section-dependent; length of \(\texttt{COL_DISPERSION_AXIAL}\) is \(\texttt{NCOMP} \cdot \texttt{RAD_NELEM} \cdot \texttt{NSEC}\); ordering is section-radial-major
Type: int
Range: \(\{0, \dots, 7 \}\)
Length: 1
COL_DISPERSION_RADIALRadial dispersion coefficient. In case of a spatially inhomogeneous setting, the \(\texttt{SENS_PARTYPE}\) field is used for indexing the radial zone when specifying parameter sensitivities.
Unit: \(\mathrm{m}_{\mathrm{IV}}^{2}\,\mathrm{s}^{-1}\)
Type: double
Range: \(\geq 0\)
Length: see \(\texttt{COL_DISPERSION_RADIAL_MULTIPLEX}\)
COL_DISPERSION_RADIAL_MULTIPLEXMultiplexing mode of \(\texttt{COL_DISPERSION_RADIAL}\). Determines whether \(\texttt{COL_DISPERSION_RADIAL}\) is treated as component-, radial-, and/or section-independent. This field is optional. When left out, multiplexing behavior is inferred from the length of \(\texttt{COL_DISPERSION_RADIAL}\). Valid modes are:
Component-independent, radial-independent, section-independent; length of \(\texttt{COL_DISPERSION_RADIAL}\) is 1
Component-independent, radial-dependent, section-independent; length of \(\texttt{COL_DISPERSION_RADIAL}\) is \(\texttt{RAD_NELEM}\)
Component-dependent, radial-independent, section-independent; length of \(\texttt{COL_DISPERSION_RADIAL}\) is \(\texttt{NCOMP}\)
Component-dependent, radial-dependent, section-independent; length of \(\texttt{COL_DISPERSION_RADIAL}\) is \(\texttt{NCOMP} \cdot \texttt{RAD_NELEM}\); ordering is radial-major
Component-independent, radial-independent, section-dependent; length of \(\texttt{COL_DISPERSION_RADIAL}\) is \(\texttt{NSEC}\)
Component-independent, radial-dependent, section-dependent; length of \(\texttt{COL_DISPERSION_RADIAL}\) is \(\texttt{RAD_NELEM} \cdot \texttt{NSEC}\); ordering is section-major
Component-dependent, radial-independent, section-dependent; length of \(\texttt{COL_DISPERSION_RADIAL}\) is \(\texttt{NCOMP} \cdot \texttt{NSEC}\); ordering is section-major
Component-dependent, radial-dependent, section-dependent; length of \(\texttt{COL_DISPERSION_RADIAL}\) is \(\texttt{NCOMP} \cdot \texttt{RAD_NELEM} \cdot \texttt{NSEC}\); ordering is section-radial-major
Type: int
Range: \(\{0, \dots, 7 \}\)
Length: 1
INIT_CInitial concentrations for each component in all radial zones of the bulk mobile phase (length \(\texttt{NCOMP}\)), or for each component in each radial zone (length \(\texttt{NCOMP} \cdot \texttt{RAD_NELEM}\), ordering radial-major)
Unit: \(\mathrm{mol}\,\mathrm{m}_{\mathrm{IV}}^{-3}\)
Type: double
Range: \(\geq 0\)
Length: \(\texttt{NCOMP} / \texttt{NCOMP} \cdot \texttt{RAD_NELEM}\)
INIT_STATEFull state vector for initialization (optional, \(\texttt{INIT_C}\), \(\texttt{INIT_CP}\), and \(\texttt{INIT_CS}\) will be ignored; if length is \(2\texttt{NDOF}\), then the second half is used for time derivatives). The ordering of the state vector is defined in Unit Operation state vector ordering.
Unit: \(various\)
Type: double
Range: \(\mathbb{R}\)
Length: \(\texttt{NDOF} / 2\texttt{NDOF}\)
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_YYY#
Each reaction is specified in another subgroup liquid_reaction_YYY, see Reaction models.
Group /input/model/unit_XXX/particle_type_XXX#
Each particle type is specified in another subgroup particle_type_XXX, see Particle Model.
Group /input/model/unit_XXX/discretization - UNIT_TYPE - COLUMN_MODEL_2D#
USE_ANALYTIC_JACOBIANDetermines whether analytically computed Jacobian matrix (faster) is used (value is 1) instead of Jacobians generated by algorithmic differentiation (slower, value is 0)
Type: int
Range: \(\{0, 1\}\)
Length: 1
Spatial discretization - Numerical Methods#
CADET offers two spatial discretization methods: Finite Volumes (FV) and Discontinuous Galerkin (DG). Each method has its own set of input fields. While both methods approximate the same solution to the same underlying model, they may differ in terms of computational performance. With our currently implemented variants of FV and DG, FV perform better for solutions with steep gradients or discontinuities, while DG can be much faster for rather smooth solutions. For the same number of discrete points, DG will generally be slower but often more accurate.
For further information on the choice of discretization methods and their parameters, see Spatial discretization methods.
SPATIAL_METHODSpatial discretization method
Type: string
Range: \(\{\texttt{FV}, \texttt{DG}\}\)
Length: 1
RADIAL_DISC_TYPESpecifies the radial discretization scheme.
Type: string
Range: \(\{\texttt{EQUIDISTANT}, \texttt{EQUIVOLUME}, \texttt{USER_DEFINED} \}\)
Length: 1
RADIAL_DISC_VECTORCoordinates for the radial compartment boundaries (ignored if \(\texttt{RADIAL_DISC_TYPE} \neq \texttt{USER_DEFINED}\)). The coordinates are absolute and have to include the endpoints 0 and \(\texttt{COL_RADIUS}\). The values are expected in ascending order (i.e., 0 is the first and \(\texttt{COL_RADIUS}\) the last value in the array).
Unit: \(\mathrm{m}\)
Type: double
Range: \([0,\texttt{COL_RADIUS}]\)
Length: \(\texttt{RAD_NELEM} + 1\)
Discontinuous Galerkin#
AX_POLYDEGDG polynomial degree for axial discretization. Optional, defaults to 4 and \(N^z_d \in \{3, 4, 5\}\) is recommended. The total number of axial discrete points is given by (
AX_POLYDEG+ 1 ) *AX_NELEMType: int
Range: \(\geq 1\)
Length: 1
AX_NELEMNumber of axial column discretization DG elements. Optional and inferred from
NCOLif left out. The total number of axial discrete points is given by (AX_POLYDEG+ 1 ) *AX_NELEMType: int
Range: \(\geq 1\)
Length: 1
RAD_POLYDEGDG polynomial degree for radial discretization. Optional, defaults to 4 and \(N^r_d \in \{3, 4, 5\}\) is recommended, and should generally be the same as the axial degree. The total number of radial discrete points is given by (
RAD_POLYDEG+ 1 ) *RAD_NELEMType: int
Range: \(\geq 1\)
Length: 1
RAD_NELEMNumber of radial column discretization DG elements. Optional and inferred from
NRADif left out. The total number of radial discrete points is given by (RAD_POLYDEG+ 1 ) *RAD_NELEM.Type: int
Range: \(\geq 1\)
Length: 1
LINEAR_SOLVERSpecifies the linear solver variant used to factorize the semidiscretized system. Optional, defaults to
SparseLU. For more information on these solvers, we refer to the Eigen documentationType: string
Range: \(\{\texttt{SparseLU}, \texttt{SparseQR}, ..., \texttt{BiCGSTAB}\}\)
Length: 1
For further information on discretization parameters, see also Nonlinear solver for consistent initialization.
Finite Volumes#
NCOLNumber of axial column discretization cells
Type: int
Range: \(\geq 1\)
Length: 1
NRADNumber of radial column discretization cells. Replaces the
RAD_NELEMfield in the length specification of parameters.Type: int
Range: \(\geq 1\)
Length: 1
LINEAR_SOLVER_BULKLinear solver used for the sparse column bulk block. This field is optional, the best available method is selected (i.e., sparse direct solver if possible). Valid values are:
\(\texttt{DENSE}\) Converts the sparse matrix into a banded matrix and uses regular LAPACK. Slow and memory intensive, but always available.
\(\texttt{UMFPACK}\) Uses the UMFPACK sparse direct solver (LU decomposition) from SuiteSparse. Fast, but has to be enabled when compiling and requires UMFPACK library.
\(\texttt{SUPERLU}\) Uses the SuperLU sparse direct solver (LU decomposition). Fast, but has to be enabled when compiling and requires SuperLU library.
Type: string
Range: \(\{\texttt{DENSE},\texttt{UMFPACK},\texttt{SUPERLU}\}\)
Length: 1
RECONSTRUCTIONType of reconstruction method for fluxes
Type: string
Range: \(\texttt{WENO, KOREN}\)
Length: 1
For further information on discretization parameters for reconstruction methods (including
AXIAL_GRID_FACESfor non-equidistant axial grid spacing), see also Flux reconstruction methods (FV specific).
The following FV discretization parameters configure the GMRES solver of the unit operation’s own arrow-head Schur complement and are required for the FV discretization. They are independent of the identically named fields in Group /input/model/solver, which size the GMRES of the network.
GS_TYPEType of Gram-Schmidt orthogonalization, see IDAS guide Section 4.5.7.3, p. 41f. A value of 0 enables classical Gram-Schmidt, a value of 1 uses modified Gram-Schmidt.
Type: int
Range: \(\{0, 1\}\)
Length: 1
MAX_KRYLOVDefines the size of the Krylov subspace in the iterative linear GMRES solver (0: \(\texttt{MAX_KRYLOV} = \texttt{NCOL} \cdot \texttt{NRAD} \cdot \texttt{NCOMP} \cdot \texttt{NPARTYPE}\))
Type: int
Range: \(\{0, \dots, \texttt{NCOL} \cdot \texttt{NRAD} \cdot \texttt{NCOMP} \cdot \texttt{NPARTYPE} \}\)
Length: 1
MAX_RESTARTSMaximum number of restarts in the GMRES algorithm. If lack of memory is not an issue, better use a larger Krylov space than restarts.
Type: int
Range: \(\geq 0\)
Length: 1
SCHUR_SAFETYSchur safety factor; Influences the tradeoff between linear iterations and nonlinear error control; see IDAS guide Section 2.1 and 5.
Type: double
Range: \(\geq 0\)
Length: 1
For further discretization parameters, see also Flux reconstruction methods, and Nonlinear solver for consistent initialization.