Java Applets for Teaching of AstroPhysics:

Joachim Köppen Strasbourg/Illkirch/Kiel 2010


Contents


Introduction This is a collection of Java applets written for teaching, creating exercises, allowing self-study and for use as small research tools. They aim to permit an interactive exploration of the behaviour of physical systems.

Most of the applets are done with the JDK 1.05 only (and thus work also on Netscape3), but some are JDK 1.2.


Space Exploration and Solar System



Stars and Nebulae


our Milky Way galaxy

  • Radial velocities in the Milky Way shows which part of the gas moving in the Galactic Plane on its rotation around the Galactic Centre moves with respect to the solar position.
  • Spiral Arms in the Milky Way shows how the gas moving in spiral arms in the Galactic Plane will appear in the diagram of galactic longitude and radial velocity, which is the result of mapping the emission of the 21 cm hydrogen line in the Galactic Plane. The user can change the parameters of the arms and hence see the effects in the map.
  • A very nice Applet demonstrating the decomposition of Rotation Curves of disk galaxies into the visible and dark matter components. By Chris Mihos and colleagues at Case Western Reserve University


Galaxies

  • Solar Photospheric Abundances gives the data from Apslund et al. (2005) in the usual logarithmic values as well as the linear mass fractions. If the user changes one of the values, and hits the return key, all values are recomputed.
  • Various Initial Mass Functions of the stars can be displayed. Also the locked-up mass fractions and a crude estimate for the metal yield are computed.
  • The Integrated Galactic Initial Mass Function (IGIMF) is the distribution function of masses with which the stars in a galaxy are born. Since stars are formed in clusters, one has to take into account that in small clusters the presence of massive stars is less likely than in more massive clusters. This concept, developed by C.Weidner and P.Kroupa, also shows that the shape of the IGIMF depends on the actual star formation rate. The applet computes and displays the resulting IGIMF. It also computes the number of stars more massive than a certain value. For details, the original articles should be consulted.
  • An Applet computing the Chemical Evolution of galaxies with detailed nucleosynthesis developed by Céline Bonilla, Marie-Hélène Annat, Julien Faivre and Benjamin Gonzales as their second-year project of the ENSPS school of physics. This is a fully workable version, which however shall undergo some more revisions and cosmetics.
  • In Exponential Infall we compute the evolution of gas, stars, and a primary element in a galaxy represented by a single-zone model into which gas can fall in with a rate decreasing exponentially in time. The user specifies the law for star formation, the initial gas mass, and a factor to take into account gas loss by winds.
  • In the Simple Infall Model we compute the chemical evolution of primary and secondary elements in gas and stars in a galaxy represented by a one-zone model with gas infall following a user-specified arbitrary rate (Old version)
  • In the One Zone Model we compute the chemical evolution of elements in gas and stars in a galaxy represented by a single-zone model, with user-specified arbitrary rates for the star formation, gas infall and gas outflows, and with user-defined metallicity dependent yield for the chemical elements. Also, the histogram of the stellar abundance can be shown.
  • Flows in a Galaxy computes the evolution of gas, stars, and metals in a one-zone model for the chemical evolution of a galaxy, under the influence of a (user-specified) completely arbitrary inflow of metal-poor gas. This Applet accompanies the paper by Köppen & Edmunds (1999) Monthly Not.Royal Astron.Soc. 306, 317
  • Oxygen and Nitrogen computes the evolution of gas, stars, and the abundances of these two elements in a one-zone model for the chemical evolution of a galaxy, given the nucleosynthesis prescriptions which the user can enter and modify. The model takes into account the finite life times of the stars of different masses, so that the effects of delayed primary and secondary production of nitrogen can be studied.
  • Galaxies computes the evolution of gas, stars, and metallicity of galaxies of various total masses, given some recipes how the star formation rate, the infall time scale, and other perameters depend on the total mass of the galaxy. The one-zone models neglect the finite lifetimes of the stars.
  • The observed age-metallicity-relation (AMR) is used by Inversion of AMR to compute the history of star formation and gas infall in a simple galactic evolution model. Depending on the user-given data, a solution may be possible or not at all!
  • The model for the evolution of a Galactic Disk shows how the densities of gas and stars and the metallicity of the gas changes with time and radius. Stars are formed from the gas following a simple recipe. Metal-free gas falls into the disk with a time- and radius-dependent prescription, and radial flows carry gas towards the galactic centre. (under development)
  • Stellar Population is a Monte Carlo simulation of a population of stars, born according to some specified star formation history. It also shows the computed evolutionary paths of any star between 0.8 and 120 solar masses in the Hertzsprung-Russell diagram, as well as the isochrones, i.e. the locus of stars of any given age. It allows also to show the contributions to the total number, mass, luminosity, brightnesses, and colours by each part of - say - the Hertzsprung-Russell-diagram (NEW version with simulated noise in the magnitudes).
  • My version of the Toomres' simulation of the Collision of Disk Galaxies is available here. The two galaxies are modeled by a number of stellar particles circling the centre in the shape of disks, and during the collision only the tidal forces are taken into account. The user specifies the parameters of the collision course as well as the masses and orientations of the disks. This classical simulation proved that extended arms observed in some galaxies are due to the tidal interaction between the two galaxies.
  • Here are my 'analytical' considerations to estimate the Ram pressure stripping which can be responsable for the removal of gas from a galaxy as it travels through the hot gas in a cluster of galaxies. (no explanations provided, experts know what things mean ;-)
  • More dynamics Applets are found in Dynamical Astronomy Javalab at Case Western Reserve University'


