-
An Experiment in Using Virtual Worlds for Scientific Visualization of Self-Gravitating Systems
Authors:
Will M. Farr,
Piet Hut,
Jeff Ames,
Adam Johnson
Abstract:
In virtual worlds, objects fall straight down. By replacing a few lines of code to include Newton's gravity, virtual world software can become an N-body simulation code with visualization included where objects move under their mutual gravitational attraction as stars in a cluster. We report on our recent experience of adding a gravitational N-body simulator to the OpenSim virtual world physics…
▽ More
In virtual worlds, objects fall straight down. By replacing a few lines of code to include Newton's gravity, virtual world software can become an N-body simulation code with visualization included where objects move under their mutual gravitational attraction as stars in a cluster. We report on our recent experience of adding a gravitational N-body simulator to the OpenSim virtual world physics engine. OpenSim is an open-source, virtual world server that provides a 3D immersive experience to users who connect using the popular "Second Life" client software from Linden Labs. With the addition of the N-body simulation engine, which we are calling NEO, short for N-Body Experiments in OpenSim, multiple users can collaboratively create point-mass gravitating objects in the virtual world and then observe the subsequent gravitational evolution of their "stellar" system. We view this work as an experiment examining the suitability of virtual worlds for scientific visualization, and we report on future work to enhance and expand the prototype we have built. We also discuss some standardization and technology issues raised by our unusual use of virtual worlds.
△ Less
Submitted 28 September, 2009; v1 submitted 7 May, 2009;
originally announced May 2009.
-
Variational Integrators for Almost-Integrable Systems
Authors:
Will M. Farr
Abstract:
We construct several variational integrators--integrators based on a discrete variational principle--for systems with Lagrangians of the form L = L_A + epsilon L_B, with epsilon << 1, where L_A describes an integrable system. These integrators exploit that epsilon << 1 to increase their accuracy by constructing discrete Lagrangians based on the assumption that the integrator trajectory is close…
▽ More
We construct several variational integrators--integrators based on a discrete variational principle--for systems with Lagrangians of the form L = L_A + epsilon L_B, with epsilon << 1, where L_A describes an integrable system. These integrators exploit that epsilon << 1 to increase their accuracy by constructing discrete Lagrangians based on the assumption that the integrator trajectory is close to that of the integrable system. Several of the integrators we present are equivalent to well-known symplectic integrators for the equivalent perturbed Hamiltonian systems, but their construction and error analysis is significantly simpler in the variational framework. One novel method we present, involving a weighted time-averaging of the perturbing terms, removes all errors from the integration at O(epsilon). This last method is implicit, and involves evaluating a potentially expensive time-integral, but for some systems and some error tolerances it can significantly outperform traditional simulation methods.
△ Less
Submitted 24 January, 2009; v1 submitted 8 October, 2008;
originally announced October 2008.
-
Variational Integrators for the Gravitational N-Body Problem
Authors:
Will M. Farr,
Edmund Bertschinger
Abstract:
This paper describes a fourth-order integration algorithm for the gravitational N-body problem based on discrete Lagrangian mechanics. When used with shared timesteps, the algorithm is momentum conserving and symplectic. We generalize the algorithm to handle individual time steps; this introduces fifth-order errors in angular momentum conservation and symplecticity. We show that using adaptive b…
▽ More
This paper describes a fourth-order integration algorithm for the gravitational N-body problem based on discrete Lagrangian mechanics. When used with shared timesteps, the algorithm is momentum conserving and symplectic. We generalize the algorithm to handle individual time steps; this introduces fifth-order errors in angular momentum conservation and symplecticity. We show that using adaptive block power of two timesteps does not increase the error in symplecticity. In contrast to other high-order, symplectic, individual timestep, momentum-preserving algorithms, the algorithm takes only forward timesteps. We compare a code integrating an N-body system using the algorithm with a direct-summation force calculation to standard stellar cluster simulation codes. We find that our algorithm has about 1.5 orders of magnitude better symplecticity and momentum conservation errors than standard algorithms for equivalent numbers of force evaluations and equivalent energy conservation errors.
△ Less
Submitted 26 March, 2007; v1 submitted 13 November, 2006;
originally announced November 2006.
-
Detection of Supernova Neutrinos by Neutrino-Proton Elastic Scattering
Authors:
John F. Beacom,
Will M. Farr,
Petr Vogel
Abstract:
We propose that neutrino-proton elastic scattering, $ν+ p \to ν+ p$, can be used for the detection of supernova neutrinos in scintillator detectors. Though the proton recoil kinetic energy spectrum is soft, with $T_p \simeq 2 E_ν^2/M_p$, and the scintillation light output from slow, heavily ionizing protons is quenched, the yield above a realistic threshold is nearly as large as that from…
▽ More
We propose that neutrino-proton elastic scattering, $ν+ p \to ν+ p$, can be used for the detection of supernova neutrinos in scintillator detectors. Though the proton recoil kinetic energy spectrum is soft, with $T_p \simeq 2 E_ν^2/M_p$, and the scintillation light output from slow, heavily ionizing protons is quenched, the yield above a realistic threshold is nearly as large as that from $\barν_e + p \to e^+ + n$. In addition, the measured proton spectrum is related to the incident neutrino spectrum, which solves a long-standing problem of how to separately measure the total energy and temperature of $ν_μ$, $ν_τ$, $\barν_μ$, and $\barν_τ$. The ability to detect this signal would give detectors like KamLAND and Borexino a crucial and unique role in the quest to detect supernova neutrinos.
△ Less
Submitted 20 May, 2002;
originally announced May 2002.