320 research outputs found

    RAM: A Relativistic Adaptive Mesh Refinement Hydrodynamics Code

    Full text link
    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

    A Space-time Smooth Artificial Viscosity Method For Nonlinear Conservation Laws

    Full text link
    We introduce a new methodology for adding localized, space-time smooth, artificial viscosity to nonlinear systems of conservation laws which propagate shock waves, rarefactions, and contact discontinuities, which we call the CC-method. We shall focus our attention on the compressible Euler equations in one space dimension. The novel feature of our approach involves the coupling of a linear scalar reaction-diffusion equation to our system of conservation laws, whose solution C(x,t)C(x,t) is the coefficient to an additional (and artificial) term added to the flux, which determines the location, localization, and strength of the artificial viscosity. Near shock discontinuities, C(x,t)C(x,t) is large and localized, and transitions smoothly in space-time to zero away from discontinuities. Our approach is a provably convergent, spacetime-regularized variant of the original idea of Richtmeyer and Von Neumann, and is provided at the level of the PDE, thus allowing a host of numerical discretization schemes to be employed. We demonstrate the effectiveness of the CC-method with three different numerical implementations and apply these to a collection of classical problems: the Sod shock-tube, the Osher-Shu shock-tube, the Woodward-Colella blast wave and the Leblanc shock-tube. First, we use a classical continuous finite-element implementation using second-order discretization in both space and time, FEM-C. Second, we use a simplified WENO scheme within our CC-method framework, WENO-C. Third, we use WENO with the Lax-Friedrichs flux together with the CC-equation, and call this WENO-LF-C. All three schemes yield higher-order discretization strategies, which provide sharp shock resolution with minimal overshoot and noise, and compare well with higher-order WENO schemes that employ approximate Riemann solvers, outperforming them for the difficult Leblanc shock tube experiment.Comment: 34 pages, 27 figure

    Investigation of finite-volume methods to capture shocks and turbulence spectra in compressible flows

    Get PDF
    The aim of the present paper is to provide a comparison between several finite-volume methods of different numerical accuracy: second-order Godunov method with PPM interpolation and high-order finite-volume WENO method. The results show that while on a smooth problem the high-order method perform better than the second-order one, when the solution contains a shock all the methods collapse to first-order accuracy. In the context of the decay of compressible homogeneous isotropic turbulence with shocklets, the actual overall order of accuracy of the methods reduces to second-order, despite the use of fifth-order reconstruction schemes at cell interfaces. Most important, results in terms of turbulent spectra are similar regardless of the numerical methods employed, except that the PPM method fails to provide an accurate representation in the high-frequency range of the spectra. It is found that this specific issue comes from the slope-limiting procedure and a novel hybrid PPM/WENO method is developed that has the ability to capture the turbulent spectra with the accuracy of a high-order method, but at the cost of the second-order Godunov method. Overall, it is shown that virtually the same physical solution can be obtained much faster by refining a simulation with the second-order method and carefully chosen numerical procedures, rather than running a coarse high-order simulation. Our results demonstrate the importance of evaluating the accuracy of a numerical method in terms of its actual spectral dissipation and dispersion properties on mixed smooth/shock cases, rather than by the theoretical formal order of convergence rate.Comment: This paper was previously composed of 2 parts, and this submission was part 1. It is now replaced by the combined pape

    Compact-Reconstruction Weighted Essentially Non-Oscillatory Schemes for Hyperbolic Conservation Laws

    Get PDF
    A new class of non-linear compact interpolation schemes is introduced in this dissertation that have a high spectral resolution and are non-oscillatory across discontinuities. The Compact-Reconstruction Weighted Essentially Non-Oscillatory (CRWENO) schemes use a solution-dependent combination of lower-order compact schemes to yield a high-order accurate, non-oscillatory scheme. Fifth-order accurate CRWENO schemes are constructed and their numerical properties are analyzed. These schemes have lower absolute errors and higher spectral resolution than the WENO scheme of the same order. The schemes are applied to scalar conservation laws and the Euler equations of fluid dynamics. The order of convergence and the higher accuracy of the CRWENO schemes are verified for smooth solutions. Significant improvements are observed in the resolution of discontinuities and extrema as well as the preservation of flow features over large convection distances. The computational cost of the CRWENO schemes is assessed and the reduced error in the solution outweighs the additional expense of the implicit scheme, thus resulting in higher numerical efficiency. This conclusion extends to the reconstruction of conserved and primitive variables for the Euler equations, but not to the characteristic-based reconstruction. Further improvements are observed in the accuracy and resolution of the schemes with alternative formulations for the non-linear weights. The CRWENO schemes are integrated into a structured, finite-volume Navier-Stokes solver and applied to problems of practical relevance. Steady and unsteady flows around airfoils are solved to validate the scheme for curvi-linear grids, as well as overset grids with relative motion. The steady flow around a three-dimensional wing and the unsteady flow around a full-scale rotor are solved. It is observed that though lower-order schemes suffice for the accurate prediction of aerodynamic forces, the CRWENO scheme yields improved resolution of near-blade and wake flow features, including boundary and shear layers, and shed vortices. The high spectral resolution, coupled with the non-oscillatory behavior, indicate their suitability for the direct numerical simulation of compressible turbulent flows. Canonical flow problems -- the decay of isotropic turbulence and the shock-turbulence interaction -- are solved. The CRWENO schemes show an improved resolution of the higher wavenumbers and the small-length-scale flow features that are characteristic of turbulent flows. Overall, the CRWENO schemes show significant improvements in resolving and preserving flow features over a large range of length scales due to the higher spectral resolution and lower dissipation and dispersion errors, compared to the WENO schemes. Thus, these schemes are a viable alternative for the numerical simulation of compressible, turbulent flows
    • …
    corecore