-
- Downloads
Added the mean xc bfield as a scale for updating the constraint fields.
The mean xc bfield is calculated together with the torques as a quantity that is needed to update the constraining fields. It is stored in the bfield_data type. The calculation is not a physically meaningfull thing as it ignores the underlying mesh details, but good enough for this application. This fixes the suprisingly small mixing needed for the constraint method based only on the moments. As pointed out by Eduardo, comparing with the definition in literature (e.g. Journal of Applied Physics 85, 4824 (1999)), there was some magnetic field missing to get the update loop to the right units (i.e. the right order of magnitude). Tested only for bcc Fe so far, this constraint mode now works well with a mixing factor of around 1 (0.9 is now default).
Showing
- source/KKRnano/source/bfield/bfield.f90 7 additions, 2 deletionssource/KKRnano/source/bfield/bfield.f90
- source/KKRnano/source/bfield/torque.f90 5 additions, 1 deletionsource/KKRnano/source/bfield/torque.f90
- source/KKRnano/source/datastructures/InputParamsNew.txt 1 addition, 1 deletionsource/KKRnano/source/datastructures/InputParamsNew.txt
- source/KKRnano/source/datastructures/InputParams_mod.F90 2 additions, 2 deletionssource/KKRnano/source/datastructures/InputParams_mod.F90