210 likes | 235 Views
Explore the fundamental equations and applications of hydrodynamics and magneto-hydrodynamics in astrophysics. Learn about ideal gas behavior, adiabatic flow, shock waves, viscosity, magnetic flux freezing, and more.
E N D
The formation of stars and planets Day 1, Topic 3: Hydrodynamics and Magneto-hydrodynamics Lecture by: C.P. Dullemond
In astrophysics: ideal gas (except inside stars/planets): For typical H2/He mixture: Sometimes assume adiabatic flow: Equations of hydrodynamics Hydrodynamics can be formulated as a set of conservation equations + an equation of state (EOS). Equation of state relates pressure P to density and (possibly) temperature T For H2 (molecular): =7/5 For H (atomic): =5/3 Sometimes assume given T (this is what we will do in this lecture, because often T is fixed to external temperature)
Conservation of mass: Conservation of momentum: Equations of hydrodynamics Energy conservation equation need not be solved if T is given (as we will mostly assume).
Continuity equation So, the change of v along the fluid motion is: Equations of hydrodynamics Comoving frame formulation of momentum equation:
So, the complete set of hydrodynamics equations (with given temperature) is: Equations of hydrodynamics Momentum equation with (given) gravitational potential:
So the continuity and momentum equation become: Isothermal sound waves No gravity, homonegeous background density (0=const). Use linear perturbation theory to see what waves are possible
Chain collision on highway: visual signal too slow to warn upcoming traffic. Supersonic flows and shocks If a parcel of gas moves with v<cs, then any obstacle ahead receives a signal (sound waves) and the gas in between the parcel and the obstacle can compress and slow down the parcel before it hits the obstacle. If a parcel of gas moves with v>cs, then sound signals do not move ahead of parcel. No ‘warning’ before impact on obstacle. Gas is halted instantly in a shock-front and the energy is dissipated.
(1) Continuity equation: Momentum conservation: (2) Combining (1) and (2), eliminating i and o yields: Incoming flow is supersonic: outgoing flow is subsonic: Shock example: isothermal Galilei transformation to frame of shock front.
The tensor t is the viscous stress tensor: (the second viscosity is rarely important in astrophysics) Viscous flows Most gas flows in astrophysics are inviscid. But often an anomalous viscosity plays a role. Viscosity requires an extra term in the momentum equation Navier-Stokes Equation shear stress
Magnetohydrodynamics (MHD) • Like hydrodynamics, but with Lorentz-force added • Mostly we have conditions of “Ideal MHD”: infinite conductivity (no resistance): • Magnetic flux freezing • No dissipation of electro-magnetic energy • Currents are present, but no charge densities • Sometimes non-ideal MHD conditions: • Ions and neutrals slip past each other (ambipolar diffusion) • Reconnection (localized events) • Turbulence induced reconnection
( infinite, but j finite) Gas moves along the B-field Ideal MHD: flux freezing Galilei transformation to comoving frame (’) Galilei transformation back: Suppose B-field is static (E-field is 0 because no charges):
(Flux-freezing) Ideal MHD: flux freezing More general case: moving B-field lines. A moving B-field is (by definition) accompanied by a E-field. To see this, let’s start from a static pure magnetic B-field (i.e. without E-field). Now move the whole system with some velocity u (which is not necessarily v): On previous page, we derived that in the comoving frame of the fluid (i.e. velocity v), there is no E-field, and hence:
Ideal MHD: flux freezing Strong field: matter can only move along given field lines (beads on a string): Weak field: field lines are forced to move along with the gas:
Ideal MHD: flux freezing Coronal loops on the sun
Ideal MHD: flux freezing Mathematical formulation of flux-freezing: the equation of ‘motion’ for the B-field: Exercise: show that this ‘moves’ the field lines using the example of a constant v and gradient in B (use e.g. right-hand rule).
Ampère’s law: (in comoving frame) (Infinite conductivity: i.e. no displacement current in comoving frame) Momentum equation magneto-hydrodynamics: Lorentz force: Momentum equation magneto-hydrodynamics: Ideal MHD: equations
Momentum equation magneto-hydrodynamics: Magnetic tension Magnetic pressure Tension in curved field: force Ideal MHD: equations
Opposite field bundles close together: Localized reconnection of field lines: Non-ideal MHD: reconnection Acceleration of matter, dissipation by shocks etc. Magnetic energy is thus transformed into heat
Numerical integration of ODE An ordinary differential equation: Numerical form (zeroth order accurate, usually no good): Higher order algorithms (e.g. Runge-Kutta: very reliable): Implicit first order (fine for most of our purposes):
Numerical integration of ODE Implicit integration: we don’t know yi+1 in advance... Implicit integration for linear equations: algebraic Implicit integration of non-linear equations: can require sophisticated algorithm in pathological cases. For this lecture the examples are benign, and a simple recipe works: Simple recipe: First take yi+1 = yi . Do a step, find yi+1. Now redo step with this new yi+1 to find another new yi+1. Repeat until convergence (typically less than 5 steps).