Ending conditions
During the simulation, the distance between each particle and the boundary surface is calculated at each time step. If the distance is smaller than half of the particle diameter, two events can occur depending on the boundary types:
Exit: If the boundary type is specified as "patch", the particle exits from the calculation domain.
Adsorption: If the boundary type is specified as "wall", the particle adheres to the boundary surface.
The boundary types are specified in the constant/polyMesh/boundary file. If any of these events are detected during a trajectory calculation, the simulation ends and records the boundary ID, bid, which ending event was detected. Otherwise, the calculation continues until the maximum calculation time set in the conditions file is reached and bid = -1 is recorded .
Last updated