Closed jhabriel closed 1 year ago
I added this to the coming model update, it should, if not fixed, then at least clearer what to do there.
@jhabriel: What do you think of this one?
Now that we have proper mass (and not volumetric) balances, it should be understood that an external source is the rate of addition of fluid mass.
On that note, I think it is fair to close the issue.
As pointed out in https://github.com/pmgbergen/porepy/discussions/674#discussion-4187333 flow and heat sources must have a consistent treatment in their respective mass and energy equations.
The proposed changes consist of keeping the standard definition of an integrated source term (i.e., as given in the governing equation) and including the scaling with time-step explicitly.
We shall assume that all semi-discrete conservation laws are written such that the time-step $\tau$ is multiplying the whole equation, i.e.:
$(\phi^{n} - \phi^{n-1}) + \tau \nabla\cdot \mathbf{q} - \tau f = 0$
To introduce consistent changes in all current models, the following modifications are necessary:
Proposed change:
Proposed change:
Proposed change: