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
96587a12
Commit
96587a12
authored
6 years ago
by
Dennis Gläser
Committed by
Timo Koch
6 years ago
Browse files
Options
Downloads
Patches
Plain Diff
[test][fluidsystem] test brineco2
parent
70b14323
No related branches found
No related tags found
1 merge request
!1153
Feature/reuse brine in brine co2
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
test/material/fluidsystems/test_fluidsystems.cc
+27
-0
27 additions, 0 deletions
test/material/fluidsystems/test_fluidsystems.cc
with
27 additions
and
0 deletions
test/material/fluidsystems/test_fluidsystems.cc
+
27
−
0
View file @
96587a12
...
...
@@ -56,6 +56,9 @@
#include
<dumux/material/fluidstates/saturationoverlay.hh>
#include
<dumux/material/fluidstates/temperatureoverlay.hh>
// for co2, include the tables of the co2 test
#include
<test/porousmediumflow/co2/implicit/heterogeneousco2tables.hh>
int
main
()
{
using
namespace
Dumux
;
...
...
@@ -146,6 +149,30 @@ int main()
success
+=
checkFluidSystem
<
Scalar
,
FluidSystem
>
();
}
// Brine -- CO2
{
using
H2OType
=
Components
::
SimpleH2O
<
Scalar
>
;
using
FluidSystem
=
FluidSystems
::
BrineCO2
<
Scalar
,
HeterogeneousCO2Tables
::
CO2Tables
,
H2OType
,
FluidSystems
::
BrineCO2DefaultPolicy
<
/*useConstantSalinity=*/
true
>
>
;
success
+=
checkFluidSystem
<
Scalar
,
FluidSystem
>
();
}
{
using
H2OType
=
Components
::
SimpleH2O
<
Scalar
>
;
using
FluidSystem
=
FluidSystems
::
BrineCO2
<
Scalar
,
HeterogeneousCO2Tables
::
CO2Tables
,
H2OType
,
FluidSystems
::
BrineCO2DefaultPolicy
<
/*useConstantSalinity=*/
false
>
>
;
success
+=
checkFluidSystem
<
Scalar
,
FluidSystem
>
();
}
{
using
H2OType
=
Components
::
H2O
<
Scalar
>
;
using
FluidSystem
=
FluidSystems
::
BrineCO2
<
Scalar
,
HeterogeneousCO2Tables
::
CO2Tables
,
H2OType
,
FluidSystems
::
BrineCO2DefaultPolicy
<
/*useConstantSalinity=*/
true
>
>
;
success
+=
checkFluidSystem
<
Scalar
,
FluidSystem
>
();
}
{
using
H2OType
=
Components
::
H2O
<
Scalar
>
;
using
FluidSystem
=
FluidSystems
::
BrineCO2
<
Scalar
,
HeterogeneousCO2Tables
::
CO2Tables
,
H2OType
,
FluidSystems
::
BrineCO2DefaultPolicy
<
/*useConstantSalinity=*/
false
>
>
;
success
+=
checkFluidSystem
<
Scalar
,
FluidSystem
>
();
}
{
using
H2OType
=
Components
::
TabulatedComponent
<
Components
::
H2O
<
Scalar
>>
;
using
FluidSystem
=
FluidSystems
::
BrineCO2
<
Scalar
,
HeterogeneousCO2Tables
::
CO2Tables
,
H2OType
,
FluidSystems
::
BrineCO2DefaultPolicy
<
/*useConstantSalinity=*/
true
>
>
;
success
+=
checkFluidSystem
<
Scalar
,
FluidSystem
>
();
}
{
using
H2OType
=
Components
::
TabulatedComponent
<
Components
::
H2O
<
Scalar
>>
;
using
FluidSystem
=
FluidSystems
::
BrineCO2
<
Scalar
,
HeterogeneousCO2Tables
::
CO2Tables
,
H2OType
,
FluidSystems
::
BrineCO2DefaultPolicy
<
/*useConstantSalinity=*/
false
>
>
;
success
+=
checkFluidSystem
<
Scalar
,
FluidSystem
>
();
}
// H2O -- Air
{
using
H2OType
=
Components
::
SimpleH2O
<
Scalar
>
;
...
...
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