Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
dune-mmdg
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Container registry
Model registry
Operate
Environments
Monitor
Incidents
Service Desk
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
Hörl, Maximilian
dune-mmdg
Commits
399eb125
Commit
399eb125
authored
5 years ago
by
Hörl, Maximilian
Browse files
Options
Downloads
Patches
Plain Diff
[bugfix] fix sign error in mmdgproblem2, adapt permeability in mmdgproblem2 to changes in the model
parent
230d0cb5
No related branches found
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
dune/mmdg/problems/mmdgproblem2.hh
+17
-1
17 additions, 1 deletion
dune/mmdg/problems/mmdgproblem2.hh
with
17 additions
and
1 deletion
dune/mmdg/problems/mmdgproblem2.hh
+
17
−
1
View file @
399eb125
...
...
@@ -11,6 +11,8 @@ class MMDGProblem2 : public CoupledDGProblem<Coordinate, Scalar>
{
public:
static
constexpr
int
dim
=
Coordinate
::
dimension
;
using
Base
=
CoupledDGProblem
<
Coordinate
,
Scalar
>
;
using
Matrix
=
typename
Base
::
Matrix
;
//the exact bulk solution at position pos
Scalar
exactSolution
(
const
Coordinate
&
pos
)
const
...
...
@@ -25,7 +27,7 @@ class MMDGProblem2 : public CoupledDGProblem<Coordinate, Scalar>
{
constexpr
Scalar
cos2
=
std
::
cos
(
2.0
);
constexpr
Scalar
sin2
=
std
::
sin
(
2.0
);
return
0.75
*
(
cos2
-
sin2
)
*
std
::
cos
(
M_PI
*
pos
[
1
]);
return
0.75
*
(
cos2
+
sin2
)
*
std
::
cos
(
M_PI
*
pos
[
1
]);
}
//indicates whether an exact solution is implemented for the problem
...
...
@@ -57,6 +59,20 @@ class MMDGProblem2 : public CoupledDGProblem<Coordinate, Scalar>
return
Scalar
(
0.25
);
}
//tangential permeability tensor per aperture of the interface
//at position pos
Matrix
Kparallel
(
const
Coordinate
&
pos
)
const
{
return
Base
::
Kparallel
(
pos
)
/
aperture
(
pos
);
}
//permeability of the fracture per aperture in normal direction
//at position pos
virtual
Scalar
Kperp
(
const
Coordinate
&
pos
)
const
{
return
Scalar
(
2.0
);
}
//returns the recommended quadrature order to compute an integral
//over x * q(x)
int
quadratureOrder_q
()
const
...
...
This diff is collapsed.
Click to expand it.
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