GithubHelp home page GithubHelp logo

iraola / q2dmhdfoam Goto Github PK

View Code? Open in Web Editor NEW
4.0 4.0 0.0 1.02 GB

A fast magnetohydrodynamic solver with buoyancy for OpenFOAM

CMake 0.04% C 0.27% C++ 91.78% Shell 0.24% Python 6.55% M4 0.90% MATLAB 0.18% Roff 0.05%
fluid-dynamics magnetohydrodynamics nuclear-fusion

q2dmhdfoam's Introduction

Q2DmhdFoam

Q2DmhdFoam is a custom OpenFOAM solver based on the built-in boussinesqBuoyantFoam solver that solves magnetohydrodynamic flows with buoyancy effects. To this end, the simplification of Sommeria and Moreau [1] is used. This allows us to run magnetohydrodynamic cases much faster than with the rigorous three-dimensional approach, thus being useful to get preliminary results before spending large amounts of time computing complex cases. The C++ solver can be found in the Q2DmhdFoam directory.

The repository also includes some tutorials, validation cases, and Python scripts to automate runs and OpenFOAM data postprocessing.

Q2DmhdFoam was developed as a project for Hakan Nilsson's PhD course for CFD with OpenSource Software [2]. For the full report and further information, access Chalmers University of Technology webpage here.

References

[1] Sommeria, J., & Moreau, R. (1982). Why, how, and when, MHD turbulence becomes two-dimensional. Journal of Fluid Mechanics, 118(May), 507โ€“518. https://doi.org/10.1017/S0022112082001177

[2] Proceedings of CFD with OpenSource Software, 2020, Edited by Nilsson H. http://dx.doi.org/10.17196/OS_CFD#YEAR_2020

q2dmhdfoam's People

Contributors

dan-suarez avatar iraola avatar skaimish avatar

Stargazers

 avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar

q2dmhdfoam's Issues

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.