Skip to content

GitLab

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

Merged
Created Dec 01, 2020 by Andrew Heather@andyOwner

Feature recycle particles

  • 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
Reviewer
Request review from
Time tracking
Source branch: feature-recycle-particles