Skip to content
Snippets Groups Projects
Commit c50f742f authored by Christoph Grüninger's avatar Christoph Grüninger
Browse files

[cleanup] Parker-vanGenuchten 3p

parent c64bda1b
No related branches found
No related tags found
1 merge request!139Cleanup/3pparkervangenuchten
...@@ -25,20 +25,9 @@ ...@@ -25,20 +25,9 @@
#ifndef PARKERVANGEN_3P_HH #ifndef PARKERVANGEN_3P_HH
#define PARKERVANGEN_3P_HH #define PARKERVANGEN_3P_HH
#include "parkervangen3pparams.hh"
#include <algorithm> #include <algorithm>
#warning The Parker-VanGenchten 3P material law \ #include "parkervangen3pparams.hh"
has been thoroughly revised. The conversion from \
absolute to effective saturations and regularization \
are now done in additional separate classes: \
<dumux/material/fluidmatrixinteractions/3p/efftoabslaw.hh> and \
<dumux/material/fluidmatrixinteractions/3p/regularizedparkervangen3p.hh> \
Make sure to use these classes in your spatialParams. \
This warning will be removed after the next release of DuMux.
namespace Dumux namespace Dumux
{ {
...@@ -140,18 +129,6 @@ public: ...@@ -140,18 +129,6 @@ public:
DUNE_THROW(Dune::NotImplemented, "sw(pc) for three phases not implemented! Do it yourself!"); DUNE_THROW(Dune::NotImplemented, "sw(pc) for three phases not implemented! Do it yourself!");
} }
/*!
* \brief Returns the partial derivative of the capillary
* pressure to the effective saturation.
* \param params Array of parameters
* \param swe Effective wetting liquid saturation
*/
DUNE_DEPRECATED_MSG("dpc_dsw(const Params &params, const Scalar swe) is deprecated. Use dpc_dswe(const Params &params, const Scalar swe) instead.")
static Scalar dpc_dsw(const Params &params, const Scalar swe)
{
return dpc_dswe(params, swe);
}
/*! /*!
* \brief Returns the partial derivative of the capillary * \brief Returns the partial derivative of the capillary
* pressure to the effective saturation. * pressure to the effective saturation.
...@@ -169,18 +146,6 @@ public: ...@@ -169,18 +146,6 @@ public:
* \param params Array of parameters * \param params Array of parameters
* \param seRegu Effective wetting phase saturation for regularization * \param seRegu Effective wetting phase saturation for regularization
*/ */
DUNE_DEPRECATED_MSG("dpcgw_dsw(const Params &params, const Scalar seRegu) is deprecated. Use dpcgw_dswe(const Params &params, const Scalar seRegu) instead.")
static Scalar dpcgw_dsw(const Params &params, const Scalar seRegu)
{
return dpcgw_dswe(params, seRegu);
}
/*!
* \brief Returns the partial derivative of the capillary
* pressure to the effective saturation.
* \param params Array of parameters
* \param seRegu Effective wetting phase saturation for regularization
*/
static Scalar dpcgw_dswe(const Params &params, const Scalar seRegu) static Scalar dpcgw_dswe(const Params &params, const Scalar seRegu)
{ {
const Scalar powSeRegu = pow(seRegu, -1/params.vgm()); const Scalar powSeRegu = pow(seRegu, -1/params.vgm());
...@@ -194,18 +159,6 @@ public: ...@@ -194,18 +159,6 @@ public:
* \param params Array of parameters * \param params Array of parameters
* \param seRegu Effective wetting phase saturation for regularization * \param seRegu Effective wetting phase saturation for regularization
*/ */
DUNE_DEPRECATED_MSG("dpcnw_dsw(const Params &params, const Scalar seRegu) is deprecated. Use dpcnw_dswe(const Params &params, const Scalar seRegu) instead.")
static Scalar dpcnw_dsw(const Params &params, const Scalar seRegu)
{
return dpcnw_dswe(params, seRegu);
}
/*!
* \brief Returns the partial derivative of the capillary
* pressure to the effective saturation.
* \param params Array of parameters
* \param seRegu Effective wetting phase saturation for regularization
*/
static Scalar dpcnw_dswe(const Params &params, const Scalar seRegu) static Scalar dpcnw_dswe(const Params &params, const Scalar seRegu)
{ {
const Scalar powSeRegu = pow(seRegu, -1/params.vgm()); const Scalar powSeRegu = pow(seRegu, -1/params.vgm());
...@@ -213,18 +166,6 @@ public: ...@@ -213,18 +166,6 @@ public:
* powSeRegu/seRegu/params.vgm()/params.betaNw(); * powSeRegu/seRegu/params.vgm()/params.betaNw();
} }
/*!
* \brief Returns the partial derivative of the capillary
* pressure to the effective saturation.
* \param params Array of parameters
* \param seRegu Effective wetting phase saturation for regularization
*/
DUNE_DEPRECATED_MSG("dpcgn_dst(const Params &params, const Scalar seRegu) is deprecated. Use dpcgn_dste(const Params &params, const Scalar seRegu) instead.")
static Scalar dpcgn_dst(const Params &params, const Scalar seRegu)
{
return dpcgn_dste(params, seRegu);
}
/*! /*!
* \brief Returns the partial derivative of the capillary * \brief Returns the partial derivative of the capillary
* pressure to the effective saturation. * pressure to the effective saturation.
...@@ -238,18 +179,6 @@ public: ...@@ -238,18 +179,6 @@ public:
* powSeRegu/seRegu/params.vgm()/params.betaGn(); * powSeRegu/seRegu/params.vgm()/params.betaGn();
} }
/*!
* \brief Returns the partial derivative of the effective
* saturation to the capillary pressure.
* \param params Array of parameters
* \param pc Capillary pressure in \f$\mathrm{[Pa]}\f$
*/
DUNE_DEPRECATED_MSG("dsw_dpc(const Params &params, const Scalar pc) is deprecated. Use dswe_dpc(const Params &params, const Scalar pc) instead.")
static Scalar dsw_dpc(const Params &params, const Scalar pc)
{
return dswe_dpc(params, pc);
}
/*! /*!
* \brief Returns the partial derivative of the effective * \brief Returns the partial derivative of the effective
* saturation to the capillary pressure. * saturation to the capillary pressure.
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment