<div dir="ltr"><div>Hi Sang Yun,</div><div><br></div><div>As far as I'm aware, the typical way to represent a vacuum in fluid simulations is with a very small density (effective vacuum) since absolute zero density is problematic regarding stability (as you've noticed).<br></div><div><br></div><div>Perhaps another method would involve being creative with a user defined boundaries. That is, setting BDRY_VAR = 1 in regions where the vacuum is supposed to be. It might be okay to set density to zero there if the fluid solver skips boundary values. This might be okay if you're simulating water in a lake and you want the air to be a vacuum and you're ignoring evaporation of water. However, in most cases what I've described isn't suitable. For example, if you're modeling a supernova exploding into the interstellar medium, then you'd want the initially "vacuum" values to receive gas from the supernova. However, in this case, there isn't a true vacuum to begin with since the interstellar medium does have particles in it.<br></div><div><br></div><div>Best,<br></div><div><div><div dir="ltr" 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></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Thu, May 9, 2019 at 11:53 PM sang-yun Shin <<a href="mailto:shinsy85@gmail.com">shinsy85@gmail.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="ltr"><div dir="ltr"><div>Dear FLASH users,</div><div><br></div><div>I want to describe some fluid as vacuum in cfd simulation.</div><div>When I described vacuum in particle-in-cell simulation, it was easy with concept "there are not any one."</div><div>So with this same concept, I made a fluid with zero density.</div><div>But, after such setup, simulation does not work. (zero energy ? error occurs.)</div><div>Fortunately, with replacing a zero density to few density (~10^-6 g/cm^3), simulation work well.</div><div><br>MAIN QUESTION)</div><div>Any other nice way to describe vacuum in cfd simulation?</div><div><span><span><br></span></span></div><div><br></div><div>Best regards,</div><div>Sang Yun Shin.<br clear="all"></div><div><div class="gmail-m_5662061423697044gmail_signature" dir="ltr"><div dir="ltr"><div><div dir="ltr"><div><div dir="ltr"><div><div dir="ltr"><span><span><span></span></span><br><br><br>## 신 상윤 (Sang Yun, Shin)<br><div>## 06974 서울특별시 동작구 흑석로 84<br>## 중앙대학교 104관 (자연과학대학, 수림과학관) 7층 704호 (이론물리연구실)<br>## Tel) None<br>## Mobile) 010-3687-9486<br>## E-mail) <a href="mailto:shinsy85@gmail.com" target="_blank">shinsy85@gmail.com</a></div></span></div></div></div></div></div></div></div></div></div></div></div>
</blockquote></div>