Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
dumux
Manage
Activity
Members
Labels
Plan
Issues
77
Issue boards
Milestones
Wiki
Code
Merge requests
77
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
Merge requests
!1928
[efftoabs] Add sneToSn for symmetry reasons
Code
Review changes
Check out branch
Download
Patches
Plain diff
Merged
[efftoabs] Add sneToSn for symmetry reasons
feature/efftoabs-add-snetosn
into
master
Overview
0
Commits
1
Pipelines
0
Changes
1
Merged
Timo Koch
requested to merge
feature/efftoabs-add-snetosn
into
master
4 years ago
Overview
0
Commits
1
Pipelines
0
Changes
1
Expand
Tested in
!1874 (merged)
Edited
4 years ago
by
Timo Koch
👍
0
👎
0
Merge request reports
Compare
master
version 1
df3a17fd
4 years ago
master (base)
and
latest version
latest version
cccc36c5
1 commit,
4 years ago
version 1
df3a17fd
1 commit,
4 years ago
1 file
+
14
−
0
Inline
Compare changes
Side-by-side
Inline
Show whitespace changes
Show one file at a time
dumux/material/fluidmatrixinteractions/2p/efftoabslaw.hh
+
14
−
0
Options
@@ -250,6 +250,20 @@ public:
static
Scalar
sweToSw_
(
const
Params
&
params
,
Scalar
swe
)
{
return
sweToSw
(
params
,
swe
);
}
/*!
* \brief Convert an effective non-wetting saturation to an absolute one.
*
* \param sne Effective saturation of the non-wetting phase \f$\mathrm{[{S}_n]}\f$.
* \param params A container object that is populated with the appropriate coefficients for the respective law.
* Therefore, in the (problem specific) spatialParameters first, the material law is chosen,
* and then the params container is constructed accordingly. Afterwards the values are set there, too.
* \return Absolute saturation of the non-wetting phase.
*/
static
Scalar
sneToSn
(
const
Params
&
params
,
Scalar
sne
)
{
return
sne
*
(
1.
-
params
.
swr
()
-
params
.
snr
())
+
params
.
snr
();
}
/*!
* \brief Derivative of the effective saturation w.r.t. the absolute saturation.
*
Loading