<div dir="ltr">
<span></span>
<p style="margin-bottom:0in;line-height:100%">Hi Jon and others,</p>
<p style="margin-bottom:0.2in;line-height:100%">I am relatively new to Flash and trying to set up a multiphase
gas-particle flow, where I need to simulate the drag and lift forces on the
particles. If you come across something useful, it would be great if
you can share it here. Thanks!<br></p><p style="margin-bottom:0.2in;line-height:100%">Pooja<br></p></div><div class="gmail_extra"><br><div class="gmail_quote">On Tue, Apr 24, 2018 at 3:43 PM, John ZuHone <span dir="ltr"><<a href="mailto:jzuhone@gmail.com" target="_blank">jzuhone@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="auto">Hi Jon,<div><br></div><div>I tried recently to implement a short-range force (self-interacting dark matter) but the climb was pretty steep in terms of implementation and I ended up switching to another code which had this particular feature already, for no other reason than it was quicker for me. The main difficulty was handling interactions between particles on different processors without allocating huge metadata arrays. </div><div><br></div><div>If you’re adding drag to particles based on interpolation from grid variables, this should be far easier. You can use the same Grid_mapMeshToParticles functionality which is used for gravity.</div><div><br></div><div>I think that the reason for the “ParticleMesh” subdirectory is mostly historical—originally it was thought that we might have ways of applying gravitational acceleration to particles which didn’t require the mesh.</div><div><br></div><div>John <br><br><div><div style="word-wrap:break-word;line-break:after-white-space"><span style="background-color:rgba(255,255,255,0)">==============================<wbr>=======</span></div><div style="word-wrap:break-word;line-break:after-white-space"><span style="background-color:rgba(255,255,255,0)">John ZuHone, Chandra/ACIS Operations<span class="m_2224699158183691514Apple-tab-span" style="white-space:pre-wrap"> </span></span></div><div style="word-wrap:break-word;line-break:after-white-space"><span style="background-color:rgba(255,255,255,0)">Harvard-Smithsonian Center for Astrophysics<br><br></span></div><div style="word-wrap:break-word;line-break:after-white-space"><font color="#000000"><span style="background-color:rgba(255,255,255,0)"><a dir="ltr">60 Garden St.</a>, MS-67<span class="m_2224699158183691514Apple-tab-span" style="white-space:pre-wrap"> </span>(w) <a href="tel:617-496-1816" dir="ltr" target="_blank">617-496-1816</a><br><a dir="ltr">Cambridge, MA 02138</a><span class="m_2224699158183691514Apple-tab-span" style="white-space:pre-wrap"> </span>(m) <a href="tel:781-708-5004" dir="ltr" target="_blank">781-708-5004</a></span></font></div><div style="word-wrap:break-word;line-break:after-white-space"><span style="background-color:rgba(255,255,255,0)"><br></span></div><div style="word-wrap:break-word;line-break:after-white-space"><font color="#000000"><span style="background-color:rgba(255,255,255,0)"><a href="mailto:john.zuhone@cfa.harvard.edu" target="_blank">john.zuhone@cfa.harvard.edu</a><br><a href="http://hea-www.cfa.harvard.edu/~jzuhone" dir="ltr" target="_blank">http://hea-www.cfa.harvard.<wbr>edu/~jzuhone</a><br>==============================<wbr>=======</span></font></div></div><div><div class="h5"><div><br>On Apr 24, 2018, at 4:27 PM, Slavin, Jonathan <<a href="mailto:jslavin@cfa.harvard.edu" target="_blank">jslavin@cfa.harvard.edu</a>> wrote:<br><br></div><blockquote type="cite"><div><div dir="ltr"><div class="gmail_default" style="font-family:tahoma,sans-serif;font-size:small">Hi all,</div><div class="gmail_default" style="font-family:tahoma,sans-serif;font-size:small"><br></div><div class="gmail_default" style="font-family:tahoma,sans-serif;font-size:small">I'm looking to add a short range particle forces (drag) to Flash and wondered if anyone had done that yet (successfully). If so, any advice would be appreciated. Also, I'm wondering why the gravity force needs a subdirectory ParticleMesh under source/Particles/<wbr>ParticlesForces/longRange/<wbr>gravity</div><div class="gmail_default" style="font-family:tahoma,sans-serif;font-size:small"><br></div><div class="gmail_default" style="font-family:tahoma,sans-serif;font-size:small">Regards,</div><div><div class="gmail_default" style="font-family:tahoma,sans-serif;font-size:small">Jon</div><br></div>-- <br><div class="m_2224699158183691514gmail_signature" data-smartmail="gmail_signature"><div dir="ltr"><div><div dir="ltr">______________________________<wbr>__________________________<br>Jonathan D. Slavin Harvard-Smithsonian CfA<br><a href="mailto:jslavin@cfa.harvard.edu" target="_blank">jslavin@cfa.harvard.edu</a> <a href="https://maps.google.com/?q=60+Garden+St&entry=gmail&source=g">60 Garden St</a>reet, MS 83<br>phone: (617) 496-7981 Cambridge, MA 02138-1516<br>cell: (781) 363-0035 USA<br>______________________________<wbr>__________________________<br><br></div></div></div></div>
</div>
</div></blockquote></div></div></div></div></blockquote></div><br></div>