locateModel_engineSearch command

Syntax

Defined in couplingProperties dictionary.

locateModel engine;
engineProps
{
    treeSearch switch1;
}
  • switch1 = (optional, default true) switch to use tree search algorithm

Examples

locateModel engine;
engineProps
{
    treeSearch true;
}

Description

The locateModel “engine” locates the CFD cell and cellID corresponding to a given position. The engineSearch locate model can be used with different settings to use different algorithms:

  • treeSearch false; will execute some geometric (linear) search using the last known cellID
  • treeSearch true; will use a recursive tree structure to find the cell (recommended).

Restrictions

none.