<div dir="ltr">Hi Riccardo,<div><br></div><div>In the directory you compiled the code (e.g., "object") try "ls -lh *computeDt*" </div><div>That should show you all the possible timestep limitations (and note that Driver_computeDt calls the other routines).</div><div><br></div><div>That may also help you understand why you need the cfl that low; diffusion for example scales Delta_t as Delta_x**-2; I'm not sure about the restrictions for some of the turbulence and other FLASH physics.</div><div class="gmail_extra"><br></div><div class="gmail_extra">Best,<br clear="all"><div><div class="gmail_signature" data-smartmail="gmail_signature"><div dir="ltr"><div><div dir="ltr"><div dir="ltr">--------<div>Ryan</div></div></div></div></div></div></div>
<br><div class="gmail_quote">On Thu, Apr 27, 2017 at 5:57 AM, Riccardo Ciolfi <span dir="ltr"><<a href="mailto:riccardo.ciolfi@oapd.inaf.it" target="_blank">riccardo.ciolfi@oapd.inaf.it</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><br>
Dear all,<br>
<br>
I am trying to understand the definition of the variable cfl. Does it correspond to the courant factor Delta_t/Delta_x * v_max?<br>
Is this the same at all levels, so that Delta_t is reduced by a facotor of 2 together with Delta_x when moving to the next refinement level? Is there a simple way to enforce it?<br>
<br>
I am using FLASH4.4 and for 1D hydro simulations I adopted the suggested clf=0.8 without any problem. When I move to 2D I cannot run unless I put cfl as low as 0.1. Is this expected? For coordinates with Delta_x=Delta_y, shouldn't be sufficient to reduce the courant factor by a factor of sqrt(2)?<br>
<br>
Thank you very much for the attention!<br>
<br>
Best,<br>
Riccardo Ciolfi<br>
</blockquote></div><br></div></div>