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
70f5cc15
Commit
70f5cc15
authored
Nov 02, 2018
by
Ned Coltman
Committed by
Timo Koch
Nov 13, 2018
Browse files
[Cleanup][Multidomain][boundary] rename boundary multidomain tests
parent
5314461b
Changes
63
Hide whitespace changes
Inline
Side-by-side
test/multidomain/boundary/darcydarcy/1p_1p/CMakeLists.txt
View file @
70f5cc15
dune_add_test
(
NAME test_boundary_
equaldim_1p_
1p_half
dune_add_test
(
NAME test_
md_
boundary_
darcy1p_darcy
1p_half
SOURCES main.cc
COMPILE_DEFINITIONS DOMAINSPLIT=0
COMMAND
${
CMAKE_SOURCE_DIR
}
/bin/testing/runtest.py
CMD_ARGS --script fuzzy
--files
${
CMAKE_SOURCE_DIR
}
/test/references/1ptestcc-reference.vtu
${
CMAKE_CURRENT_BINARY_DIR
}
/
md_
1p_half_combined.vtu
--command
"
${
CMAKE_CURRENT_BINARY_DIR
}
/test_boundary_
equaldim_1p_1p_half test_boundary_equaldim_1p_1p
.input \
-
Problem.Name md_
1p_half"
)
${
CMAKE_CURRENT_BINARY_DIR
}
/
test_md_boundary_darcy1p_darcy
1p_half_combined.vtu
--command
"
${
CMAKE_CURRENT_BINARY_DIR
}
/test_
md_
boundary_
darcy1p_darcy1p_half params
.input \
-
Vtk.OutputName test_md_boundary_darcy1p_darcy
1p_half"
)
dune_add_test
(
NAME test_boundary_
equaldim_1p_
1p_lens
dune_add_test
(
NAME test_
md_
boundary_
darcy1p_darcy
1p_lens
SOURCES main.cc
COMPILE_DEFINITIONS DOMAINSPLIT=1
COMMAND
${
CMAKE_SOURCE_DIR
}
/bin/testing/runtest.py
CMAKE_GUARD dune-subgrid_FOUND
CMD_ARGS --script fuzzy
--files
${
CMAKE_SOURCE_DIR
}
/test/references/1ptestcc-reference.vtu
${
CMAKE_CURRENT_BINARY_DIR
}
/
md_
1p_lens_combined.vtu
--command
"
${
CMAKE_CURRENT_BINARY_DIR
}
/test_boundary_
equaldim_1p_1p_lens test_boundary_equaldim_1p_1p
.input \
-Problem.Name md_
1p_lens"
)
${
CMAKE_CURRENT_BINARY_DIR
}
/
test_md_boundary_darcy1p_darcy
1p_lens_combined.vtu
--command
"
${
CMAKE_CURRENT_BINARY_DIR
}
/test_
md_
boundary_
darcy1p_darcy1p_lens params
.input \
-Vtk.OutputName test_md_boundary_darcy1p_darcy
1p_lens"
)
dune_symlink_to_source_files
(
FILES
"
test_boundary_equaldim_1p_1p
.input"
)
dune_symlink_to_source_files
(
FILES
"
params
.input"
)
test/multidomain/boundary/darcydarcy/1p_1p/main.cc
View file @
70f5cc15
...
...
@@ -311,7 +311,7 @@ int main(int argc, char** argv) try
Dune
::
VTKWriter
<
typename
FullDomainGrid
::
LeafGridView
>
vtkWriter
(
gridView
);
vtkWriter
.
addCellData
(
processRank
,
"process rank"
);
vtkWriter
.
addCellData
(
pressure
,
"pressure"
);
const
auto
filename
=
getParam
<
std
::
string
>
(
"
Problem.
Name"
)
+
"_combined"
;
const
auto
filename
=
getParam
<
std
::
string
>
(
"
Vtk.Output
Name"
)
+
"_combined"
;
vtkWriter
.
write
(
filename
);
////////////////////////////////////////////////////////////
...
...
test/multidomain/boundary/darcydarcy/1p_1p/
test_boundary_equaldim_1p_1p
.input
→
test/multidomain/boundary/darcydarcy/1p_1p/
params
.input
View file @
70f5cc15
...
...
@@ -5,6 +5,9 @@ DtInitial = 1.0
[Problem]
EnableGravity = true
[Vtk]
OutputName = test_md_boundary_darcy1p_darcy1p
[1.Problem]
Name = 1p_0
...
...
test/multidomain/boundary/darcydarcy/1p_1p/problem.hh
View file @
70f5cc15
...
...
@@ -60,7 +60,18 @@ public:
const
std
::
string
&
paramGroup
=
""
)
:
ParentType
(
fvGridGeometry
,
paramGroup
)
,
couplingManager_
(
couplingManager
)
{}
{
// set a default name for the problem
problemName_
=
getParam
<
std
::
string
>
(
"Vtk.OutputName"
)
+
"_"
+
getParamFromGroup
<
std
::
string
>
(
paramGroup
,
"Problem.Name"
);
}
/*!
* \brief The problem name.
*/
const
std
::
string
&
name
()
const
{
return
problemName_
;
}
/*!
* \brief Specifies which kind of boundary condition should be
...
...
@@ -156,6 +167,8 @@ public:
private:
std
::
shared_ptr
<
CouplingManager
>
couplingManager_
;
static
constexpr
Scalar
eps_
=
1e-7
;
std
::
string
problemName_
;
};
}
// end namespace Dumux
...
...
test/multidomain/boundary/darcydarcy/1p_2p/CMakeLists.txt
View file @
70f5cc15
dune_add_test
(
NAME test_boundary_
equaldim_1p_
2p
dune_add_test
(
NAME test_
md_
boundary_
darcy1p_darcy
2p
SOURCES main.cc
COMMAND
${
CMAKE_SOURCE_DIR
}
/bin/testing/runtest.py
CMAKE_GUARD dune-subgrid_FOUND
CMD_ARGS --script fuzzy
--files
${
CMAKE_SOURCE_DIR
}
/test/references/md-boundary-1p2p-injection-2p-reference.vtu
${
CMAKE_CURRENT_BINARY_DIR
}
/2p-00017.vtu
${
CMAKE_SOURCE_DIR
}
/test/references/md-boundary-1p2p-injection-1p-reference.vtu
${
CMAKE_CURRENT_BINARY_DIR
}
/1p-00017.vtu
--command
"
${
CMAKE_CURRENT_BINARY_DIR
}
/test_boundary_equaldim_1p_2p test_boundary_equaldim_1p_2p.input"
)
--files
${
CMAKE_SOURCE_DIR
}
/test/references/test_md_boundary_darcy1p_darcy2p_2p-reference.vtu
${
CMAKE_CURRENT_BINARY_DIR
}
/test_md_boundary_darcy1p_darcy2p_2p-00017.vtu
${
CMAKE_SOURCE_DIR
}
/test/references/test_md_boundary_darcy1p_darcy2p_1p-reference.vtu
${
CMAKE_CURRENT_BINARY_DIR
}
/test_md_boundary_darcy1p_darcy2p_1p-00017.vtu
--command
"
${
CMAKE_CURRENT_BINARY_DIR
}
/test_md_boundary_darcy1p_darcy2p params.input
-Vtk.OutputName test_md_boundary_darcy1p_darcy2p"
)
dune_symlink_to_source_files
(
FILES
"
test_boundary_equaldim_1p_2p
.input"
)
dune_symlink_to_source_files
(
FILES
"
params
.input"
)
test/multidomain/boundary/darcydarcy/1p_2p/
test_boundary_equaldim_1p_2p
.input
→
test/multidomain/boundary/darcydarcy/1p_2p/
params
.input
View file @
70f5cc15
...
...
@@ -7,6 +7,9 @@ EnableGravity = false # horizontal layer
TwoPhaseDomainRadius = 1000 # 1km
InjectionRate = 1.0 # kg/s
[Vtk]
OutputName = test_md_boundary_darcy1p_darcy2p
[1.Problem]
Name = 1p
...
...
test/multidomain/boundary/darcydarcy/1p_2p/problem.hh
View file @
70f5cc15
...
...
@@ -63,6 +63,15 @@ public:
,
couplingManager_
(
couplingManager
)
{
injectionRate_
=
getParam
<
double
>
(
"Problem.InjectionRate"
);
problemName_
=
getParam
<
std
::
string
>
(
"Vtk.OutputName"
)
+
"_"
+
getParamFromGroup
<
std
::
string
>
(
paramGroup
,
"Problem.Name"
);
}
/*!
* \brief The problem name.
*/
const
std
::
string
&
name
()
const
{
return
problemName_
;
}
/*!
...
...
@@ -179,6 +188,7 @@ private:
Scalar
injectionRate_
;
std
::
shared_ptr
<
CouplingManager
>
couplingManager_
;
static
constexpr
Scalar
eps_
=
1e-7
;
std
::
string
problemName_
;
};
}
// end namespace Dumux
...
...
test/multidomain/boundary/stokesdarcy/1p2c_1p2c/horizontalflow/CMakeLists.txt
View file @
70f5cc15
add_input_file_links
()
dune_add_test
(
NAME test_
stokes1p2cdarcy1p2c
horizontal
SOURCES
test_stokes1p2cdarcy1p2chorizontal
.cc
dune_add_test
(
NAME test_
md_boundary_darcy1p2c_stokes1p2c_
horizontal
SOURCES
main
.cc
CMAKE_GUARD HAVE_UMFPACK
COMMAND
${
CMAKE_SOURCE_DIR
}
/bin/testing/runtest.py
CMD_ARGS --script fuzzy
--files
${
CMAKE_SOURCE_DIR
}
/test/references/test_
stokes1p2cdarcy1p2c
horizontal_stokes-reference.vtu
${
CMAKE_CURRENT_BINARY_DIR
}
/test_
stokes1p2cdarcy1p2c
horizontal_stokes-00020.vtu
${
CMAKE_SOURCE_DIR
}
/test/references/test_
stokes1p2cdarcy1p2c
horizontal_darcy-reference.vtu
${
CMAKE_CURRENT_BINARY_DIR
}
/test_
stokes1p2cdarcy1p2c
horizontal_darcy-00020.vtu
--files
${
CMAKE_SOURCE_DIR
}
/test/references/test_
md_boundary_darcy1p2c_stokes1p2c_
horizontal_stokes-reference.vtu
${
CMAKE_CURRENT_BINARY_DIR
}
/test_
md_boundary_darcy1p2c_stokes1p2c_
horizontal_stokes-00020.vtu
${
CMAKE_SOURCE_DIR
}
/test/references/test_
md_boundary_darcy1p2c_stokes1p2c_
horizontal_darcy-reference.vtu
${
CMAKE_CURRENT_BINARY_DIR
}
/test_
md_boundary_darcy1p2c_stokes1p2c_
horizontal_darcy-00020.vtu
--command
"
${
CMAKE_CURRENT_BINARY_DIR
}
/test_stokes1p2cdarcy1p2chorizontal test_stokes1p2cdarcy1p2chorizontal.input"
)
--command
"
${
CMAKE_CURRENT_BINARY_DIR
}
/test_md_boundary_darcy1p2c_stokes1p2c_horizontal params.input
-Vtk.OutputName test_md_boundary_darcy1p2c_stokes1p2c_horizontal"
)
test/multidomain/boundary/stokesdarcy/1p2c_1p2c/horizontalflow/
test_stokes1p2cdarcy1p2chorizontal
.cc
→
test/multidomain/boundary/stokesdarcy/1p2c_1p2c/horizontalflow/
main
.cc
View file @
70f5cc15
File moved
test/multidomain/boundary/stokesdarcy/1p2c_1p2c/horizontalflow/
test_stokes1p2cdarcy1p2chorizontal
.input
→
test/multidomain/boundary/stokesdarcy/1p2c_1p2c/horizontalflow/
params
.input
View file @
70f5cc15
...
...
@@ -31,12 +31,12 @@ Porosity = 0.3
Tortuosity = 0.5
[Problem]
Name = test_stokes1p2cdarcy1p2chorizontal
EnableGravity = false
EnableInertiaTerms = true
[Vtk]
AddVelocity = 1
OutputName = test_md_boundary_darcy1p2c_stokes1p2c_horizontal
[Assembly.NumericDifference]
BaseEpsilon = 1e-6
test/multidomain/boundary/stokesdarcy/1p2c_1p2c/horizontalflow/
darcy
problem.hh
→
test/multidomain/boundary/stokesdarcy/1p2c_1p2c/horizontalflow/problem
_darcy
.hh
View file @
70f5cc15
...
...
@@ -31,7 +31,7 @@
#include
<dumux/porousmediumflow/1pnc/model.hh>
#include
<dumux/porousmediumflow/problem.hh>
#include
"./../
1p
spatialparams.hh"
#include
"./../spatialparams.hh"
#include
<dumux/material/fluidsystems/1padapter.hh>
#include
<dumux/material/fluidsystems/h2oair.hh>
...
...
@@ -118,6 +118,15 @@ public:
{
pressure_
=
getParamFromGroup
<
Scalar
>
(
this
->
paramGroup
(),
"Problem.Pressure"
);
initialMoleFraction_
=
getParamFromGroup
<
Scalar
>
(
this
->
paramGroup
(),
"Problem.InitialMoleFraction"
);
problemName_
=
getParam
<
std
::
string
>
(
"Vtk.OutputName"
)
+
"_"
+
getParamFromGroup
<
std
::
string
>
(
this
->
paramGroup
(),
"Problem.Name"
);
}
/*!
* \brief The problem name.
*/
const
std
::
string
&
name
()
const
{
return
problemName_
;
}
/*!
...
...
@@ -262,7 +271,7 @@ private:
Scalar
eps_
;
Scalar
pressure_
;
Scalar
initialMoleFraction_
;
std
::
string
problemName_
;
std
::
shared_ptr
<
CouplingManager
>
couplingManager_
;
};
}
//end namespace
...
...
test/multidomain/boundary/stokesdarcy/1p2c_1p2c/horizontalflow/
stokes
problem.hh
→
test/multidomain/boundary/stokesdarcy/1p2c_1p2c/horizontalflow/problem
_stokes
.hh
View file @
70f5cc15
...
...
@@ -100,6 +100,15 @@ public:
inletVelocity_
=
getParamFromGroup
<
Scalar
>
(
this
->
paramGroup
(),
"Problem.Velocity"
);
pressure_
=
getParamFromGroup
<
Scalar
>
(
this
->
paramGroup
(),
"Problem.Pressure"
);
inletMoleFraction_
=
getParamFromGroup
<
Scalar
>
(
this
->
paramGroup
(),
"Problem.InletMoleFraction"
);
problemName_
=
getParam
<
std
::
string
>
(
"Vtk.OutputName"
)
+
"_"
+
getParamFromGroup
<
std
::
string
>
(
this
->
paramGroup
(),
"Problem.Name"
);
}
/*!
* \brief The problem name.
*/
const
std
::
string
&
name
()
const
{
return
problemName_
;
}
/*!
...
...
@@ -301,7 +310,7 @@ private:
Scalar
pressure_
;
Scalar
inletMoleFraction_
;
bool
injectionState_
;
std
::
string
problemName_
;
std
::
shared_ptr
<
CouplingManager
>
couplingManager_
;
};
}
//end namespace
...
...
test/multidomain/boundary/stokesdarcy/1p2c_1p2c/
1p
spatialparams.hh
→
test/multidomain/boundary/stokesdarcy/1p2c_1p2c/spatialparams.hh
View file @
70f5cc15
File moved
test/multidomain/boundary/stokesdarcy/1p2c_1p2c/verticalflow/CMakeLists.txt
View file @
70f5cc15
add_input_file_links
()
add_executable
(
test_
stokes1p2cdarcy1p2cvertical EXCLUDE_FROM_ALL test_stokes1p2cdarcy1p2cvertical
.cc
)
add_executable
(
test_
md_boundary_darcy1p2c_stokes1p2c_vertical EXCLUDE_FROM_ALL main
.cc
)
dune_add_test
(
NAME test_
stokes1p2cdarcy1p2c
vertical_diffusion
TARGET test_
stokes1p2cdarcy1p2c
vertical
dune_add_test
(
NAME test_
md_boundary_darcy1p2c_stokes1p2c_
vertical_diffusion
TARGET test_
md_boundary_darcy1p2c_stokes1p2c_
vertical
CMAKE_GUARD HAVE_UMFPACK
COMMAND
${
CMAKE_SOURCE_DIR
}
/bin/testing/runtest.py
CMD_ARGS --script fuzzy
--zeroThreshold {
"velocity_liq
\(
m/s
\)
"
:1e-20}
--files
${
CMAKE_SOURCE_DIR
}
/test/references/test_stokes1p2cdarcy1p2cvertical_diffusion_stokes-reference.vtu
${
CMAKE_CURRENT_BINARY_DIR
}
/test_stokes1p2cdarcy1p2cvertical_diffusion_stokes-00003.vtu
${
CMAKE_SOURCE_DIR
}
/test/references/test_stokes1p2cdarcy1p2cvertical_diffusion_darcy-reference.vtu
${
CMAKE_CURRENT_BINARY_DIR
}
/test_stokes1p2cdarcy1p2cvertical_diffusion_darcy-00003.vtu
--command
"
${
CMAKE_CURRENT_BINARY_DIR
}
/test_stokes1p2cdarcy1p2cvertical test_stokes1p2cdarcy1p2cvertical_diffusion.input"
)
--files
${
CMAKE_SOURCE_DIR
}
/test/references/test_md_boundary_darcy1p2c_stokes1p2c_vertical_diffusion_stokes-reference.vtu
${
CMAKE_CURRENT_BINARY_DIR
}
/test_md_boundary_darcy1p2c_stokes1p2c_vertical_diffusion_stokes-00003.vtu
${
CMAKE_SOURCE_DIR
}
/test/references/test_md_boundary_darcy1p2c_stokes1p2c_vertical_diffusion_darcy-reference.vtu
${
CMAKE_CURRENT_BINARY_DIR
}
/test_md_boundary_darcy1p2c_stokes1p2c_vertical_diffusion_darcy-00003.vtu
--command
"
${
CMAKE_CURRENT_BINARY_DIR
}
/test_md_boundary_darcy1p2c_stokes1p2c_vertical params_diffusion.input
-Vtk.OutputName test_md_boundary_darcy1p2c_stokes1p2c_vertical_diffusion"
)
dune_add_test
(
NAME test_
stokes1p2cdarcy1p2c
vertical_advection
TARGET test_
stokes1p2cdarcy1p2c
vertical
dune_add_test
(
NAME test_
md_boundary_darcy1p2c_stokes1p2c_
vertical_advection
TARGET test_
md_boundary_darcy1p2c_stokes1p2c_
vertical
CMAKE_GUARD HAVE_UMFPACK
COMMAND
${
CMAKE_SOURCE_DIR
}
/bin/testing/runtest.py
CMD_ARGS --script fuzzy
--zeroThreshold {
"velocity_liq
\(
m/s
\)
"
:1e-15}
--files
${
CMAKE_SOURCE_DIR
}
/test/references/test_stokes1p2cdarcy1p2cvertical_advection_stokes-reference.vtu
${
CMAKE_CURRENT_BINARY_DIR
}
/test_stokes1p2cdarcy1p2cvertical_stokes-00030.vtu
${
CMAKE_SOURCE_DIR
}
/test/references/test_stokes1p2cdarcy1p2cvertical_advection_darcy-reference.vtu
${
CMAKE_CURRENT_BINARY_DIR
}
/test_stokes1p2cdarcy1p2cvertical_darcy-00030.vtu
--command
"
${
CMAKE_CURRENT_BINARY_DIR
}
/test_stokes1p2cdarcy1p2cvertical test_stokes1p2cdarcy1p2cvertical.input"
)
--files
${
CMAKE_SOURCE_DIR
}
/test/references/test_md_boundary_darcy1p2c_stokes1p2c_vertical_advection_stokes-reference.vtu
${
CMAKE_CURRENT_BINARY_DIR
}
/test_md_boundary_darcy1p2c_stokes1p2c_vertical_stokes-00030.vtu
${
CMAKE_SOURCE_DIR
}
/test/references/test_md_boundary_darcy1p2c_stokes1p2c_vertical_advection_darcy-reference.vtu
${
CMAKE_CURRENT_BINARY_DIR
}
/test_md_boundary_darcy1p2c_stokes1p2c_vertical_darcy-00030.vtu
--command
"
${
CMAKE_CURRENT_BINARY_DIR
}
/test_md_boundary_darcy1p2c_stokes1p2c_vertical params.input
-Vtk.OutputName test_md_boundary_darcy1p2c_stokes1p2c_vertical"
)
test/multidomain/boundary/stokesdarcy/1p2c_1p2c/verticalflow/
test_stokes1p2cdarcy1p2cvertical
.cc
→
test/multidomain/boundary/stokesdarcy/1p2c_1p2c/verticalflow/
main
.cc
View file @
70f5cc15
File moved
test/multidomain/boundary/stokesdarcy/1p2c_1p2c/verticalflow/
test_stokes1p2cdarcy1p2cvertical
.input
→
test/multidomain/boundary/stokesdarcy/1p2c_1p2c/verticalflow/
params
.input
View file @
70f5cc15
...
...
@@ -27,12 +27,12 @@ Porosity = 1.0
Tortuosity = 0.5
[Problem]
Name = test_stokes1p2cdarcy1p2cvertical
EnableGravity = false
EnableInertiaTerms = false
[Vtk]
AddVelocity = 1
OutputName = test_md_boundary_darcy1p2c_stokes1p2c_vertical
[Assembly.NumericDifference]
BaseEpsilon = 1e-6
test/multidomain/boundary/stokesdarcy/1p2c_1p2c/verticalflow/
test_stokes1p2cdarcy1p2cvertical
_diffusion.input
→
test/multidomain/boundary/stokesdarcy/1p2c_1p2c/verticalflow/
params
_diffusion.input
View file @
70f5cc15
...
...
@@ -26,10 +26,10 @@ Porosity = 1.0
Tortuosity = 1.0
[Problem]
Name = test_stokes1p2cdarcy1p2cvertical_diffusion
EnableGravity = false
OnlyDiffusion = true
EnableInertiaTerms = false
[Vtk]
AddVelocity = 1
OutputName = test_md_boundary_darcy1p2c_stokes1p2c_vertical_diffusion
test/multidomain/boundary/stokesdarcy/1p2c_1p2c/verticalflow/
darcy
problem.hh
→
test/multidomain/boundary/stokesdarcy/1p2c_1p2c/verticalflow/problem
_darcy
.hh
View file @
70f5cc15
...
...
@@ -31,7 +31,7 @@
#include
<dumux/porousmediumflow/1pnc/model.hh>
#include
<dumux/porousmediumflow/problem.hh>
#include
"./../
1p
spatialparams.hh"
#include
"./../spatialparams.hh"
#include
<dumux/material/fluidsystems/1padapter.hh>
#include
<dumux/material/fluidsystems/h2oair.hh>
...
...
@@ -119,6 +119,15 @@ public:
:
ParentType
(
fvGridGeometry
,
"Darcy"
),
eps_
(
1e-7
),
couplingManager_
(
couplingManager
),
xBottom_
(
0.0
)
{
pressure_
=
getParamFromGroup
<
Scalar
>
(
this
->
paramGroup
(),
"Problem.Pressure"
,
0.0
);
problemName_
=
getParam
<
std
::
string
>
(
"Vtk.OutputName"
)
+
"_"
+
getParamFromGroup
<
std
::
string
>
(
this
->
paramGroup
(),
"Problem.Name"
);
}
/*!
* \brief The problem name.
*/
const
std
::
string
&
name
()
const
{
return
problemName_
;
}
/*!
...
...
@@ -295,7 +304,7 @@ private:
std
::
shared_ptr
<
CouplingManager
>
couplingManager_
;
Scalar
xBottom_
;
Scalar
pressure_
;
std
::
string
problemName_
;
};
}
//end namespace
...
...
test/multidomain/boundary/stokesdarcy/1p2c_1p2c/verticalflow/
stokes
problem.hh
→
test/multidomain/boundary/stokesdarcy/1p2c_1p2c/verticalflow/problem
_stokes
.hh
View file @
70f5cc15
...
...
@@ -104,6 +104,15 @@ public:
:
ParentType
(
fvGridGeometry
,
"Stokes"
),
eps_
(
1e-6
),
couplingManager_
(
couplingManager
),
xTop_
(
1e-3
)
{
inletVelocity_
=
getParamFromGroup
<
Scalar
>
(
this
->
paramGroup
(),
"Problem.Velocity"
);
problemName_
=
getParam
<
std
::
string
>
(
"Vtk.OutputName"
)
+
"_"
+
getParamFromGroup
<
std
::
string
>
(
this
->
paramGroup
(),
"Problem.Name"
);
}
/*!
* \brief The problem name.
*/
const
std
::
string
&
name
()
const
{
return
problemName_
;
}
/*!
...
...
@@ -329,6 +338,7 @@ private:
Scalar
eps_
;
Scalar
inletVelocity_
;
std
::
string
problemName_
;
std
::
shared_ptr
<
CouplingManager
>
couplingManager_
;
Scalar
xTop_
;
...
...
test/multidomain/boundary/stokesdarcy/1p2c_2p2c/CMakeLists.txt
View file @
70f5cc15
add_input_file_links
()
dune_add_test
(
NAME test_
stokes1p2cdarcy2p2c
horizontal
SOURCES
test_stokes1p2cdarcy2p2chorizontal
.cc
dune_add_test
(
NAME test_
md_boundary_darcy2p2c_stokes1p2c_
horizontal
SOURCES
main
.cc
CMAKE_GUARD HAVE_UMFPACK
COMMAND
${
CMAKE_SOURCE_DIR
}
/bin/testing/runtest.py
CMD_ARGS --script fuzzy
--files
${
CMAKE_SOURCE_DIR
}
/test/references/test_
stokes1p2cdarcy2p2c
horizontal_stokes-reference.vtu
${
CMAKE_CURRENT_BINARY_DIR
}
/test_
stokes1p2cdarcy2p2c
horizontal_stokes-00040.vtu
${
CMAKE_SOURCE_DIR
}
/test/references/test_
stokes1p2cdarcy2p2c
horizontal_darcy-reference.vtu
${
CMAKE_CURRENT_BINARY_DIR
}
/test_
stokes1p2cdarcy2p2c
horizontal_darcy-00040.vtu
--files
${
CMAKE_SOURCE_DIR
}
/test/references/test_
md_boundary_darcy2p2c_stokes1p2c_
horizontal_stokes-reference.vtu
${
CMAKE_CURRENT_BINARY_DIR
}
/test_
md_boundary_darcy2p2c_stokes1p2c_
horizontal_stokes-00040.vtu
${
CMAKE_SOURCE_DIR
}
/test/references/test_
md_boundary_darcy2p2c_stokes1p2c_
horizontal_darcy-reference.vtu
${
CMAKE_CURRENT_BINARY_DIR
}
/test_
md_boundary_darcy2p2c_stokes1p2c_
horizontal_darcy-00040.vtu
--command
"
${
CMAKE_CURRENT_BINARY_DIR
}
/test_stokes1p2cdarcy2p2chorizontal test_stokes1p2cdarcy2p2chorizontal.input"
)
--command
"
${
CMAKE_CURRENT_BINARY_DIR
}
/test_md_boundary_darcy2p2c_stokes1p2c_horizontal params.input
-Vtk.OutputName test_md_boundary_darcy2p2c_stokes1p2c_horizontal"
)
dune_add_test
(
NAME test_
stokes1p2cnidarcy2p2cni
horizontal
SOURCES
test_stokes1p2cdarcy2p2chorizontal
.cc
dune_add_test
(
NAME test_
md_boundary_darcy2p2cni_stokes1p2cni_
horizontal
SOURCES
main
.cc
COMPILE_DEFINITIONS NONISOTHERMAL=1
CMAKE_GUARD HAVE_UMFPACK
COMMAND
${
CMAKE_SOURCE_DIR
}
/bin/testing/runtest.py
CMD_ARGS --script fuzzy
--files
${
CMAKE_SOURCE_DIR
}
/test/references/test_
stokes1p2cnidarcy2p2cni
horizontal_stokes-reference.vtu
${
CMAKE_CURRENT_BINARY_DIR
}
/test_
stokes1p2cnidarcy2p2cni
horizontal_stokes-00040.vtu
${
CMAKE_SOURCE_DIR
}
/test/references/test_
stokes1p2cnidarcy2p2cni
horizontal_darcy-reference.vtu
${
CMAKE_CURRENT_BINARY_DIR
}
/test_
stokes1p2cnidarcy2p2cni
horizontal_darcy-00040.vtu
--files
${
CMAKE_SOURCE_DIR
}
/test/references/test_
md_boundary_darcy2p2cni_stokes1p2cni_
horizontal_stokes-reference.vtu
${
CMAKE_CURRENT_BINARY_DIR
}
/test_
md_boundary_darcy2p2cni_stokes1p2cni_
horizontal_stokes-00040.vtu
${
CMAKE_SOURCE_DIR
}
/test/references/test_
md_boundary_darcy2p2cni_stokes1p2cni_
horizontal_darcy-reference.vtu
${
CMAKE_CURRENT_BINARY_DIR
}
/test_
md_boundary_darcy2p2cni_stokes1p2cni_
horizontal_darcy-00040.vtu
--command
"
${
CMAKE_CURRENT_BINARY_DIR
}
/test_stokes1p2cnidarcy2p2cnihorizontal test_stokes1p2cdarcy2p2chorizontal.input -Problem.Name test_stokes1p2cnidarcy2p2cnihorizontal"
)
--command
"
${
CMAKE_CURRENT_BINARY_DIR
}
/test_md_boundary_darcy2p2cni_stokes1p2cni_horizontal params_nonisothermal.input
-Vtk.OutputName test_md_boundary_darcy2p2cni_stokes1p2cni_horizontal"
)
Prev
1
2
3
4
Next
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