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. A geometric search using the last known cellID is implemented. The engineSearch locate model can be used with different settings to use different fallback algorithms, if there is no previously found cellID:

The model will use the walk algorithmus using the provided seed cell, if this is not successful, it will if:

  • treeSearch false; fall back to geometric (linear) search

  • treeSearch true; fall back to a recursive tree search to find the cell (recommended).

Restrictions

none.