<div dir="ltr">Thanks for reply, Martin!<br><br>I guess I didn't quite correctly ask a question.<br class="gmail-Apple-interchange-newline">So, if I'll use inviscid boundary conditions (free-slip) + I'll disable viscosity ( implicitViscosity=.FALSE.) - will the liquid be considered inviscid in this case?</div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">ср, 14 авг. 2019 г. в 11:45, Martin Losch <<a href="mailto:Martin.Losch@awi.de">Martin.Losch@awi.de</a>>:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">Hi Pavel (?),<br>
<br>
by default, the MITgcm code solves the Reynolds-averaged hydrostatic, Boussinesq Navier-Stokes equations on the sphere, additional assumptions make this the so-called Primitive Equations (PE). There are flags that can turn on different parameterisations of the turbulent eddy viscosity, and/or non-hydrostatic dynamics. You can also interpret the equations as pure Navier-Stokes with molecular viscosity. On a cartesian grid some of the PE assumptions are not necessary (e.g. thin-shell approximation) and you can use the code for LES or DNS type Navier-Stokes simulations.<br>
<br>
As far as I understand the viscosities are also required for numerical stability reasons. Therefore, from a numerical points of view you’ll need a different numerical scheme to solve the inviscid Euler equations. This scheme needs to be unconditionally stable (which will involve some implicit viscosity). In the same way, reducing the explicit viscosities towards zero will recover the Euler equations, but at the cost of numerical instability.<br>
<br>
I am not sure what you mean by changing the boundary conditions. An inviscid boundary conditions (free-slip, v.Neuman) would be consistent with vanishing viscosity. The no-slip boundary condition (Dirichlet with tangential velocity =0 on the boundary) parameterizes a viscous boundary layer, but does not require viscosity outside of this boundary layer. Both options are available with the MITgcm code.<br>
<br>
Martin<br>
<br>
> On 14. Aug 2019, at 09:42, Павел Лобовиков <<a href="mailto:plobovikov@gmail.com" target="_blank">plobovikov@gmail.com</a>> wrote:<br>
> <br>
> Hi folks!<br>
> I have one theoretical question regarding the equations underlying MITgcm.<br>
> If we are dealing with the movement of a viscous fluid it's obvious that we are solving the Navier-Stokes equations. <br>
> But if I want to simulate the motion of an inviscid fluid I have to go back to Euler equations.<br>
> The question is: how is viscosity deactivation implemented in MITgcm?<br>
> <br>
> I have two assumptions:<br>
> 1. We need to go back to Euler equations and change the boundary conditions.<br>
> 2. We remain within the framework of the Navier-Stokes equations and just transit to the limit ViscocityCoefficient -> 0<br>
> <br>
> Thanks!<br>
> _______________________________________________<br>
> MITgcm-support mailing list<br>
> <a href="mailto:MITgcm-support@mitgcm.org" target="_blank">MITgcm-support@mitgcm.org</a><br>
> <a href="http://mailman.mitgcm.org/mailman/listinfo/mitgcm-support" rel="noreferrer" target="_blank">http://mailman.mitgcm.org/mailman/listinfo/mitgcm-support</a><br>
<br>
_______________________________________________<br>
MITgcm-support mailing list<br>
<a href="mailto:MITgcm-support@mitgcm.org" target="_blank">MITgcm-support@mitgcm.org</a><br>
<a href="http://mailman.mitgcm.org/mailman/listinfo/mitgcm-support" rel="noreferrer" target="_blank">http://mailman.mitgcm.org/mailman/listinfo/mitgcm-support</a><br>
</blockquote></div>