320 research outputs found
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
A Space-time Smooth Artificial Viscosity Method For Nonlinear Conservation Laws
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
-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 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, 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 -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 -method framework, WENO-C. Third, we use WENO with the
Lax-Friedrichs flux together with the -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
Recommended from our members
Direct numerical simulation of gas transfer at the air-water interface in a buoyant-convective flow environment
This thesis was submitted for the degree of Doctor of Philosophy and awarded by Brunel University LondonThe gas transfer process across the air-water interface in a buoyant-convective environment has been investigated by Direct Numerical Simulation (DNS) to gain improved understanding of the mechanisms that control the process. The process is controlled by a combination of molecular diffusion and turbulent transport by natural convection. The convection when a water surface is cooled is combination of the Rayleigh-B´enard convection and the Rayleigh-Taylor instability. It is therefore necessary to accurately resolve the flow field as well as the molecular diffusion and the turbulent transport which contribute to the total flux. One of the challenges from a numerical point of view is to handle the very different levels of diffusion when solving the convection-diffusion equation. The temperature diffusion in water is relatively high whereas the molecular diffusion for most environmentally important gases is very low. This low molecular diffusion leads to steep gradients in the gas concentration, especially near the interface. Resolving the steep gradients is the limiting factor for an accurate resolution of the gas concentration field. Therefore a detailed study has been
carried out to find the limits of an accurate resolution of the transport for a low diffusivity scalar. This problem of diffusive scalar transport was studied in numerous 1D, 2D and 3D numerical simulations. A fifth-order weighted non-oscillatory scheme (WENO) was deployed to solve the convection of the scalars, in this case gas concentration and temperature. The WENO-scheme was modified and tested in 1D scalar transport to work on non-uniform meshes. To solve the 2D and 3D velocity field the incompressible Navier-Stokes equations were solved on a staggered mesh. The convective terms were solved using a fourth-order accurate kinetic energy conserving discretization while the diffusive terms were solved using a fourth-order central method. The diffusive terms were discretized using a fourth-order central finite difference method for the second derivative. For the time-integration of the velocity field a second-order Adams-Bashworth method was employed. The Boussinesq approximation was employed to model the buoyancy due to temperature differences in the water. A linear relationship between temperature and density was assumed. A mesh sensitivity study found that the velocity field is fully resolved on a relatively coarse mesh as the level of turbulence is relatively low. However a finer mesh for the gas concentration field is required to fully capture the steep gradients that occur because of its low diffusivity. A combined dual meshing approach was used where the velocity field was solved on a coarser mesh and the scalar field (gas concentration and temperature) was solved on an overlaying finer submesh. The velocities were interpolated by a second-order method onto the finer sub-mesh. A mesh sensitivity study identified a minimum mesh size required for an accurate solution
of the scalar field for a range of Schmidt numbers from Sc = 20 to Sc = 500. Initially the Rayleigh-B´enard convection leads to very fine plumes of cold liquid of high gas concentration that penetrate the deeper regions. High concentration areas remain in fine tubes that are fed from the surface. The temperature however diffuses much stronger and faster over time and the results show that temperature alone is not a good identifier for detailed high concentration areas when the gas transfer is investigated experimentally. For large timescales the
temperature field becomes much more homogeneous whereas the concentration field stays more heterogeneous. However, the temperature can be used to estimate the overall transfer velocity KL. If the temperature behaves like a passive scalar a relation between Schmidt or Prandtl number and KL is evident.
A qualitative comparison of the numerical results from this work to existing experiments was also carried out. Laser Induced Fluorescence (LIF) images of the oxygen concentration field and Schlieren photography has been compared to the results from the 3D simulations, which were found to be in good agreement. A detailed quantitative analysis of the process was carried out. A study of the horizontally averaged convective and diffusive mass flux enabled the calculation of transfer velocity KL at the interface. With KL known the renewal
rate r for the so called surface renewal model could be determined. It was found that the renewal rates are higher than in experiments in a grid stirred tank. The horizontally averaged mean and fluctuating concentration profiles were analysed and from that the boundary layer thickness could be accurately monitored over time. A lot of this new DNS data obtained in this research might be inaccessible in experiments and reveal previously unknown details of the gas transfer at the air water interface.Isambard Scholarshi
Investigation of finite-volume methods to capture shocks and turbulence spectra in compressible flows
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
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
- …