can sph correctly solve for hydrostatic equilibrium? · satellites, star formation in cooling gas...

18
Can SPH correctly solve for hydrostatic equilibrium? Molly Peeples The Ohio State University Center for Cosmology and Astro-Particle Physics June 16, 2010 at the 2010 Great Lakes Cosmology Workshop with David Weinberg, Neal Katz, Dušan Kereš, Romeel Davé, and Ben Oppenheimer

Upload: others

Post on 02-Oct-2020

1 views

Category:

Documents


0 download

TRANSCRIPT

Page 1: Can SPH correctly solve for hydrostatic equilibrium? · satellites, star formation in cooling gas clouds... c.f. morning talks by Tremonti, Feldman, Leitner, Nickerson... Can SPH

Can SPH correctly solve for hydrostatic

equilibrium? Molly Peeples The Ohio State University Center for Cosmology and Astro-Particle Physics June 16, 2010 at the 2010 Great Lakes Cosmology Workshop with David Weinberg, Neal Katz, Dušan Kereš, Romeel Davé, and Ben Oppenheimer

Page 2: Can SPH correctly solve for hydrostatic equilibrium? · satellites, star formation in cooling gas clouds... c.f. morning talks by Tremonti, Feldman, Leitner, Nickerson... Can SPH

Two phase media & galaxy formation:

cold mode gas accretion (Kereš et al. 2005,2009)

galaxy winds (Oppenheimer et al.)

plus forming cold clouds via thermal instabilities, stripping gas from infalling satellites, star formation in cooling gas clouds... c.f. morning talks by Tremonti, Feldman, Leitner, Nickerson...

Page 3: Can SPH correctly solve for hydrostatic equilibrium? · satellites, star formation in cooling gas clouds... c.f. morning talks by Tremonti, Feldman, Leitner, Nickerson... Can SPH

Can SPH correctly solve for hydrostatic

equilibrium? Molly Peeples The Ohio State University Center for Cosmology and Astro-Particle Physics June 16, 2010 at the 2010 Great Lakes Cosmology Workshop with David Weinberg, Neal Katz, Dušan Kereš, Romeel Davé, and Ben Oppenheimer

Page 4: Can SPH correctly solve for hydrostatic equilibrium? · satellites, star formation in cooling gas clouds... c.f. morning talks by Tremonti, Feldman, Leitner, Nickerson... Can SPH
Page 5: Can SPH correctly solve for hydrostatic equilibrium? · satellites, star formation in cooling gas clouds... c.f. morning talks by Tremonti, Feldman, Leitner, Nickerson... Can SPH

The setup: spherical cold blob initially in hydrostatic equilibrium with hot ambient medium

Ambient medium: •  T = 106K • 100ρamb=ρblob

Spherical blob: •  T = 104K

(ρT)amb=(ρT)blob

Page 6: Can SPH correctly solve for hydrostatic equilibrium? · satellites, star formation in cooling gas clouds... c.f. morning talks by Tremonti, Feldman, Leitner, Nickerson... Can SPH

Let it evolve: blob oscillates, eventually heats up and contracts slightly

Page 7: Can SPH correctly solve for hydrostatic equilibrium? · satellites, star formation in cooling gas clouds... c.f. morning talks by Tremonti, Feldman, Leitner, Nickerson... Can SPH

Let it evolve: blob oscillates, eventually heats up and contracts slightly blob becomes over-pressured

distance from blob center

log

[de

nsity

* te

mp

era

ture

]

Page 8: Can SPH correctly solve for hydrostatic equilibrium? · satellites, star formation in cooling gas clouds... c.f. morning talks by Tremonti, Feldman, Leitner, Nickerson... Can SPH

Pressure difference as a function of time ... blob is oscillating but still over-pressured

Page 9: Can SPH correctly solve for hydrostatic equilibrium? · satellites, star formation in cooling gas clouds... c.f. morning talks by Tremonti, Feldman, Leitner, Nickerson... Can SPH

Resolution: Blob is even more over-pressured at lower resolutions, but oscillations damp out more quickly

Page 10: Can SPH correctly solve for hydrostatic equilibrium? · satellites, star formation in cooling gas clouds... c.f. morning talks by Tremonti, Feldman, Leitner, Nickerson... Can SPH

So what’s going on here?

 SPH force calculations assume smooth density gradients within smoothing kernels

 sharp boundary violates this!

 leads to numerical surface tension from low-density particles near boundary having their densities over-estimated

Agertz et al. (2007)

gap forms from sharp change in smoothing lengths

Page 11: Can SPH correctly solve for hydrostatic equilibrium? · satellites, star formation in cooling gas clouds... c.f. morning talks by Tremonti, Feldman, Leitner, Nickerson... Can SPH

relative pressure SPH (rpSPH): possible solution?

d v d t

= −

∇ Pρ

d v d t

= − ∇

⎝ ⎜

⎠ ⎟ +

Pρ2 ∇ ρ

⎣ ⎢

⎦ ⎥

versus

Gadget-2 (and most other SPH codes)

rpSPH (Abel 2010)

Page 12: Can SPH correctly solve for hydrostatic equilibrium? · satellites, star formation in cooling gas clouds... c.f. morning talks by Tremonti, Feldman, Leitner, Nickerson... Can SPH

relative pressure SPH (rpSPH): possible solution?

d v id t

= − m j fiPi

ρi2 ∇ iWij (hi) + f j

Pj

ρ j2 ∇ iWij (h j )

⎣ ⎢

⎦ ⎥

j=1

N

d v id t

= − m j fi

Pj − Pi

ρ j2 ∇ iWij (hi)

⎣ ⎢

⎦ ⎥

j=1

N

versus Gadget-2

rpSPH

Page 13: Can SPH correctly solve for hydrostatic equilibrium? · satellites, star formation in cooling gas clouds... c.f. morning talks by Tremonti, Feldman, Leitner, Nickerson... Can SPH

relative pressure SPH (rpSPH): possible solution?

d v id t

= − m j fiPi

ρi2 ∇ iWij (hi) + f j

Pj

ρ j2 ∇ iWij (h j )

⎣ ⎢

⎦ ⎥

j=1

N

d v id t

= − m j fi

Pj − Pi

ρ j2 ∇ iWij (hi)

⎣ ⎢

⎦ ⎥

j=1

N

versus Gadget-2

rpSPH

momentum: ✔ pressure: ✖

momentum: ✖ pressure: ✔

Page 14: Can SPH correctly solve for hydrostatic equilibrium? · satellites, star formation in cooling gas clouds... c.f. morning talks by Tremonti, Feldman, Leitner, Nickerson... Can SPH

d v id t

= − m j fi

Pj − Pi

ρ j2 ∇ iWij (hi)

⎣ ⎢

⎦ ⎥

j=1

N

relative pressure SPH (rpSPH): possible solution?

d v id t

= − m j fiPi

ρi2 ∇ iWij (hi) + f j

Pj

ρ j2 ∇ iWij (h j )

⎣ ⎢

⎦ ⎥

j=1

N

∑Gadget-2

rpSPH

versus

Bernoulli

Newton

momentum: ✔ pressure: ✖

momentum: ✖ pressure: ✔

Page 15: Can SPH correctly solve for hydrostatic equilibrium? · satellites, star formation in cooling gas clouds... c.f. morning talks by Tremonti, Feldman, Leitner, Nickerson... Can SPH

d v id t

= − m j fi

Pj − Pi

ρ j2 ∇ iWij (hi)

⎣ ⎢

⎦ ⎥

j=1

N

relative pressure SPH (rpSPH): possible solution?

d v id t

= − m j fiPi

ρi2 ∇ iWij (hi) + f j

Pj

ρ j2 ∇ iWij (h j )

⎣ ⎢

⎦ ⎥

j=1

N

∑Gadget-2

rpSPH

versus

momentum: ✔ pressure: ✖

momentum: ✖ pressure: ✔

Page 16: Can SPH correctly solve for hydrostatic equilibrium? · satellites, star formation in cooling gas clouds... c.f. morning talks by Tremonti, Feldman, Leitner, Nickerson... Can SPH

rpSPH: Needs 128 neighbors to not crash... blob ends up slightly under-pressured... in regular SPH more neighbors means more over-pressured

Page 17: Can SPH correctly solve for hydrostatic equilibrium? · satellites, star formation in cooling gas clouds... c.f. morning talks by Tremonti, Feldman, Leitner, Nickerson... Can SPH

rpSPH: Needs 128 neighbors to not crash... blob ends up slightly under-pressured... in regular SPH more neighbors means more over-pressured

Page 18: Can SPH correctly solve for hydrostatic equilibrium? · satellites, star formation in cooling gas clouds... c.f. morning talks by Tremonti, Feldman, Leitner, Nickerson... Can SPH

rpSPH Gadget-2.0.4

Same initial conditions; Nngb = 128 ± 2