Re: external gravity in Gadget-4

From: Volker Springel <vspringel_at_MPA-Garching.MPG.DE>
Date: Sun, 15 Nov 2020 12:32:51 +0100

Hi Anuj,

Ok, I've added an example for this to the code, the potential of a Hernquist halo. Look for the EXTERNALGRAVITY_STATICHQ option and source file src/gravity/grav_external.cc for the implementation.

Best regards,
Volker

> On 2. Nov 2020, at 19:04, Anuj Kankani <anuj00_at_tamu.edu> wrote:
>
> Hello,
> I have started using Gadget-4 and saw that we can now include an external potential. I am trying to add a static Milky Way potential to my simulation but am having trouble figuring out how exactly to do so. Do I need to edit my initial conditions and/or parameter file, and if so what exactly do I need to edit? Any help would be greatly appreciated.
>
> Thank you,
> Anuj K.
>
> -----------------------------------------------------------
>
> If you wish to unsubscribe from this mailing, send mail to
> minimalist_at_MPA-Garching.MPG.de with a subject of: unsubscribe gadget-list
> A web-archive of this mailing list is available here:
> http://www.mpa-garching.mpg.de/gadget/gadget-list
Received on 2020-11-15 12:32:52

This archive was generated by hypermail 2.3.0 : 2022-09-01 14:03:43 CEST