Why aren't the <v^2> and <vr^2> curves different in my Hernquist model?

  • Context: Graduate 
  • Thread starter Thread starter LordV
  • Start date Start date
  • Tags Tags
    Dispersion Velocity
Click For Summary
SUMMARY

The discussion centers on the issue of identical and curves in a Hernquist model, where the expectation is that should equal 3 due to isotropy. The user generates equal mass initial conditions using a mass profile M(r) and employs a rejection method to draw velocities. Despite following the correct methodology, the resulting curves do not exhibit the anticipated difference, prompting a request for insights into potential errors or oversights in the calculations.

PREREQUISITES
  • Understanding of Hernquist models and their distribution functions.
  • Familiarity with mass profiles and the concept of M(r).
  • Knowledge of velocity distribution functions and rejection sampling methods.
  • Basic principles of isotropic systems in astrophysics.
NEXT STEPS
  • Investigate the mathematical derivation of isotropic velocity distributions in Hernquist models.
  • Learn about the implications of mass profiles on velocity calculations in astrophysics.
  • Explore advanced rejection sampling techniques for generating random variables.
  • Examine case studies where discrepancies in expected outcomes occur in astrophysical simulations.
USEFUL FOR

Astronomers, astrophysicists, and computational modelers working with Hernquist models or similar gravitational systems, particularly those focused on initial condition generation and velocity distribution analysis.

LordV
Messages
7
Reaction score
0
Hello, I would appreciate very much some help on this problem.

I have a Hernquist model (distribution function) and I am trying to generate equal mass initial conditions. The way I do it is this. I have the mass profile M(r) and I pick say 10^6 random numbers between 0 and 1=M(r->inf). Then I solve the inverse equation r=r(m_random) to find the radius. The next step is to draw the velocities. For each radius I calculate f(v) = f(ri,v)=f(0.5*v^2+V(r))=f(E) and then I use a rejection method to draw the velocity from f(v). Then I divide the space r (radius) in a logarithmic scale and within each bin I calculate the <v^2> from all the v's within this bin therefore I have the function <v^2>(r) and draw it and compare it with <vr^2>(r) form analytic from of the paper.

THE PROBLEM IS that the two curves are THE SAME but they shouldn't because v^2=vr^2+vphi^2+vth^2 => <v^2>=3<vr^2> because the model is isotropic i.e. <vr^2>=<vphi^2>=<vth^2>. Therefore there should be a difference by a factor of 3 in the 2 curves but there isn't any difference.

Any ideas?
 
Astronomy news on Phys.org
Hmmm, any ideas?
 

Similar threads

  • · Replies 30 ·
2
Replies
30
Views
2K
  • · Replies 1 ·
Replies
1
Views
3K
Replies
6
Views
2K
  • · Replies 20 ·
Replies
20
Views
2K
  • · Replies 8 ·
Replies
8
Views
3K
  • · Replies 1 ·
Replies
1
Views
2K
  • · Replies 1 ·
Replies
1
Views
3K
  • · Replies 4 ·
Replies
4
Views
2K
  • · Replies 2 ·
Replies
2
Views
2K
Replies
31
Views
4K