Usage
Various demonstration files on how to use the library are being distributed together with the code. On this page, you can find instructions on how to run them. This should provide a starting point to familiarize yourself with Nektar++ before starting to write your own code. We make a distinction between:
Demonstration at library level
For all different sublibraries, 'demo' codes are available that demonstrate the functionality of the library in question. The source codes of these demos are located in the directory Nektar++/library/Demos/ and when compiled, the executables will be placed in the directory Nektar++/build/Demos/. We will here explain how to run these demo codes by means of the following example
All other demo codes can be run in a similar fashion.
Demonstration at solver level
Advection-Diffusion-Reaction Solver
The source codes of the Advection-Diffusion-Reaction solver are located in the directory Nektar++/solvers/ADRSolver and when compiled at Nektar++/solvers/builds, the executables will be placed in the directory Nektar++/solvers/builds/ADRSolver. Information about formulation, implementation, how to run examples and details on the solvers usage can be found in
Incompressible Navier-Stokes Solver
The source code of the Navier-Stokes solver can be found in Nektar++/solvers/IncNavierStokesSolver and when compiled the executable will be placed in the directory Nektar++/solvers/builds/IncNavierStokesSolver. The*.xml
files found in Nektar++/solvers/IncNavierStokesSolver are input files for the solver. Information about formulation, implementation, how to run these examples and details on the solvers usage can be found inShallow Water Solver
The source code of the Shallow Water solver can be found in Nektar++/solvers/ShallowWaterStokesSolver and when compiled the executable will be placed in the directory Nektar++/solvers/builds/ShallowWaterSolver. The*.xml
files found in Nektar++/solvers/ShallowWaterStokesSolver are input files for the solver. Information about formulation, implementation, how to run these examples and details on the solvers usage can be found inUtilities
A number of tools are included in the distribution for converting mesh files and solution files to and from the native Nektar++ XML format.