CADETProcess.processModel.discretization.LRMDiscretizationDG#

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

Bases: DGMixin

Discretization parameters of the DG version of the LRM.

Attributes:
nelemUnsignedInteger, optional

Number of axial column elements. Default is 16.

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 axial discretization. Default is 4.

exact_integrationBool, optional

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

See also

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

int: Number of degrees of freedom in the axial 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.

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.