Skip to content
 
 

Latest commit

 

History

19 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Mixed Element Applications with Nodal Discontinuous Galerkin (MEANDG)

File structure

Directories

  1. src: contains all the source (.cpp) files as well as SConscript. Add the new cpp files to the Sconscript.
  2. obj: contains all the compiled files (.o). Can be added to .gitignore as it will be freshly compiled on each system.
  3. include: contains the header (.h) files
  4. app: contains application directories. Each directory should in turn contain: Time folder (such as 0): Contains variable (p, U, etc.) data in OpenFOAM format constant folder : should contain polymesh dir with geometry data inside (in OpenFOAM format) system: Standard OpenFOAM files.
  5. tests: contains output results of all the tests (tests are described in tests.cpp inside src dir).

Files

  1. SConstruct: Scons script.
  2. out.exe: executable file generated after compiling the code

To run the code:

scons
./out.exe

Note:

  1. Each dir contains a README file for specifics of that dir. Add more information as required.
  2. Template functions need to be completely described in the header files.
  3. Add tests to the tests.cpp. Describe clearly what the tests are doing, what arguments are required and what the user is expected to do.
  4. Add comments whenever appropriate.
  5. Install scons on your system to compile the code. On Ubuntu 16.04, this translates to:
sudo apt-get install scons

Resources

  1. Git tutorial and help: http://www.vogella.com/tutorials/Git/article.html
  2. Book: Nodal discontinuous Galerkin methods: Algorithms, Analysis and Applications, J. Hesthaven and T. Warburton.
  3. dealII library: http://www.dealii.org

About

Mixed Element Applications with Nodal Discontinuous Galerkin methods

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages