GithubHelp home page GithubHelp logo

alistairchild / jjsimulation Goto Github PK

View Code? Open in Web Editor NEW
1.0 1.0 0.0 250 KB

JJSimulator is a mathematical tool used to model the critical current through a Josephson Junction when a magnetic field is applied

License: MIT License

CMake 2.92% C++ 97.08%
josephson-junction superconductivity magnetics spintronics

jjsimulation's Introduction

JJSimulator

Introduction

JJSimulator is a mathematical tool used to model the critical current through a Josephson Junction when a magnetic field is applied. A 3D model can be generated showing how the critical current varies with the direction and strength of the applied field. Changes to the junctions charge density distributions can be modelled enabling insight into certain junctions charge distributions.

The data generated is output in "tsv" or "csv" format for visualisation or further processing. A great webapp to use for visualising the output data is plot3d.

Example visualisation

The mathematics is based on the theory presented by Antonio Barone and GianFranco Paterno in "Physics And Applications Of The Josephson Effect".

Installation

git clone ...
cd JJSimulator
cmake -S . -B build
cd build
make

Usage

JJSimulator is run from the commandline and accepts a number of optional arguments. Output is written to stdout and can be redirected to a file. For example:

./JJSimulator --write_to csv >> 3d-model.csv

Available Arguments

Arguments Description
--help shows options
--lowfield lowest field used (default 0)
--highfield highest field used (default 0.15)
--magres n points per angle (default 100)
--intres n trapezoid integral! (default 100)
--length length default (500E-9)
--width width default (500E-9)
--height height default (1E-9)
--angleincrement how much to inrement angle by 0-90 (default 1)
--step_height fraction of max critica current. (default 0.1)
--write_to csv or tsv
--distribution current density 1d or 2d
--view profile or critical_current
--step_thickness fraction of length.(default 0.1)

To view the current density distribution use view "profile". To view the critical current 3d plot view "critical_current".

License

MIT

Authors and acknowledgment

This project was a collaboration between Alistair Child and Shalaka Kulkarni under a project supervised by Niladri Banerjee.

jjsimulation's People

Contributors

alistairchild avatar

Stargazers

 avatar

Watchers

 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.