Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
25 commits
Select commit Hold shift + click to select a range
86dd6e9
Initial push of UW PBL
jimmielin Nov 11, 2025
a972d91
Update interfaces to run phase
jimmielin Nov 12, 2025
a3a6794
Refactor HB: move kinematic fluxes and obklen to common vdiff interst…
jimmielin Nov 13, 2025
a544023
Draft metadata
jimmielin Nov 18, 2025
8e83bb0
Remove unused metadata that was removed
jimmielin Nov 19, 2025
3e6fb40
Keep removing moved metadata
jimmielin Nov 19, 2025
1f935fc
Keep removing moved metadata (2)
jimmielin Nov 19, 2025
633b8a6
Initial fixes for b4b in SIMA -- up to constituent diffusion
jimmielin Nov 19, 2025
06fdad4
Fix for #332
jimmielin Nov 20, 2025
8de2a05
Handle dropmixnuc; batch of fixes for constituent vertical diffusion …
jimmielin Nov 20, 2025
92c64a8
Change cflx from coupler to from interstitial
jimmielin Nov 20, 2025
0a75ad2
Do not mutate const_array; mutate q1 in vdiff ndropmixed alternate
jimmielin Nov 21, 2025
ca7f025
Sketch out UW PBL diagnostics; REARRANGE HB tautotx/tautoty and chang…
jimmielin Jan 2, 2026
7896907
Fix turbtype_real dimension to pverp
jimmielin Jan 5, 2026
c47066c
Remove extraneous comments (as they are documented in the actual scheme)
jimmielin Jan 5, 2026
f7ca8e7
Fix qrl unit - should be adj by pressure thickness
jimmielin Mar 9, 2026
ea0f256
Merge branch 'main' into hplin/diag_tke_rebase_main
jimmielin Apr 21, 2026
7b38644
Address review comments.
jimmielin Apr 21, 2026
466253f
Update schemes/bretherton_park/bretherton_park_diff.meta
jimmielin Apr 21, 2026
f70b041
Fix qrl output unit
jimmielin Apr 24, 2026
04d7c80
Address review comments
jimmielin Apr 24, 2026
a82989a
Merge branch 'hplin/diag_tke_rebase_main' of github.com:jimmielin/atm…
jimmielin Apr 24, 2026
7742067
Fix namelist comment
jimmielin Apr 24, 2026
401c2ba
Merge branch 'main' into hplin/diag_tke_rebase_main
jimmielin Apr 25, 2026
a73195d
Address second reviewer comments
jimmielin May 12, 2026
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
731 changes: 731 additions & 0 deletions schemes/bretherton_park/bretherton_park_diff.F90

Large diffs are not rendered by default.

832 changes: 832 additions & 0 deletions schemes/bretherton_park/bretherton_park_diff.meta

Large diffs are not rendered by default.

160 changes: 160 additions & 0 deletions schemes/bretherton_park/bretherton_park_diff_namelist.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,160 @@
<?xml version="1.0"?>

<?xml-stylesheet type="text/xsl"?>

<entry_id_pg version="2.0">
Comment thread
nusbaume marked this conversation as resolved.

<!-- Each namelist variable is defined in an <entry> element. The
content of the element is the documentation of how the variable is
used. Other aspects of the variable's definition are expressed as
attributes of the <entry> element. Note that it is an XML requirement
that the attribute values are enclosed in quotes. The attributes are:

id
The variable's name. *** N.B. *** The name must be lower case.
The module convert all namelist variable names to lower case
since Fortran is case insensitive.

type
An abbreviation of the fortran declaration for the variable.
Valid declarations are:

char*n
Comment thread
nusbaume marked this conversation as resolved.
integer
logical
real

Any of these types may be followed by a comma separated list of
integers enclosed in parenthesis to indicate an array.

The current namelist validation code only distinquishes between
string and non-string types.

input_pathname
Only include this attribute to indicate that the variable
contains the pathname of an input dataset that resides in the
CESM inputdata directory tree. Note that the variables
containing the names of restart files that are used in branch
runs don't reside in the inputdata tree and should not be given
this attribute.

