CMakeLists.txt 5.62 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 9 10 11 12 13 14 15 16
       ./BoundaryConditions/CFSBndCond.cpp
       ./BoundaryConditions/ExtrapOrder0BC.cpp
       ./BoundaryConditions/PressureInflowFileBC.cpp
       ./BoundaryConditions/PressureOutflowBC.cpp
       ./BoundaryConditions/PressureOutflowFileBC.cpp
       ./BoundaryConditions/PressureOutflowNonReflectiveBC.cpp
       ./BoundaryConditions/RiemannInvariantBC.cpp
       ./BoundaryConditions/SymmetryBC.cpp
       ./BoundaryConditions/WallBC.cpp
       ./BoundaryConditions/WallViscousBC.cpp
17 18
       ./CompressibleFlowSolver.cpp 
       ./EquationSystems/CompressibleFlowSystem.cpp
19
       ./EquationSystems/EulerCFE.cpp
20
       ./EquationSystems/EulerADCFE.cpp
21
       ./EquationSystems/NavierStokesCFE.cpp
22
       ./Filters/FilterEnergy.cpp
23
       ./RiemannSolvers/AverageSolver.cpp
24 25 26 27
       ./RiemannSolvers/AUSM0Solver.cpp
       ./RiemannSolvers/AUSM1Solver.cpp
       ./RiemannSolvers/AUSM2Solver.cpp
       ./RiemannSolvers/AUSM3Solver.cpp
Dave Moxey's avatar
Dave Moxey committed
28
       ./RiemannSolvers/CompressibleSolver.cpp
29
       ./RiemannSolvers/ExactSolverToro.cpp
Gianmarco Mengaldo's avatar
Gianmarco Mengaldo committed
30 31
       ./RiemannSolvers/HLLSolver.cpp
       ./RiemannSolvers/HLLCSolver.cpp
Dave Moxey's avatar
Dave Moxey committed
32 33
       ./RiemannSolvers/LaxFriedrichsSolver.cpp
       ./RiemannSolvers/RoeSolver.cpp
34
       )
35

36
    ADD_SOLVER_EXECUTABLE(CompressibleFlowSolver solvers 
37
			${CompressibleFlowSolverSource})
38 39

    SUBDIRS(Utilities)
40
   
41 42
    ADD_NEKTAR_TEST        (CylinderSubsonic_FRDG_SEM)
    ADD_NEKTAR_TEST        (CylinderSubsonic_FRDG_GAUSS)
43
    ADD_NEKTAR_TEST_LENGTHY(CylinderSubsonic_FRHU_SEM)
44 45
    ADD_NEKTAR_TEST        (CylinderSubsonicMix)
    ADD_NEKTAR_TEST        (CylinderSubsonic_P3)
46
    ADD_NEKTAR_TEST_LENGTHY(CylinderSubsonic_P8)
47
    ADD_NEKTAR_TEST        (Euler1D)
48 49 50 51
    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)
52 53 54
    ADD_NEKTAR_TEST_LENGTHY(IsentropicVortex16_P8)
    ADD_NEKTAR_TEST_LENGTHY(IsentropicVortex16_P3_GAUSS)
    ADD_NEKTAR_TEST_LENGTHY(IsentropicVortex16_P8_GAUSS)
55
    ADD_NEKTAR_TEST        (IsentropicVortex_WeakDG_HexDeformed)
56
    ADD_NEKTAR_TEST        (RinglebFlow_P3)
57
    ADD_NEKTAR_TEST_LENGTHY(RinglebFlow_P8)
Chris Cantwell's avatar
Chris Cantwell committed
58
    #ADD_NEKTAR_TEST        (Couette_WeakDG_LDG_MODIFIED)
59
    ADD_NEKTAR_TEST        (Couette_WeakDG_LDG_SEM)
60
    ADD_NEKTAR_TEST        (Couette_WeakDG_LDG_SEM_VariableMu)
