Skip to content

Conversation

@hpohekar
Copy link
Collaborator

@hpohekar hpohekar commented Mar 6, 2025

closes #3806

>>> energy = pyfluent.solver.Energy(settings_source=solver)
>>> energy()             
{'enabled': True, 'viscous_dissipation': False, 'pressure_work': False, 'kinetic_energy': False, 'inlet_diffusion': True}
>>> dir(energy)
['__call__', '__class__', '__class_getitem__', '__delattr__', '__dict__', '__dir__', '__doc__', '__eq__', '__format__', '__ge__', '__getattribute__', '__gt__', '__hash__', '__init__', '__init_subclass__', '__le__', '__lt__', '__module__', '__ne__', '__new__', '__orig_bases__', '__parameters__', '__reduce__', '__reduce_ex__', '__repr__', '__setattr__', '__sizeof__', '__slots__', '__str__', '__subclasshook__', '__weakref__', '_add_units_to_state', '_check_stable', '_child_alias_objs', '_child_aliases', '_child_classes', '_file_transfer_handler', '_file_transfer_service', '_flproxy', '_is_protocol', '_name', '_parent', '_print_state_helper', '_python_name', '_root', '_set_file_transfer_service', '_set_on_interrupt', '_setattr', '_state_type', '_while_creating', '_while_deleting', '_while_executing_command', '_while_renaming', '_while_resizing', '_while_setting_state', 'after_execute', 'before_execute', 'child_names', 'command_names', 'enabled', 'find_object', 'flproxy', 'fluent_name', 'get_active_child_names', 'get_active_command_names', 'get_active_query_names', 'get_attr', 'get_attrs', 'get_completer_info', 'get_state', 'inlet_diffusion', 'is_active', 'is_read_only', 'kinetic_energy', 'obj_name', 'parent', 'path', 'pressure_work', 'print_state', 'python_name', 'python_path', 'query_names', 'set_flproxy', 'set_state', 'settings_source', 'state_with_units', 'to_python_keys', 'to_scheme_keys', 'two_temperature', 'version', 'viscous_dissipation']
>>> energy.enabled = False
>>> energy()
{'enabled': False}

@github-actions github-actions bot added the documentation Documentation related (improving, adding, etc) label Mar 6, 2025
@hpohekar hpohekar merged commit 1554163 into main Mar 7, 2025
11 checks passed
@hpohekar hpohekar deleted the docs/update_builtin_settings_doc branch March 7, 2025 02:48
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

documentation Documentation related (improving, adding, etc)

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Update built in settings doc

6 participants