Skip to content
GitLab
  • Menu
Projects Groups Snippets
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
  • Sign in / Register
  • O ogs
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
    • Locked Files
  • Issues 72
    • Issues 72
    • List
    • Boards
    • Service Desk
    • Milestones
    • Iterations
    • Requirements
  • Merge requests 24
    • Merge requests 24
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
    • Test Cases
  • Deployments
    • Deployments
    • Environments
    • Releases
  • Packages & Registries
    • Packages & Registries
    • Package Registry
    • Container Registry
    • Infrastructure Registry
  • Monitor
    • Monitor
    • Incidents
  • Analytics
    • Analytics
    • Value stream
    • CI/CD
    • Code review
    • Insights
    • Issue
    • Repository
  • Wiki
    • Wiki
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar
  • ogs
  • ogs
  • Merge requests
  • !3945

[MPL] New property ideal gas law for binary gases

  • Review changes

  • Download
  • Email patches
  • Plain diff
Merged Norbert Grunwald requested to merge Scinopode/ogs:IdealGasLawBinaryMixture into master Jan 13, 2022
  • Overview 22
  • Commits 1
  • Pipelines 8
  • Changes 10

Determining the density for binary mixtures is much more difficult than for pure gases, since the composition is added to the dependencies of the system variables. Therefore, I decided to implement a separate property for binary gas mixtures. The return values of this function are, on the one hand, the partial densities of the two components and the density of the gas phase, and on the other hand, the first derivatives of these three quantities according to gas pressure, capillary pressure and temperature. Therefore, the eigen-matrix <3,1> for value and the eigen-matrix <3,3> for dValue are suitable as data types for the return values. Since I always need all nine derivatives, I decided to calculate them all with a single call.

  1. Feature description was added to the changelog
  2. Tests covering your feature were added?
  3. Any new feature or behavior change was documented?
Edited Jan 13, 2022 by Norbert Grunwald
Assignee
Assign to
Reviewer
Request review from
Time tracking
Source branch: IdealGasLawBinaryMixture