Open main menu

Advanced Simulation Library

Advanced Simulation Library (ASL) is free and open-source hardware-accelerated multiphysics simulation platform. It enables users to write customized numerical solvers in C++ and deploy them on a variety of massively parallel architectures, ranging from inexpensive FPGAs, DSPs and GPUs[1] up to heterogeneous clusters and supercomputers. Its internal computational engine is written in OpenCL and utilizes matrix-free solution techniques. ASL implements variety of modern numerical methods, i.a. level-set method, lattice Boltzmann, immersed Boundary. Mesh-free, immersed boundary approach allows users to move from CAD directly to simulation, reducing pre-processing efforts and amount of potential errors. ASL can be used to model various coupled physical and chemical phenomena, especially in the field of computational fluid dynamics. It is distributed under the free GNU Affero General Public License with an optional commercial license (which is based on the permissive MIT License).

Advanced Simulation Library
Multicomponent flow simulation
Multicomponent flow simulation
Developer(s)Avtech Scientific
Initial releaseMay 14, 2015; 3 years ago (2015-05-14)
Stable release
0.1.7 / November 9, 2016; 2 years ago (2016-11-09)
Operating systemUnix/Linux, Windows, Mac
TypeMultiphysics, Computer-aided engineering, Computational fluid dynamics, Simulation software
LicenseGNU Affero General Public License, optional commercial license (based on MIT License)
Multicomponent flow video
Computer-assisted cryosurgery
Simulation of a microfluidic device for separating mixtures of proteins
Coating procedure employing physical vapor deposition (PVD) method
Image-guided neurosurgery, brain deformation simulation
Aerodynamics of a locomotive in a tunnel



Advanced Simulation Library is being developed by Avtech Scientific, an Israeli company. Its source code was released to the community on 14 May 2015, whose members packaged it for scientific sections of all major Linux distributions shortly thereafter.[2][3][4][5][6][7] Subsequently, Khronos Group acknowledged the significance of ASL and listed it on its website among OpenCL-based resources.[8]

Application areasEdit

Advantages and disadvantagesEdit


  • C++ API[9] (no OpenCL knowledge required)
  • Mesh-free, immersed boundary approach allows users to move from CAD directly to computations reducing pre-processing effort
  • Dynamic compilation enables an additional layer of optimization at run-time (i.e. for a specific parameters set the application was provided with)
  • Automatic hardware acceleration and parallelization of applications
  • Deployment of same program on a variety of parallel architectures - GPU, APU, FPGA, DSP, multicore CPUs
  • Ability to deal with complex boundaries
  • Ability to incorporate microscopic interactions
  • Availability of the source code


  • Absence of detailed documentation (besides the Developer Guide generated from the source code comments)
  • Not all OpenCL drivers are mature enough for the library[10]


ASL provides a range of features to solve number of problems - from complex fluid flows involving chemical reactions, turbulence and heat transfer, to solid mechanics and elasticity.[11]

  • Interfacing: VTK/ParaView, MATLAB (export).
    • import file formats: .stl .vtp .vtk .vti .mnc .dcm
    • export file formats: .vti .mat
  • Geometry:
    • flexible and complex geometry using simple rectangular grid
    • mesh-free, immersed boundary approach
    • generation and manipulation of geometric primitives
  • Implemented phenomena:
    • Transport processes
      • multicomponent transport processes
      • compressible and incompressible fluid flow
    • Chemical reactions
      • electrode reactions
    • Elasticity
      • homogeneous isotropic elasticity
      • homogeneous isotropic poroelasticity
    • Interface tracking
      • evolution of an interface
      • evolution of an interface with crystallographic kinetics


  • ACTIVE - Active Constraints Technologies for Ill-defined or Volatile Environments (European FP7 Project)[12][13][14]


  1. ^ "ASL - expanding software ecosystem for the DSP/FPGA/GPU market" (PDF).
  2. ^ "ASL enters Linux".
  3. ^ "ASL for OpenSuse".
  4. ^ "ASL for Debian".
  5. ^ "ASL for Gentoo".
  6. ^ "ASL for Fedora".
  7. ^ "ASL for Arch Linux".
  8. ^ "ASL among Khronos' OpenCL resources".
  9. ^ "Example of an aerodynamic simulation".
  10. ^ "ASL deployment: problematic drivers".
  11. ^ "About Advanced Simulation Library:".
  12. ^ "ACTIVE Project: Intraoperative Brain Shift".
  13. ^ "ASL on".
  14. ^ "ASL on".