CADETProcess.processModel.discretization.LRMPDiscretizationDG#

class CADETProcess.processModel.discretization.LRMPDiscretizationDG(spatial_method, nelem, par_geom, use_analytic_jacobian, polydeg, exact_integration)[source]#

Bases: DGMixin

Discretization parameters of the DG version of the LRMP.

Attributes:
nelemUnsignedInteger, optional

Number of axial column elements. Default is 16.

par_geomSwitch, optional

The geometry of the particles in the model. Valid values are ‘SPHERE’, ‘CYLINDER’, and ‘SLAB’. Default is ‘SPHERE’.

use_analytic_jacobianBool, optional

If True, use analytically computed Jacobian matrix (faster). If False, use Jacobians generated by algorithmic differentiation (slower). Default is True.

polydegUnsignedInteger, optional

Degree of the polynomial used for spatial discretization. Default is 4.

exact_integrationBool, optional

Whether to use exact integration for the spatial discretization. Default is False.

See also

CADETProcess.processModel.LRMPDiscretizationFV
CADETProcess.processModel.LumpedRateModelWithPores
property axial_dof: int#

int: Number of axial degrees of freedom in the spatial discretization.

exact_integration#

Parameter descriptor constrained to boolean values.

Notes

This class also supports casting integers 0 and 1 to their boolean equivalents.

nelem#

Parameter descriptor for unsigned integer parameters.

par_geom#

Parameter that can be set to one of several predefined options.

Attributes:
validlist

List of valid options for the parameter.

Notes

Assign a value to this parameter from the valid list.

polydeg#

Parameter descriptor for unsigned integer parameters.

spatial_method#

Parameter that is immutable once set.

Attributes:
valueAny

The immutable value of the parameter.

Notes

Once set, the value of a Constant parameter cannot be modified.

use_analytic_jacobian#

Parameter descriptor constrained to boolean values.

Notes

This class also supports casting integers 0 and 1 to their boolean equivalents.