ArticleslgStudy

computer science

Advanced Simulation Library

Advanced Simulation Library is a computer science topic covered in the lgStudy science library. This page brings together a partial reference excerpt, illustrations, worked examples, real-world applications and a short study plan, so you can understand Advanced Simulation Library rather than just read about it. In short: Advanced Simulation Library (ASL) is a 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 up to heterogeneous clusters and supercomputers.

Advanced Simulation Library — main illustration
Advanced Simulation Library — illustration

Key takeaways

  • Advanced Simulation Library belongs to computer science; place it in that map before memorising details.
  • Learn the definition first, then one example that makes the definition concrete.
  • Connect Advanced Simulation Library to a quantity you can measure, compute or draw — that is where exam questions come from.
  • Reproduce the core statement of Advanced Simulation Library from memory before moving on to harder problems.

Reference excerpt

Advanced Simulation Library (ASL) is a 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 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. The mesh-free, immersed boundary approach allows users to move from CAD directly to simulation, reducing pre-processing efforts and number 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).

History 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. Subsequently, Khronos Group acknowledged the significance of ASL and listed it on its website among OpenCL-based resources.

Application areas Computational fluid dynamics Computer-assisted surgery Virtual sensing Industrial process data validation and reconciliation Multidisciplinary design optimization Design space exploration Computer-aided engineering Crystallography Microfluidics

Advantages and disadvantages

Advantages C++ API (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

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

Features 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.

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

Uses ACTIVE - Active Constraints Technologies for Ill-defined or Volatile Environments (European FP7 Project)

See also List of computational fluid dynamics software

References

Illustrations

Advanced Simulation Library illustration
Advanced Simulation Library: Computer-assisted cryosurgery
Computer-assisted cryosurgery
Advanced Simulation Library: Simulation of a microfluidic device for separating mixtures of proteins
Simulation of a microfluidic device for separating mixtures of proteins
Advanced Simulation Library: Coating procedure employing physical vapor deposition (PVD) method
Coating procedure employing physical vapor deposition (PVD) method
Advanced Simulation Library: Image-guided neurosurgery, brain deformation simulation
Image-guided neurosurgery, brain deformation simulation

Worked examples

Example 1 — a first encounter with Advanced Simulation Library

Start with the simplest possible case. Write down what Advanced Simulation Library claims or describes in one sentence, then invent the smallest concrete situation in which that sentence is true. In computer science, the smallest case is usually a single object, a single equation or a single measurement. Check that every symbol or term in your sentence has a meaning in that case.

Example 2 — changing one variable

Take the situation from Example 1 and change exactly one quantity: double it, halve it, or set it to zero. Predict what should happen to Advanced Simulation Library before you calculate. Comparing your prediction with the result is the fastest way to find out whether you understand the idea or only the words.

Example 3 — an exam-style question

Typical questions about Advanced Simulation Library ask you to (a) state it precisely, (b) apply it to given data, and (c) explain a limitation. Practise writing all three answers in under five minutes; the third part is what separates a full-mark answer from an average one.

Applications of Advanced Simulation Library

In research
Advanced Simulation Library appears in computer science research whenever the underlying quantities have to be modelled precisely. Papers usually cite it as a starting assumption and then explore where it breaks down.
In technology and industry
Engineering practice reuses Advanced Simulation Library in design rules, simulations and safety margins. Knowing the idea lets you read a specification sheet and understand why the numbers look the way they do.
In the classroom
Advanced Simulation Library is common in secondary-school and first-year university syllabi. It links to neighbouring topics C++ numerical libraries, Computational chemistry software, Computational fluid dynamics, so understanding it makes those chapters shorter.
In everyday life
Look for Advanced Simulation Library outside the textbook — in sport, cooking, traffic, electronics or the sky above you. An example you found yourself is remembered far longer than one you were given.
Ask Teacher Smith questions about this articleOpens your AI tutor with a question about “Advanced Simulation Library” →

How to study Advanced Simulation Library in 20 minutes

  1. Read the reference excerpt below once, without taking notes.
  2. Close the page and write down what Advanced Simulation Library means in your own words.
  3. Compare your version with the excerpt and mark what you missed.
  4. Work through the three examples above with pen and paper.
  5. Explain Advanced Simulation Library out loud to somebody else — or to Teacher Smith in the lgStudy chat.

Frequently asked questions

What is Advanced Simulation Library in simple terms?

Advanced Simulation Library (ASL) is a 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 up to hete…

Why does Advanced Simulation Library matter?

Because it connects several computer science ideas at once: it gives you a definition you can apply, a quantity you can calculate, and a way to check whether a result is plausible.

How should I study Advanced Simulation Library?

Read the excerpt, restate it from memory, then work through the examples and applications listed on this page. The five-step study plan above takes about twenty minutes.

What does this page cover?

It gives you a compact reference excerpt plus original lgStudy explanations, examples, applications and study material on Advanced Simulation Library.

Tags

  • C++ numerical libraries
  • Computational chemistry software
  • Computational fluid dynamics
  • Computer-aided engineering software for Linux
  • Free science software
  • Free software programmed in C++
  • GPGPU libraries
  • Open Source computer aided engineering applications
  • Software using the GNU Affero General Public License

Keep exploring