CMakeLists.txt 5.79 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
       ./Misc/VariableConverter.cpp
31
       ./RiemannSolvers/AverageSolver.cpp
32 33 34 35
       ./RiemannSolvers/AUSM0Solver.cpp
       ./RiemannSolvers/AUSM1Solver.cpp
       ./RiemannSolvers/AUSM2Solver.cpp
       ./RiemannSolvers/AUSM3Solver.cpp
Dave Moxey's avatar
Dave Moxey committed
36
       ./RiemannSolvers/CompressibleSolver.cpp
37
       ./RiemannSolvers/ExactSolverToro.cpp
Gianmarco Mengaldo's avatar
Gianmarco Mengaldo committed
38 39
       ./RiemannSolvers/HLLSolver.cpp
       ./RiemannSolvers/HLLCSolver.cpp
Dave Moxey's avatar
Dave Moxey committed
40 41
       ./RiemannSolvers/LaxFriedrichsSolver.cpp
       ./RiemannSolvers/RoeSolver.cpp
42
       )
43

44
    ADD_SOLVER_EXECUTABLE(CompressibleFlowSolver SOURCES ${CompressibleFlowSolverSource})
45 46

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

91
    IF (NEKTAR_USE_MPI)
92 93 94 95 96 97 98 99
        #ADD_NEKTAR_TEST(Perturbation_M05_square_CBC_par LENGTHY)
        #ADD_NEKTAR_TEST(Perturbation_M05_square_CBC_back_par LENGTHY)
        #ADD_NEKTAR_TEST(Perturbation_M15_square_CBC_par LENGTHY)
        #ADD_NEKTAR_TEST(Perturbation_M15_square_CBC_back_par LENGTHY)
        ADD_NEKTAR_TEST(Perturbation_M05_circle_CBC_back_par LENGTHY)
        ADD_NEKTAR_TEST(Perturbation_M15_circle_CBC_back_par LENGTHY)
        #ADD_NEKTAR_TEST(Perturbation_NS_M05_square_CBC_par LENGTHY)
        #ADD_NEKTAR_TEST(Perturbation_NS_M15_square_CBC_par LENGTHY)
100
        ADD_NEKTAR_TEST(RAE5240_BSF_LE_bcsfromfile_par)
101
        ADD_NEKTAR_TEST(Couette_FRDG_LDG_GAUSS_par)
102 103 104
        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)
105
    ENDIF (NEKTAR_USE_MPI)
106

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