Giter VIP home page Giter VIP logo

hermes-2's Introduction

  _   _                                   ______
 | | | |                                 |___   |
 | |_| | ___ _ __ _ __ ___   ___  ___        / /
 |  _  |/ _ \ '__| '_ ` _ \ / _ \/ __|      / /
 | | | |  __/ |  | | | | | |  __/\__ \     / /___
 \_| |_/\___|_|  |_| |_| |_|\___||___/    |______| 

Hermes plasma edge simulation model. Uses BOUT++ framework, adds finite volume operators and neutral gas models.

This is Hermes-2, a hot ion drift-reduced model.

Author: Ben Dudson, University of York [email protected]

Released under the GPL license

License

Full text of the license is in the file LICENSE. If you are using Hermes-2, please cite the relevant papers.

Copyright B.Dudson, J.Leddy, University of York, September 2017-2019
          email: [email protected]

This program is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation, either version 3 of the License, or
(at your option) any later version.

This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
GNU General Public License for more details.

You should have received a copy of the GNU General Public License
along with this program.  If not, see <http://www.gnu.org/licenses/>.

Installing BOUT++

This version works with only some versions of BOUT++

git clone https://github.com/boutproject/BOUT-dev.git
cd BOUT-dev
git checkout db-outer

To run this model, preconditioning is strongly recommended, and requires the CVODE solver, part of SUNDIALS.

Make sure to enable 3D metrics and PETSc.

Compiling Hermes

cmake -S . -B build

hermes-2's People

Contributors

dschwoerer avatar bendudson avatar bshanahan avatar

Stargazers

Miguel Madeira avatar

Forkers

totork migmadeira

hermes-2's Issues

Flooring the electron velocity

Flooring the electron velocity should prevent electron flux when the velocities are negative. The flux is the product of, among others, the electron velocity and the parallel boundary direction (as I understand it). It is therefore probably better to floor the flux instead of the velocity.

BoutReal vesheath =

Error in calculation of nu

There is an error in the calculation of nu. It should be

nu = resistivity_multiply /(1.96 * tau_e * mi_me);

but it is

nu = resistivity_multiply * (1.96 * tau_e * mi_me);

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.