21,789 research outputs found
The effect of sheared diamagnetic flow on turbulent structures generated by the Charney–Hasegawa–Mima equation
The generation of electrostatic drift wave turbulence is modelled by the Charney–Hasegawa–Mima equation. The equilibrium density gradient n0=n0(x) is chosen so that dn0 /dx is nonzero and spatially variable (i.e., v*e is sheared). It is shown that this sheared diamagnetic flow leads to localized turbulence which is concentrated at max(grad n0), with a large dv*e/dx inhibiting the spread of the turbulence in the x direction. Coherent structures form which propagate with the local v*e in the y direction. Movement in the x direction is accompanied by a change in their amplitudes. When the numerical code is initialized with a single wave, the plasma behaviour is dominated by the initial mode and its harmonics
RAM: A Relativistic Adaptive Mesh Refinement Hydrodynamics Code
We have developed a new computer code, RAM, to solve the conservative
equations of special relativistic hydrodynamics (SRHD) using adaptive mesh
refinement (AMR) on parallel computers. We have implemented a
characteristic-wise, finite difference, weighted essentially non-oscillatory
(WENO) scheme using the full characteristic decomposition of the SRHD equations
to achieve fifth-order accuracy in space. For time integration we use the
method of lines with a third-order total variation diminishing (TVD)
Runge-Kutta scheme. We have also implemented fourth and fifth order Runge-Kutta
time integration schemes for comparison. The implementation of AMR and
parallelization is based on the FLASH code. RAM is modular and includes the
capability to easily swap hydrodynamics solvers, reconstruction methods and
physics modules. In addition to WENO we have implemented a finite volume module
with the piecewise parabolic method (PPM) for reconstruction and the modified
Marquina approximate Riemann solver to work with TVD Runge-Kutta time
integration. We examine the difficulty of accurately simulating shear flows in
numerical relativistic hydrodynamics codes. We show that under-resolved
simulations of simple test problems with transverse velocity components produce
incorrect results and demonstrate the ability of RAM to correctly solve these
problems. RAM has been tested in one, two and three dimensions and in
Cartesian, cylindrical and spherical coordinates. We have demonstrated
fifth-order accuracy for WENO in one and two dimensions and performed detailed
comparison with other schemes for which we show significantly lower convergence
rates. Extensive testing is presented demonstrating the ability of RAM to
address challenging open questions in relativistic astrophysics.Comment: ApJS in press, 21 pages including 18 figures (6 color figures
ACM Transactions on Graphics
When aiming to seamlessly integrate a fluid simulation into a larger scenario (like an open ocean), careful attention must be paid to boundary conditions. In particular, one must implement special "non-reflecting" boundary conditions, which dissipate out-going waves as they exit the simulation. Unfortunately, the state of the art in non-reflecting boundary conditions (perfectly-matched layers, or PMLs) only permits trivially simple inflow/outflow conditions, so there is no reliable way to integrate a fluid simulation into a more complicated environment like a stormy ocean or a turbulent river. This paper introduces the first method for combining nonreflecting boundary conditions based on PMLs with inflow/outflow boundary conditions that vary arbitrarily throughout space and time. Our algorithm is a generalization of stateof- the-art mean-flow boundary conditions in the computational fluid dynamics literature, and it allows for seamless integration of a fluid simulation into much more complicated environments. Our method also opens the door for previously-unseen postprocess effects like retroactively changing the location of solid obstacles, and locally increasing the visual detail of a pre-existing simulation
Levy--Brownian motion on finite intervals: Mean first passage time analysis
We present the analysis of the first passage time problem on a finite
interval for the generalized Wiener process that is driven by L\'evy stable
noises. The complexity of the first passage time statistics (mean first passage
time, cumulative first passage time distribution) is elucidated together with a
discussion of the proper setup of corresponding boundary conditions that
correctly yield the statistics of first passages for these non-Gaussian noises.
The validity of the method is tested numerically and compared against
analytical formulae when the stability index approaches 2, recovering
in this limit the standard results for the Fokker-Planck dynamics driven by
Gaussian white noise.Comment: 9 pages, 13 figure
- …