Alya is a multi-physics simulation code developed at Barcelona Supercomputing Center (BSC). From its inception Alya code is designed using advanced High Performance Computing programming techniques to solve coupled problems on supercomputers efficiently. The target domain is engineering, with all its particular features: complex geometries and unstructured meshes, coupled multi-physics with exotic coupling schemes and physical models, ill-posed problems, flexibility needs for rapidly including new models, etc. Since its beginnings in 2004, Alya has scaled well in an increasing number of processors when solving single-physics problems such as fluid mechanics, solid mechanics, acoustics, etc. Over time, we have made a concerted effort to maintain and even improve scalability for multi-physics problems. This poses challenges on multiple fronts, including: numerical models, parallel implementation, physical coupling models, algorithms and solution schemes, meshing process, etc. In this paper, we introduce Alya's main features and focus particularly on its solvers. We present Alya's performance up to 100.000 processors in Blue Waters, the NCSA supercomputer with selected multi-physics tests that are representative of the engineering world. The tests are incompressible flow in a human respiratory system, low Mach combustion problem in a kiln furnace, and coupled electro-mechanical contraction of the heart. We show scalability plots for all cases and discuss all aspects of such simulations, including solver convergence.Peer ReviewedPostprint (published version
18 February 2013 in Geophysical Journal International
We present a nodal finite-element method that can be used to compute in parallel highly accurate solutions for 3-D controlled-source electromagnetic forward-modelling problems in anisotropic media. Secondary coupled-potential formulation of Maxwell's equations allows to avoid the singularities introduced by the sources, while completely unstructured tetrahedral meshes and mesh refinement support an accurate representation of geological and bathymetric complexity and improve the solution accuracy. Different complex iterative solvers and an efficient pre-conditioner based on the sparse approximate inverse are used for solving the resulting large sparse linear system of equations. Results are compared with the ones of other researchers to check the accuracy of the method. We demonstrate the performance of the code in large problems with tens and even hundreds of millions of degrees of freedom. Scalability tests on massively parallel computers show that our code is highly scalable.
Finite-difference methods for modeling seismic waves are known to be inaccurate when including a realistic topography, due to the large dispersion errors that appear in the modelled surface waves and the scattering introduced by the staircase approximation to the topography. As a consequence, alternatives to finite-difference methods have been proposed to circumvent these issues. We present a new numerical scheme for 3D elastic wave propagation in the presence of strong topography. This finite-difference scheme is based upon a staggered grid of the Lebedev type, or fully staggered grid (FSG). It uses a grid deformation strategy to make a regular Cartesian grid conform to a topographic surface. In addition, the scheme uses a mimetic approach to accurately solve the free-surface condition and hence allows for a less restrictive grid spacing criterion in the computations. The scheme can use high-order operators for the spatial derivatives and obtain low-dispersion results with as few as six points per minimum wavelength. A series of tests in 2D and 3D scenarios, in which our results are compared to analytical and numerical solutions obtained with other numerical approaches, validate the accuracy of our scheme. The resulting FSG mimetic scheme allows for accurate and efficient seismic wave modelling in the presence of very rough topographies with the advantage of using a structured staggered grid.