CMakeLists.txt 6.03 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
       ./ArtificialDiffusion/ArtificialDiffusion.cpp
       ./ArtificialDiffusion/NonSmoothShockCapture.cpp
       ./ArtificialDiffusion/SmoothShockCapture.cpp
10 11
       ./BoundaryConditions/CFSBndCond.cpp
       ./BoundaryConditions/ExtrapOrder0BC.cpp
12
       ./BoundaryConditions/IsentropicVortexBC.cpp
13 14 15 16 17
       ./BoundaryConditions/PressureInflowFileBC.cpp
       ./BoundaryConditions/PressureOutflowBC.cpp
       ./BoundaryConditions/PressureOutflowFileBC.cpp
       ./BoundaryConditions/PressureOutflowNonReflectiveBC.cpp
       ./BoundaryConditions/RiemannInvariantBC.cpp
18
       ./BoundaryConditions/RinglebFlowBC.cpp
19
       ./BoundaryConditions/SymmetryBC.cpp
20
       ./BoundaryConditions/TimeDependentBC.cpp
21 22
       ./BoundaryConditions/WallBC.cpp
       ./BoundaryConditions/WallViscousBC.cpp
23 24
       ./CompressibleFlowSolver.cpp 
       ./EquationSystems/CompressibleFlowSystem.cpp
25
       ./EquationSystems/EulerCFE.cpp
26
       ./EquationSystems/IsentropicVortex.cpp
27
       ./EquationSystems/NavierStokesCFE.cpp
28
       ./EquationSystems/RinglebFlow.cpp
29
       ./Filters/FilterEnergy.cpp
30
       ./Forcing/ForcingNozzle.cpp
31
       ./Misc/VariableConverter.cpp
32
       ./RiemannSolvers/AverageSolver.cpp
33 34 35 36
       ./RiemannSolvers/AUSM0Solver.cpp
       ./RiemannSolvers/AUSM1Solver.cpp
       ./RiemannSolvers/AUSM2Solver.cpp
       ./RiemannSolvers/AUSM3Solver.cpp
Dave Moxey's avatar
Dave Moxey committed
37
       ./RiemannSolvers/CompressibleSolver.cpp
38
       ./RiemannSolvers/ExactSolverToro.cpp
Gianmarco Mengaldo's avatar
Gianmarco Mengaldo committed
39 40
       ./RiemannSolvers/HLLSolver.cpp
       ./RiemannSolvers/HLLCSolver.cpp
Dave Moxey's avatar
Dave Moxey committed
41 42
       ./RiemannSolvers/LaxFriedrichsSolver.cpp
       ./RiemannSolvers/RoeSolver.cpp
43
       )
44

45
    ADD_SOLVER_EXECUTABLE(CompressibleFlowSolver solvers 
46
			${CompressibleFlowSolverSource})
47 48

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

93
    IF (NEKTAR_USE_MPI)
94 95 96 97 98 99 100 101 102
        #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)
103
        ADD_NEKTAR_TEST(Couette_FRDG_LDG_GAUSS_par)
104 105 106
        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)
107
    ENDIF (NEKTAR_USE_MPI)
108

Daniele de Grazia's avatar
Daniele de Grazia committed
109 110
    IF (NEKTAR_USE_FFTW)
	ADD_NEKTAR_TEST(Couette_WeakDG_LDG_SEM_3DHOMO1D_FFT)
Dave Moxey's avatar
Dave Moxey committed
111
	ADD_NEKTAR_TEST(CylinderSubsonic_NS_WeakDG_LDG_SEM_3DHomo1D_FFT)
Daniele de Grazia's avatar
Daniele de Grazia committed
112 113 114 115 116 117 118 119 120 121 122
	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)
123
ENDIF( NEKTAR_SOLVER_COMPRESSIBLE_FLOW )