Skip to content

Feature/tfm - #62

Merged
nasserma merged 8 commits into
uw-comphys:mainfrom
arfazeli:feature/tfm
Sep 22, 2026
Merged

nasserma merged 8 commits into
uw-comphys:mainfrom
arfazeli:feature/tfm

Conversation

@arfazeli

Copy link
Copy Markdown
Collaborator

This PR adds an two-fluid model (TFM) for dispersed two-phase flow simulations.

Main features

  • Implements TwoFluidModel with the B-TFM and C-TFM canonical formulations.
  • Provides configurable interphase momentum-exchange (IME) closures:
    • drag
    • lift
    • virtual mass
    • laminar dispersion
  • Supports phase-injection source terms, optional artificial diffusion, slope limiting, and lift deactivation near walls.
  • Adds slip, zero-stress, zero-gradient, and zero-backflow boundary conditions.
  • Adds a two-dimensional bubble-column example and tutorial.

Testing

Adds unit and full-system tests covering:

  • TFM configuration and boundary conditions
  • interphase closure behavior
  • global mass conservation
  • interphase action–reaction conservation
  • manufactured-solution convergence

@nasserma
nasserma merged commit 191117e into uw-comphys:main Sep 22, 2026
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants