CMakeLists.txt 4.16 KB
Newer Older
1 2 3
CMAKE_DEPENDENT_OPTION(NEKTAR_SOLVER_COMPRESSIBLE_FLOW
    "Build the Compressible Flow Solver." ON
    "NEKTAR_BUILD_SOLVERS" OFF)
4 5 6

IF( NEKTAR_SOLVER_COMPRESSIBLE_FLOW )
    SET(CompressibleFlowSolverSource 
7 8
       ./CompressibleFlowSolver.cpp 
       ./EquationSystems/CompressibleFlowSystem.cpp
9 10 11
       ./EquationSystems/EulerCFE.cpp
       ./EquationSystems/EulerArtificialDiffusionCFE.cpp
       ./EquationSystems/NavierStokesCFE.cpp
12
       ./RiemannSolvers/AverageSolver.cpp
13 14 15 16
       ./RiemannSolvers/AUSM0Solver.cpp
       ./RiemannSolvers/AUSM1Solver.cpp
       ./RiemannSolvers/AUSM2Solver.cpp
       ./RiemannSolvers/AUSM3Solver.cpp
Dave Moxey's avatar
Dave Moxey committed
17
       ./RiemannSolvers/CompressibleSolver.cpp
18
       ./RiemannSolvers/ExactSolverToro.cpp
Gianmarco Mengaldo's avatar
Gianmarco Mengaldo committed
19 20
       ./RiemannSolvers/HLLSolver.cpp
       ./RiemannSolvers/HLLCSolver.cpp
Dave Moxey's avatar
Dave Moxey committed
21 22
       ./RiemannSolvers/LaxFriedrichsSolver.cpp
       ./RiemannSolvers/RoeSolver.cpp
23
       )
24

25
    ADD_SOLVER_EXECUTABLE(CompressibleFlowSolver solvers 
26
			${CompressibleFlowSolverSource})
27

28 29 30 31



   
32 33
    ADD_NEKTAR_TEST        (CylinderSubsonic_FRDG_SEM)
    ADD_NEKTAR_TEST        (CylinderSubsonic_FRDG_GAUSS)
34
    ADD_NEKTAR_TEST_LENGTHY(CylinderSubsonic_FRHU_SEM)
35 36
    ADD_NEKTAR_TEST        (CylinderSubsonicMix)
    ADD_NEKTAR_TEST        (CylinderSubsonic_P3)
37
    ADD_NEKTAR_TEST_LENGTHY(CylinderSubsonic_P8)
38 39 40 41
    ADD_NEKTAR_TEST        (IsentropicVortex16_P3)
    ADD_NEKTAR_TEST        (IsentropicVortex_FRDG_SEM)
    ADD_NEKTAR_TEST_LENGTHY(IsentropicVortex_FRSD_SEM)
    ADD_NEKTAR_TEST_LENGTHY(IsentropicVortex_FRHU_SEM)
42 43 44
    ADD_NEKTAR_TEST_LENGTHY(IsentropicVortex16_P8)
    ADD_NEKTAR_TEST_LENGTHY(IsentropicVortex16_P3_GAUSS)
    ADD_NEKTAR_TEST_LENGTHY(IsentropicVortex16_P8_GAUSS)
45
    ADD_NEKTAR_TEST        (RinglebFlow_P3)
46
    ADD_NEKTAR_TEST_LENGTHY(RinglebFlow_P8)
Chris Cantwell's avatar
Chris Cantwell committed
47
    #ADD_NEKTAR_TEST        (Couette_WeakDG_LDG_MODIFIED)
48
    ADD_NEKTAR_TEST        (Couette_WeakDG_LDG_SEM)
Chris Cantwell's avatar
Chris Cantwell committed
49 50 51
    #ADD_NEKTAR_TEST        (Couette_WeakDG_LDG_GAUSS)
    #ADD_NEKTAR_TEST        (Couette_FRDG_LFRDG_GAUSS)
    #ADD_NEKTAR_TEST_LENGTHY(Couette_FRDG_LDG_GAUSS)
52 53
    ADD_NEKTAR_TEST_LENGTHY(Couette_FRHU_LDG_SEM)
    ADD_NEKTAR_TEST        (Couette_WeakDG_LFRHU_SEM)
54 55 56 57
    ADD_NEKTAR_TEST_LENGTHY(Couette_FRHU_LFRHU_SEM)
    ADD_NEKTAR_TEST_LENGTHY(CylinderSubsonic_NS_WeakDG_LDG_SEM)
    ADD_NEKTAR_TEST_LENGTHY(CylinderSubsonic_NS_WeakDG_LDG_GAUSS) 
    ADD_NEKTAR_TEST_LENGTHY(CylinderSubsonic_NS_FRDG_LFRDG_GAUSS)   
58

Daniele de Grazia's avatar
Daniele de Grazia committed
59 60 61 62 63 64 65 66
    ADD_NEKTAR_TEST(Couette_WeakDG_LDG_SEM_3DHOMO1D_MVM)
    ADD_NEKTAR_TEST(CylinderSubsonic_NS_WeakDG_LDG_SEM_3DHOMO1D_MVM)
    ADD_NEKTAR_TEST(Couette_FRDG_LFRDG_GLL_LAGRANGE_3DHOMO1D_MVM)
    ADD_NEKTAR_TEST(CylinderSubsonic_NS_FRDG_LFRDG_GLL_LAGRANGE_3DHOMO1D_MVM)
    ADD_NEKTAR_TEST(Couette_FRHU_LFRHU_SEM_3DHOMO1D_MVM)
    ADD_NEKTAR_TEST(CylinderSubsonic_NS_FRHU_LFRHU_SEM_3DHOMO1D_MVM)
    ADD_NEKTAR_TEST(Couette_FRSD_LFRSD_MODIFIED_3DHOMO1D_MVM)
    ADD_NEKTAR_TEST(CylinderSubsonic_NS_FRSD_LFRSD_MODIFIED_3DHOMO1D_MVM)
67 68 69 70 71 72 73 74 75
    ADD_NEKTAR_TEST(Perturbation_M05_square_CBC_par)
    ADD_NEKTAR_TEST(Perturbation_M05_square_CBC_back_par)
    ADD_NEKTAR_TEST(Perturbation_M15_square_CBC_par)
    ADD_NEKTAR_TEST(Perturbation_M15_square_CBC_back_par)
    ADD_NEKTAR_TEST(Perturbation_M05_circle_CBC_back_par)
    ADD_NEKTAR_TEST(Perturbation_M15_circle_CBC_back_par)
    ADD_NEKTAR_TEST(Perturbation_NS_M05_square_CBC_par)
    ADD_NEKTAR_TEST(Perturbation_NS_M15_square_CBC_par)

Daniele de Grazia's avatar
Daniele de Grazia committed
76 77 78 79 80 81 82 83 84 85 86 87 88 89
    IF (NEKTAR_USE_FFTW)
	ADD_NEKTAR_TEST(Couette_WeakDG_LDG_SEM_3DHOMO1D_FFT)
	ADD_NEKTAR_TEST(CylinderSubsonic_NS_WeakDG_LDG_SEM_3DHOMO1D_FFT)
	ADD_NEKTAR_TEST(IsentropicVortex16_WeakDG_SEM_3DHomo1D_FFT)
        ADD_NEKTAR_TEST(Couette_FRDG_LFRDG_GLL_LAGRANGE_3DHOMO1D_FFT)
	ADD_NEKTAR_TEST(CylinderSubsonic_NS_FRDG_LFRDG_GLL_LAGRANGE_3DHOMO1D_FFT)
	ADD_NEKTAR_TEST(IsentropicVortex16_FRDG_GLL_LAGRANGE_3DHOMO1D_FFT)
	ADD_NEKTAR_TEST(Couette_FRHU_LFRHU_SEM_3DHOMO1D_FFT)
	ADD_NEKTAR_TEST(CylinderSubsonic_NS_FRHU_LFRHU_SEM_3DHOMO1D_FFT)
	ADD_NEKTAR_TEST(IsentropicVortex16_FRHU_SEM_3DHOMO1D_FFT)
	ADD_NEKTAR_TEST(Couette_FRSD_LFRSD_MODIFIED_3DHOMO1D_FFT)
	ADD_NEKTAR_TEST(CylinderSubsonic_NS_FRSD_LFRSD_MODIFIED_3DHOMO1D_FFT)
	ADD_NEKTAR_TEST(IsentropicVortex16_FRSD_MODIFIED_3DHOMO1D_FFT)
    ENDIF (NEKTAR_USE_FFTW)
90
ENDIF( NEKTAR_SOLVER_COMPRESSIBLE_FLOW )