flobject#

Module for accessing and modifying hierarchy of Fluent settings.

The only useful method is ‘get_root`, which returns the root object for accessing Fluent settings.

Child objects can be generally accessed or modified using attribute access. Named child objects can be accessed or modified using index operators.

Calling an object will return its current value.

Example#

r = flobject.get_root(proxy) is_energy_on = r.setup.models.energy.enabled() r.setup.models.energy.enabled = True r.boundary_conditions.velocity_inlet[‘inlet’].vmag.constant = 20

Functions

get_cls(name, info[, parent])

Create a class for the object identified by "path".

get_root(flproxy[, version])

Get the root settings object.

to_python_name(fluent_name)

Convert a scheme string to a Python variable name.

Classes

Base([name, parent])

Base class for settings and command objects.

Boolean([name, parent])

A Boolean object representing a Boolean value setting.

BooleanList([name, parent])

A BooleanList object representing a Boolean list setting.

Command([name, parent])

Command object.

Filename([name, parent])

A Filename object representing a file name.

FilenameList([name, parent])

A FilenameList object represents a list of file names.

Group([name, parent])

A Group container object.

Integer([name, parent])

An Integer object representing an integer value setting.

IntegerList([name, parent])

An Integer object representing an integer list setting.

ListObject([name, parent])

A ListObject container is a container object, similar to a Python list object.

Map([name, parent])

A Map object representing key-value settings.

NamedObject([name, parent])

A NamedObject container is a container object similar to a Python dictionary object.

Numerical([name, parent])

Exposes attribute accessor on settings object - specific to numerical objects.

Property([name, parent])

Exposes attribute accessor on settings object.

Query([name, parent])

Query object.

Real([name, parent])

A Real object representing a real value setting.

RealList([name, parent])

A RealList object representing a real list setting.

RealVector([name, parent])

An object representing a 3D vector.

SettingsBase([name, parent])

Base class for settings objects.

String([name, parent])

A String object representing a string value setting.

StringList([name, parent])

A StringList object representing a string list setting.

Textual([name, parent])

Exposes attribute accessor on settings object - specific to string objects.