-
Notifications
You must be signed in to change notification settings - Fork 133
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
sensible+latent heatfluxes using linear bulk formula #371
Changes from 16 commits
cd863c4
aa871ef
d602c2c
2da0b98
dd63009
bd91a7d
b785a57
ffb374d
4cfa3ab
644d324
ef391d5
2c10349
eb58e3f
a44c806
56ccc77
4807cc4
78660ed
1ec0b3f
bee1627
2640405
81b80ba
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -3,5 +3,5 @@ kstrength = 0 | |
krdg_partic = 0 | ||
krdg_redist = 0 | ||
formdrag = .false. | ||
atmbndy = 'constant' | ||
atmbndy = 'similarity' | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. This changes the behavior of at least one test in the test suites. Is that intended? There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. This was an error from my site. Will revert atmbndy to constant |
||
highfreq = .false. |
Original file line number | Diff line number | Diff line change | ||||
---|---|---|---|---|---|---|
|
@@ -314,8 +314,10 @@ forcing_nml | |||||
:widths: 15, 15, 30, 15 | ||||||
|
||||||
"", "", "", "" | ||||||
"``atmbndy``", "``constant``", "bulk transfer coefficients", "``default``" | ||||||
"", "``default``", "stability-based boundary layer", "" | ||||||
"``atmbndy``", "string", "bulk transfer coefficients", "``similarity``" | ||||||
"", "``similarity``", "stability-based boundary layer", "" | ||||||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Maybe here we could add something like
Suggested change
to help users that could be confused by their existing namelist having a now undocumented There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. From CICE this is automatically changed from 'default' to 'similarity' together with a WARNING message printed to the log/stdout. |
||||||
"", "``constant``", "constant-based boundary layer", "" | ||||||
"", "``mixed``", "stability-based, but constant for sensible+latent heatfluxes", "" | ||||||
"``atmiter_conv``", "real", "convergence criteria for ustar", "0.0" | ||||||
"``atm_data_file``", "string", "file containing atmospheric data", "' '" | ||||||
"``atm_data_format``", "``bin``", "read direct access binary forcing files", "``bin``" | ||||||
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
If possible, please remove literal constants from the code (here 1.20e-3_dbl_kind and 1.50e-3_dbl_kind) and place them in the Icepack constants file. I appreciate this is already done in atmo_boundary_const, but if we leave two sets of identical literal constants in the code, the code is susceptible to errors creeping in if further changes are made by another developer to just one set of constants.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Good point w.r.t. secure code for future errors by placing the identical parameters in one place.
Will introduce p0012 and p0015.