extension of velocityDampingConstraint to allow damping on a selection of cells
Functionality to add/problem to solve
Extend velocityDampingConstraint fvOption to allow selection of cells to apply the damping to rather than the entire mesh.
Target audience
Anyone using the velocityDampingConstraint and only ned the damping in a specific region.
Proposal
velocityDampingConstraint is a cellSetOption and therefore can be easily extended to allow selection of cells rather than the entire mesh.
This can be achieved by replacing line 67 in the addDamping function (velocityDampingConstraint.C)
forAll(U, cellI)
with for (const label cellI : cells_)
Funding
Functionality already exists, just needs to be enabled.