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
9105b8b9
Commit
9105b8b9
authored
Apr 06, 2020
by
Timo Koch
Browse files
[test][2p2c] Use fixed time step sizes for waterair test (updated references)
parent
19da39c9
Changes
5
Expand all
Hide whitespace changes
Inline
Side-by-side
test/porousmediumflow/2p2c/implicit/waterair/CMakeLists.txt
View file @
9105b8b9
...
...
@@ -9,7 +9,7 @@ dumux_add_test(NAME test_2p2cni_waterair_box
COMMAND
${
CMAKE_SOURCE_DIR
}
/bin/testing/runtest.py
CMD_ARGS --script fuzzy
--files
${
CMAKE_SOURCE_DIR
}
/test/references/test_2p2cni_waterair_box-reference.vtu
${
CMAKE_CURRENT_BINARY_DIR
}
/test_2p2cni_waterair_box-0001
3
.vtu
${
CMAKE_CURRENT_BINARY_DIR
}
/test_2p2cni_waterair_box-0001
2
.vtu
--command
"
${
CMAKE_CURRENT_BINARY_DIR
}
/test_2p2cni_waterair_box params.input -Problem.Name test_2p2cni_waterair_box"
)
dumux_add_test
(
NAME test_2p2cni_waterair_buoyancy_box
...
...
@@ -20,7 +20,7 @@ dumux_add_test(NAME test_2p2cni_waterair_buoyancy_box
COMMAND
${
CMAKE_SOURCE_DIR
}
/bin/testing/runtest.py
CMD_ARGS --script fuzzy
--files
${
CMAKE_SOURCE_DIR
}
/test/references/test_2p2cni_waterair_buoyancy_box-reference.vtu
${
CMAKE_CURRENT_BINARY_DIR
}
/test_2p2cni_waterair_buoyancy_box-0001
5
.vtu
${
CMAKE_CURRENT_BINARY_DIR
}
/test_2p2cni_waterair_buoyancy_box-0001
3
.vtu
--command
"
${
CMAKE_CURRENT_BINARY_DIR
}
/test_2p2cni_waterair_box params.input -Problem.Name test_2p2cni_waterair_buoyancy_box -TimeLoop.DtInitial 100"
)
dumux_add_test
(
NAME test_2p2cni_waterair_tpfa
...
...
@@ -31,5 +31,5 @@ dumux_add_test(NAME test_2p2cni_waterair_tpfa
COMMAND
${
CMAKE_SOURCE_DIR
}
/bin/testing/runtest.py
CMD_ARGS --script fuzzy
--files
${
CMAKE_SOURCE_DIR
}
/test/references/test_2p2cni_waterair_tpfa-reference.vtu
${
CMAKE_CURRENT_BINARY_DIR
}
/test_2p2cni_waterair_tpfa-0001
3
.vtu
${
CMAKE_CURRENT_BINARY_DIR
}
/test_2p2cni_waterair_tpfa-0001
2
.vtu
--command
"
${
CMAKE_CURRENT_BINARY_DIR
}
/test_2p2cni_waterair_tpfa params.input -Problem.Name test_2p2cni_waterair_tpfa"
)
test/porousmediumflow/2p2c/implicit/waterair/main.cc
View file @
9105b8b9
...
...
@@ -137,8 +137,8 @@ int main(int argc, char** argv) try
// report statistics of this time step
timeLoop
->
reportTimeStep
();
// set new dt as
suggested by the newton solver
timeLoop
->
setTimeStepSize
(
nonLinearSolver
.
suggestTimeStepSize
(
timeLoop
->
timeStepSize
())
)
;
// set new dt as
twice the old time step size
timeLoop
->
setTimeStepSize
(
2.0
*
timeLoop
->
timeStepSize
());
// write vtk output
vtkWriter
.
write
(
timeLoop
->
time
());
...
...
test/references/test_2p2cni_waterair_box-reference.vtu
View file @
9105b8b9
This diff is collapsed.
Click to expand it.
test/references/test_2p2cni_waterair_buoyancy_box-reference.vtu
View file @
9105b8b9
This diff is collapsed.
Click to expand it.
test/references/test_2p2cni_waterair_tpfa-reference.vtu
View file @
9105b8b9
This diff is collapsed.
Click to expand it.
Write
Preview
Supports
Markdown
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