<meta http-equiv="Content-Type" content="text/html; charset=utf-8"><div dir="auto">The grid has what we call 'guard cells' outside of the domain. These are given values according to the desired BC. Let imax be the last cell inside the domain in the x-direction. An outflow BC on the upper-x boundary would set guard cells as follows:<div dir="auto"><br></div><div dir="auto">U(imax+1) = U(imax)</div><div dir="auto"><br></div><div dir="auto">where U is the array of all variables (density, velocity, pressure, etc.). Thus the gradients across the boundary are zero, and anything that flows up to the boundary, including shocks, will keep going and leave the domain.</div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Tue, Jul 13, 2021, 2:54 AM Maksim Kozlov <<a href="mailto:maksim.kozlov@nu.edu.kz">maksim.kozlov@nu.edu.kz</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr">Dear flash users,<div>I would really appreciate it if somebody explains to me the exact meaning of outflow boundary conditions in FLASH. The only explanation that I was able to find in the user's manual is that outflow boundary conditions mean zero gradient boundary conditions that allow shock to leave the domain. Could you please explain to me the gradient of what is zero and why it allows shock to leave the domain. How does flash assign values of pressure, density, velocity and energy on the outflow boundaries?</div><div>thank you very much</div><div>Maksim Kozlov</div></div>
</blockquote></div>