Support for single process single cell standalone test cases - #5117
Conversation
| case ("ncar") | ||
| call init_oceanic_forcing_ncar(domain) | ||
| case ("ncar_free_surface") | ||
| call init_oceanic_forcing_ncar_free_surface(domain) |
There was a problem hiding this comment.
I think the nomenclature here is incorrect. POP is a free-surface ocean model, although it is constant volume. So the original ncar forcing data is usable for a "free surface" ocean model.
There was a problem hiding this comment.
Good point, I have renamed the option to som_varying_thickness
| !> \details Representation of ocean processes and coupling in e3sm. This | ||
| !> routine mimics the ocean/sea ice coupling in e3sm using MPAS-Ocn, | ||
| !> including updates to ocean thickness, temperature and salinity from | ||
| !> interactions with sea ice and frazil formation. |
There was a problem hiding this comment.
Is there a (design) document somewhere that explains these differences in true detail? We will need that for the Icepack documentation.
There was a problem hiding this comment.
No design document. This is an additional subroutine in MPAS rather than the column package so doesn't necessarily need to be in icepack. Making this proxy was a good way to understand how frazil is currently done and I plan to try a better formulation so this may change soon anyway.
| config_use_prescribed_ice, & | ||
| config_use_congelation_basal_melt, & | ||
| config_use_lateral_melt, & | ||
| config_use_latent_processes) |
There was a problem hiding this comment.
What is the computational burden of adding 'if' conditionals for all of these individual processes? They have to be parsed for each category, on each grid cell with ice, perhaps multiple times per timestep.
There was a problem hiding this comment.
@eclare108213: Good point. I have recoded this so that there are no conditionals now, just multiplication by a real flag taking values (0,1). I will test performance of these changes as well
|
@akturner please respond to review comments. |
|
Single cell test case for idealized processes added here: MPAS-Dev/MPAS-Seaice_standalone_framework#13 |
eclare108213
left a comment
There was a problem hiding this comment.
Thanks for getting rid of the conditionals - this is a more elegant approach in my opinion and perhaps not as computationally impactful. The title of this pull request does not fully represent what is in it -- the new conservation checks are particularly important. I'm curious to know whether these tests have turned up anything surprising or needing to be fixed, but answering that question is not necessary for this PR. Approving.
|
telecon: waiting on review from @alicebarthel who is out of town. |
|
My only suggestion at this stage would be to change the streams.seaice file to replace: |
|
What are the units on the y-axes? E.g. I'd expect the radiative fluxes to be ~50x larger in magnitude. |
|
@eclare108213 These fluxes are all in W/m2. Note that these are only the sea-ice ones. The atm/ocn radiative fluxes are much bigger (~+/-150 for net SW and ~+/-200-300 for LW). |
|
@alicebarthel: Which streams file are you referring to? |
|
@eclare108213, @alicebarthel : I believe these are fluxes over whole earth surface? |
|
But they are for a single-cell column configuration. Can they be made consistent with that view of the "world"? |
|
@akturner I meant the conservationCheck AM in streams.seaice. The code I checked out had them in "append" mode instead of "truncate" mode which means errors popped up when trying to overwrite the AM output files. Looking at the files, it does not seem to be something introduced by your changes, so I am happy to approve the PR. |
alicebarthel
left a comment
There was a problem hiding this comment.
I was asked to check that these changes did not impact the standard e3sm fluxes. I ran a G-case and checked the consistency of sea-ice heat fluxes between the Seaice AM and the coupler log. These match to <e-8.
|
I see, thanks for the clarification @alicebarthel. Eventually we would like to look at MPAS-SI output in realistic magnitudes for at least one sea ice grid point in each hemisphere, but others are working on that problem now. |
|
telecon notes: needs a rebase and build system fixes. |
Added several options for controlling which thermodynamic processes are active Added option for conservation AM to include ocean heat, mass, energy content in analysis with mixed layer model Added another mixed layer ocean model that mimics ocean model in E3SM for standalone testing Added another forcing option to support idealized single cell test case
Active column processes now toggled with multiplication by real rather than conditional for performance Renamed ncar_free_surface forcing type to som_varying_thickness
Removed trailing whitespace from Registry namelist options
3083180 to
c28aeff
Compare
|
@akturner - the rebase and bld updates look good. I'll test today and hopefully merge soon |
…to next (PR #5117) Merge branch 'akturner/mpas-seaice/idealized-single-cell-testcase' into next (PR #5117) Support for single process single cell standalone test cases Changes to the mpas-seaice standalone testing capabilities: * Added several options for controlling which thermodynamic processes are active * Added option for conservation AM to include ocean heat, mass, energy content in analysis with mixed layer model * Added another mixed layer ocean model that mimics ocean model in E3SM for standalone testing * Added another forcing option to support idealized single cell test case Fixes #5118 Fixes #5119 [NML] [BFB]
|
passes:
with expected NML DIFFs merged to next |
|
merged to master and expected NML DIFFs blessed |



Added several options for controlling which thermodynamic processes are active
Added option for conservation AM to include ocean heat, mass, energy content in analysis with mixed layer model
Added another mixed layer ocean model that mimics ocean model in E3SM for standalone testing
Added another forcing option to support idealized single cell test case
Fixes #5118
Fixes #5119
[NML]
[BFB]