<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=Windows-1252">
<style type="text/css" style="display:none;"><!-- P {margin-top:0;margin-bottom:0;} --></style>
</head>
<body dir="ltr">
<div id="divtagdefaultwrapper" style="font-size:12pt;color:#000000;font-family:Calibri,Helvetica,sans-serif;" dir="ltr">
<p style="margin-top:0;margin-bottom:0">Hi Martin,</p>
<p style="margin-top:0;margin-bottom:0"><br>
</p>
<p style="margin-top:0;margin-bottom:0">Thanks, as always, for your prompt and helpful support here. Indeed, the big difference between the two simulations is in the SOLVE_FOR_PRESSURE timer, which I understand is the elliptic solver. The simulation with deltaTmom=60
spends much less time than deltaTmom=600 in this section, by a factor of 6. And yes, deltaTfreeSurf=deltaTmom by default.</p>
<p style="margin-top:0;margin-bottom:0"><br>
</p>
<p style="margin-top:0;margin-bottom:0">All the best,</p>
<p style="margin-top:0;margin-bottom:0">Kaitlin</p>
</div>
<hr style="display:inline-block;width:98%" tabindex="-1">
<div id="divRplyFwdMsg" dir="ltr"><font face="Calibri, sans-serif" style="font-size:11pt" color="#000000"><b>From:</b> MITgcm-support <mitgcm-support-bounces@mitgcm.org> on behalf of Martin Losch <Martin.Losch@awi.de><br>
<b>Sent:</b> 19 June 2018 14:33:14<br>
<b>To:</b> MITgcm Support<br>
<b>Subject:</b> Re: [MITgcm-support] Smaller deltaTmom speeds up the model?!</font>
<div> </div>
</div>
<div class="BodyFragment"><font size="2"><span style="font-size:11pt;">
<div class="PlainText">Hi Kaitlin,<br>
<br>
see answers below<br>
<br>
> On 19. Jun 2018, at 15:12, Naughten, Kaitlin A. <kaight@bas.ac.uk> wrote:<br>
> <br>
> Hi everyone,<br>
> <br>
> I am experimenting with timesteps and have discovered something strange. I have deltaT=600, and for the first few months of simulation I need to have deltaTmom=60 so that some areas with an unstable water column in the initial conditions don't cause the model
to blow up. After the first few months, I can remove deltaTmom=60 (so it defaults back to deltaT=600) and the model is stable.<br>
> <br>
> But when I do this, the model slows down! To confirm this was the case, I ran two simulations starting from the same timestep (1 year in). The simulation with deltaTmom=60 completed 22464 timesteps in 20 minutes. The simulation with deltaTmom=deltaT=600 only
completed 8496 timesteps. <br>
> <br>
> I have two questions about this:<br>
> <br>
> 1) Is this behaviour as counterintuitive as it seems? I'm wondering if larger momentum timesteps are somehow causing the elliptic solver to converge more slowly, which more than compensates for the reduced number of timesteps?<br>
you can see what time is spent where by inspecting the profiling at the end of STDOUT.0000. If the elliptic solver really uses all the time in your case with deltaTmom=deltaT, then that should be obvious from the profiling numbers.<br>
I think, deltaTfreeSurf is also set to deltaTmom (please check in STDOUT.0000), so that your elliptic solver now sees a 10 times shorter timesteps, i.e. the tendencies are 10 times smaller and the route to convergence is shorter, so I wouldn’t be surprised,
if that’s really what’s happening.<br>
> <br>
> 2) Since a smaller deltaTmom is so much faster, is there anything wrong with having a different value for deltaTmom and deltaT? Some of my colleagues thought that having different timesteps for ocean tracers and momentum might be dangerously unphysical.<br>
You’ll damp all of your fast waves and probably suppress the seasonal cycle. But it also modifies your water masses and stratification. See relevant papers about tracer acceleration (e.g.,<br>
Danabasoglu, G., 2004: A comparison of global ocean general circulation model solutions obtained with synchronous and accelerated integration methods. Ocean Modelling, 7, 323- 341.<br>
Bryan, K. 1984: Accelerating the convergence to equilibrium of ocean-climate models. Journal of Physical Oceanography, 14(4), 666-67<br>
) for a discussion.<br>
<br>
Martin<br>
<br>
> <br>
> Many thanks,<br>
> Kaitlin Naughten<br>
> This message (and any attachments) is for the recipient only. NERC is subject to the Freedom of Information Act 2000 and the contents of this email and any reply you make may be disclosed by NERC unless it is exempt from release under the Act. Any material
supplied to NERC may be stored in an electronic records management system.<br>
> _______________________________________________<br>
> MITgcm-support mailing list<br>
> MITgcm-support@mitgcm.org<br>
> <a href="http://mailman.mitgcm.org/mailman/listinfo/mitgcm-support">http://mailman.mitgcm.org/mailman/listinfo/mitgcm-support</a><br>
<br>
_______________________________________________<br>
MITgcm-support mailing list<br>
MITgcm-support@mitgcm.org<br>
<a href="http://mailman.mitgcm.org/mailman/listinfo/mitgcm-support">http://mailman.mitgcm.org/mailman/listinfo/mitgcm-support</a><br>
</div>
</span></font></div>
<hr>
<small>This message (and any attachments) is for the recipient only. NERC is subject to the Freedom of Information Act 2000 and the contents of this email and any reply you make may be disclosed by NERC unless it is exempt from release under the Act. Any material
supplied to NERC may be stored in an electronic records management system</small>.
<hr>
</body>
</html>