CMakeLists.txt 6.18 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/StagnationInflowBC.cpp
20
       ./BoundaryConditions/StagnationInflowSwirlBC.cpp
21
       ./BoundaryConditions/SymmetryBC.cpp
22
       ./BoundaryConditions/TimeDependentBC.cpp
23 24
       ./BoundaryConditions/WallBC.cpp
       ./BoundaryConditions/WallViscousBC.cpp
25 26
       ./CompressibleFlowSolver.cpp 
       ./EquationSystems/CompressibleFlowSystem.cpp
27
       ./EquationSystems/EulerCFE.cpp
28
       ./EquationSystems/IsentropicVortex.cpp
29
       ./EquationSystems/NavierStokesCFE.cpp
30
       ./EquationSystems/RinglebFlow.cpp
31
       ./Filters/FilterEnergy.cpp
32
       ./Forcing/ForcingAxiSymmetric.cpp
33
       ./Forcing/ForcingNozzle.cpp
34
       ./Misc/VariableConverter.cpp
35
       ./RiemannSolvers/AverageSolver.cpp
36 37 38 39
       ./RiemannSolvers/AUSM0Solver.cpp
       ./RiemannSolvers/AUSM1Solver.cpp
       ./RiemannSolvers/AUSM2Solver.cpp
       ./RiemannSolvers/AUSM3Solver.cpp
Dave Moxey's avatar
Dave Moxey committed
40
       ./RiemannSolvers/CompressibleSolver.cpp
41
       ./RiemannSolvers/ExactSolverToro.cpp
Gianmarco Mengaldo's avatar
Gianmarco Mengaldo committed
42 43
       ./RiemannSolvers/HLLSolver.cpp
       ./RiemannSolvers/HLLCSolver.cpp
Dave Moxey's avatar
Dave Moxey committed
44 45
       ./RiemannSolvers/LaxFriedrichsSolver.cpp
       ./RiemannSolvers/RoeSolver.cpp
46
       )
47

48
    ADD_SOLVER_EXECUTABLE(CompressibleFlowSolver solvers 
49
			${CompressibleFlowSolverSource})
50 51

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

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

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