Skip to content

Example Sunny code for finite temperature simulations of the compound FeI2

Notifications You must be signed in to change notification settings

SunnySuite/2023-Dahlbom-Quantum_to_classical_crossover

Repository files navigation

Quantum-to-classical crossover in generalized spin systems -- the temperature-dependent spin dynamics of FeI2

The repository contains the code necessary to implement the calculations in the 2023 manuscript, Quantum-to-classical crossover in generalized spin systems -- the temperature-dependent spin dynamics of FeI2. It contains four Julia scripts using the Sunny.jl library. These demonstrate:

  1. How to calculate the renormalization factors described in the manuscript above
  2. How to calculate Bragg intensities for the determination of the classical Néel temperature
  3. The estimation of the dynamical spin structure factor using the renormalization factors
  4. The extraction and presentation of intensities

The scripts present the minimal necessary machinery to perform a complete calculation. Parameters are selected so that execution time is minimal. Full reproduction of the figures in the paper can be achieved in most cases by increasing systems sizes, increasing energy resolution, examining a wider range of temperatures, and generating many more samples.

A short-form tutorial demonstrating the approach in even more abbreviated form is forthcoming.

Notes on implementation and execution

This code base is using the Julia Language and DrWatson to make a reproducible scientific project named

FiniteTemperatureFeI2

To (locally) reproduce this project, do the following:

  1. Download this code base. Notice that raw data are typically not included in the git-history and may need to be downloaded independently.
  2. Open a Julia console and do:
    julia> using Pkg
    julia> Pkg.add("DrWatson") # install globally, for using `quickactivate`
    julia> Pkg.activate("path/to/this/project")
    julia> Pkg.instantiate()
    

This will install all necessary packages for you to be able to run the scripts and everything should work out of the box, including correctly finding local paths.

You may notice that most scripts start with the commands:

using DrWatson
@quickactivate "2023-Dahlbom-Quantum_to_classical_crossover"

which auto-activate the project and enable local path handling from DrWatson.

About

Example Sunny code for finite temperature simulations of the compound FeI2

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages