exceptions#

Custom common higher level exceptions.

Exceptions:

BetaFeaturesNotEnabled([feature_name])

Raised when a beta feature is accessed without enabling beta features.

DisallowedValuesError([context, name, ...])

Raised when an argument value is not in the allowed values.

FluentDevVersionWarning

Warning raised when a released PyFluent version is used with a development version of Fluent.

InvalidArgument

Raised when an argument value is inappropriate.

PyFluentDeprecationWarning

Provides the common warning class for warnings about deprecated PyFluent features.

PyFluentUserWarning

Provides the common warning class for warnings generated from user code.

exception ansys.fluent.core.diagnostics.exceptions.BetaFeaturesNotEnabled(feature_name=None)#

Bases: RuntimeError

Raised when a beta feature is accessed without enabling beta features.

Methods:

__init__([feature_name])

__init__(feature_name=None)#
exception ansys.fluent.core.diagnostics.exceptions.DisallowedValuesError(context=None, name=None, allowed_values=None)#

Bases: ValueError

Raised when an argument value is not in the allowed values.

Methods:

__init__([context, name, allowed_values])

Initialize DisallowedValuesError.

__init__(context=None, name=None, allowed_values=None)#

Initialize DisallowedValuesError.

exception ansys.fluent.core.diagnostics.exceptions.FluentDevVersionWarning#

Bases: PyFluentUserWarning

Warning raised when a released PyFluent version is used with a development version of Fluent.

exception ansys.fluent.core.diagnostics.exceptions.InvalidArgument#

Bases: ValueError

Raised when an argument value is inappropriate.

exception ansys.fluent.core.diagnostics.exceptions.PyFluentDeprecationWarning#

Bases: FutureWarning

Provides the common warning class for warnings about deprecated PyFluent features.

exception ansys.fluent.core.diagnostics.exceptions.PyFluentUserWarning#

Bases: UserWarning

Provides the common warning class for warnings generated from user code.