Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merging thesis_gemein_2022 into TrixiAtmo.jl #2

Merged
merged 21 commits into from
Aug 17, 2024
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Improve formatting
Arpit-Babbar committed Aug 6, 2024
commit d146b8cd247a947b7a8ce510f8652c3a85d8b813
76 changes: 56 additions & 20 deletions test/test_2d_moist_euler.jl
Original file line number Diff line number Diff line change
@@ -71,13 +71,19 @@ end
@trixiatmo_testset "elixir_moist_euler_moist_bubble" begin
@test_trixi_include(joinpath(EXAMPLES_DIR, "elixir_moist_euler_moist_bubble.jl"),
l2=[
7.351043427240923e-6, 1.1070342432069074e-7,
0.0006974588377288118, 1.715668353329522, 8.831269143134121e-7,
7.351043427240923e-6,
1.1070342432069074e-7,
0.0006974588377288118,
1.715668353329522,
8.831269143134121e-7,
1.025579538944668e-6,
],
linf=[
8.055695643149896e-5, 1.1985203677080201e-6,
0.005897639251024437, 19.24776030163048, 1.0043133039065386e-5,
8.055695643149896e-5,
1.1985203677080201e-6,
0.005897639251024437,
19.24776030163048,
1.0043133039065386e-5,
1.1439046776775402e-5,
],
polydeg=3,
@@ -97,12 +103,20 @@ end
@test_trixi_include(joinpath(EXAMPLES_DIR,
"elixir_moist_euler_nonhydrostatic_gravity_waves.jl"),
l2=[
3.5420405147937216e-5, 0.0021265774152361538,
0.01172830034500581, 9.898560584459009, 0.0, 0.0,
3.5420405147937216e-5,
0.0021265774152361538,
0.01172830034500581,
9.898560584459009,
0.0,
0.0,
],
linf=[
0.0017602202683439927, 0.14941973735192882, 0.5945327351674782,
489.89171406268724, 0.0, 0.0,
0.0017602202683439927,
0.14941973735192882,
0.5945327351674782,
489.89171406268724,
0.0,
0.0,
],
polydeg=3,
cells_per_dimension=(10, 8),
@@ -120,12 +134,20 @@ end
@trixiatmo_testset "elixir_moist_euler_source_terms_dry" begin
@test_trixi_include(joinpath(EXAMPLES_DIR, "elixir_moist_euler_source_terms_dry.jl"),
l2=[
1.3992076791281227e-5, 1.4486417486907815e-5,
2.609465609739115e-5, 6.323484379066432e-5, 0.0, 0.0,
1.3992076791281227e-5,
1.4486417486907815e-5,
2.609465609739115e-5,
6.323484379066432e-5,
0.0,
0.0,
],
linf=[
7.549984224430872e-5, 0.00010065352517929504,
0.00015964938767742964, 0.0005425860570698049, 0.0, 0.0,
7.549984224430872e-5,
0.00010065352517929504,
0.00015964938767742964,
0.0005425860570698049,
0.0,
0.0,
],
polydeg=3,
cells_per_dimension=(10, 8),
@@ -143,13 +165,19 @@ end
@trixiatmo_testset "elixir_moist_euler_source_terms_moist" begin
@test_trixi_include(joinpath(EXAMPLES_DIR, "elixir_moist_euler_source_terms_moist.jl"),
l2=[
1.8307663991129928e-5, 0.04008077097727512,
0.015104690877128945, 0.5242098451814421, 5.474006801215573e-10,
1.8307663991129928e-5,
0.04008077097727512,
0.015104690877128945,
0.5242098451814421,
5.474006801215573e-10,
1.1103883907226752e-10,
],
linf=[
0.00013219484616722177, 0.10771224937484702,
0.03789645369775574, 3.90888311638264, 3.938382289041286e-9,
0.00013219484616722177,
0.10771224937484702,
0.03789645369775574,
3.90888311638264,
3.938382289041286e-9,
6.892033377287209e-10,
],
polydeg=3,
@@ -169,12 +197,20 @@ end
@test_trixi_include(joinpath(EXAMPLES_DIR,
"elixir_moist_euler_source_terms_split_moist.jl"),
l2=[
0.0001480393848825987, 0.11945481031503036, 0.07460345535073129,
5.943049264963717, 4.471792794168725e-9, 7.10320253652373e-10,
0.0001480393848825987,
0.11945481031503036,
0.07460345535073129,
5.943049264963717,
4.471792794168725e-9,
7.10320253652373e-10,
],
linf=[
0.0007084183215528839, 0.5047962996690205, 0.3697160082709827,
27.843155286573165, 2.1168438904322837e-8, 3.691699932047233e-9,
0.0007084183215528839,
0.5047962996690205,
0.3697160082709827,
27.843155286573165,
2.1168438904322837e-8,
3.691699932047233e-9,
],
polydeg=3,
cells_per_dimension=(10, 8),