Purpose
Model to map particles to CFD cells.
engineSearch
Syntax
Defined in couplingProperties dictionary.
locateModel engine;
engineProps
{
treeSearch switch;
writeProcHistogram switch;
}
treeSearch = switch to use tree search algorithm (default: true)
writeProcHistogram = write the number of particles located in the CFD mesh per processor and globally to file and log. (default: false)
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.
Home