Skip to content
GitLab
Projects Groups Snippets
  • /
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Register
  • Sign in
  • dumux dumux
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Issues 101
    • Issues 101
    • List
    • Boards
    • Service Desk
    • Milestones
  • Merge requests 87
    • Merge requests 87
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
  • Deployments
    • Deployments
    • Environments
    • Releases
  • Packages and registries
    • Packages and registries
    • Container Registry
  • Monitor
    • Monitor
    • Incidents
  • Analytics
    • Analytics
    • Value stream
    • CI/CD
    • Repository
  • Wiki
    • Wiki
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar
  • dumux-repositoriesdumux-repositories
  • dumuxdumux
  • Merge requests
  • !3174

[mpnc] add an initial helper that makes the choice of the constraintsolver depending on present phases

  • Review changes

  • Download
  • Email patches
  • Plain diff
Merged Katharina Heck requested to merge feature/add-initialhelper-mpnc into master Jun 29, 2022
  • Overview 33
  • Commits 7
  • Pipelines 14
  • Changes 5

This fixes #1109 (closed) .

We add a helper that decides on the constraintsolver to use to compute fugacities etc to use as initial conditions for the mpnc model based on if all phases are present or not

Todo

  • this does not work with the chemical non-equilibrium tests. Technically chemical non-equilibrium does not need to use a constraintsolver as not fugacities are the primary variables but mole fractions one can choose as one likes. The kinetic test only uses a constraintsolver as first the equilibrium state is calculated and then a deviation from that state is set as primary variables. Check if it makes sense to leave the chemical non-equilibrium test then as it is.
  • check thermalnonequilibrium test. why does this not work with the constraintsolver
  • Wrap FluidState in helper and provide setters for necessary stuff (pressures/saturations/moleFractions/temperature)
Edited Jul 27, 2022 by Dennis Gläser
Assignee
Assign to
Reviewers
Request review from
Time tracking
Source branch: feature/add-initialhelper-mpnc