pyfluent_enums#

Provides a module for enums used in the PyFluent.

Classes:

Dimension(value[, names, module, qualname, ...])

Geometric dimensionality of the Fluent simulation.

FluentEnum(value[, names, module, qualname, ...])

Provides the base class for Fluent-related enums.

FluentLinuxGraphicsDriver(value[, names, ...])

Provides supported graphics driver of Fluent in Linux.

FluentMode(value[, names, module, qualname, ...])

Enumerates over supported Fluent modes.

FluentWindowsGraphicsDriver(value[, names, ...])

Provides supported graphics driver of Fluent in Windows.

LaunchMode(value[, names, module, qualname, ...])

Enumerates over supported Fluent launch modes.

Precision(value[, names, module, qualname, ...])

Floating point precision.

UIMode(value[, names, module, qualname, ...])

Provides supported user interface mode of Fluent.

class ansys.fluent.core.launcher.pyfluent_enums.Dimension(value, names=None, *, module=None, qualname=None, type=None, start=1, boundary=None)#

Bases: FluentEnum

Geometric dimensionality of the Fluent simulation.

Attributes:

THREE = 3#
TWO = 2#
class ansys.fluent.core.launcher.pyfluent_enums.FluentEnum(value, names=None, *, module=None, qualname=None, type=None, start=1, boundary=None)#

Bases: Enum

Provides the base class for Fluent-related enums.

Accepts lowercase member names as values and supports comparison operators.

Methods:

get_fluent_value()

Returns the fluent value of the enum.

get_fluent_value()#

Returns the fluent value of the enum.

class ansys.fluent.core.launcher.pyfluent_enums.FluentLinuxGraphicsDriver(value, names=None, *, module=None, qualname=None, type=None, start=1, boundary=None)#

Bases: FluentEnum

Provides supported graphics driver of Fluent in Linux.

Attributes:

AUTO = 'auto'#
NULL = 'null'#
OPENGL = 'opengl'#
OPENGL2 = 'opengl2'#
X11 = 'x11'#
class ansys.fluent.core.launcher.pyfluent_enums.FluentMode(value, names=None, *, module=None, qualname=None, type=None, start=1, boundary=None)#

Bases: FluentEnum

Enumerates over supported Fluent modes.

Attributes:

Methods:

is_meshing(mode)

Check if the current mode is meshing.

MESHING = 'meshing'#
PURE_MESHING = 'pure_meshing'#
SOLVER = 'solver'#
SOLVER_AERO = 'solver_aero'#
SOLVER_ICING = 'solver_icing'#
static is_meshing(mode)#

Check if the current mode is meshing.

Parameters:
modeFluentMode

mode

Returns:
bool

True if the mode is FluentMode.MESHING or FluentMode.PURE_MESHING, False otherwise.

class ansys.fluent.core.launcher.pyfluent_enums.FluentWindowsGraphicsDriver(value, names=None, *, module=None, qualname=None, type=None, start=1, boundary=None)#

Bases: FluentEnum

Provides supported graphics driver of Fluent in Windows.

Attributes:

AUTO = 'auto'#
DX11 = 'dx11'#
MSW = 'msw'#
NULL = 'null'#
OPENGL = 'opengl'#
OPENGL2 = 'opengl2'#
class ansys.fluent.core.launcher.pyfluent_enums.LaunchMode(value, names=None, *, module=None, qualname=None, type=None, start=1, boundary=None)#

Bases: FluentEnum

Enumerates over supported Fluent launch modes.

Attributes:

CONTAINER = 'container'#
PIM = 'pim'#
SLURM = 'slurm'#
STANDALONE = 'standalone'#
class ansys.fluent.core.launcher.pyfluent_enums.Precision(value, names=None, *, module=None, qualname=None, type=None, start=1, boundary=None)#

Bases: FluentEnum

Floating point precision.

Attributes:

DOUBLE = 'double'#
SINGLE = 'single'#
class ansys.fluent.core.launcher.pyfluent_enums.UIMode(value, names=None, *, module=None, qualname=None, type=None, start=1, boundary=None)#

Bases: FluentEnum

Provides supported user interface mode of Fluent.

Attributes:

GUI = 'gui'#
HIDDEN_GUI = 'hidden_gui'#
NO_GRAPHICS = 'no_graphics'#
NO_GUI = 'no_gui'#
NO_GUI_OR_GRAPHICS = 'no_gui_or_graphics'#