Skip to content

Commit

Permalink
Try more cosine hills tests
Browse files Browse the repository at this point in the history
  • Loading branch information
dennisYatunin committed Jul 24, 2024
1 parent adc75ce commit e697e71
Show file tree
Hide file tree
Showing 19 changed files with 463 additions and 154 deletions.
383 changes: 259 additions & 124 deletions .buildkite/pipeline.yml

Large diffs are not rendered by default.

10 changes: 5 additions & 5 deletions config/model_configs/box_analytic_cosine_hills_test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,12 +5,12 @@ topography: "Cosine3D"
x_max: 300e3
y_max: 300e3
z_max: 21e3
x_elem: 30
y_elem: 30
z_elem: 100
x_elem: 15
y_elem: 15
z_elem: 50
z_stretch: false
dt: "6secs"
t_end: "1.3days"
dt: "12secs"
t_end: "4days"
rayleigh_sponge: true
toml: [toml/analytic_topography_test.toml]
analytic_check: true
Expand Down
21 changes: 21 additions & 0 deletions config/model_configs/box_analytic_no_topography_test.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
config: "box"
FLOAT_TYPE: "Float64"
initial_condition: "ConstantBuoyancyFrequencyProfile"
topography: "Cosine3D"
x_max: 300e3
y_max: 300e3
z_max: 21e3
x_elem: 15
y_elem: 15
z_elem: 50
z_stretch: false
max_topography_height: 0
dt: "12secs"
t_end: "4days"
rayleigh_sponge: true
toml: [toml/analytic_topography_test.toml]
analytic_check: true
output_default_diagnostics: false
diagnostics:
- short_name: [orog, ua, wa, uapredicted, wapredicted, uaerror, waerror, c1error, c3error]
period: 1hours
Original file line number Diff line number Diff line change
Expand Up @@ -3,14 +3,14 @@ FLOAT_TYPE: "Float64"
initial_condition: "ConstantBuoyancyFrequencyProfile"
topography: "Cosine2D"
x_max: 300e3
y_max: 20e3
y_max: 40e3
z_max: 21e3
x_elem: 30
x_elem: 15
y_elem: 2
z_elem: 100
z_elem: 50
z_stretch: false
dt: "6secs"
t_end: "3days"
dt: "12secs"
t_end: "6days"
rayleigh_sponge: true
toml: [toml/analytic_topography_test.toml]
analytic_check: true
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,11 +4,11 @@ initial_condition: "ConstantBuoyancyFrequencyProfile"
topography: "Cosine2D"
x_max: 300e3
z_max: 21e3
x_elem: 30
z_elem: 100
x_elem: 15
z_elem: 50
z_stretch: false
dt: "6secs"
t_end: "4days"
dt: "12secs"
t_end: "10days"
rayleigh_sponge: true
toml: [toml/analytic_topography_test.toml]
analytic_check: true
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,11 +4,11 @@ initial_condition: "ConstantBuoyancyFrequencyProfile"
topography: "Cosine2D"
x_max: 300e3
z_max: 84e3
x_elem: 30
z_elem: 400
x_elem: 15
z_elem: 200
z_stretch: false
dt: "6secs"
t_end: "30days"
dt: "12secs"
t_end: "100days"
rayleigh_sponge: true
toml: [toml/analytic_topography_high_sponge_test.toml]
analytic_check: true
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
config: "plane"
FLOAT_TYPE: "Float64"
initial_condition: "ConstantBuoyancyFrequencyProfile"
topography: "Cosine2D"
x_max: 300e3
z_max: 84e3
x_elem: 15
z_elem: 200
z_stretch: false
dt: "12secs"
t_end: "100days"
rayleigh_sponge: true
toml: [toml/analytic_topography_test.toml]
analytic_check: true
output_default_diagnostics: false
diagnostics:
- short_name: [orog, ua, wa, uapredicted, wapredicted, uaerror, waerror, c1error, c3error]
period: 1hours
Original file line number Diff line number Diff line change
Expand Up @@ -4,11 +4,11 @@ initial_condition: "ConstantBuoyancyFrequencyProfile"
topography: "Cosine2D"
x_max: 300e3
z_max: 21e3
x_elem: 30
z_elem: 100
x_elem: 15
z_elem: 50
z_stretch: false
dt: "6secs"
t_end: "50days"
dt: "12secs"
t_end: "100days"
rayleigh_sponge: true
toml: [toml/analytic_topography_test.toml]
analytic_check: true
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,11 +4,11 @@ initial_condition: "ConstantBuoyancyFrequencyProfile"
topography: "Cosine2D"
x_max: 300e3
z_max: 21e3
x_elem: 30
z_elem: 100
x_elem: 15
z_elem: 50
z_stretch: false
dt: "6secs"
t_end: "50days"
dt: "12secs"
t_end: "100days"
rayleigh_sponge: true
toml: [toml/analytic_topography_test.toml]
analytic_check: true
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
config: "plane"
FLOAT_TYPE: "Float64"
initial_condition: "ConstantBuoyancyFrequencyProfile"
topography: "Cosine2D"
x_max: 300e3
z_max: 21e3
x_elem: 15
z_elem: 50
z_stretch: false
dt: "12secs"
t_end: "100days"
rayleigh_sponge: true
toml: [toml/analytic_topography_strong_sponge_test.toml]
analytic_check: true
output_default_diagnostics: false
diagnostics:
- short_name: [orog, ua, wa, uapredicted, wapredicted, uaerror, waerror, c1error, c3error]
period: 1hours
8 changes: 4 additions & 4 deletions config/model_configs/plane_analytic_cosine_hills_test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,11 +4,11 @@ initial_condition: "ConstantBuoyancyFrequencyProfile"
topography: "Cosine2D"
x_max: 300e3
z_max: 21e3
x_elem: 30
z_elem: 100
x_elem: 15
z_elem: 50
z_stretch: false
dt: "6secs"
t_end: "4days"
dt: "12secs"
t_end: "10days"
rayleigh_sponge: true
toml: [toml/analytic_topography_test.toml]
analytic_check: true
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
config: "plane"
FLOAT_TYPE: "Float64"
initial_condition: "ConstantBuoyancyFrequencyProfile"
topography: "Cosine2D"
x_max: 300e3
z_max: 21e3
x_elem: 15
z_elem: 50
z_stretch: false
dt: "12secs"
t_end: "100days"
rayleigh_sponge: true
toml: [toml/analytic_topography_weak_sponge_test.toml]
analytic_check: true
output_default_diagnostics: false
diagnostics:
- short_name: [orog, ua, wa, uapredicted, wapredicted, uaerror, waerror, c1error, c3error]
period: 1hours
19 changes: 19 additions & 0 deletions config/model_configs/plane_analytic_no_topography_float32_test.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
config: "plane"
FLOAT_TYPE: "Float32"
initial_condition: "ConstantBuoyancyFrequencyProfile"
topography: "Cosine2D"
x_max: 300e3
z_max: 21e3
x_elem: 15
z_elem: 50
z_stretch: false
max_topography_height: 0
dt: "12secs"
t_end: "10days"
rayleigh_sponge: true
toml: [toml/analytic_topography_test.toml]
analytic_check: true
output_default_diagnostics: false
diagnostics:
- short_name: [orog, ua, wa, uapredicted, wapredicted, uaerror, waerror, c1error, c3error]
period: 1hours
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
config: "plane"
FLOAT_TYPE: "Float32"
initial_condition: "ConstantBuoyancyFrequencyProfile"
topography: "Cosine2D"
x_max: 300e3
z_max: 21e3
x_elem: 15
z_elem: 50
z_stretch: false
max_topography_height: 0
dt: "12secs"
t_end: "100days"
rayleigh_sponge: true
toml: [toml/analytic_topography_test.toml]
analytic_check: true
output_default_diagnostics: false
diagnostics:
- short_name: [orog, ua, wa, uapredicted, wapredicted, uaerror, waerror, c1error, c3error]
period: 1hours
19 changes: 19 additions & 0 deletions config/model_configs/plane_analytic_no_topography_long_test.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
config: "plane"
FLOAT_TYPE: "Float64"
initial_condition: "ConstantBuoyancyFrequencyProfile"
topography: "Cosine2D"
x_max: 300e3
z_max: 21e3
x_elem: 15
z_elem: 50
z_stretch: false
max_topography_height: 0
dt: "12secs"
t_end: "100days"
rayleigh_sponge: true
toml: [toml/analytic_topography_test.toml]
analytic_check: true
output_default_diagnostics: false
diagnostics:
- short_name: [orog, ua, wa, uapredicted, wapredicted, uaerror, waerror, c1error, c3error]
period: 1hours
19 changes: 19 additions & 0 deletions config/model_configs/plane_analytic_no_topography_test.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
config: "plane"
FLOAT_TYPE: "Float64"
initial_condition: "ConstantBuoyancyFrequencyProfile"
topography: "Cosine2D"
x_max: 300e3
z_max: 21e3
x_elem: 15
z_elem: 50
z_stretch: false
max_topography_height: 0
dt: "12secs"
t_end: "10days"
rayleigh_sponge: true
toml: [toml/analytic_topography_test.toml]
analytic_check: true
output_default_diagnostics: false
diagnostics:
- short_name: [orog, ua, wa, uapredicted, wapredicted, uaerror, waerror, c1error, c3error]
period: 1hours
13 changes: 13 additions & 0 deletions post_processing/ci_plots.jl
Original file line number Diff line number Diff line change
Expand Up @@ -718,13 +718,26 @@ const AnalyticMountainTest = Union{
Val{:gpu_plane_analytic_schar_mountain_high_top_weak_high_sponge_test},
}
const AnalyticTopographyTest = Union{
Val{:plane_analytic_no_topography_test},
Val{:plane_analytic_no_topography_float32_test},
Val{:gpu_plane_analytic_no_topography_long_test},
Val{:gpu_plane_analytic_no_topography_long_float32_test},
Val{:gpu_plane_analytic_no_topography_no_hyperdiff_long_test},
Val{:gpu_plane_analytic_no_topography_no_hyperdiff_long_float32_test},
Val{:gpu_extruded_plane_analytic_no_topography_test},
Val{:gpu_box_analytic_no_topography_test},
Val{:gpu_box_analytic_no_topography_float32_test},
Val{:plane_analytic_cosine_hills_test},
Val{:plane_analytic_cosine_hills_float32_test},
Val{:gpu_plane_analytic_cosine_hills_long_test},
Val{:gpu_plane_analytic_cosine_hills_long_float32_test},
Val{:gpu_plane_analytic_cosine_hills_strong_sponge_long_test},
Val{:gpu_plane_analytic_cosine_hills_weak_sponge_long_test},
Val{:gpu_plane_analytic_cosine_hills_high_top_long_test},
Val{:gpu_plane_analytic_cosine_hills_high_top_high_sponge_long_test},
Val{:gpu_extruded_plane_analytic_cosine_hills_test},
Val{:gpu_box_analytic_cosine_hills_test},
Val{:gpu_box_analytic_cosine_hills_float32_test},
AnalyticMountainTest,
}

Expand Down
5 changes: 5 additions & 0 deletions toml/analytic_topography_strong_sponge_test.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
[alpha_rayleigh_w]
value = 0.2

[zd_rayleigh]
value = 13000
5 changes: 5 additions & 0 deletions toml/analytic_topography_weak_sponge_test.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
[alpha_rayleigh_w]
value = 0.05

[zd_rayleigh]
value = 13000

0 comments on commit e697e71

Please sign in to comment.