|
2 | 2 | design = 'ConservativeAdvection.md' |
3 | 3 | issues = '#11852' |
4 | 4 |
|
| 5 | + [error] |
| 6 | + requirement = 'The system shall handle unique cases when trying to compute conservative advection ' |
| 7 | + [no_velocity] |
| 8 | + type = RunException |
| 9 | + input = no_upwinding_1D.i |
| 10 | + detail = 'by throwing an error when no velocity is given,' |
| 11 | + expect_err = "Either velocity_variable or velocity_material must be specificied, not both, nor velocity." |
| 12 | + [] |
| 13 | + [ad_no_velocity] |
| 14 | + type = RunException |
| 15 | + input = ad_no_upwinding_1D.i |
| 16 | + detail = 'by throwing an error when no velocity is given when using AD,' |
| 17 | + expect_err = "Either velocity_variable or velocity_material must be specificied, not both, nor velocity." |
| 18 | + [] |
| 19 | + [deprecated_velocity] |
| 20 | + type = RunException |
| 21 | + input = no_upwinding_1D.i |
| 22 | + detail = 'by throwing a deprecation warning when no velocity is given when using AD,' |
| 23 | + cli_args = "Kernels/advection/velocity='1 0 0'" |
| 24 | + allow_deprecated = False |
| 25 | + expect_err = "'velocity' has been deprecated and will be removed on 12/31/2025. Please use 'velocity_variable ' instead." |
| 26 | + [] |
| 27 | + [ad_deprecated_velocity] |
| 28 | + type = RunException |
| 29 | + input = ad_no_upwinding_1D.i |
| 30 | + detail = 'by throwing a deprecation warning when velocity is given when using AD,' |
| 31 | + cli_args = "Kernels/advection/velocity=v Materials/v/type=ADGenericConstantVectorMaterial Materials/v/prop_names=v Materials/v/prop_values='1 0 0'" |
| 32 | + allow_deprecated = False |
| 33 | + expect_err = "The velocity parameter in ADConservativeAdvection will be removed on 12/31/2025. Use velocity_material or velocity_variable instead." |
| 34 | + [] |
| 35 | + [] |
| 36 | + |
5 | 37 | [upwinding] |
6 | 38 | requirement = 'The system shall include the ability to compute the residual contribution from ' |
7 | 39 | 'the conservative form of the advection operator' |
|
11 | 43 | input = no_upwinding_jacobian.i |
12 | 44 | ratio_tol = 1E-7 |
13 | 45 | difference_tol = 1E-7 |
14 | | - |
15 | | - detail = 'without upwinding in 3D,' |
| 46 | + detail = 'and compute a perfect jacobian without upwinding in 3D,' |
16 | 47 | [] |
17 | 48 | [full_upwinding_jacobian] |
18 | 49 | type = PetscJacobianTester |
19 | 50 | input = full_upwinding_jacobian.i |
20 | 51 | ratio_tol = 1E-7 |
21 | 52 | difference_tol = 1E-7 |
22 | | - |
23 | | - detail = 'with upwinding in 3D,' |
| 53 | + detail = 'and compute a perfect jacobian with upwinding in 3D,' |
24 | 54 | [] |
25 | 55 | [no_upwinding_1D] |
26 | 56 | type = Exodiff |
27 | 57 | input = no_upwinding_1D.i |
28 | 58 | exodiff = no_upwinding_1D_out.e |
29 | 59 | abs_zero = 1E-7 |
30 | | - |
31 | | - detail = 'without upwinding in 1D,' |
| 60 | + cli_args = "Kernels/advection/velocity_variable='1 0 0'" |
| 61 | + detail = 'without upwinding in 1D, with velocity given as a variable,' |
| 62 | + [] |
| 63 | + [no_upwinding_1D_mat] |
| 64 | + type = Exodiff |
| 65 | + input = no_upwinding_1D.i |
| 66 | + prereq = upwinding/no_upwinding_1D |
| 67 | + exodiff = no_upwinding_1D_mat_out.e |
| 68 | + abs_zero = 1E-7 |
| 69 | + cli_args = "Outputs/file_base=no_upwinding_1D_mat_out Kernels/advection/velocity_material=v Materials/v/type=GenericConstantVectorMaterial Materials/v/prop_names=v Materials/v/prop_values='1 0 0'" |
| 70 | + detail = 'without upwinding in 1D, with velocity given as a material,' |
| 71 | + [] |
| 72 | + [ad_no_upwinding_1D] |
| 73 | + type = Exodiff |
| 74 | + input = ad_no_upwinding_1D.i |
| 75 | + exodiff = ad_no_upwinding_1D_out.e |
| 76 | + abs_zero = 1E-7 |
| 77 | + cli_args = "Kernels/advection/velocity_variable='1 0 0'" |
| 78 | + detail = 'without upwinding in 1D, with velocity given as a variable, using AD,' |
| 79 | + [] |
| 80 | + [ad_no_upwinding_1D_mat] |
| 81 | + type = Exodiff |
| 82 | + input = ad_no_upwinding_1D.i |
| 83 | + prereq = upwinding/ad_no_upwinding_1D |
| 84 | + exodiff = ad_no_upwinding_1D_mat_out.e |
| 85 | + abs_zero = 1E-7 |
| 86 | + cli_args = "Outputs/file_base=ad_no_upwinding_1D_mat_out Kernels/advection/velocity_material=v Materials/v/type=ADGenericConstantVectorMaterial Materials/v/prop_names=v Materials/v/prop_values='1 0 0'" |
| 87 | + detail = 'without upwinding in 1D, with velocity given as a material, using AD,' |
32 | 88 | [] |
33 | 89 | [full_upwinding_1D] |
34 | 90 | type = Exodiff |
35 | 91 | input = full_upwinding_1D.i |
36 | 92 | exodiff = full_upwinding_1D_out.e |
37 | 93 | abs_zero = 1E-7 |
38 | | - |
39 | 94 | detail = 'with upwinding in 1D,' |
40 | 95 | [] |
41 | 96 | [no_upwinding_2D] |
42 | 97 | type = Exodiff |
43 | 98 | input = no_upwinding_2D.i |
44 | 99 | exodiff = no_upwinding_2D_out.e |
45 | 100 | abs_zero = 1E-7 |
46 | | - |
47 | 101 | detail = 'without upwinding in 2D,' |
48 | 102 | [] |
49 | 103 | [full_upwinding_2D] |
50 | 104 | type = Exodiff |
51 | 105 | input = full_upwinding_2D.i |
52 | 106 | exodiff = full_upwinding_2D_out.e |
53 | 107 | abs_zero = 1E-7 |
54 | | - |
55 | 108 | detail = 'with upwinding in 2D,' |
56 | 109 | [] |
57 | 110 | [none_in_all_out] |
58 | 111 | type = Exodiff |
59 | 112 | input = none_in_all_out.i |
60 | 113 | exodiff = none_in_all_out_out.e |
61 | 114 | abs_zero = 1E-7 |
62 | | - |
63 | 115 | detail = 'with upwinding and an outflow boundary condition, and' |
64 | 116 | [] |
65 | 117 | [none_in_none_out] |
66 | 118 | type = CSVDiff |
67 | 119 | input = none_in_none_out.i |
68 | 120 | csvdiff = none_in_none_out_out.csv |
69 | 121 | abs_zero = 1E-7 |
70 | | - |
71 | 122 | detail = 'without any outflow boundary conditions.' |
72 | 123 | [] |
73 | 124 | [] |
|
0 commit comments