Coder Social home page Coder Social logo

chaserli / opensbli Goto Github PK

View Code? Open in Web Editor NEW

This project forked from opensbli/opensbli

0.0 0.0 0.0 3.51 MB

A framework for the automated derivation and parallel execution of finite difference solvers on a range of computer architectures.

Home Page: https://opensbli.github.io/

License: GNU General Public License v3.0

Python 98.68% Makefile 1.32%

opensbli's Introduction

OpenSBLI

OpenSBLI is an open-source code-generation system for compressible fluid dynamics (CFD) on heterogeneous computing architectures. Written in Python, OpenSBLI uses explicit high-order finite-difference schemes on structured curvilinear meshes. Shock-capturing is performed by a choice of high-order Weighted Essentially Non-Oscillatory (WENO) or Targeted Essentially Non-Oscillatory (TENO) schemes. OpenSBLI generates a complete CFD solver in the Oxford Parallel Structured (OPS) domain specific language. The OPS library is embedded in C code, enabling massively-parallel execution of the code on a variety of high-performance-computing architectures, including GPUs.

How to cite this work

The current reference for OpenSBLI is:

D.J. Lusher, S.P. Jammy, N.D. Sandham. OpenSBLI: Automated code-generation for heterogeneous computing architectures applied to compressible fluid dynamics on structured grids. Computer Physics Communications Vol. 267, 108063 (2021).

@article{OpenSBLI_LJS2021,
title = {{OpenSBLI: Automated code-generation for heterogeneous computing architectures applied to compressible fluid dynamics on structured grids}},
journal = {Computer Physics Communications},
volume = {267},
pages = {108063},
year = {2021},
issn = {0010-4655},
doi = {https://doi.org/10.1016/j.cpc.2021.108063},
author = {David J. Lusher and Satya P. Jammy and Neil D. Sandham},
}

Getting started

Dependencies

First ensure that the following dependencies are satisfied:

Core code-generation:

The following dependencies are required for generating a code and running a simulation:

  • Python 2.7
  • Sympy == 1.1
  • Numpy
  • Scipy 0.19.1
  • OPS (to target the generated OPSC code towards different backends) OPS project's repository.

Testing and documentation:

  • pytest (for running the test suite)
  • python-flake8 (for linting the code base)
  • Sphinx (to build the documentation)

Note on previous version

Postprocessing:

  • Matplotlib for plot scripts
  • python-h5py

Installation

Development branch

Add OpenSBLI to your PYTHONPATH environment variable using

export PYTHONPATH=$PYTHONPATH:/path/to/OpenSBLI/base/directory

Recent applications of OpenSBLI

  1. A Hamzehloo, DJ Lusher, ND Sandham. Direct numerical simulations and spectral proper orthogonal decomposition analysis of shocklet-containing turbulent channel counter-flows. International Journal of Heat and Fluid Flow, 104, 109229 (2023).
  2. DJ Lusher, M Zauner, A Sansica, A Hashimoto. Automatic Code-Generation to Enable High-Fidelity Simulations of Multi-Block Airfoils on GPUs. AIAA SciTech Forum, 1222 (2023).
  3. A Gillespie, ND Sandham. Numerical study of the effect of sidewalls on shock train behaviour. Flow 3, E12 (2023).
  4. DJ Lusher, GN Coleman. Numerical Study of Compressible Wall-Bounded Turbulence–the Effect of Thermal Wall Conditions on the Turbulent Prandtl Number in the Low-Supersonic Regime. International Journal of Computational Fluid Dynamics 36 (9), 797-815 (2022).
  5. DJ Lusher, GN Coleman. Numerical Study of the Turbulent Prandtl Number in Supersonic Plane-Channel Flow – the Effect of Thermal Boundary Conditions. NASA Technical Memorandum 10483 (NASA/TM–20220010483) (2022).
  6. A Gillespie, ND Sandham. Shock train response to high-frequency backpressure forcing. AIAA Journal 60 (6), 3736-3748 (2022).
  7. A Hamzehloo, DJ Lusher, S Laizet, ND Sandham. Direct numerical simulation of compressible turbulence in a counter-flow channel configuration. Physical Review Fluids 6 (9), 094603 (2021).
  8. DJ Lusher, ND Sandham. Assessment of low-dissipative shock-capturing schemes for the compressible Taylor–Green vortex. AIAA Journal 59 (2), 533-545 (2021).
  9. A Hamzehloo, DJ Lusher, S Laizet, ND Sandham. On the performance of WENO/TENO schemes to resolve turbulence in DNS/LES of high‐speed compressible flows. International Journal for Numerical Methods in Fluids 93 (1), 176-196 (2021).
  10. DJ Lusher, ND Sandham. Shock-wave/boundary-layer interactions in transitional rectangular duct flows. Flow, Turbulence and Combustion 105, 649-670 (2020).
  11. DJ Lusher, ND Sandham. The effect of flow confinement on laminar shock-wave/boundary-layer interactions. Journal of Fluid Mechanics 897, A18 (2020).
  12. DJ Lusher, SP Jammy, ND Sandham. Shock-wave/boundary-layer interactions in the automatic source-code generation framework OpenSBLI. Computers & Fluids 173, 17-21 (2018).

Contact

If you wish to report a bug with the software, please contact Satya P. Jammy or David J. Lusher

opensbli's People

Contributors

spjammy avatar dl11g11 avatar ctjacobs avatar arahamz avatar nds9 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.