Magnetite 20 C 
Set MaxMeshNumber 1

ReadMesh 1 7grains_120nm_40.pat



!subdomain nonmagnetic
SetSubDomain 2 Ms  0.0
SetSubDomain 2 K1  0.0
SetSubDomain 2 Aex  0.0


randomize all moments


External Field Direction 1. 1.01 1.01 
External Field Strength 0 mT 

!ZoneName  Magnetite Random initial guess
Energylog 7grains_120nm_40

set maxenergyevaluations 10000
Minimize
writemagnetization  7grains_120nm_40
writedemag 7grains_120nm_40
writehyst 7grains_120nm_40
end
