On 17.06.19 15:42, Flemisch, Bernd wrote:
Hi Felix,
the derivatives are currently only used inside the laws themselves,
particularly for the regularization. See for example the pc function
in regularizedvangenuchten.hh. There, the function
VanGenuchten::dpc_dswe is called to determine the
Right, I only grepped for the "swe" versions. The derivatives are also used in
the sequential models.
There's also a related issue
https://git.iws.uni-stuttgart.de/dumux-repositories/dumux/issues/319
and merge request
https://git.iws.uni-stuttgart.de/dumux-repositories/dumux/merge_requests/1607
Dear Felix,
just an additional comment.
In the file
porousmediumflow/2p/incompressiblelocalresidual.hh
these functions are called and this residual is used for the calculation of
an analytical Jacobian, as Bernd already mentioned.
Best regards,
Martin
Am 17.06.19 um 15:42 schrieb Flemisch,
Hi Felix,
the derivatives are currently only used inside the laws themselves,
particularly for the regularization. See for example the pc function in
regularizedvangenuchten.hh. There, the function VanGenuchten::dpc_dswe is
called to determine the correct slope of the regularized curve.
If
Dear DuMux developer,
Looking at the fluidmatrixinteractionlaws, I do find the implementation of
several partial derivatives.
For example, in case of the BrooksCorey model:
*The derivative of the relative permeability for the non-wetting
phase in regard to the wetting saturation