CMakeLists.txt 6.93 KB
Newer Older
1 2 3
CMAKE_DEPENDENT_OPTION(NEKTAR_SOLVER_INCNAVIERSTOKES
    "Build the Incompressible Navier-Stokes solver." ON
    "NEKTAR_BUILD_SOLVERS" OFF)
4 5 6

IF( NEKTAR_SOLVER_INCNAVIERSTOKES )
    SET(IncNavierStokesSolverSource 
Dave Moxey's avatar
Dave Moxey committed
7 8
       ./EquationSystems/CoupledLinearNS.cpp
       ./EquationSystems/CoupledLocalToGlobalC0ContMap.cpp
9 10
       ./EquationSystems/IncNavierStokes.cpp
       ./EquationSystems/VelocityCorrectionScheme.cpp
11
       ./EquationSystems/VelocityCorrectionSchemeWeakPressure.cpp
12
       ./EquationSystems/VCSMapping.cpp
13 14
       ./EquationSystems/Extrapolate.cpp
       ./EquationSystems/StandardExtrapolate.cpp
15
       ./EquationSystems/MappingExtrapolate.cpp
16
       ./EquationSystems/SubSteppingExtrapolate.cpp
17
       ./EquationSystems/SubSteppingExtrapolateWeakPressure.cpp
18
       ./EquationSystems/WeakPressureExtrapolate.cpp
19
       ./AdvectionTerms/AdjointAdvection.cpp
20
       ./AdvectionTerms/LinearisedAdvection.cpp
21
       ./AdvectionTerms/NavierStokesAdvection.cpp
22
       ./AdvectionTerms/SkewSymmetricAdvection.cpp
Ale's avatar
Ale committed
23
       ./AdvectionTerms/AlternateSkewAdvection.cpp
24
       ./AdvectionTerms/NoAdvection.cpp
25
       ./Filters/FilterEnergy.cpp
26
       ./Filters/FilterReynoldsStresses.cpp
27
       ./Filters/FilterMovingBody.cpp
Yan Bao's avatar
Yan Bao committed
28
       ./Forcing/ForcingMovingBody.cpp	
29
       ./Forcing/ForcingStabilityCoupledLNS.cpp	
Spencer Sherwin's avatar
Spencer Sherwin committed
30
       ./IncNavierStokesSolver.cpp 
31
       )
Spencer Sherwin's avatar
Spencer Sherwin committed
32

33
    ADD_SOLVER_EXECUTABLE(IncNavierStokesSolver solvers 
Spencer Sherwin's avatar
Spencer Sherwin committed
34
			${IncNavierStokesSolverSource})
35

36 37
    SUBDIRS(Utilities)      

38
    ADD_NEKTAR_TEST(Kovasznay_Flow_3modes)
39
    ADD_NEKTAR_TEST(ChanStability)
40 41 42 43
    #ADD_NEKTAR_TEST(ChanStability_adj)
    #ADD_NEKTAR_TEST(ChanStability_Coupled_3D)
    ADD_NEKTAR_TEST(2DFlow_lineforcing_bcfromfile)
    ADD_NEKTAR_TEST(ChanFlow2D_bcsfromfiles)
44
    ADD_NEKTAR_TEST_LENGTHY(ChanFlow_3DH1D_MVM)
Chris Cantwell's avatar
Chris Cantwell committed
45
    ADD_NEKTAR_TEST_LENGTHY(ChanFlow_3DH2D_MVM)
46 47
    ADD_NEKTAR_TEST(ChanFlow_LinNS_m8)
    ADD_NEKTAR_TEST(ChanFlow_m3)
48
    ADD_NEKTAR_TEST(ChanFlow_m3_ConOBC)
49
    ADD_NEKTAR_TEST(ChanFlow_m3_VCSWeakPress)
50
    ADD_NEKTAR_TEST(ChanFlow_m3_VCSWeakPress_ConOBC)
51 52 53 54
    ADD_NEKTAR_TEST(ChanFlow_m3_SKS)
    ADD_NEKTAR_TEST(ChanFlow_m8)
    ADD_NEKTAR_TEST(ChanFlow_m8_BodyForce)
    ADD_NEKTAR_TEST(ChanFlow_m8_singular)
55
    ADD_NEKTAR_TEST(Channel_Flow_3modes_rad)    
56
    ADD_NEKTAR_TEST(channelTemp)    
Douglas Serson's avatar
Douglas Serson committed
57
    ADD_NEKTAR_TEST(Couette_3DH2D_MVM)
58
    ADD_NEKTAR_TEST(Hex_channel_m3)
Douglas Serson's avatar
Douglas Serson committed
59
    ADD_NEKTAR_TEST(Hex_channel_varP)
60
    ADD_NEKTAR_TEST(Pyr_channel_m3)
Douglas Serson's avatar
Douglas Serson committed
61
    ADD_NEKTAR_TEST(Pyr_channel_varP)
62
    ADD_NEKTAR_TEST(Pyr_channel_SVV)
Dave Moxey's avatar
Dave Moxey committed
63
    ADD_NEKTAR_TEST(Hex_channel_m6_nodalRestart)
64 65
    ADD_NEKTAR_TEST_LENGTHY(Hex_channel_m8)
    ADD_NEKTAR_TEST_LENGTHY(Hex_channel_m8_srhs)
66
    ADD_NEKTAR_TEST(Hex_Kovasnay_SubStep)
67 68
    ADD_NEKTAR_TEST(HM)
    ADD_NEKTAR_TEST(HM_Adj)
69
    ADD_NEKTAR_TEST_LENGTHY(bfs_tg)
70
    ADD_NEKTAR_TEST(SM)
71
    ADD_NEKTAR_TEST(SM_base_file)
72
    ADD_NEKTAR_TEST(SM_Adj)
73
    ADD_NEKTAR_TEST(SM_Adj_base_file)
74 75
    ADD_NEKTAR_TEST(KovaFlow_m3)
    ADD_NEKTAR_TEST(KovaFlow_m8)
76 77
    ADD_NEKTAR_TEST(KovaFlow_m8_short_ConOBC)
    ADD_NEKTAR_TEST(KovaFlow_m8_short_ConOBC_VCSWeakPress)
78
    ADD_NEKTAR_TEST(KovaFlow_m8_short_HOBC)
79
    ADD_NEKTAR_TEST(KovaFlow_m8_short_HOBC_VCSWeakPress)
Douglas Serson's avatar
Douglas Serson committed
80
    ADD_NEKTAR_TEST(KovaFlow_varP)
81
    ADD_NEKTAR_TEST(KovaFlow_varP_per)
82
    #ADD_NEKTAR_TEST(KovaFlow_Oseen_m8)
83 84 85
    ADD_NEKTAR_TEST_LENGTHY(KovaFlow_3DH1D_P5_20modes_MVM)
    ADD_NEKTAR_TEST_LENGTHY(KovaFlow_3DH1D_P5_20modes_MVM_Deal)
    ADD_NEKTAR_TEST_LENGTHY(KovaFlow_3DH1D_P5_20modes_SKS_MVM)
86
    ADD_NEKTAR_TEST(KovaFlow_SubStep_2order)
87
    ADD_NEKTAR_TEST(KovaFlow_SubStep_2order_VCSWeakPress)
88 89 90
    ADD_NEKTAR_TEST(Kovas_Quad6_Tri4_mixedbcs)
    ADD_NEKTAR_TEST(SinCos_LinNS_3DHom1D)
    ADD_NEKTAR_TEST(TaylorVor_dt1)
91
    ADD_NEKTAR_TEST_LENGTHY(TaylorVor_dt2)
92 93
    ADD_NEKTAR_TEST(Tet_Kovasnay_SubStep)
    ADD_NEKTAR_TEST(Tet_Kovasnay_HOBC)
94
    ADD_NEKTAR_TEST(Tet_channel_m3)
95
    ADD_NEKTAR_TEST(Tet_channel_m3_ConOBC)
96
    ADD_NEKTAR_TEST(Tet_channel_m3_VCSWeakPress)
97
    ADD_NEKTAR_TEST(Tet_channel_m3_VCSWeakPress_ConOBC)
98
    ADD_NEKTAR_TEST(Tet_channel_m3_dealiasing)
99
    ADD_NEKTAR_TEST(Tet_channel_robin_m3)
Dave Moxey's avatar
Dave Moxey committed
100
    ADD_NEKTAR_TEST(Tet_channel_m4_per)
Douglas Serson's avatar
Douglas Serson committed
101
    ADD_NEKTAR_TEST(Tet_channel_varP)
102
    ADD_NEKTAR_TEST(TriQuadChannel)
103
    ADD_NEKTAR_TEST_LENGTHY(Tet_prism_channel_rad)
104 105 106
    ADD_NEKTAR_TEST_LENGTHY(Tet_equitri)
    ADD_NEKTAR_TEST_LENGTHY(Prism_channel_m6)
    ADD_NEKTAR_TEST_LENGTHY(Prism_channel_m6_dealiasing)
Douglas Serson's avatar
Douglas Serson committed
107
    ADD_NEKTAR_TEST(Prism_channel_varP)
Hui Xu's avatar
Hui Xu committed
108 109
    ADD_NEKTAR_TEST(ChannelSpongeNSE)
    ADD_NEKTAR_TEST(ChannelSpongeLNSE)
110
    ADD_NEKTAR_TEST(ChanFlow_Standard_BodyForce)
111
    ADD_NEKTAR_TEST(Cyl_AdaptiveSFD)
Mike's avatar
Mike committed
112
    ADD_NEKTAR_TEST(Womersley_PipeFlow)
113
    ADD_NEKTAR_TEST(CylFlow_Mov_mapping)
Spencer Sherwin's avatar
Spencer Sherwin committed
114 115
    ADD_NEKTAR_TEST(PPF_R10000_ModifiedArnoldi_Shift) 
    ADD_NEKTAR_TEST(PPF_R15000_ModifiedArnoldi_Shift) 