The recognized values are "abs" to indicate that an absolute
pathname is required, or "rel:var_name" to indicate that the
pathname is relative and that the namelist variable "var_name"
contains the absolute root directory.

category
A category assigned for organizing the documentation.

group
The namelist group that the variable is declared in.

valid_values
This is an optional attribute that is mainly useful for variables
that have only a small number of allowed values. It is a
comma-separated list of valid values for the variable.

desc
This is a text description of the variable including its
purpose and use.

values
This is a grouping of all the cases where a value can be
assigned with the namelist generator has been run.

value
Each <value> tag specifies a case where a value is assigned
to this variable when the namelist generator is run. If the
tag has no attributes, it is a default value. In general,
the namelist generator attempts to find a value with the
maximium number of attribute matches (and no non-matches).

standard_name
This is the CCPP Standard Name of the variable

units
This is the CCPP unit specification of the variable (e.g., m s-1).
-->
<entry id="eddy_lbulk_max">
<type>real</type>
<kind>kind_phys</kind>
<category>pbl</category>
<group>eddy_diff_nl</group>
<standard_name>maximum_master_length_scale_for_eddy_diffusion</standard_name>
<units>m</units>
<desc>
Maximum master length scale designed to address issues in diag_TKE (the Bretherton-Park scheme) outside the boundary layer. In order not to disturb turbulence characteristics in the lower troposphere, this should be set at least larger than a few km. However, this does not significantly improve the values outside of the boundary layer. Smaller values make some improvement, but it is also noisy. Better results are seen using eddy_leng_max or kv_freetrop_scale.
Default: 40000 m
</desc>
<values>
<value>40.D3</value>
</values>
</entry>

<entry id="eddy_leng_max">
<type>real</type>
<kind>kind_phys</kind>
<category>pbl</category>
<group>eddy_diff_nl</group>
<standard_name>maximum_dissipation_length_scale_for_eddy_diffusion</standard_name>
<units>m</units>
<desc>
Maximum dissipation length scale designed to address issues with diag_TKE (the Bretherton-Park scheme) outside the boundary layer, where the default value generates large diffusivities. A value of 30 m is consistent with the length scales used in the HB scheme; however, this will also reduce value in the boundary layer.
Default: 40000 m
</desc>
<values>
<value>40.D3</value>
<!-- waccm: 100.D0 -->
</values>
</entry>

<entry id="eddy_max_bot_pressure">
<type>real</type>
<kind>kind_phys</kind>
<category>pbl</category>
<group>eddy_diff_nl</group>
<standard_name>air_pressure_threshold_for_maximum_turbulent_length_scale_application</standard_name>
<units>hPa</units>
<desc>
Bottom pressure level at which namelist values for eddy_leng_max and eddy_lbulk_max are applied. Default values are used at lower levels (i.e. the boundary layer).
Default: 100.D3 hPa
</desc>
<values>
<value>100.D3</value>
<!-- waccm: 100.D0 -->
</values>
</entry>

<entry id="eddy_moist_entrain_a2l">
<type>real</type>
<kind>kind_phys</kind>
<category>pbl</category>
<group>eddy_diff_nl</group>
<standard_name>tunable_parameter_for_moist_entrainment_enhancement_in_pbl</standard_name>
<units>1</units>
<desc>
Moist entrainment enhancement parameter. Default: 30.D0
</desc>
<values>
<value>30.D0</value>
</values>
</entry>

<entry id="eddy_wstarent">
<type>logical</type>
<category>pbl</category>
<group>eddy_diff_nl</group>
<standard_name>use_wstar_entrainment_closure_formulation_for_eddy_diffusion_scheme</standard_name>
<units>flag</units>
<desc>
Use wstar (.true.) or TKE (.false.) entrainment closure in UW eddy diffusion scheme.
Default: TRUE
</desc>
<values>
<value>.true.</value>
</values>
</entry>



</entry_id_pg>
Loading
Loading