Skip to content

Instantly share code, notes, and snippets.

@cjorssen
cjorssen / jiles-atherton.py
Created January 31, 2016 20:46
A crude implementation of jiles-atherton model based on http://physics.stackexchange.com/a/72789/10757
import numpy as np
from matplotlib import pyplot as plt
mu0 = 4 * np.pi * 1e-7 # H/m
a = 470 # A/m
alpha = 9.38e-4
c = 0.0889
k = 483 # A/m
Ms = 1.48e6 # A/m