<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<title></title>
</head>
<body>
<div name="messageBodySection" style="font-size: 14px; font-family: -apple-system, BlinkMacSystemFont, sans-serif;">Hi Siyi,
<div><br /></div>
<div>I can provide you a quick one, and others might have more comprehensive answers.</div>
<div><br /></div>
<div>The time step is determined at each step by the subroutine Driver_computeDt, which computes the timestep required by all of the units used, and take the minimum dt over different units. Say, Hydro_computeDt gives dt1 for hydro unit, and Particles_computeDt gives dt2 for particle unit and so on, then final dt = min(dt1, dt2, …)</div>
<div><br /></div>
<div>How dt is computed for each unit varies. As a classical example, the timestep for hydro obeys the Courant-Friedrichs-Levy condition. Physical quantities in each cell corresponds to a certain value of dt under this condition, and Hydro_computeDt computes dt for each cell, selects the minimum dt over the entire domain, and return it to Driver_computeDt.</div>
<div><br /></div>
<div>Hope this helps!</div>
</div>
<div name="messageSignatureSection" style="font-size: 14px; font-family: -apple-system, BlinkMacSystemFont, sans-serif;"><br />
Best wishes,
<div>—</div>
<div>Suoqing Ji</div>
<div>Ph.D Candidate</div>
<div>Department of Physics</div>
<div>University of California, Santa Barbara</div>
<div><a href="http://physics.ucsb.edu/~suoqing">http://physics.ucsb.edu/~suoqing</a></div>
</div>
<div name="messageReplySection" style="font-size: 14px; font-family: -apple-system, BlinkMacSystemFont, sans-serif;"><br />
On May 22, 2017, 7:50 PM -0700, Siyi Yu <siyiyu@lbl.gov>, wrote:<br />
<blockquote type="cite" style="margin: 5px 5px; padding-left: 10px; border-left: thin solid #1abc9c;">
<div dir="ltr">
<div>
<div>
<div>Dear Flash users and developers,<br /></div>
Permit-me to ask a little question about the simulation delta t. How the system defines the time interval it takes? When I launch a simulation, it appears that delta t is not a constant and decrease as the simulation goes on. Could I know why please?<br /></div>
Best<br /></div>
Siyi YU<br /></div>
</blockquote>
</div>
</body>
</html>