ENH: Lagrangian - added new PatchInteractionFields cloud function object

Creates volume fields whose boundaries are used to store patch interaction
statistics.

Current field output per patch face:
- \<cloud\>\<model\>:count - cumulative particle hits
- \<cloud\>\<model\>:mass - cumuluative mass of hitting particles

Fields can be reset according to:
- none: fields are not reset
- timeStep: reset at each time step
- writeTime: reset at each write time

Usage

    patchInteractionFields1
    {
        type            patchInteractionFields;
        resetMode       writeTime;
    }
This commit is contained in:
Andrew Heather
2020-12-10 13:23:42 +00:00
committed by Andrew Heather
parent 8268d8aaba
commit 9d765adaf4
5 changed files with 397 additions and 0 deletions

View File

@ -199,6 +199,12 @@ cloudFunctions
cycLeft
);
}
patchInteractionFields1
{
type patchInteractionFields;
resetMode writeTime;
}
}