[MITgcm-support] Vertical diffusion for non-hydrostatic ocean model with a stretched grid
Burns, Paul
P.Burns2 at exeter.ac.uk
Thu Nov 30 14:07:19 EST 2023
Hi,
I've only recently come back to some work I started about a year ago about regional modelling in the Arctic ocean, having been distracted by a change of jobs. I received some useful advice from Jean-Michel about the two types of Smagorinsky scheme available in MITgcm. I was advised to look at tutorial_deep_convection for details of the parameters that need setting when using the 3D Smagorinsky scheme (i.e., required with useSmag3D=.TRUE.), however, the documentation in that tutorial is very limited and it isn't clear what values should be chosen for:
smag3D_coeff
smag3Ddiff_coeff
I would be grateful is someone could give some advice about how to choose values for these parameters.
Also, it might be useful to look at the source code for the 3D Smagorinsky scheme (useSmag3D=.TRUE.), but I am not sure where it is located?
Many thanks,
Paul
Dr Paul Burns MInstP FRMetS
Associate Research Fellow
&
Senior Scientist
Atmospheric Processes and Parametrisation (APP)
Met Office
Exeter
________________________________
From: Burns, Paul <P.Burns2 at exeter.ac.uk>
Sent: 02 February 2023 11:44
To: MITgcm-support at mitgcm.org <MITgcm-support at mitgcm.org>
Subject: Re: [MITgcm-support] Vertical diffusion for non-hydrostatic ocean model with a stretched grid
Hi Jean-Michel,
Many thanks for your quick and clear response.
I agree that I should try option 2), which appears to calculate both the viscosity and diffusivity for the tracers (simply by using a constant Prandtl number)? Yes, the Smagorinsky model essentially parameterises subgrid mixing by using the resolved shear and grid resolution, and so does not explicitly account for stratification. I hope that my very fine vertical grid resolves most buoyancy-driven (and mechanical) mixing.
MITgcm does have a TKE 1.5-order closure scheme (i.e., package ggl90), however, it seems only suitable for hydrostatic simulations, when the mixing length in the scheme doesn't need to be limited to the grid resolution. This at least is my understanding from the paper by Blanke and Delecluse (1993).
My grid is certainly not isotropic, but I have no bottom topography so the grid cells are at least aligned with the horizontal. I am not sure what errors my grid may introduce when using the Smagorinsky scheme? I guess I can test the results using the Smagorinsky scheme against simply specifying a profile of viscosity and diffusivity using the relevant Reynolds number (i.e. setting viscArNr).
Cheers,
Paul
Dr Paul Burns MInstP FRMetS
Research Fellow
Geophysical and Astrophysical Fluid Dynamics Group
Department of Mathematics
Harrison Building
University of Exeter
________________________________
From: MITgcm-support <mitgcm-support-bounces at mitgcm.org> on behalf of Jean-Michel Campin <jmc at mit.edu>
Sent: 01 February 2023 15:25
To: mitgcm-support at mitgcm.org <mitgcm-support at mitgcm.org>
Subject: Re: [MITgcm-support] Vertical diffusion for non-hydrostatic ocean model with a stretched grid
CAUTION: This email originated from outside of the organisation. Do not click links or open attachments unless you recognise the sender and know the content is safe.
Hi Paul,
There is some confusion about Smagorinsky in MITgcm since we have 2 implementations:
1) a Smagorinsky like horizontal viscosity that is function of horizontal shear,
with the choice of harmonic (viscC2smag) or bi-harmonic (viscC4smag) viscosity.
2) a simple 3-D Smagorinsky harmonic viscosity that work best when the grid is
near isotropic (mostly for Non-Hydrostatic simulation) and does not acount for
stratification.
Need ALLOW_SMAG_3D_DIFFUSIVITY to be defined and uses run-time parameter:
useSmag3D = .TRUE., with smag3D_coeff,
see experiment: tutorial_deep_convection, with input.smag3d/data
You may want to try this second implementation.
Alternatively, you could always set a vertical profile of (background)
vertical viscosity using Nr values to set vector "viscArNr" in main parameter
input file "data" (note that the fist value corresponds to the very top,
i.e., surface, vertical index k=1, and has no effect).
Cheers,
Jean-Michel
On Wed, Feb 01, 2023 at 12:55:22PM +0000, Burns, Paul wrote:
> Hi,
>
> I was hoping that someone could give me some advice about the best way to define the vertical viscosity (and diffusivity) in MITgcm for a non-hydrostatic model using a stretched vertical grid. I've used a stretched vertical grid to resolve very small features of interest (~0.2 m) in the upper ocean and to keep the simulation practical.
>
> The viscosity should vary with the grid resolution (e.g., Smagorinsky, 1993), however, the MITgcm documentation says that the Smagorinsky scheme isn't implemented in the vertical. So would a reasonable approach be to compute a vertical profile of viscosities using a vertical Reynolds number and use that to set viscArNr?
>
>
> Many thanks,
> Paul
>
>
>
>
> Dr Paul Burns MInstP FRMetS
>
> Research Fellow
>
> Geophysical and Astrophysical Fluid Dynamics Group
>
> Department of Mathematics
>
> Harrison Building
>
> University of Exeter
>
> _______________________________________________
> MITgcm-support mailing list
> MITgcm-support at mitgcm.org
> https://eur03.safelinks.protection.outlook.com/?url=http%3A%2F%2Fmailman.mitgcm.org%2Fmailman%2Flistinfo%2Fmitgcm-support&data=05%7C01%7Cp.burns2%40exeter.ac.uk%7Cc5f922888565484cca2d08db04689db2%7C912a5d77fb984eeeaf321334d8f04a53%7C0%7C0%7C638108619586622927%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000%7C%7C%7C&sdata=lIiEnoR5jjVDjN6nbhJqucfgF1b8zQyyxo0%2F9ryH%2F%2Bw%3D&reserved=0<http://mailman.mitgcm.org/mailman/listinfo/mitgcm-support>
_______________________________________________
MITgcm-support mailing list
MITgcm-support at mitgcm.org
https://eur03.safelinks.protection.outlook.com/?url=http%3A%2F%2Fmailman.mitgcm.org%2Fmailman%2Flistinfo%2Fmitgcm-support&data=05%7C01%7Cp.burns2%40exeter.ac.uk%7Cc5f922888565484cca2d08db04689db2%7C912a5d77fb984eeeaf321334d8f04a53%7C0%7C0%7C638108619586622927%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000%7C%7C%7C&sdata=lIiEnoR5jjVDjN6nbhJqucfgF1b8zQyyxo0%2F9ryH%2F%2Bw%3D&reserved=0<http://mailman.mitgcm.org/mailman/listinfo/mitgcm-support>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.mitgcm.org/pipermail/mitgcm-support/attachments/20231130/26bdc9e6/attachment-0001.html>
More information about the MITgcm-support
mailing list