Chris Cantwell's avatar
Chris Cantwell committed
61 62
    #ADD_NEKTAR_TEST        (Couette_WeakDG_LDG_GAUSS)
    #ADD_NEKTAR_TEST        (Couette_FRDG_LFRDG_GAUSS)
Dave Moxey's avatar
Dave Moxey committed
63
    ADD_NEKTAR_TEST_LENGTHY(Couette_FRDG_LDG_GAUSS)
64 65
    ADD_NEKTAR_TEST_LENGTHY(Couette_FRHU_LDG_SEM)
    ADD_NEKTAR_TEST        (Couette_WeakDG_LFRHU_SEM)
66
    ADD_NEKTAR_TEST_LENGTHY(Couette_FRHU_LFRHU_SEM)
Daniele de Grazia's avatar
Daniele de Grazia committed
67
    ADD_NEKTAR_TEST        (Couette_WeakDG_LDG_adiabatic)
68 69
    # disabled as fails on 32-bit linux  -- cc
    #ADD_NEKTAR_TEST        (Couette_FRDG_LFRDG_adiabatic)
70 71
    # disabled as fails on 32-bit linux  -- cc
    #ADD_NEKTAR_TEST_LENGTHY(CylinderSubsonic_NS_WeakDG_LDG_SEM)
72 73
    ADD_NEKTAR_TEST_LENGTHY(CylinderSubsonic_NS_WeakDG_LDG_GAUSS) 
    ADD_NEKTAR_TEST_LENGTHY(CylinderSubsonic_NS_FRDG_LFRDG_GAUSS)   
74
    ADD_NEKTAR_TEST        (CylinderSubsonic_NS_WeakDG_LDG_SEM_VariableMu)
75 76 77 78 79 80 81 82
    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)
83

84
    IF (NEKTAR_USE_MPI)
85 86 87 88 89 90 91 92 93
        #ADD_NEKTAR_TEST_LENGTHY(Perturbation_M05_square_CBC_par)
        #ADD_NEKTAR_TEST_LENGTHY(Perturbation_M05_square_CBC_back_par)
        #ADD_NEKTAR_TEST_LENGTHY(Perturbation_M15_square_CBC_par)
        #ADD_NEKTAR_TEST_LENGTHY(Perturbation_M15_square_CBC_back_par)
        ADD_NEKTAR_TEST_LENGTHY(Perturbation_M05_circle_CBC_back_par)
        ADD_NEKTAR_TEST_LENGTHY(Perturbation_M15_circle_CBC_back_par)
        #ADD_NEKTAR_TEST_LENGTHY(Perturbation_NS_M05_square_CBC_par)
        #ADD_NEKTAR_TEST_LENGTHY(Perturbation_NS_M15_square_CBC_par)
        ADD_NEKTAR_TEST(RAE5240_BSF_LE_bcsfromfile_par)
94
        ADD_NEKTAR_TEST(Couette_FRDG_LDG_GAUSS_par)
95 96 97
        ADD_NEKTAR_TEST(Couette_FRHU_LDG_SEM_par)
        ADD_NEKTAR_TEST(Couette_WeakDG_LDG_SEM_VariableMu_par)
        ADD_NEKTAR_TEST(CylinderSubsonic_NS_WeakDG_LDG_SEM_VariableMu_par)
98
    ENDIF (NEKTAR_USE_MPI)
99

Daniele de Grazia's avatar
Daniele de Grazia committed
100 101
    IF (NEKTAR_USE_FFTW)
	ADD_NEKTAR_TEST(Couette_WeakDG_LDG_SEM_3DHOMO1D_FFT)
Dave Moxey's avatar
Dave Moxey committed
102
	ADD_NEKTAR_TEST(CylinderSubsonic_NS_WeakDG_LDG_SEM_3DHomo1D_FFT)
Daniele de Grazia's avatar
Daniele de Grazia committed
103 104 105 106 107 108 109 110 111 112 113
	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)
114
ENDIF( NEKTAR_SOLVER_COMPRESSIBLE_FLOW )