A computational toolbox written in Julia for modeling the dynamics of three-dimensional superconducting devices and materials
DEC-QED combines gauge-invariant, flux-based formulation of electrodynamics with Discrete Exterior Calculus to simulate the nonlinear dynamics of multiscale, Josephson-based superconducting devices in microwave environments. For a thorough discussion of the technical details and key results, please check out our paper [1].
In our model, the equations of motion describing the dynamics between light
and the density of superconducting condensate,
For numerical modeling, we employ a dual-mesh construction (primal + dual meshes), on which the continuous equations above are then transformed into equations for the coarse-grained variables
DEC-QED as a computational toolbox is still in early stage of development. Examples of applications of the method to specific problems are organized into wrapper files. The generalization of the toolbox to perform simulations of arbitrary geometries is currently under development.
First, make sure Git is configured on your workstation. Then clone this repository either via SSH key or HTTPS. At the moment, the DEC-QED toolbox offers two main types of calculations: (1) semi-classical time-dynamical simulations of superconducting devices in a sourced electromagnetic environment and (2) spectral calculations of closed and open systems.
There are two formulations of DEC implemented: (1) DEC with cubical elements and (2) DEC with tetrahedra elements.
For a calculation using a tetrahedral mesh, the mesh should be constructed using Gmsh. The ".msh" output file from Gmsh is then passed into the mesh parser that extracts useful info and builds the primal and dual mesh structs needed for DEC calculations. Checkout the wrappers in simplicial_decqed for examples on calculations with simplicial (tetrahedra in 3D) meshes.
For cubical-DEC the construction of the primal and dual meshes needs to be constructed within the program in a case-specific manner.
If you have questions and/or suggestions regarding the toolbox or its theoretical formulation, please direct them to dnpham@princeton.edu
[1] D. N. Pham, W. Fan, M. G. Scheer, and H. E. Tureci, Phys. Rev. A 107, 053704 (2023), arXiv version: arXiv:2212.12775 (2022).