Skip to content
GitLab
Projects Groups Snippets
  • /
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in / Register
  • openfoam openfoam
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Issues 420
    • Issues 420
    • List
    • Boards
    • Service Desk
    • Milestones
  • Merge requests 7
    • Merge requests 7
  • Deployments
    • Deployments
    • Releases
  • Wiki
    • Wiki
  • Activity
  • Graph
  • Create a new issue
  • Commits
  • Issue Boards
Collapse sidebar
  • Development
  • openfoamopenfoam
  • Merge requests
  • !396

Feature recycle particles

  • Review changes

  • Download
  • Email patches
  • Plain diff
Merged Andrew Heather requested to merge feature-recycle-particles into develop Dec 01, 2020
  • Overview 0
  • Commits 3
  • Changes 37

Summary

Added a new recycleInteraction lagrangian patchInteractionModel. This can be used to recycle/re-inject particles that would otherwise exit the domain.

Details of new models (If applicable)

Example input in the <constant>/reactingCloud1Properties file:

    multiInteractionCoeffs
    {
        oneInteractionOnly no;

        model2
        {
            patchInteractionModel    recycleInteraction;
            recycleInteractionCoeffs
            {
                recyclePatches ((outlet inlet2));
                recycleFraction 0.8;
            }
        }
        model1
        {
            patchInteractionModel    standardWallInteraction;
            standardWallInteractionCoeffs
            {
                type            rebound;
            }

            writeToFile     yes;
        }
    }

Here the multiInteraction model serves as a wrapper, whereby the a standardWallInteraction model is used for particle/wall interactions and the new recycleInteraction model to reinject particles that exit via the outlet patch back into the domain via inlet2.

When recycling the particles, the recycleFraction entry can be used to retain a certain amount of mass. In the example above, 80% of the mass of particles is reintroduced.

Example case: $FOAM_SRC/lagrangian/reactingParcelFoam/recycleParticles

Risks

Low risk - modular extension

Assignee
Assign to
Reviewers
Request review from
Time tracking
Source branch: feature-recycle-particles