pyfluent_warnings#

Provides a module to get warnings for core functionality.

Exceptions:

FluentDevVersionWarning

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

PyFluentDeprecationWarning

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

PyFluentUserWarning

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

Classes:

WarningControl()

Class to control warnings in PyFluent.

Functions:

warning_for_fluent_dev_version(version)

Provides warning if Fluent develop branch is used.

exception ansys.fluent.core.pyfluent_warnings.FluentDevVersionWarning#

Bases: PyFluentUserWarning

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

exception ansys.fluent.core.pyfluent_warnings.PyFluentDeprecationWarning#

Bases: FutureWarning

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

exception ansys.fluent.core.pyfluent_warnings.PyFluentUserWarning#

Bases: UserWarning

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

class ansys.fluent.core.pyfluent_warnings.WarningControl#

Bases: object

Class to control warnings in PyFluent.

Methods:

disable()

Disables all PyFluent warnings.

enable()

Enables all PyFluent warnings.

disable()#

Disables all PyFluent warnings.

enable()#

Enables all PyFluent warnings.

ansys.fluent.core.pyfluent_warnings.warning_for_fluent_dev_version(version)#

Provides warning if Fluent develop branch is used.