Giter Site home page Giter Site logo

Comments (4)

eugvas avatar eugvas commented on June 26, 2024

no, it's not physically possible: a spherical isotropic system must have a monotonically declining density profile [Binney & Tremaine, problem 4.4]. See also section 3.2.1 in Lacroix et al. arxiv:1805.02403 for a more in-depth discussion: in fact, even a model with a very flat core, such as a generalization of the Plummer model to rho ~ (r^n+a^n)^{-5/n}, is unphysical (has negative DF) for n>2.
Agama in general and mkspherical in particular wouldn't crash or even emit a warning if the DF computed via Eddington inversion turns out to be negative, but will silently replace it with zero (I admit that at least a warning would be useful, but it seems that false alerts are too frequent - need to investigate this in depth).

from agama.

dipto4 avatar dipto4 commented on June 26, 2024

I should've added more context to this. For the models that I am interested in, there is an MBH present at the center. I would like to generate N-body models such that there are no particles inside the Schwarzschild radius of the MBH. Would this be possible within the Agama framework?

from agama.

eugvas avatar eugvas commented on June 26, 2024

hmm, I'd think this is such a small radius that the expected number of particles is much smaller than 1. And the easiest thing is to remove them from the snapshot manually, if any are present.
of course, then there is a much larger population of particles on orbits with small angular momenta and pericentre distances below the Schwarzschild radius (or more precisely, 4 times the Schwarzschild radius - this is the equivalent Newtonian pericentre distance for nearly parabolic orbits that will be captured on the first approach). You may wish to also manually eliminate them from the snapshot or let them be captured by the MBH as the simulation runs.

from agama.

dipto4 avatar dipto4 commented on June 26, 2024

Thank you!

from agama.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.