Giter VIP home page Giter VIP logo

nekrs's Introduction

nekRS


Build Status License

nekRS is an open-source Navier Stokes solver based on the spectral element method targeting classical processors and hardware accelerators like GPUs. The code started as an early fork of libParanumal tailored to our needs. For portable programming OCCA is used.

Capabilities:

  • Incompressible and low Mach-number Navier-Stokes + scalar transport
  • CG-SEM using curvilinear conformal hexaheadral elements
  • 3rd/2nd order semi-implicit time integration + operator integration factor splitting
  • MPI+X hybrid parallelism supporting CUDA, HIP, OPENCL and CPU
  • Interface to Nek5000
  • Conjugate fluid-solid heat transfer
  • LES and RANS turbulence models
  • ALE formulation for moving mesh support
  • VisIt & Paraview support for data analysis and visualization

Note, the code is an early state so it's very likely that you run into undiscovered issues. Moreover it's evolving quickly so things might change from one version to another without being backward compatible.

Build Instructions

Requirements:

  • POSIX compilant OS
  • GNU compiler collection version 6.2 or later
  • MPI-3.1 or later
  • CMake version 3.11 or later
  • bash

Download the latest release tarball (recommended)

wget https://github.com/Nek5000/nekRS/archive/refs/tags/v21.0.tar.gz 
tar -zxf v21.0.tar.gz 

or clone our GitHub repository:

git clone https://github.com/Nek5000/nekRS.git

To build and install the code just run:

./makenrs

Build settings can be customized in the script.

Setting the Enviroment

Assuming you run bash and your install directory is $HOME/.local/nekrs, add the following line to your $HOME/.bash_profile:

export NEKRS_HOME=$HOME/.local/nekrs
export PATH=$NEKRS_HOME/bin:$PATH

then type source $HOME/.bash_profile in the current terminal window.

Run Example

cd $NEKRS_HOME/examples/turbPipePeriodic
nrspre turbPipe 2 # precompile JIT code
nrsmpi turbPipe 2 # run on two MPI ranks

You may have to adjust the example launch scripts nrsmpi/nrsbmpi to your environment. Please check the examples in bin.

Documentation

For documentation, see our readthedocs page.

Discussion Group

Please visit GitHub Discussions. Here we help, find solutions, share ideas, and follow discussions.

Reporting Bugs

nekRS is hosted on GitHub and all bugs are reported and tracked through the Issues feature. If you are having trouble installing the code or getting your model to run properly, you should first vist our discussion group.

Contributing

Our project is hosted on GitHub and everbody is welcome to become a part of it. For more details see CONTRIBUTING.md.

License

nekRS is released under the BSD 3-clause license (see LICENSE file). All new contributions must be made under the BSD 3-clause license.

Acknowledgment

This research was supported by the Exascale Computing Project (17-SC-20-SC), a joint project of the U.S. Department of Energy’s Office of Science and National Nuclear Security Administration, responsible for delivering a capable exascale ecosystem, including software, applications, and hardware technology, to support the nation’s exascale computing imperative.

nekrs's People

Contributors

stgeke avatar fischer1 avatar ronrahaman avatar hackljf avatar klheisey avatar malachitimothyphillips avatar maxhutch avatar adampep avatar rodbourn avatar kent0 avatar dpzwick avatar kmittal2 avatar nicooff avatar ggiannako avatar yslan avatar thilinarmtb avatar aprilnovak avatar nchristensen avatar jlottes avatar alikarakus avatar pwang234 avatar juaneco2710 avatar negips avatar pschlatt1 avatar dshaver-anl avatar blairarchibald avatar aobabko avatar cliosaglietti avatar freemalloc avatar lcarasik 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.