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 418
    • Issues 418
    • 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
  • Issues
  • #442
Closed
Open
Issue created Mar 30, 2017 by Admin@OpenFOAM-adminMaintainer

Bug in InterMixingFoam

There is a bug in the code of the InterMixingFoam solver in alphaEqns. The problem is in the ordering. Ordering in current code: Step 1: phase 1-the convection flux is created, bounded, corrected and limited. Step 2: phase 2-the convection flux is created, bounded, corrected and limited. Step 3: phase 1-limited flux constructed. Step 4: phase 2-limited flux constructed. The problem is the coefficients calculated in mules limiter for phase 1 are being overwritten by coefficients calculated for phase 2 and the the SAME coefficients are being used to construct both phases.Order should be: step 1,3,2,4. Line 175 should be put to 110.

Current solver: LEFT picture. Non sharp water-air interface between, due to wrong mules coefficients being used.

Corrected solver: RIGHT picture

(diffusion is set between other and water phase)

ComparisonsOfSolvers

Assignee
Assign to
Time tracking