BackgroundMeshSearch#
Description#
BackgroundMeshSearch (registered sub-model keyword: backgroundMeshSearch) is a Search Models sub-model used in coupled CFD-DEM simulations.
Category: Search Models
Registered Keyword:
backgroundMeshSearchApplicable Solvers: Both resolved and unresolved solvers
Accelerated background mesh search engine for fast cell lookup in complex or moving meshes. It maps the CFD cells to a regular Cartesian background mesh superimposed over the LAMMPS domain, providing faster particle localisation.
Configuration#
To configure backgroundMeshSearch, specify the model keyword under subModels in constant/kinematicCloudProperties or constant/solidProperties:
searchModel backgroundMeshSearch;
backgroundMeshSearchCoeffs
{
useTreeSearch true;
particleSearchCellSize 0.01;
}
Parameters#
The following coefficients must be specified:
useTreeSearch (Switch): Whether to use tree search (e.g., octree) or linear search for the underlying OpenFOAM cell lookup.
particleSearchCellSize (scalar): The target size of the background search cells. It is recommended to set this in the same order of the particle size.