Skip to content

fix conservation of 2p tracer

Bernd Flemisch requested to merge fix/tracer-conservation into master

Add a function equilibrateTracer which is called after each update of the flow solution. It adapts the tracer mole fraction according to the change in phase distribution such that the amount of tracer in each element is conserved.

Fixes #1071.

Edited by Bernd Flemisch

Merge request reports

Loading