amusecode / amuse

Astrophysical Multipurpose Software Environment. This is the main repository for AMUSE
http://www.amusecode.org
Apache License 2.0
154 stars 98 forks source link

Bonsai with external tidal fields #985

Closed rieder closed 9 months ago

rieder commented 11 months ago

Copied from #862 since it is a separate issue

@christianboily:

Hi, I find this interesting because Bonsai is such a high-performance code, I keep asking myself why is it not better documented with sample scripts et al. ; I have not been able to "parse" bonsai as an integrator with an external potential through a bridge, although this works just fine with many integrators : Octgrav, BHTree, Phigrape, Ph4, .. but I guess since Bonsai is 100% GPU, that it does not stop-go to read the external field. The resuls - always the same - is that the system dissolves on a dynamical timescale. I was not aware of the set_acceleration() method, and do not know how to implement this : anyone with an example .. ? In general Amuse is a superior environment to compare results and trying different approaches, so having a Bonsai with embedded systems would be very useful in fact. cheers, cmb.

Originally posted by @christianboily in https://github.com/amusecode/amuse/issues/862#issuecomment-1719426336

rieder commented 11 months ago

Hi @christianboily, I'm not sure what the issue is - Bonsai should work fine with external tidal fields (see my 2013 article). Maybe it was a time step not set correctly? You're right that an example would be helpful, we'll see if we can provide one. One issue with that is that I don't have ready access to a system with NVIDIA GPUs, but that should be solvable.

stale[bot] commented 9 months ago

This issue has been automatically marked as stale because it has not had recent activity. It will be closed in 28 days if no further activity occurs. Thank you for your contributions.