Bastien Jordi's avatar
Bastien Jordi committed
116

117
    IF (NEKTAR_USE_ARPACK)
118 119
        ADD_NEKTAR_TEST(ChanStability_adj_Ar) 
        ADD_NEKTAR_TEST(bfs_tg-AR)
120
        ADD_NEKTAR_TEST(ChanStability_Coupled) 
Spencer Sherwin's avatar
Spencer Sherwin committed
121 122
        ADD_NEKTAR_TEST(PPF_R10000_Arpack_LM) 
        ADD_NEKTAR_TEST(PPF_R15000_Arpack_Shift) 
123
        #ADD_NEKTAR_TEST(PPF_R15000_Arpack_NoImagShift) 
124
        ADD_NEKTAR_TEST(PPF_R15000_Arpack_NoImagShift_LM) 
125
    ENDIF (NEKTAR_USE_ARPACK)
Bastien Jordi's avatar
Bastien Jordi committed
126

127
    IF (NEKTAR_USE_FFTW)
128
        ADD_NEKTAR_TEST(ChanFlow_3DH1D_FFT)
Douglas Serson's avatar
Douglas Serson committed
129
        ADD_NEKTAR_TEST(ChanFlow_3DH1D_FFT_ConOBC)
130
        ADD_NEKTAR_TEST(ChanFlow_3DH2D_FFT)
131
        ADD_NEKTAR_TEST(CylFlow_MovBody)
132
        ADD_NEKTAR_TEST(KovaFlow_3DH1D_MVM_FFTW_Consistency)
Douglas Serson's avatar
Douglas Serson committed
133
        ADD_NEKTAR_TEST(KovaFlow_3DH1D_P5_6modes_FFTW_MixedDeal)
Douglas Serson's avatar
Douglas Serson committed
134 135
        ADD_NEKTAR_TEST(KovaFlow_3DH1D_P8_16modes_Mapping-explicit)
        ADD_NEKTAR_TEST(KovaFlow_3DH1D_P8_16modes_Mapping-implicit)
136 137
        ADD_NEKTAR_TEST(KovaFlow_3DH2D_xy_FFT)
        ADD_NEKTAR_TEST(KovaFlow_3DH2D_xz_FFT)
Douglas Serson's avatar
Douglas Serson committed
138
        ADD_NEKTAR_TEST(KovaFlow_m8_short_HOBC_3D1H)
139
        ADD_NEKTAR_TEST_LENGTHY(KovaFlow_3DH1D_adaptive_16modes_FFTW_Mapping)
Douglas Serson's avatar
Douglas Serson committed
140
        ADD_NEKTAR_TEST(Couette_3DH2D_FFT)
141
    ENDIF (NEKTAR_USE_FFTW)
142

143
    IF (NEKTAR_USE_MPI)
144 145
        ADD_NEKTAR_TEST(ChanFlow_3DH1D_Parallel_mode1)
        ADD_NEKTAR_TEST(ChanFlow_3DH1D_Parallel_mode2)
146
        ADD_NEKTAR_TEST(ChanFlow_m3_par)
Douglas Serson's avatar
Douglas Serson committed
147
        ADD_NEKTAR_TEST(KovaFlow_expFromFile_par)
148
        ADD_NEKTAR_TEST_LENGTHY(ChanFlow_m8_BodyForce_par)
149
        ADD_NEKTAR_TEST(KovaFlow_varP_per_par)
150
        ADD_NEKTAR_TEST_LENGTHY(Hex_channel_m8_par)
Douglas Serson's avatar
Douglas Serson committed
151
        ADD_NEKTAR_TEST(Hex_channel_varP_par)
152
        ADD_NEKTAR_TEST_LENGTHY(Pyr_channel_m6_par)
153
        ADD_NEKTAR_TEST_LENGTHY(Hex_channel_m8_srhs_par)
Douglas Serson's avatar
Douglas Serson committed
154
        ADD_NEKTAR_TEST(Tet_channel_m4_per_xxt_ml_par)
155
        ADD_NEKTAR_TEST(Tet_channel_m8_par)
156
        ADD_NEKTAR_TEST_LENGTHY(Tet_channel_m8_iter_ml_par)
157
        ADD_NEKTAR_TEST_LENGTHY(bfs_tg_par)
Dave Moxey's avatar
Dave Moxey committed
158 159 160
        IF (NEKTAR_USE_PETSC)
            ADD_NEKTAR_TEST_LENGTHY(Tet_channel_m8_petsc_sc_par)
        ENDIF (NEKTAR_USE_PETSC)
161 162
        IF (NEKTAR_USE_HDF5)
            ADD_NEKTAR_TEST(Tet_channel_m8_hdf)
Dave Moxey's avatar
Dave Moxey committed
163
            ADD_NEKTAR_TEST(KovaFlow_3DH1D_P5_20modes_MVM_hdf5)
164
        ENDIF (NEKTAR_USE_HDF5)
165 166
    ENDIF (NEKTAR_USE_MPI)
ENDIF( NEKTAR_SOLVER_INCNAVIERSTOKES )