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
|
Assert type. |
|
Check type of object. |
|
Returns path of all the child objects matching an identifier. |
|
Create a class for the object identified by "path". |
|
Get the root settings object. |
|
Convert a scheme string to a Python variable name. |
Classes
|
Intermediate Base class for Command and Query class. |
|
Base class for settings and command objects. |
|
Executes command. |
|
A |
|
A |
|
Command object. |
|
Command Object. |
|
Resolves MRO for child classes. |
|
A |
|
A FilenameList object represents a list of file names. |
|
A |
|
An |
|
An |
|
A |
|
A |
|
A |
|
WildcardPath at a NamedObject path, so it can be looked up by wildcard again. |
|
Exposes attribute accessor on settings object - specific to numerical objects. |
|
Exposes attribute accessor on settings object. |
|
Query object. |
|
A |
|
A |
|
A |
|
An object representing a 3D vector. |
|
Base class for settings objects. |
|
A |
|
A |
|
Exposes attribute accessor on settings object - specific to string objects. |
|
Class wrapping a wildcard path to perform get_var and set_var on flproxy. |
Exceptions
|
Provides deprecated settings warning. |
|
Inactive object access. |
|
Provides unstable settings warning. |