Giter Club home page Giter Club logo

stellarator's Introduction

stellarator-project


Table of Contents

Running reactor designs

In SIMSOPT, you can import and optimize a boundary shape from another code such as VMEC or generate or generate one from scratch.Similarly, you can import coils or generate generic ones and optimise them.

We build a HELIAS 5B like stellarator in the example. This takes a plasma scenario, which is imported from VMEC output, and generates and optimises a set of coil required to achieve the magnetic properites for the plasma. The plasma surface and coils are converted into NURBS surfaces and curves and this data is used to generate CAD for use in Bluemira.

activate simsoptenv
python stellarator_project/helias_plasma_coil_finite_optimisation.py

The above script loads the VMEC file, and create a surface object in the SIMSOPT framework. Then, some generic coils and coil filaments are generated. These are optimised for simplicity (to aid construction), length and closeness. The coils have a finite build, comprised of filaments. This is then converted to NURBS data, which is stored and ready to be read by Bluemira.

Bluemira can created CAD objects, from the NURBS data. First, active the bluemira enviornment and run the example:

conda activate bluemira
python stellarator_project/stellarator_build.ex.py

The generated CAD will appear in a display. This CAD can facilitate further reactor component design and optimisation.

stellarator's People

Contributors

ym1906 avatar

Stargazers

Kadean Lewis avatar Jonathan Shimwell avatar

Watchers

 avatar  avatar

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.