[MITgcm-support] Anomalous 'rebound' circulations at poles in 2D setup leading to numerical instability

Jody Klymak jklymak at uvic.ca
Mon Mar 27 10:59:46 EDT 2023




> On Mar 27, 2023, at 1:19 AM, Martin Losch <Martin.Losch at awi.de> wrote:
> 
> You don't often get email from martin.losch at awi.de. Learn why this is important <https://aka.ms/LearnAboutSenderIdentification>	
> Hi Flynn,
> 
> I am no expert at this, but I think the RBCS solution is probably the best option as it removes the unphysical “hard wall” at the poles.

Is there a hard wall at the poles? Or is the domain re-entrant at the poles and f is suddenly changing from positive to negative?  A-physical or not, I’d at least have one grid cell with zero depth at one of the poles.  

I agree with Martin that rbcs, or even obcs with a sponge at the walls will drive the velocities to zero there if that is what you want.  

Looking at your movies, however, I don’t have any context for why those tiny velocities would be considered incorrect.  

Cheers,  Jody

--
Jody Klymak    
https://ocean-physics.seos.uvic.ca/~jklymak/


> 
> There is code to specify 3D (background) diffusivity coefficients (CPP_OPTIONS.h) (but not viscosity for some reason). This may not help you but you could use this code as a template for you 3D viscosity option. There is code for specifying 3D horizonal viscosity coefficients (see MOM_COMMON_OPTIONS.h)
> 
> You could try to use LEITH viscosity, but I don’t see how that would damp anyting near these spurious boundaries.
> 
> Martin
> 
>> On 7. Mar 2023, at 17:23, Flynn Ames <f.ames at pgr.reading.ac.uk> wrote:
>> 
>> Dear MITgcm Community,
>> 
>> Hello - I've been developing a 2D (latitude-depth) model setup for the MITgcm that extends pole to pole, for the subsurface ocean of Enceladus. I've been running into numerical stability issues at the poles. I have some ideas of how to overcome the problem but I'm hoping to get some thoughts on if any of them are particularly bad/good ideas, or anyone else has an alternative idea?
>> 
>> The numerical instability appears to arise from a 'rebound effect' of sorts where, owing to the 2D domain, the flow upon reaching the poles has nowhere to go and rebounds off of it. These circulations are always present but when the vertical viscosity is low (and for some reason, when along isopycnal mixing is considered), these anomalous circulations intensify and eventually blow up. 
>> I've found that increasing the vertical viscosity can prevent the solution blowing up, but this is not ideal because it removes interesting features of the ocean circulation that I want to maintain and leads to an unreasonably high Prandtl ratio in the vertical. Similarly, I would like to consider the role of along-isopycnal mixing. Reducing the timestep dramatically is also not ideal as these simulations are computationally expensive owing to long equilibration times.
>> 
>> It's worth noting these anomalous circulations don't appear to alter the mean solution when running stably. I've attached snapshots of meridional velocity (hopefully it sends!), showing what these anomalous circulations look like when the model runs stably (with a reasonable vertical viscosity BUT no consideration of along-isopycnal mixing). My thinking is that these circulations are likely unphysical, and so some of the below approaches (NOTE: not ideal solutions) for overcoming the issue could potentially be justified (?). They are as follows:
>> 
>> 1.) Try masking the grid cell directly over each pole with land and setting NO_SLIP_SIDES=.TRUE. This may damp the anomalous circulations, but comes at the cost of losing part of the model domain 
>> 2.) Use the RBCS package to create a sponge layer of sorts to relax meridional velocity to zero at the poles (with a few grid points next to the poles having weaker restoring). This would let me keep the whole domain. I don't think it should affect the mean solution significantly, but I wonder if this is an acceptable thing to do?
>> 3.) Try implement a feature in the MITgcm that would let me specify a meridional profile for vertical viscosity, so I can keep it lower over most the domain, but increase it where numerically necessary (i.e., at the poles). This could let me hold onto features I want to maintain over most the domain. But once again is this an acceptable thing to do?
>> 4.) An idea my project supervisor suggested is applying higher viscosity on divergent flows vs convergent flows. This could damp these anomalous circulations but would apply over the whole domain so could affect the mean solution.
>> 
>> I'd be very grateful for any thoughts or suggestions. If anyone has any questions about this, I can definitely answer them!
>> 
>> Cheers,
>> Flynn
>> 
>> <Vvel_snapshots_anom_circ.gif>_______________________________________________
>> MITgcm-support mailing list
>> MITgcm-support at mitgcm.org <mailto:MITgcm-support at mitgcm.org>
>> http://mailman.mitgcm.org/mailman/listinfo/mitgcm-support <https://can01.safelinks.protection.outlook.com/?url=http%3A%2F%2Fmailman.mitgcm.org%2Fmailman%2Flistinfo%2Fmitgcm-support&data=05%7C01%7Cjklymak%40uvic.ca%7C3e132fdf3a15481ba6a308db2e9c2557%7C9c61d3779894427cb13b1d6a51662b4e%7C0%7C0%7C638155020417901221%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000%7C%7C%7C&sdata=oAxFaNNF6xPc3Mp93jy7IdnjjJ8VOWJ8Vkal6qgOcx8%3D&reserved=0>
> _______________________________________________
> MITgcm-support mailing list
> MITgcm-support at mitgcm.org
> http://mailman.mitgcm.org/mailman/listinfo/mitgcm-support

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.mitgcm.org/pipermail/mitgcm-support/attachments/20230327/8ff98a43/attachment-0001.html>


More information about the MITgcm-support mailing list