[FLASH-USERS] short range particle forces
John ZuHone
jzuhone at gmail.com
Tue Apr 24 16:43:06 EDT 2018
Hi Jon,
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.
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.
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.
John
=====================================
John ZuHone, Chandra/ACIS Operations
Harvard-Smithsonian Center for Astrophysics
60 Garden St., MS-67 (w) 617-496-1816
Cambridge, MA 02138 (m) 781-708-5004
john.zuhone at cfa.harvard.edu
http://hea-www.cfa.harvard.edu/~jzuhone
=====================================
> On Apr 24, 2018, at 4:27 PM, Slavin, Jonathan <jslavin at cfa.harvard.edu> wrote:
>
> Hi all,
>
> 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/ParticlesForces/longRange/gravity
>
> Regards,
> Jon
>
> --
> ________________________________________________________
> Jonathan D. Slavin Harvard-Smithsonian CfA
> jslavin at cfa.harvard.edu 60 Garden Street, MS 83
> phone: (617) 496-7981 Cambridge, MA 02138-1516
> cell: (781) 363-0035 USA
> ________________________________________________________
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://flash.rochester.edu/pipermail/flash-users/attachments/20180424/ab8253f5/attachment-0001.htm>
More information about the flash-users
mailing list