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
3026601f
Commit
3026601f
authored
7 years ago
by
Katharina Heck
Committed by
Timo Koch
7 years ago
Browse files
Options
Downloads
Patches
Plain Diff
cleanup exercise 1
parent
82d578ad
No related branches found
Branches containing commit
No related tags found
Tags containing commit
2 merge requests
!600
[WIP][components][plotproperties] Add a source file to plot properties of some components
,
!553
Dumux course tasks
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
tutorial/ex1/README.md
+6
-0
6 additions, 0 deletions
tutorial/ex1/README.md
tutorial/ex1/injection2pspatialparams.hh
+0
-20
0 additions, 20 deletions
tutorial/ex1/injection2pspatialparams.hh
with
6 additions
and
20 deletions
tutorial/ex1/README.md
+
6
−
0
View file @
3026601f
...
@@ -48,6 +48,12 @@ make exercise1_2p exercise1_2p2c
...
@@ -48,6 +48,12 @@ make exercise1_2p exercise1_2p2c
./exercise1_2p2c exercise1.input
./exercise1_2p2c exercise1.input
```
```
*
you can look at the results with paraview
```
bash
paraview injection-2p2c.pvd
```
<hr><br><br>
<hr><br><br>
### Task 3: Changing input parameters
### Task 3: Changing input parameters
<hr>
<hr>
...
...
This diff is collapsed.
Click to expand it.
tutorial/ex1/injection2pspatialparams.hh
+
0
−
20
View file @
3026601f
...
@@ -118,12 +118,6 @@ public:
...
@@ -118,12 +118,6 @@ public:
aquitardMaterialParams_
.
setLambda
(
2.0
);
aquitardMaterialParams_
.
setLambda
(
2.0
);
aquiferMaterialParams_
.
setLambda
(
2.0
);
aquiferMaterialParams_
.
setLambda
(
2.0
);
// plot the material laws using gnuplot and exit
if
(
GET_RUNTIME_PARAM
(
TypeTag
,
bool
,
Problem
.
OnlyPlotMaterialLaws
))
{
plotMaterialLaws
();
exit
(
0
);
}
}
}
/*!
/*!
...
@@ -231,20 +225,6 @@ public:
...
@@ -231,20 +225,6 @@ public:
// return lambdaSolid_;
// return lambdaSolid_;
// }
// }
/*!
* \brief Creates a gnuplot output of the pc-Sw curve
*/
void
plotMaterialLaws
()
{
PlotMaterialLaw
<
TypeTag
>
plotMaterialLaw
;
GnuplotInterface
<
Scalar
>
gnuplot
;
plotMaterialLaw
.
addpcswcurve
(
gnuplot
,
aquitardMaterialParams_
,
0.2
,
1.0
,
"upper layer (fine, aquitard)"
,
"w lp"
);
plotMaterialLaw
.
addpcswcurve
(
gnuplot
,
aquiferMaterialParams_
,
0.2
,
1.0
,
"lower layer (coarse, aquifer)"
,
"w l"
);
gnuplot
.
setOption
(
"set xrange [0:1]"
);
gnuplot
.
setOption
(
"set label
\"
residual
\\
nsaturation
\"
at 0.1,100000 center"
);
gnuplot
.
plot
(
"pc-Sw"
);
}
private
:
private
:
static
constexpr
Scalar
eps_
=
1e-6
;
static
constexpr
Scalar
eps_
=
1e-6
;
...
...
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