Giter Club home page Giter Club logo

mulh's Introduction

Travis Last Compilation Status

MUltipactor in Lower Hybrid antenna waveguides (MULH)

This code does a power sweep to calculate at which point the multipactor starts to develop inside a single rectangular waveguide. EM fields can be resolved analytically for the TE10 mode of a rectangular waveguide, or through the FDTD method with a TE10 excited at one end of the guide, or other fields could be imported (e.g. from COMSOL).

The particle wall interaction is modeled using G. Chen, L. Liu (2011) ejection-collection algorithm but the actual method for deciding between absorption, elastic or inelastic collision or secondaries has been slightly modified to match FEST3D results. The option to use the Furman & Pivi model is also made available.

The Ecuyer Taus random number generator from Alan Miller's library is used. It has a period of 2^88 and the poisson deviates are generated using this generator and the waiting time method for means < 15.

Studies of how sensitive the threshold is to different parameters can be performed through the control of the variable atype. At the moment only 11 different studies can be performed but it is not hard to program more into MULH.

NOTE: There are some outstanding issues that ought to be resolved:

  • MULH predicts a breakdown for wide waveguides (WR-229 and WR-284), while FEST3D doesn't. The breakdown calculated by both programs for other geometries seem to agree though. Perhaps the fields and particle steppers in these wide guides should be checked.
  • MULH didn't see a resonance when applaying a DC toroidal B-field equal to the one predicted by a gyrofrequency of 3.7GHz (Tore-Supra), while Spark3D did.
  • The trends in breakdown when DC B-fields are applied were never rigorously checked against FEST3D or Spark3D.

The MULH parent directory contains four subfolders.

  • sources: contains all the source files used in the code. subdirectory active contains the latest in-use source files.
  • data: .txt files containing data used in some runs and the subdirectory results, where output data is stored. It also contains two m-files used for processing COMSOL fields from Melanie Preyna's PICCOLO and for processing MULH output data.
  • execs: where the executables are placed during compilation
  • test: for storing executables and other files used while testing pieces of or all of the code.

To run the code go to the directory where the makefile is (execs) in the terminal. Then run the following commands:

make
export LD_LIBRARY_PATH="path to executable"
./MULH

The code was developed and worked well with the gfortran compiler. It hasn't been tried with other compilers.

For more details on the code see: Francisquez, M. 2012. Power limit modeling of lower hybrid antenna waveguides in tokamaks. BA Honors Thesis. Dartmouth College, November 2012.

Please feel free to contact me with questions and/or suggestions.

AUTHOR: Manaure Francisquez Department of Physics & Astronomy Dartmouth College Hanover, NH 03755 USA http://engineering.dartmouth.edu/~d24789f

Spring 2011 - Spring 2012

mulh's People

Contributors

jhillairet avatar

Stargazers

 avatar

Watchers

James Cloos avatar  avatar Riccardo Ragona avatar

Forkers

adrienplacais

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.