Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
dumux
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Container Registry
Model registry
Operate
Environments
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
dumux-repositories
dumux
Commits
c50f742f
Commit
c50f742f
authored
8 years ago
by
Christoph Grüninger
Browse files
Options
Downloads
Patches
Plain Diff
[cleanup] Parker-vanGenuchten 3p
parent
c64bda1b
No related branches found
No related tags found
1 merge request
!139
Cleanup/3pparkervangenuchten
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
dumux/material/fluidmatrixinteractions/3p/parkervangen3p.hh
+1
-72
1 addition, 72 deletions
dumux/material/fluidmatrixinteractions/3p/parkervangen3p.hh
with
1 addition
and
72 deletions
dumux/material/fluidmatrixinteractions/3p/parkervangen3p.hh
+
1
−
72
View file @
c50f742f
...
@@ -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 ¶ms, const Scalar swe) is deprecated. Use dpc_dswe(const Params ¶ms, 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 ¶ms, const Scalar seRegu) is deprecated. Use dpcgw_dswe(const Params ¶ms, 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 ¶ms, const Scalar seRegu) is deprecated. Use dpcnw_dswe(const Params ¶ms, 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 ¶ms, const Scalar seRegu) is deprecated. Use dpcgn_dste(const Params ¶ms, 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 ¶ms, const Scalar pc) is deprecated. Use dswe_dpc(const Params ¶ms, 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.
...
...
This diff is collapsed.
Click to expand it.
Christoph Grüninger
@gruenich
mentioned in commit
72f22e1f
·
8 years ago
mentioned in commit
72f22e1f
mentioned in commit 72f22e1f9079799ed586899c9b1ad8edd6d58ec6
Toggle commit list
Christoph Grüninger
@gruenich
Mentioned in commit
72f22e1f
·
8 years ago
Mentioned in commit
72f22e1f
Mentioned in commit 72f22e1f9079799ed586899c9b1ad8edd6d58ec6
Toggle commit list
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment