Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
dumux-repositories
dumux
Commits
80fa8202
Commit
80fa8202
authored
Jul 02, 2021
by
Dennis Gläser
Browse files
[test][co2] add test with mpfa
parent
30717984
Changes
3
Expand all
Hide whitespace changes
Inline
Side-by-side
test/porousmediumflow/co2/CMakeLists.txt
View file @
80fa8202
...
...
@@ -31,6 +31,18 @@ dumux_add_test(NAME test_co2_tpfa
${
CMAKE_CURRENT_BINARY_DIR
}
/test_co2_tpfa-00028.vtu
--command
"
${
CMAKE_CURRENT_BINARY_DIR
}
/test_co2_tpfa params.input -Problem.Name test_co2_tpfa"
)
dumux_add_test
(
NAME test_co2_mpfa
LABELS porousmediumflow co2
TIMEOUT 3600
SOURCES main.cc
COMPILE_DEFINITIONS TYPETAG=HeterogeneousCCMpfa
CMAKE_GUARD
"( dune-alugrid_FOUND )"
COMMAND
${
CMAKE_SOURCE_DIR
}
/bin/testing/runtest.py
CMD_ARGS --script fuzzy
--files
${
CMAKE_SOURCE_DIR
}
/test/references/test_co2_mpfa-reference.vtu
${
CMAKE_CURRENT_BINARY_DIR
}
/test_co2_mpfa-00028.vtu
--command
"
${
CMAKE_CURRENT_BINARY_DIR
}
/test_co2_mpfa params.input -Problem.Name test_co2_mpfa"
)
dumux_add_test
(
NAME test_co2_box_parallel
TARGET test_co2_box
LABELS porousmediumflow co2 parallel
...
...
test/porousmediumflow/co2/properties.hh
View file @
80fa8202
...
...
@@ -28,6 +28,7 @@
#include <dune/alugrid/grid.hh>
#include <dumux/discretization/cctpfa.hh>
#include <dumux/discretization/ccmpfa.hh>
#include <dumux/discretization/box.hh>
#include <dumux/porousmediumflow/co2/model.hh>
...
...
@@ -51,6 +52,7 @@ namespace TTag {
struct
Heterogeneous
{
using
InheritsFrom
=
std
::
tuple
<
TwoPTwoCCO2
>
;
};
struct
HeterogeneousBox
{
using
InheritsFrom
=
std
::
tuple
<
Heterogeneous
,
BoxModel
>
;
};
struct
HeterogeneousCCTpfa
{
using
InheritsFrom
=
std
::
tuple
<
Heterogeneous
,
CCTpfaModel
>
;
};
struct
HeterogeneousCCMpfa
{
using
InheritsFrom
=
std
::
tuple
<
Heterogeneous
,
CCMpfaModel
>
;
};
}
// end namespace TTag
//Set the grid type
...
...
test/references/test_co2_mpfa-reference.vtu
0 → 100644
View file @
80fa8202
This diff is collapsed.
Click to expand it.
Timo Koch
@timok
mentioned in commit
77164fe8
·
Jul 02, 2021
mentioned in commit
77164fe8
mentioned in commit 77164fe8450f7937e39091cd7f609895939f82a5
Toggle commit list
Timo Koch
@timok
mentioned in merge request
!2696 (merged)
·
Jul 02, 2021
mentioned in merge request
!2696 (merged)
mentioned in merge request !2696
Toggle commit list
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment