Skip to content

Julia implementation of the Discontinuous Galerkin Spectral Element method (DGSEM) from CADET-Core.

License

Notifications You must be signed in to change notification settings

cadet/CADET-Julia

Repository files navigation

DOI CI

CADET-Julia

CADET-Julia is a numerical solver for chromatography and is a streamlined and efficient adaption of the more comprehensive CADET-Core project, and is based on a spatial Discontinuous Galerkin Spectral Element Method (DGSEM), similar to the one implemented in CADET-Core. If you find it useful for your own work, we would appreciate acknowledgements of this software and citations of our papers:

Overview

CADET-Core is the foundational C++ project, with a comprehensive codebase and extensive functionality. Recognizing the need for a more accessible and agile solution, this Julia implementation was created. It retains the computationally powerful DGSEM but focuses on providing a simplified and readable alternative with reduced functionality. Our main targets with this project include

  • Rapid prototyping: Whether you are familiar with the original C++ project or exploring CADET-Core for the first time, this Julia implementation is designed for swift experimentation and prototyping, enabling a more agile development workflow.
  • Benchmarking: We leverage the reduced codebase to benchmark the performance of methods implemented in both C++ and Julia. The streamlined Julia implementation not only enhances efficiency but also allows for the exploration of improved performance, e.g., through alternative time integration methods. Additionally, the two code bases can be used for mutual verification, reinforcing our confidence in the correct solution of the problem.

For more details about the CADET-project, including the original CADET-Core, we refer to the webpage.

Getting started

Clone this repository: git clone https://github.com/jespfra/CADET-Julia.git

Install Julia, preferably as an extension to your IDE such as visual studio code.

Open a Julia REPL at the project directory and run the following commands:

using Pkg
Pkg.instantiate()

You can compile and execute any of the simulations defined in the test folder.

To set up and run your own simulations, please refer to the test folder.

License

Released under GPL v3. License (see here)

About

Julia implementation of the Discontinuous Galerkin Spectral Element method (DGSEM) from CADET-Core.

Resources

License

Stars

Watchers

Forks

Packages

No packages published