Skip to content

Commit f2b982d

Browse files
ewquonglwagnernavidcygiordano
authored
Add neutral atmospheric boundary layer example (#615)
* Add neutral ABL example from Moeng & Sullivan 1994 * Cleanup, add plotting * Numbers must have meaning. Co-authored-by: Gregory L. Wagner <gregory.leclaire.wagner@gmail.com> * GPU plotting fix * Clarify simulation "S" * Add example for neutral atmospheric boundary layer at least temporarily to see how the example renders in the docs preview * Apply suggestions from code review Co-authored-by: Navid C. Constantinou <navidcy@users.noreply.github.com> * Apply suggestion from @navidcy * few tweaks * fix title * undo * fix citations * Update neutral_atmospheric_boundary_layer.jl * fix refs + tweaks * tweaks * Update simulation duration from 6 hours to 5 hours * Apply suggestion from @navidcy * tweaks * drop empty lines * disable most examples * enable dry_thermal_bubble * show figs * adds explanations * tweaks * remove duplicate plots * don't show Δz array * reenable examples * cleaner * Update examples/neutral_atmospheric_boundary_layer.jl Co-authored-by: Mosè Giordano <765740+giordano@users.noreply.github.com> * bit cleaner plotting * Update outputs and add plotting interval * Best practice with WENO9 * Cleanup docs * Update examples/neutral_atmospheric_boundary_layer.jl Co-authored-by: Navid C. Constantinou <navidcy@users.noreply.github.com> * DROP ME: Check out Oceananigans PR * Reduce precision to Float32 * Apply suggestion from @navidcy Co-authored-by: Navid C. Constantinou <navidcy@users.noreply.github.com> * Clean up docs and plotting * More cleanup * All averaged output at cell centers * Fix plot * Postproc fixes * Apply suggestion from @navidcy * Apply suggestion from @giordano Co-authored-by: Mosè Giordano <765740+giordano@users.noreply.github.com> * attempt to compute derivatives on the fly * fix bug * Revert "DROP ME: Check out Oceananigans PR" This reverts commit 6c27e77. * Update examples/neutral_atmospheric_boundary_layer.jl Co-authored-by: Mosè Giordano <765740+giordano@users.noreply.github.com> * Fix plotting * drop empty line * Minor cleanup, clarification * Minor doc edit * More docs edits --------- Co-authored-by: Gregory L. Wagner <gregory.leclaire.wagner@gmail.com> Co-authored-by: Navid C. Constantinou <navidcy@users.noreply.github.com> Co-authored-by: Mosè Giordano <765740+giordano@users.noreply.github.com> Co-authored-by: Mosè Giordano <mose@gnu.org>
1 parent de2fd48 commit f2b982d

4 files changed

Lines changed: 490 additions & 1 deletion

File tree

docs/make.jl

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -40,6 +40,7 @@ examples = [
4040
Example("Precipitating shallow cumulus (RICO)", "rico"; build_always=false, gpu=false),
4141
Example("Convection over prescribed sea surface temperature (SST)", "prescribed_sea_surface_temperature"; build_always=true, gpu=false),
4242
Example("Inertia gravity wave: many time steppers", "inertia_gravity_wave"; build_always=true, gpu=false),
43+
Example("Neutral atmospheric boundary layer", "neutral_atmospheric_boundary_layer"; build_always=false, gpu=true),
4344
Example("Single column radiation", "single_column_radiation"; build_always=true, gpu=false),
4445
Example("Stationary parcel model", "stationary_parcel_model"; build_always=true, gpu=false),
4546
Example("Rising parcel: adiabatic ascent", "rising_parcels"; build_always=true, gpu=false),

docs/src/breeze.bib

Lines changed: 45 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -573,7 +573,7 @@ @article{Klemp2011
573573
doi = {10.1175/MWR-D-10-05046.1}
574574
}
575575

576-
@article{Sullivan2014,
576+
@article{Sullivan1994,
577577
author = {Sullivan, Peter P. and McWilliams, James C. and Moeng, Chin-Hoh},
578578
title = {A subgrid-scale model for large-eddy simulation of planetary boundary-layer flows},
579579
journal = {Boundary-Layer Meteorology},
@@ -584,6 +584,50 @@ @article{Sullivan2014
584584
doi = {10.1007/BF00713741}
585585
}
586586

587+
@article{Moeng1994,
588+
author = {Moeng, Chin-Hoh and Sullivan, Peter P.},
589+
title = {A comparison of shear- and buoyancy-driven planetary boundary layer flows},
590+
journal = {Journal of the Atmospheric Sciences},
591+
volume = {51},
592+
number = {7},
593+
pages = {999--1022},
594+
year = {1994},
595+
doi = {10.1175/1520-0469(1994)051<0999:ACOSAB>2.0.CO;2}
596+
}
597+
598+
@article{Berg2020,
599+
author = {Berg, Jacob and Patton, Edward G. and Sullivan, Peter P.},
600+
title = {{Large-eddy simulation of conditionally neutral boundary layers: A mesh resolution sensitivity study}},
601+
journal = {Journal of the Atmospheric Sciences},
602+
volume = {77},
603+
number = {6},
604+
pages = {1969--1991},
605+
year = {2020},
606+
doi = {10.1175/JAS-D-19-0252.1}
607+
}
608+
609+
@article{Pedersen2014,
610+
author = {Pedersen, Jesper G. and Gryning, Sven-Erik and Kelly, Mark},
611+
title = {On the structure and adjustment of inversion-capped neutral atmospheric boundary-layer flows: {Large}-eddy simulation study},
612+
journal = {Boundary-Layer Meteorology},
613+
volume = {153},
614+
number = {1},
615+
pages = {43--62},
616+
year = {2014},
617+
doi = {10.1007/s10546-014-9937-z}
618+
}
619+
620+
@article{Sauer2020,
621+
author = {Sauer, Jeremy A. and {Mu{\~n}oz-Esparza}, Domingo},
622+
title = {The {FastEddy}\textregistered{} resident-{GPU} accelerated large-eddy simulation framework: {Model} formulation, dynamical-core validation and performance benchmarks},
623+
journal = {Journal of Advances in Modeling Earth Systems},
624+
volume = {12},
625+
number = {11},
626+
pages = {1--30},
627+
year = {2020},
628+
doi = {10.1029/2020MS002100}
629+
}
630+
587631
@article{Simmons1981,
588632
author = {Simmons, Adrian J. and Burridge, David M.},
589633
title = {An energy and angular-momentum conserving vertical finite-difference scheme and hybrid vertical coordinates},

examples/Project.toml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,8 @@ Breeze = "660aa2fb-d4c8-4359-a52c-9c057bc511da"
44
CUDA = "052768ef-5323-5732-b1bb-66c8b64840ba"
55
CairoMakie = "13f3f980-e62b-5c42-98c6-ff1f3baf88f0"
66
CloudMicrophysics = "6a9e3e04-43cd-43ba-94b9-e8782df3c71b"
7+
ITerm2Images = "9348d769-4460-4e86-9927-452f530f5601"
8+
JLD2 = "033835bb-8acc-5ee8-8aae-3f567f8a3819"
79
NCDatasets = "85f8d34a-cbdd-5861-8df4-14fed0d494ab"
810
Oceananigans = "9e8cae18-63c1-5223-a75c-80ca9d6e9a09"
911
Printf = "de0858da-6303-5e67-8744-51eddeeeb8d7"

0 commit comments

Comments
 (0)