3,232 research outputs found

    A multiphysics and multiscale software environment for modeling astrophysical systems

    Get PDF
    We present MUSE, a software framework for combining existing computational tools for different astrophysical domains into a single multiphysics, multiscale application. MUSE facilitates the coupling of existing codes written in different languages by providing inter-language tools and by specifying an interface between each module and the framework that represents a balance between generality and computational efficiency. This approach allows scientists to use combinations of codes to solve highly-coupled problems without the need to write new codes for other domains or significantly alter their existing codes. MUSE currently incorporates the domains of stellar dynamics, stellar evolution and stellar hydrodynamics for studying generalized stellar systems. We have now reached a "Noah's Ark" milestone, with (at least) two available numerical solvers for each domain. MUSE can treat multi-scale and multi-physics systems in which the time- and size-scales are well separated, like simulating the evolution of planetary systems, small stellar associations, dense stellar clusters, galaxies and galactic nuclei. In this paper we describe three examples calculated using MUSE: the merger of two galaxies, the merger of two evolving stars, and a hybrid N-body simulation. In addition, we demonstrate an implementation of MUSE on a distributed computer which may also include special-purpose hardware, such as GRAPEs or GPUs, to accelerate computations. The current MUSE code base is publicly available as open source at http://muse.liComment: 24 pages, To appear in New Astronomy Source code available at http://muse.l

    Equivalent block transmissivity in an irregular 2D polygonal grid for one-phase flow: a sensitivity analysis

    Get PDF
    International audienceUpscaling is needed to transform the representation of non additive space-dependent variables, such as permeability, from the fine grid of geostatistical simulations (to simulate small scale spatial variability) to the coarser, generally irregular grids for hydrodynamic transport codes. A new renormalisation method is proposed, based on the geometric properties of a VoronoĂŻ grid. It is compared to other classic methods by a sensitivity analysis (grid, range and sill of the variogram, random realisation of a simulation); the criterion is the flux of a tracer at the outlet. The effect of the upscaling technique on the results appears to be of second order compared to the spatial discretisation, the choice of variogram, and the realisation

    Solving the Klein-Gordon equation using Fourier spectral methods: A benchmark test for computer performance

    Get PDF
    The cubic Klein-Gordon equation is a simple but non-trivial partial differential equation whose numerical solution has the main building blocks required for the solution of many other partial differential equations. In this study, the library 2DECOMP&FFT is used in a Fourier spectral scheme to solve the Klein-Gordon equation and strong scaling of the code is examined on thirteen different machines for a problem size of 512^3. The results are useful in assessing likely performance of other parallel fast Fourier transform based programs for solving partial differential equations. The problem is chosen to be large enough to solve on a workstation, yet also of interest to solve quickly on a supercomputer, in particular for parametric studies. Unlike other high performance computing benchmarks, for this problem size, the time to solution will not be improved by simply building a bigger supercomputer.Comment: 10 page

    Fast Calculation of the Radiative Opacity of Plasma

    Get PDF
    Plasma opacity calculations play an important role in solar modelling and many plasma physics and inertial confinement fusion experiments. This thesis is focussed on the fast calculation of opacity from first principles. The existing average atom (AA) opacity code IMP [1] is used alongside experimental data and detailed atomic physics to develop new models; the results show that simple models can give an excellent description of plasma spectra for a large range of conditions. The results are significant for the development of fast opacity codes which necessarily use the AA approach. The application of fast models to very large scale calculations is considered and an efficient approach to these developed; this allows the fast description of experimental data that would not have otherwise been possible [2]. Analysis of this data then allows the accuracy of the IMP model to be further discussed. The atomic model is also considered, and an improved approach implemented. These improvements makes little difference to the description of experiment provided electron exchange is included. The range of applicability of the IMP model is then extended to higher density by adding a fast description of line broadening by electrons. This gives an excellent agreement with both experiment and more advanced opacity codes. The treatment of atomic term structure can represent a significant portion of code runtime. A good compromise between detail and efficiency is the unresolved transition array (UTA) formulation; a consistent theory of UTAs is developed, and various models introduced. The accuracy of these is systematically tested. It is found that within the validity range of the UTA approach, a good description of the opacity can be gained using a simple model provided that the linewidth is correct. Various simplified calculations of this width are tested, and found to be inaccurate [3]
    • …
    corecore