Skip to content

<MPL> changed MPL::IdealGasLaw behaviour

Norbert Grunwald requested to merge Scinopode/ogs:MPL_IdealGasLaw_update into master

The molar mass as a necessary element of the IdealGasLaw function is now stored and passed in the VarialbleArray. Previously, the Molar Mass was passed via an MPL function, which could lead to overly complex code, especially if the gas in question was a mixture of several components. With the new implementation, it should be noted that the molar mass must now be written into the VariableArray directly before calling the Density property in the local assembler.

  1. Feature description was added to the changelog
  2. Tests covering your feature were added?
  3. Any new feature or behavior change was documented?

Merge request reports