ansys.fluent.core.workflow.BaseTask#

class ansys.fluent.core.workflow.BaseTask(command_source, task)#

Base class Task representation for wrapping a Workflow TaskObject instance, adding methods to discover more about the relationships between TaskObjects.

Methods

get_direct_upstream_tasks()

get_direct_downstream_tasks()

ordered_children()

inactive_ordered_children()

get_id()

get_idx()

__getattr__(attr)

__setattr__(attr, value)

__dir__()

__call__()

Methods

__init__(command_source, task)

Initialize BaseTask.

add_child_to_task()

Add a child task.

child_task_python_names()

Get the Pythonic names of the child tasks.

delete()

Delete this task from the workflow.

display_name()

Display name.

get_direct_downstream_tasks()

Get the list of tasks downstream of this one and directly connected by a data dependency.

get_direct_upstream_tasks()

Get the list of tasks upstream of this one and directly connected by a data dependency.

get_id()

Get the unique string identifier of this task, as it is in the application.

get_idx()

Get the unique integer index of this task, as it is in the application.

get_next_possible_tasks()

Get the list of possible names of commands that can be inserted as tasks after this current task is executed.

inactive_ordered_children()

Get the inactive ordered child list.

insert_compound_child_task()

Insert a compound child task.

insert_next_task(command_name)

Insert a task based on the command name passed as argument after the current task is executed.

ordered_children([recompute])

Get the ordered task list held by this task.

python_name()

Get the Pythonic name of this task, as it is in the underlying application.

rename(new_name)

Rename the current task to a given name.

update_child_tasks(setup_type_changed)

Update child tasks.