-
Notifications
You must be signed in to change notification settings - Fork 36
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
New test to verify Euler source term
Checks source term against a finite-difference of the convective fluxes. Since the source term is analytically derived for the manufactured solution, it also checks for the physical flux in a way. Also, new test for grid convegence of Euler. Not supposed to pass Test project /home/ddong/Codes/PHiLiP/build_release Start 1: 1D_numerical_flux_conservation 1/27 Test #1: 1D_numerical_flux_conservation .............................. Passed 0.17 sec Start 2: 2D_numerical_flux_conservation 2/27 Test #2: 2D_numerical_flux_conservation .............................. Passed 0.17 sec Start 3: 3D_numerical_flux_conservation 3/27 Test #3: 3D_numerical_flux_conservation .............................. Passed 0.16 sec Start 4: 1D_jacobian_matrix_regression 4/27 Test #4: 1D_jacobian_matrix_regression ............................... Passed 0.45 sec Start 5: 2D_jacobian_matrix_regression 5/27 Test #5: 2D_jacobian_matrix_regression ............................... Passed 0.50 sec Start 6: 3D_jacobian_matrix_regression 6/27 Test #6: 3D_jacobian_matrix_regression ............................... Passed 1.57 sec Start 7: 1D_euler_convert_primitive_conservative 7/27 Test #7: 1D_euler_convert_primitive_conservative ..................... Passed 0.16 sec Start 8: 2D_euler_convert_primitive_conservative 8/27 Test #8: 2D_euler_convert_primitive_conservative ..................... Passed 0.20 sec Start 9: 3D_euler_convert_primitive_conservative 9/27 Test #9: 3D_euler_convert_primitive_conservative ..................... Passed 0.44 sec Start 10: 1D_euler_manufactured_solution_source 10/27 Test #10: 1D_euler_manufactured_solution_source ....................... Passed 0.16 sec Start 11: 2D_euler_manufactured_solution_source 11/27 Test #11: 2D_euler_manufactured_solution_source ....................... Passed 0.21 sec Start 12: 3D_euler_manufactured_solution_source 12/27 Test #12: 3D_euler_manufactured_solution_source ....................... Passed 0.54 sec Start 13: 1D_ADVECTION_IMPLICIT_MANUFACTURED_SOLUTION 13/27 Test #13: 1D_ADVECTION_IMPLICIT_MANUFACTURED_SOLUTION ................. Passed 0.49 sec Start 14: 2D_ADVECTION_IMPLICIT_MANUFACTURED_SOLUTION 14/27 Test #14: 2D_ADVECTION_IMPLICIT_MANUFACTURED_SOLUTION ................. Passed 2.38 sec Start 15: 3D_ADVECTION_IMPLICIT_MANUFACTURED_SOLUTION 15/27 Test #15: 3D_ADVECTION_IMPLICIT_MANUFACTURED_SOLUTION ................. Passed 25.05 sec Start 16: 1D_DIFFUSION_IMPLICIT_MANUFACTURED_SOLUTION 16/27 Test #16: 1D_DIFFUSION_IMPLICIT_MANUFACTURED_SOLUTION ................. Passed 0.58 sec Start 17: 2D_DIFFUSION_IMPLICIT_MANUFACTURED_SOLUTION 17/27 Test #17: 2D_DIFFUSION_IMPLICIT_MANUFACTURED_SOLUTION ................. Passed 1.49 sec Start 18: 3D_DIFFUSION_IMPLICIT_MANUFACTURED_SOLUTION 18/27 Test #18: 3D_DIFFUSION_IMPLICIT_MANUFACTURED_SOLUTION ................. Passed 48.04 sec Start 19: 1D_CONVECTION_DIFFUSION_IMPLICIT_MANUFACTURED_SOLUTION 19/27 Test #19: 1D_CONVECTION_DIFFUSION_IMPLICIT_MANUFACTURED_SOLUTION ...... Passed 0.51 sec Start 20: 2D_CONVECTION_DIFFUSION_IMPLICIT_MANUFACTURED_SOLUTION 20/27 Test #20: 2D_CONVECTION_DIFFUSION_IMPLICIT_MANUFACTURED_SOLUTION ...... Passed 1.50 sec Start 21: 3D_CONVECTION_DIFFUSION_IMPLICIT_MANUFACTURED_SOLUTION 21/27 Test #21: 3D_CONVECTION_DIFFUSION_IMPLICIT_MANUFACTURED_SOLUTION ...... Passed 43.90 sec Start 22: 1D_ADVECTION_VECTOR_VALUED_IMPLICIT_MANUFACTURED_SOLUTION 22/27 Test #22: 1D_ADVECTION_VECTOR_VALUED_IMPLICIT_MANUFACTURED_SOLUTION ... Passed 0.49 sec Start 23: 2D_ADVECTION_VECTOR_VALUED_IMPLICIT_MANUFACTURED_SOLUTION 23/27 Test #23: 2D_ADVECTION_VECTOR_VALUED_IMPLICIT_MANUFACTURED_SOLUTION ... Passed 6.13 sec Start 24: 3D_ADVECTION_VECTOR_VALUED_IMPLICIT_MANUFACTURED_SOLUTION 24/27 Test #24: 3D_ADVECTION_VECTOR_VALUED_IMPLICIT_MANUFACTURED_SOLUTION ... Passed 20.49 sec Start 25: 1D_EULER_IMPLICIT_MANUFACTURED_SOLUTION 25/27 Test #25: 1D_EULER_IMPLICIT_MANUFACTURED_SOLUTION .....................***Failed 0.42 sec Start 26: 2D_EULER_IMPLICIT_MANUFACTURED_SOLUTION 26/27 Test #26: 2D_EULER_IMPLICIT_MANUFACTURED_SOLUTION .....................***Failed 0.41 sec Start 27: 3D_EULER_IMPLICIT_MANUFACTURED_SOLUTION 27/27 Test #27: 3D_EULER_IMPLICIT_MANUFACTURED_SOLUTION .....................***Failed 0.41 sec 89% tests passed, 3 tests failed out of 27 Total Test time (real) = 157.22 sec The following tests FAILED: 25 - 1D_EULER_IMPLICIT_MANUFACTURED_SOLUTION (Failed) 26 - 2D_EULER_IMPLICIT_MANUFACTURED_SOLUTION (Failed) 27 - 3D_EULER_IMPLICIT_MANUFACTURED_SOLUTION (Failed) Errors while running CTest
- Loading branch information
1 parent
5ea8857
commit 011a7c5
Showing
9 changed files
with
372 additions
and
31 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,11 +1,12 @@ | ||
# Unit tests | ||
add_subdirectory(numerical_flux) | ||
add_subdirectory(regression) | ||
add_subdirectory(euler_unit_test) | ||
|
||
# Integration tests | ||
add_subdirectory(advection_implicit) | ||
add_subdirectory(diffusion_implicit) | ||
add_subdirectory(convection_diffusion_implicit) | ||
|
||
add_subdirectory(advection_vector_implicit) | ||
|
||
|
||
add_subdirectory(euler_unit_test) | ||
add_subdirectory(euler_implicit) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,43 @@ | ||
# Listing of Parameters | ||
# --------------------- | ||
# Number of dimensions | ||
set dimension = 1 | ||
|
||
# The PDE we want to solve. Choices are | ||
# <diffusion|diffusion|convection_diffusion>. | ||
set pde_type = euler | ||
|
||
subsection ODE solver | ||
|
||
set ode_output = verbose | ||
|
||
# Maximum nonlinear solver iterations | ||
set nonlinear_max_iterations = 500000 | ||
|
||
# Nonlinear solver residual tolerance | ||
set nonlinear_steady_residual_tolerance = 1e-12 | ||
|
||
# Print every print_iteration_modulo iterations of the nonlinear solver | ||
set print_iteration_modulo = 1 | ||
|
||
# Explicit or implicit solverChoices are <explicit|implicit>. | ||
set ode_solver_type = implicit | ||
end | ||
|
||
subsection manufactured solution convergence study | ||
# Last degree used for convergence study | ||
set degree_end = 3 | ||
|
||
# Starting degree for convergence study | ||
set degree_start = 1 | ||
|
||
# Multiplier on grid size. nth-grid will be of size | ||
# (initial_grid^grid_progression)^dim | ||
set grid_progression = 1.5 | ||
|
||
# Initial grid of size (initial_grid_size)^dim | ||
set initial_grid_size = 3 | ||
|
||
# Number of grids in grid study | ||
set number_of_grids = 6 | ||
end |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,41 @@ | ||
# Listing of Parameters | ||
# --------------------- | ||
# Number of dimensions | ||
set dimension = 2 | ||
|
||
# The PDE we want to solve. Choices are | ||
# <advection|diffusion|convection_diffusion>. | ||
set pde_type = euler | ||
|
||
subsection ODE solver | ||
# Maximum nonlinear solver iterations | ||
set nonlinear_max_iterations = 500000 | ||
|
||
# Nonlinear solver residual tolerance | ||
set nonlinear_steady_residual_tolerance = 1e-13 | ||
|
||
# Print every print_iteration_modulo iterations of the nonlinear solver | ||
set print_iteration_modulo = 1 | ||
|
||
# Explicit or implicit solverChoices are <explicit|implicit>. | ||
set ode_solver_type = implicit | ||
end | ||
|
||
subsection manufactured solution convergence study | ||
# Last degree used for convergence study | ||
set degree_end = 3 | ||
|
||
# Starting degree for convergence study | ||
set degree_start = 1 | ||
|
||
# Multiplier on grid size. nth-grid will be of size | ||
# (initial_grid^grid_progression)^dim | ||
set grid_progression = 1.5 | ||
|
||
# Initial grid of size (initial_grid_size)^dim | ||
set initial_grid_size = 2 | ||
|
||
# Number of grids in grid study | ||
set number_of_grids = 5 | ||
end | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,42 @@ | ||
# Listing of Parameters | ||
# --------------------- | ||
# Number of dimensions | ||
set dimension = 3 | ||
|
||
# The PDE we want to solve. Choices are | ||
# <advection|diffusion|convection_diffusion>. | ||
set pde_type = euler | ||
|
||
subsection ODE solver | ||
# Maximum nonlinear solver iterations | ||
set nonlinear_max_iterations = 500000 | ||
|
||
# Nonlinear solver residual tolerance | ||
set nonlinear_steady_residual_tolerance = 1e-13 | ||
|
||
# Print every print_iteration_modulo iterations of the nonlinear solver | ||
set print_iteration_modulo = 1 | ||
|
||
# Explicit or implicit solverChoices are <explicit|implicit>. | ||
set ode_solver_type = implicit | ||
end | ||
|
||
subsection manufactured solution convergence study | ||
# Last degree used for convergence study | ||
set degree_end = 3 | ||
|
||
# Starting degree for convergence study | ||
set degree_start = 1 | ||
|
||
# Multiplier on grid size. nth-grid will be of size | ||
# (initial_grid^grid_progression)^dim | ||
set grid_progression = 1.5 | ||
|
||
# Initial grid of size (initial_grid_size)^dim | ||
set initial_grid_size = 2 | ||
|
||
# Number of grids in grid study | ||
set number_of_grids = 4 | ||
end | ||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,22 @@ | ||
set(TEST_OUTPUT_DIR ${CMAKE_CURRENT_BINARY_DIR}) | ||
|
||
configure_file(1d_euler_implicit.prm 1d_euler_implicit.prm COPYONLY) | ||
add_test( | ||
NAME 1D_EULER_IMPLICIT_MANUFACTURED_SOLUTION | ||
COMMAND ${EXECUTABLE_OUTPUT_PATH}/PHiLiP_1D -i ${CMAKE_CURRENT_BINARY_DIR}/1d_euler_implicit.prm | ||
WORKING_DIRECTORY ${TEST_OUTPUT_DIR} | ||
) | ||
|
||
configure_file(2d_euler_implicit.prm 2d_euler_implicit.prm COPYONLY) | ||
add_test( | ||
NAME 2D_EULER_IMPLICIT_MANUFACTURED_SOLUTION | ||
COMMAND ${EXECUTABLE_OUTPUT_PATH}/PHiLiP_2D -i ${CMAKE_CURRENT_BINARY_DIR}/2d_euler_implicit.prm | ||
WORKING_DIRECTORY ${TEST_OUTPUT_DIR} | ||
) | ||
|
||
configure_file(3d_euler_implicit.prm 3d_euler_implicit.prm COPYONLY) | ||
add_test( | ||
NAME 3D_EULER_IMPLICIT_MANUFACTURED_SOLUTION | ||
COMMAND ${EXECUTABLE_OUTPUT_PATH}/PHiLiP_3D -i ${CMAKE_CURRENT_BINARY_DIR}/3d_euler_implicit.prm | ||
WORKING_DIRECTORY ${TEST_OUTPUT_DIR} | ||
) |
Oops, something went wrong.