Client Server Objects and Lookups
Client Server Objects (CSOs) are any of the items that are represented in the Simcenter STAR-CCM+ simulation tree.
A model, an interface, a mesh, an injector, a property, a field function, are all examples of CSOs. It is a very broad category.
A lookup is a search tool that is assigned to a list of CSOs associated with a task. If you set a task lookup to search for a CSO and it fails to find the CSO in its own list, the lookup searches the lists of related tasks. It checks, in order, preceding siblings, parent, preceding siblings of the parent, grandparent, and so on, up to the lookup list for the whole Simulation Assistant.
Put CSOs on the lookup list when you expect to use them again in the task, or in a parent or child of the task. A CSO that satisfies a Condition is automatically added to the lookup. See Conditions, Triggers, and Predicates.
The lookup-related functions, provided in AbstractTaskController, are:
Function |
Description |
---|---|
|
Puts a CSO on the lookup list, where cso is the object in question. |
|
Searches for a CSO on the lookup list hierarchy, where class is the class of the object you are looking for. The lookup returns the first object of the class. |
|
Searches for all CSOs of a class on the lookup list hierarchy, where class is the class of the object you are looking for. The lookup returns all objects in the class. |
|
Returns the entire lookup object. |
|
Prints the lookup contents to the output window. |
|
Removes a CSO from the lookup list, where cso is the object in question. |
|
Clears the lookup list of all CSOs. |
For coding specifics, see the Simcenter STAR-CCM+ Help menu: