CMakeLists.txt 10.9 KB
Newer Older
Thomas Fetzer's avatar
Thomas Fetzer committed
1
add_input_file_links()
2
dune_symlink_to_source_files(FILES references scripts)
3

4
add_executable(test_ff_rans_lauferpipe_kepsilon EXCLUDE_FROM_ALL main.cc)
5
target_compile_definitions(test_ff_rans_lauferpipe_kepsilon PUBLIC "TYPETAG=PipeLauferKEpsilon")
6

7
dumux_add_test(NAME test_ff_rans_lauferpipe_kepsilon_twolayers
8
              TARGET test_ff_rans_lauferpipe_kepsilon
9
              LABELS freeflow rans
10
              CMAKE_GUARD HAVE_UMFPACK
11
              TIMEOUT 1500
12
13
              COMMAND ${CMAKE_SOURCE_DIR}/bin/testing/runtest.py
              CMD_ARGS  --script fuzzy
14
                        --files ${CMAKE_SOURCE_DIR}/test/references/test_ff_rans_lauferpipe_kepsilon_twolayers-reference.vtu
15
                                ${CMAKE_CURRENT_BINARY_DIR}/test_ff_rans_lauferpipe_kepsilon_twolayers-00070.vtu
16
                        --command "${CMAKE_CURRENT_BINARY_DIR}/test_ff_rans_lauferpipe_kepsilon params.input
17
18
                        -Problem.Name test_ff_rans_lauferpipe_kepsilon_twolayers
                        -RANS.HasChannelGeometry True")
19

20
dumux_add_test(NAME test_ff_rans_lauferpipe_kepsilon_wallfunction
21
              TARGET test_ff_rans_lauferpipe_kepsilon
22
              LABELS freeflow rans
23
              CMAKE_GUARD HAVE_UMFPACK
24
              TIMEOUT 1500
25
26
              COMMAND ${CMAKE_SOURCE_DIR}/bin/testing/runtest.py
              CMD_ARGS  --script fuzzy
27
                        --files ${CMAKE_SOURCE_DIR}/test/references/test_ff_rans_lauferpipe_kepsilon_wallfunction-reference.vtu
28
                                ${CMAKE_CURRENT_BINARY_DIR}/test_ff_rans_lauferpipe_kepsilon_wallfunction-00034.vtu
29
                        --command "${CMAKE_CURRENT_BINARY_DIR}/test_ff_rans_lauferpipe_kepsilon params_wallfunction.input
30
31
                        -Problem.Name test_ff_rans_lauferpipe_kepsilon_wallfunction
                        -RANS.HasChannelGeometry True")
32

33
dumux_add_test(NAME test_ff_rans_lauferpipe_lowrekepsilon
34
              SOURCES main.cc
35
              COMPILE_DEFINITIONS TYPETAG=PipeLauferLowReKEpsilon
36
              LABELS freeflow rans
37
38
39
              CMAKE_GUARD HAVE_UMFPACK
              COMMAND ${CMAKE_SOURCE_DIR}/bin/testing/runtest.py
              CMD_ARGS  --script fuzzy
40
                        --files ${CMAKE_SOURCE_DIR}/test/references/test_ff_rans_lauferpipe_lowrekepsilon-reference.vtu
41
                                ${CMAKE_CURRENT_BINARY_DIR}/test_ff_rans_lauferpipe_lowrekepsilon-00053.vtu
42
                        --command "${CMAKE_CURRENT_BINARY_DIR}/test_ff_rans_lauferpipe_lowrekepsilon params.input
43
44
                        -Problem.Name test_ff_rans_lauferpipe_lowrekepsilon
                        -RANS.HasChannelGeometry True")
45

46
47
48
49
50
51

add_executable(test_ff_rans_lauferpipe_komega EXCLUDE_FROM_ALL main.cc)
target_compile_definitions(test_ff_rans_lauferpipe_komega PUBLIC "TYPETAG=PipeLauferKOmega")

dumux_add_test(NAME test_ff_rans_lauferpipe_komega_channel
              TARGET test_ff_rans_lauferpipe_komega
52
              LABELS freeflow rans
Thomas Fetzer's avatar
Thomas Fetzer committed
53
54
55
              CMAKE_GUARD HAVE_UMFPACK
              COMMAND ${CMAKE_SOURCE_DIR}/bin/testing/runtest.py
              CMD_ARGS  --script fuzzy
56
                        --files ${CMAKE_SOURCE_DIR}/test/references/test_ff_rans_lauferpipe_komega-reference.vtu
57
                                ${CMAKE_CURRENT_BINARY_DIR}/test_ff_rans_lauferpipe_komega-00047.vtu
58
                        --command "${CMAKE_CURRENT_BINARY_DIR}/test_ff_rans_lauferpipe_komega params.input
59
60
61
62
63
64
65
66
67
68
69
70
71
                        -Problem.Name test_ff_rans_lauferpipe_komega
                        -RANS.HasChannelGeometry True")

dumux_add_test(NAME test_ff_rans_lauferpipe_komega_nochannel
              TARGET test_ff_rans_lauferpipe_komega
              LABELS freeflow rans
              CMAKE_GUARD HAVE_UMFPACK
              COMMAND ${CMAKE_SOURCE_DIR}/bin/testing/runtest.py
              CMD_ARGS  --script fuzzy
                        --files ${CMAKE_SOURCE_DIR}/test/references/test_ff_rans_lauferpipe_komega_nochannel-reference.vtu
                                ${CMAKE_CURRENT_BINARY_DIR}/test_ff_rans_lauferpipe_komega_nochannel-00047.vtu
                        --command "${CMAKE_CURRENT_BINARY_DIR}/test_ff_rans_lauferpipe_komega params.input
                        -Problem.Name test_ff_rans_lauferpipe_komega_nochannel")
72

73
dumux_add_test(NAME test_ff_rans_lauferpipe_oneeq
74
              SOURCES main.cc
75
              COMPILE_DEFINITIONS TYPETAG=PipeLauferOneEq
76
              LABELS freeflow rans
77
78
79
              CMAKE_GUARD HAVE_UMFPACK
              COMMAND ${CMAKE_SOURCE_DIR}/bin/testing/runtest.py
              CMD_ARGS  --script fuzzy
80
                        --files ${CMAKE_SOURCE_DIR}/test/references/test_ff_rans_lauferpipe_oneeq-reference.vtu
81
                                ${CMAKE_CURRENT_BINARY_DIR}/test_ff_rans_lauferpipe_oneeq-00044.vtu
82
                        --command "${CMAKE_CURRENT_BINARY_DIR}/test_ff_rans_lauferpipe_oneeq params.input
83
84
                        -Problem.Name test_ff_rans_lauferpipe_oneeq
                        -RANS.HasChannelGeometry True")
85

86
dumux_add_test(NAME test_ff_rans_lauferpipe_zeroeq
87
              SOURCES main.cc
88
              COMPILE_DEFINITIONS TYPETAG=PipeLauferZeroEq
89
              LABELS freeflow rans
90
91
92
              CMAKE_GUARD HAVE_UMFPACK
              COMMAND ${CMAKE_SOURCE_DIR}/bin/testing/runtest.py
              CMD_ARGS  --script fuzzy
93
                        --files ${CMAKE_SOURCE_DIR}/test/references/test_ff_rans_lauferpipe_zeroeq-reference.vtu
94
                                ${CMAKE_CURRENT_BINARY_DIR}/test_ff_rans_lauferpipe_zeroeq-00035.vtu
95
                        --command "${CMAKE_CURRENT_BINARY_DIR}/test_ff_rans_lauferpipe_zeroeq params.input
96
97
                        -Problem.Name test_ff_rans_lauferpipe_zeroeq
                        -RANS.HasChannelGeometry True")
98

99
100
101
102
103
104
105
#///////////////////////////////
#/// The nonisothermal tests ///
#///////////////////////////////

add_executable(test_ff_ransni_lauferpipe_kepsilon EXCLUDE_FROM_ALL main.cc)
target_compile_definitions(test_ff_ransni_lauferpipe_kepsilon PUBLIC "TYPETAG=PipeLauferNIKEpsilon" "NONISOTHERMAL=1")

106
dumux_add_test(NAME test_ff_ransni_lauferpipe_kepsilon_twolayers
107
108
109
              TARGET test_ff_ransni_lauferpipe_kepsilon
              LABELS freeflow rans
              CMAKE_GUARD HAVE_UMFPACK
110
              TIMEOUT 1500
111
112
113
114
115
116
117
              COMMAND ${CMAKE_SOURCE_DIR}/bin/testing/runtest.py
              CMD_ARGS       --script fuzzy
                             --files ${CMAKE_SOURCE_DIR}/test/references/test_ff_ransni_lauferpipe_kepsilon_twolayers-reference.vtu
                                     ${CMAKE_CURRENT_BINARY_DIR}/test_ff_ransni_lauferpipe_kepsilon_twolayers-00034.vtu
                             --command "${CMAKE_CURRENT_BINARY_DIR}/test_ff_ransni_lauferpipe_kepsilon params_nonisothermal.input
                        -Problem.Name test_ff_ransni_lauferpipe_kepsilon_twolayers")

118
dumux_add_test(NAME test_ff_ransni_lauferpipe_kepsilon_wallfunction
119
120
              TARGET test_ff_ransni_lauferpipe_kepsilon
              LABELS freeflow rans
121
              TIMEOUT 1500
122
123
124
125
126
127
128
129
              CMAKE_GUARD HAVE_UMFPACK
              COMMAND ${CMAKE_SOURCE_DIR}/bin/testing/runtest.py
              CMD_ARGS       --script fuzzy
                             --files ${CMAKE_SOURCE_DIR}/test/references/test_ff_ransni_lauferpipe_kepsilon_wallfunction-reference.vtu
                                     ${CMAKE_CURRENT_BINARY_DIR}/test_ff_ransni_lauferpipe_kepsilon_wallfunction-00027.vtu
                             --command "${CMAKE_CURRENT_BINARY_DIR}/test_ff_ransni_lauferpipe_kepsilon params_nonisothermal_wallfunction.input
                        -Problem.Name test_ff_ransni_lauferpipe_kepsilon_wallfunction")

130
dumux_add_test(NAME test_ff_ransni_lauferpipe_lowrekepsilon
131
132
133
134
135
136
137
138
139
140
141
142
              SOURCES main.cc
              COMPILE_DEFINITIONS TYPETAG=PipeLauferNILowReKEpsilon
              LABELS freeflow rans
              CMAKE_GUARD HAVE_UMFPACK
              COMMAND ${CMAKE_SOURCE_DIR}/bin/testing/runtest.py
              CMD_ARGS       --script fuzzy
                             --files ${CMAKE_SOURCE_DIR}/test/references/./test_ff_ransni_lauferpipe_lowrekepsilon-reference.vtu
                                     ${CMAKE_CURRENT_BINARY_DIR}/./test_ff_ransni_lauferpipe_lowrekepsilon-00034.vtu
                             --command "${CMAKE_CURRENT_BINARY_DIR}/test_ff_ransni_lauferpipe_lowrekepsilon params_nonisothermal.input
                        -Problem.Name ./test_ff_ransni_lauferpipe_lowrekepsilon")
target_compile_definitions(test_ff_ransni_lauferpipe_lowrekepsilon PUBLIC "NONISOTHERMAL=1")

143
dumux_add_test(NAME test_ff_ransni_lauferpipe_komega
144
145
146
147
148
149
150
151
152
153
154
155
              SOURCES main.cc
              COMPILE_DEFINITIONS TYPETAG=PipeLauferNIKOmega
              LABELS freeflow rans
              CMAKE_GUARD HAVE_UMFPACK
              COMMAND ${CMAKE_SOURCE_DIR}/bin/testing/runtest.py
              CMD_ARGS       --script fuzzy
                             --files ${CMAKE_SOURCE_DIR}/test/references/test_ff_ransni_lauferpipe_komega-reference.vtu
                                     ${CMAKE_CURRENT_BINARY_DIR}/test_ff_ransni_lauferpipe_komega-00040.vtu
                             --command "${CMAKE_CURRENT_BINARY_DIR}/test_ff_ransni_lauferpipe_komega params_nonisothermal.input
                        -Problem.Name test_ff_ransni_lauferpipe_komega")
target_compile_definitions(test_ff_ransni_lauferpipe_komega PUBLIC "NONISOTHERMAL=1")

156
dumux_add_test(NAME test_ff_ransni_lauferpipe_oneeq
157
158
159
160
161
162
163
164
165
166
167
168
              SOURCES main.cc
              COMPILE_DEFINITIONS TYPETAG=PipeLauferNIOneEq
              LABELS freeflow rans
              CMAKE_GUARD HAVE_UMFPACK
              COMMAND ${CMAKE_SOURCE_DIR}/bin/testing/runtest.py
              CMD_ARGS       --script fuzzy
                             --files ${CMAKE_SOURCE_DIR}/test/references/test_ff_ransni_lauferpipe_oneeq-reference.vtu
                                     ${CMAKE_CURRENT_BINARY_DIR}/test_ff_ransni_lauferpipe_oneeq-00037.vtu
                             --command "${CMAKE_CURRENT_BINARY_DIR}/test_ff_ransni_lauferpipe_oneeq params_nonisothermal.input
                        -Problem.Name test_ff_ransni_lauferpipe_oneeq")
target_compile_definitions(test_ff_ransni_lauferpipe_oneeq PUBLIC "NONISOTHERMAL=1")

169
dumux_add_test(NAME test_ff_ransni_lauferpipe_zeroeq
170
              SOURCES main.cc
171
              COMPILE_DEFINITIONS TYPETAG=PipeLauferNIZeroEq
172
              LABELS freeflow rans
173
174
175
              CMAKE_GUARD HAVE_UMFPACK
              COMMAND ${CMAKE_SOURCE_DIR}/bin/testing/runtest.py
              CMD_ARGS       --script fuzzy
176
177
178
179
180
                             --files ${CMAKE_SOURCE_DIR}/test/references/test_ff_ransni_lauferpipe_zeroeq-reference.vtu
                                     ${CMAKE_CURRENT_BINARY_DIR}/test_ff_ransni_lauferpipe_zeroeq-00033.vtu
                             --command "${CMAKE_CURRENT_BINARY_DIR}/test_ff_ransni_lauferpipe_zeroeq params_nonisothermal.input
                        -Problem.Name test_ff_ransni_lauferpipe_zeroeq")
target_compile_definitions(test_ff_ransni_lauferpipe_zeroeq PUBLIC "NONISOTHERMAL=1")