more Astrophysics

  • The Onedimensional Hydrodynamics simulation shows how the gas which had initially been confined to the left part in a tube, fills the entire volume, once its partition is opened; the formation of a shock and a rarefaction wave can be followed. Both the isothermal and the adiabatic case can be done. The user can also enter graphically by mouse clicks any arbitrary initial profiles of density, velocity, and temperature.
  • Collapse of a spherical selfgravitating gas cloud shows the evolution of density, velocity, and temperature as such as the gas in such cloud moves towards the centre first in free-fall but then modified by pressure forces. Both isothermal and adiabatic cases can be done. Also, the user can enter graphically by mouse clicks any arbitrary initial profiles of density, velocity, and temperature.
  • The Smoothed Particle Hydrodynamics in One Dimension simulation shows also the isothermal shock tube, as above, but treated with the SPH method in which a large number of particles are moved in space in such a way that the smoothed average of their density behaves as the density of a real fluid. So far, the user can choose the initial density contrast in the two tube sections ...
  • Gravitational Lenses by Pete Kernan.


Observation and Instruments

  • Interfering Waves simulates how the waves emitted by two spatially separated transmitters are interfering with each other to setup a stationary pattern. The user may change the positions of the sources as well as the frequencies of the emissions.

  • An interactive tool to Model Images and Spectra of 3-D Objects allows the simulation of observational data which would be obtained from three-dimensional objects, such as gas clouds, gaseous nebulae, star clusters, and galaxies. It helps in the interpretation of data cubes which are a set of images taken in differnt wavelengths, and thus contain the data on the spatial distribution of matter and the velocity field in such an object. This applet was designed and programmed by Sophie Bresson, Bertrand Leriche, Cindy LeLoirec, and Marc-Olivier Sercki in 2002/03 as a second-year project of the ENSPS school of physics. (The present version is undergoing cosmetics, some more debugging and changes - accompanying web-pages and help screens in English will be constructed from the original version in French)

  • Airglow Spectrum depicts a typical observed optical spectrum of the night sky; this must always be subtracted from the raw observations of a star, nebula or galaxy before one gets its true spectrum.
  • The Virtual Radio Interferometer written by Nuria McKay, Derek McKay and Mark Wieringa, shows the operation of an interferometric array of radio telescopes, whose configuration you can change and then observe how an object in the sky would look like. Great stuff!
  • Optics Applets written by Tim McIntyre, shows the operation of a Fabry-Perot and Michelson Interferometers, Diffraction gratings
  • Thin Lens Applet written by Fu-Kwun Hwang shows imaging of thin lenses and mirrors
  • Radiation Patterns of Aperture Antennas shows the diffraction pattern of reflector antennas whose aperture of rectangular shape is illuminated uniformly or in one of several other ways. This simulation is based on Huygen's principle. The intensity can be computed not only far away from the antenna, but also at closer distances, thus showing both Fraunhofer and Fresnell diffraction patterns.


Other Stuff ....

  • Lorenzian Chaos is an oscilloscope-like display of the never-ending variation of a chaotic solution on the system of differential equations by Lorenz which describe some very simplified model of the dynamics of the atmosphere.
  • Dynamical Systems shows typical behavioural features of systems of nonlinear equations, which can be displayed in their time evolution as well as by their phase-space portrait: Volterra's system describes how populations of two competing species oscillate about an equilibrium point. The amplitude of the Van der Pol oscillator is limited by nonlinearities and thus has a limit-cycle. The systems of Rössler and Lorenz shows chaos.
  • Here is just another pocket calculator.
  • Cashflow is an experimental demonstration for the use of barchart diagrams to show the cashflow in a project


Numerical Techniques

At Applets for Numerical Maths you find applets which I have written to demonstrate, apply, and compare basic numerical techniques, for use in course work, lectures, exercises, and homework problems (as usual, I am far behind for explanation pages):


Radio and Electronics

At Applets for Radio and Electronics I collect applets useful for design of electronic circuits:


| Top of the Page | to my HomePage |


last update: 8 April 2008 J.Köppen