five

Data set on "Accuracy of the analytical demagnetization tensor for various geometries"

收藏
data.dtu.dk2023-09-28 更新2025-03-26 收录
下载链接:
https://data.dtu.dk/articles/dataset/Data_set_on_Accuracy_of_the_analytical_demagnetization_tensor_for_various_geometries_/22293088/1
下载链接
链接失效反馈
官方服务:
资源简介:
This data set is for the article "Accuracy of the analytical demagnetization tensor for various geometries", with the followng bibliography information: Bjørk, R., & d’Aquino, M. (2023). Accuracy of the analytical demagnetization tensor for various geometries. Journal of Magnetism and Magnetic Materials, 171245, DOI: https://doi.org/10.1016/j.jmmm.2023.171245This data set is published as Bjørk, Rasmus (2023), Data set on "Accuracy of the analytical demagnetization tensor for various geometries". Technical University of Denmark. Dataset. https://doi.org/10.11583/DTU.22293088 This dataset is distributed under a CC BY 4.0 license.This data set contains the necessaary Matlab files for generating the data files for the magnetic field for the different tile geometries as well as for the dipole field, the Matlab plotting scripts as well as the actual data files.The data is generated using the Matlab script file "Calculate_demagnetization_fields_all.m". In this script the geometry for which to calculate the field can be set with the variables introduced in the beginning of the script. The path to the MagTense simulation framework must also be specified, as must the path to a python installation containing Magpylib.The following Matlab auxillary script files, which assist in the field calculation are also present in this data set: Center_of_mass.m,fcn_RotationFromTwoVectors.m and tetrahedron_circumsphere.m . These files are only called from Calculate_demagnetization_fields_all.m .The following Matlab plotting script files are also present: Plot_aspect_ratio_at_r_1000.m, Plot_cyl_tile_and_precision.m and Plot_different_tile_sizes.m . These plot all the files in the article based on the data files. Some of the plot script contains variable that can be used to change which plot is produced.This data set also contains the actual data files generated using the Calculate_demagnetization_fields_all.m script. They are named using the following logical order:"MagTense_" + type of tile + type of data file.There are four types of tiles:"cyl" which contains the magnetic field from the cylindrical slice tile as computed using MagTense"cyl_python" which contains the magnetic field from the cylindrical slice tile as computed using Magpylib. Note that the file still has the prefix MagTense even though the data is computed using Magpylib"prism" which contains the magnetic field from the prism tile as computed using MagTense"tetra" which contains the magnetic field from the tetrahedron tile as computed using MagTenseThere are three types of data files:"diff_sizes" contains the magnetic field as function of distance for two differently sized tiles of the specified type"diff_sizes_Hnorm" contains the magnetic field as function of the norm of the magnetic field for two differently sized tiles of the specified type"size_r_1000" contains the magnetic field at a distance of 1000 tile radii for tiles with different aspect ratiosThe data within these matlab files are structured as follows:diff_field_all : Cell array for different tile sizes. Each cell is the relative error as function of distancediff_field_s_all : Cell array for different tile sizes. Each cell is the relative error in single precision as function of distancedipole_all : Cell array for different tile sizes. Each cell is the dipole magnetic field as function of distanceH_all : Cell array for different tile sizes. Each cell is the tile magnetic field as function of distancei_size_arr : A counting array determining the size of a specific tilej_size_arr : A counting array determining the size of a specific tilemax_arr_all : Contains the maximum relative error for each distance value. Not visualizedr_s_all : For the data files "diff_sizes" and "size_r_1000" this contains the distance to the tile. For the data files "diff_sizes_Hnorm" this contains the magnetic field norm normalized by the magnetization normstat_arr_all : Cell array for different tile sizes. Each cell is the median relative error as function of distancetiles : Contains information of the tiles used in the calculations

本数据集旨在服务于《不同几何形状解析退磁张量的精度》一文,该文由Bjørk, R.与d’Aquino, M.于2023年发表在《磁学和磁性材料杂志》上,DOI为https://doi.org/10.1016/j.jmmm.2023.171245。数据集由Bjørk, Rasmus于2023年发布于丹麦技术大学,具体信息可通过Dataset链接获取(https://doi.org/10.11583/DTU.22293088)。该数据集遵循CC BY 4.0许可协议。数据集中包含生成不同几何形状磁场的Matlab文件,以及对应偶极场、Matlab绘图脚本和实际数据文件。数据生成依赖于Matlab脚本“Calculate_demagnetization_fields_all.m”,其中可设置计算场强的几何参数,并需指定MagTense模拟框架的路径及包含Magpylib的Python安装路径。此外,数据集还包含辅助Matlab脚本文件,如Center_of_mass.m、fcn_RotationFromTwoVectors.m和tetrahedron_circumsphere.m,这些文件仅在“Calculate_demagnetization_fields_all.m”脚本中被调用。绘图脚本文件包括Plot_aspect_ratio_at_r_1000.m、Plot_cyl_tile_and_precision.m和Plot_different_tile_sizes.m,它们基于数据文件绘制文章中的所有图表,部分脚本包含可更改绘图类型的变量。数据集还包含了使用“Calculate_demagnetization_fields_all.m”脚本生成的实际数据文件,文件名遵循“MagTense_”+(砖块类型)+(数据文件类型)的逻辑顺序命名。砖块类型包括“cyl”(圆柱切片砖块)、“cyl_python”(使用Magpylib计算的圆柱切片砖块,文件前缀仍为MagTense)、“prism”(棱柱砖块)和“tetra”(四面体砖块)。数据文件类型分为“diff_sizes”(不同尺寸砖块的磁场与距离的关系)、“diff_sizes_Hnorm”(不同尺寸砖块的磁场模与磁化模之比与磁场模的关系)和“size_r_1000”(不同长宽比砖块在1000个砖块半径处的磁场)。Matlab文件中的数据结构如下:diff_field_all(不同尺寸砖块的相对误差与距离的Cell数组)、diff_field_s_all(不同尺寸砖块的单精度相对误差与距离的Cell数组)、dipole_all(不同尺寸砖块的偶极磁场与距离的Cell数组)、H_all(不同尺寸砖块的砖块磁场与距离的Cell数组)、i_size_arr(特定砖块尺寸的计数数组)、j_size_arr(特定砖块尺寸的计数数组)、max_arr_all(包含每个距离值的最大相对误差,未可视化)、r_s_all(对于“diff_sizes”和“size_r_1000”数据文件,包含砖块到距离的距离;对于“diff_sizes_Hnorm”数据文件,包含磁场模与磁化模之比)、stat_arr_all(不同尺寸砖块的相对误差的中位数与距离的Cell数组)以及tiles(包含计算中使用的砖块信息)。
提供机构:
data.dtu.dk
5,000+
优质数据集
54 个
任务类型
进入经典数据集
二维码
社区交流群

面向社区/商业的数据集话题

二维码
科研交流群

面向高校/科研机构的开源数据集话题

数据驱动未来

携手共赢发展

商业合作