Commit ·
0a1fdb5
0
Parent(s):
Duplicate from zz-zhang-ucb/MaxwellBench
Browse filesCo-authored-by: Zhizhou Zhang <zz-zhang-ucb@users.noreply.huggingface.co>
- .gitattributes +60 -0
- .huggingface/Bosch_logo.png +3 -0
- .huggingface/ElectromagnetC_chunk_2D.png +3 -0
- .huggingface/ElectromagnetC_wire_2D.png +3 -0
- .huggingface/Electromagnet_2D.png +3 -0
- .huggingface/Inductor_2D_Circular_Large.png +3 -0
- .huggingface/Inductor_2D_Circular_Large_Gap.png +3 -0
- .huggingface/Inductor_2D_Circular_Small_Gap.png +3 -0
- .huggingface/Inductor_2D_EE_multi.png +3 -0
- .huggingface/Inductor_2D_EI_multi.png +3 -0
- .huggingface/Inductor_2D_EI_multi_gap.png +3 -0
- .huggingface/Inductor_2D_I_gap.png +3 -0
- .huggingface/Inductor_2D_UU.png +3 -0
- .huggingface/Transformer_2D_L.png +3 -0
- .huggingface/Transformer_2D_PQ.png +3 -0
- .huggingface/Transformer_2D_UU.png +3 -0
- ElectromagnetC_chunk_2D.tar.zst +3 -0
- ElectromagnetC_wire_2D.tar.zst +3 -0
- Inductor_2D_Circular_Large.tar.zst +3 -0
- Inductor_2D_Circular_Large_Gap.tar.zst +3 -0
- Inductor_2D_Circular_Small_Gap.tar.zst +3 -0
- Inductor_2D_EE_multi.tar.zst +3 -0
- Inductor_2D_EI_multi.tar.zst +3 -0
- Inductor_2D_EI_multi_gap.tar.zst +3 -0
- Inductor_2D_I_gap.tar.zst +3 -0
- Inductor_2D_UU.tar.zst +3 -0
- README.md +223 -0
- Transformer_2D_L.tar.zst +3 -0
- Transformer_2D_PQ.tar.zst +3 -0
- Transformer_2D_UU.tar.zst +3 -0
.gitattributes
ADDED
|
@@ -0,0 +1,60 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
*.7z filter=lfs diff=lfs merge=lfs -text
|
| 2 |
+
*.arrow filter=lfs diff=lfs merge=lfs -text
|
| 3 |
+
*.avro filter=lfs diff=lfs merge=lfs -text
|
| 4 |
+
*.bin filter=lfs diff=lfs merge=lfs -text
|
| 5 |
+
*.bz2 filter=lfs diff=lfs merge=lfs -text
|
| 6 |
+
*.ckpt filter=lfs diff=lfs merge=lfs -text
|
| 7 |
+
*.ftz filter=lfs diff=lfs merge=lfs -text
|
| 8 |
+
*.gz filter=lfs diff=lfs merge=lfs -text
|
| 9 |
+
*.h5 filter=lfs diff=lfs merge=lfs -text
|
| 10 |
+
*.joblib filter=lfs diff=lfs merge=lfs -text
|
| 11 |
+
*.lfs.* filter=lfs diff=lfs merge=lfs -text
|
| 12 |
+
*.lz4 filter=lfs diff=lfs merge=lfs -text
|
| 13 |
+
*.mds filter=lfs diff=lfs merge=lfs -text
|
| 14 |
+
*.mlmodel filter=lfs diff=lfs merge=lfs -text
|
| 15 |
+
*.model filter=lfs diff=lfs merge=lfs -text
|
| 16 |
+
*.msgpack filter=lfs diff=lfs merge=lfs -text
|
| 17 |
+
*.npy filter=lfs diff=lfs merge=lfs -text
|
| 18 |
+
*.npz filter=lfs diff=lfs merge=lfs -text
|
| 19 |
+
*.onnx filter=lfs diff=lfs merge=lfs -text
|
| 20 |
+
*.ot filter=lfs diff=lfs merge=lfs -text
|
| 21 |
+
*.parquet filter=lfs diff=lfs merge=lfs -text
|
| 22 |
+
*.pb filter=lfs diff=lfs merge=lfs -text
|
| 23 |
+
*.pickle filter=lfs diff=lfs merge=lfs -text
|
| 24 |
+
*.pkl filter=lfs diff=lfs merge=lfs -text
|
| 25 |
+
*.pt filter=lfs diff=lfs merge=lfs -text
|
| 26 |
+
*.pth filter=lfs diff=lfs merge=lfs -text
|
| 27 |
+
*.rar filter=lfs diff=lfs merge=lfs -text
|
| 28 |
+
*.safetensors filter=lfs diff=lfs merge=lfs -text
|
| 29 |
+
saved_model/**/* filter=lfs diff=lfs merge=lfs -text
|
| 30 |
+
*.tar.* filter=lfs diff=lfs merge=lfs -text
|
| 31 |
+
*.tar filter=lfs diff=lfs merge=lfs -text
|
| 32 |
+
*.tflite filter=lfs diff=lfs merge=lfs -text
|
| 33 |
+
*.tgz filter=lfs diff=lfs merge=lfs -text
|
| 34 |
+
*.wasm filter=lfs diff=lfs merge=lfs -text
|
| 35 |
+
*.xz filter=lfs diff=lfs merge=lfs -text
|
| 36 |
+
*.zip filter=lfs diff=lfs merge=lfs -text
|
| 37 |
+
*.zst filter=lfs diff=lfs merge=lfs -text
|
| 38 |
+
*tfevents* filter=lfs diff=lfs merge=lfs -text
|
| 39 |
+
# Audio files - uncompressed
|
| 40 |
+
*.pcm filter=lfs diff=lfs merge=lfs -text
|
| 41 |
+
*.sam filter=lfs diff=lfs merge=lfs -text
|
| 42 |
+
*.raw filter=lfs diff=lfs merge=lfs -text
|
| 43 |
+
# Audio files - compressed
|
| 44 |
+
*.aac filter=lfs diff=lfs merge=lfs -text
|
| 45 |
+
*.flac filter=lfs diff=lfs merge=lfs -text
|
| 46 |
+
*.mp3 filter=lfs diff=lfs merge=lfs -text
|
| 47 |
+
*.ogg filter=lfs diff=lfs merge=lfs -text
|
| 48 |
+
*.wav filter=lfs diff=lfs merge=lfs -text
|
| 49 |
+
# Image files - uncompressed
|
| 50 |
+
*.bmp filter=lfs diff=lfs merge=lfs -text
|
| 51 |
+
*.gif filter=lfs diff=lfs merge=lfs -text
|
| 52 |
+
*.png filter=lfs diff=lfs merge=lfs -text
|
| 53 |
+
*.tiff filter=lfs diff=lfs merge=lfs -text
|
| 54 |
+
# Image files - compressed
|
| 55 |
+
*.jpg filter=lfs diff=lfs merge=lfs -text
|
| 56 |
+
*.jpeg filter=lfs diff=lfs merge=lfs -text
|
| 57 |
+
*.webp filter=lfs diff=lfs merge=lfs -text
|
| 58 |
+
# Video files - compressed
|
| 59 |
+
*.mp4 filter=lfs diff=lfs merge=lfs -text
|
| 60 |
+
*.webm filter=lfs diff=lfs merge=lfs -text
|
.huggingface/Bosch_logo.png
ADDED
|
Git LFS Details
|
.huggingface/ElectromagnetC_chunk_2D.png
ADDED
|
Git LFS Details
|
.huggingface/ElectromagnetC_wire_2D.png
ADDED
|
Git LFS Details
|
.huggingface/Electromagnet_2D.png
ADDED
|
Git LFS Details
|
.huggingface/Inductor_2D_Circular_Large.png
ADDED
|
Git LFS Details
|
.huggingface/Inductor_2D_Circular_Large_Gap.png
ADDED
|
Git LFS Details
|
.huggingface/Inductor_2D_Circular_Small_Gap.png
ADDED
|
Git LFS Details
|
.huggingface/Inductor_2D_EE_multi.png
ADDED
|
Git LFS Details
|
.huggingface/Inductor_2D_EI_multi.png
ADDED
|
Git LFS Details
|
.huggingface/Inductor_2D_EI_multi_gap.png
ADDED
|
Git LFS Details
|
.huggingface/Inductor_2D_I_gap.png
ADDED
|
Git LFS Details
|
.huggingface/Inductor_2D_UU.png
ADDED
|
Git LFS Details
|
.huggingface/Transformer_2D_L.png
ADDED
|
Git LFS Details
|
.huggingface/Transformer_2D_PQ.png
ADDED
|
Git LFS Details
|
.huggingface/Transformer_2D_UU.png
ADDED
|
Git LFS Details
|
ElectromagnetC_chunk_2D.tar.zst
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:e29b29042346f9f37ed571b15a657376b9c62ac7c0dfe44ed3bc4160f8842ae5
|
| 3 |
+
size 1205048174
|
ElectromagnetC_wire_2D.tar.zst
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:c6bafaee7b94aa0bb1c7c9c0d3917a814903a63e2d0723e2b1248c1c6f776874
|
| 3 |
+
size 9851582842
|
Inductor_2D_Circular_Large.tar.zst
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:c5aa42758bd6617be0f6c4128fc9e49d51b023e9e632321fc9a8fb14eaeb2dcb
|
| 3 |
+
size 9360976505
|
Inductor_2D_Circular_Large_Gap.tar.zst
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:7dd9c630a4fe706ab1c2dee03f509f5f047be448d4806d6b9c482a4bef8b3489
|
| 3 |
+
size 7197542345
|
Inductor_2D_Circular_Small_Gap.tar.zst
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:b0c09603d4692af11fa1bdb61182b8d1d427f28975b24deb647f9015eaa1579f
|
| 3 |
+
size 13841589405
|
Inductor_2D_EE_multi.tar.zst
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:6efed0815c8f9163a53467309cd16f3912cdaf10d0cf0a1ae0fc2cc359c6cd3b
|
| 3 |
+
size 7377529844
|
Inductor_2D_EI_multi.tar.zst
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:86db9657f082885f3373976e4e89473507632c4862da1f33cf12a51aad855d71
|
| 3 |
+
size 7269563817
|
Inductor_2D_EI_multi_gap.tar.zst
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:db95f7a0edcb3889b74af75938a637101842e48783dac060770397e5a925a27e
|
| 3 |
+
size 5921889307
|
Inductor_2D_I_gap.tar.zst
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:a44163dbb0c08ece3e4d8c2327dfdfc5e5671ad984a74350a04985d68b885c5b
|
| 3 |
+
size 14897106109
|
Inductor_2D_UU.tar.zst
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:2e1cd81f156cfa746cd3bba328dba5b727e5bc4a2212b3e52e9208af3baf9c98
|
| 3 |
+
size 53226446896
|
README.md
ADDED
|
@@ -0,0 +1,223 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
---
|
| 2 |
+
tags:
|
| 3 |
+
- physics
|
| 4 |
+
- simulation
|
| 5 |
+
- FEM
|
| 6 |
+
- electromagnetics
|
| 7 |
+
- neural-operator
|
| 8 |
+
- scientific-computing
|
| 9 |
+
size_categories:
|
| 10 |
+
- 100K<n<1M
|
| 11 |
+
pretty_name: MaxwellBench
|
| 12 |
+
dataset_creators:
|
| 13 |
+
- Bosch Center for Artificial Intelligence (BCAI)
|
| 14 |
+
viewer: false
|
| 15 |
+
---
|
| 16 |
+
|
| 17 |
+
# MaxwellBench
|
| 18 |
+
|
| 19 |
+
<p align="center">
|
| 20 |
+
<img src=".huggingface/Bosch_logo.png" alt="Bosch Logo" width="200">
|
| 21 |
+
</p>
|
| 22 |
+
|
| 23 |
+
<p align="center">
|
| 24 |
+
<em>Created by <a href="https://www.bosch-ai.com/">Bosch Center for Artificial Intelligence (BCAI)</a></em>
|
| 25 |
+
<br>
|
| 26 |
+
<strong>Paper:</strong> TBD <!-- Replace with the paper URL once published -->
|
| 27 |
+
</p>
|
| 28 |
+
|
| 29 |
+
A large-scale benchmark of 2D finite-element electromagnetic simulations for training and evaluating neural operators. Each sample is a complete FEM problem—geometry (unstructured triangular mesh), material properties (nonlinear B-H curves, conductivity), excitation sources, boundary conditions—paired with the solved magnetic flux density **B** field.
|
| 30 |
+
|
| 31 |
+
## Dataset Summary
|
| 32 |
+
|
| 33 |
+
| Property | Value |
|
| 34 |
+
|---|---|
|
| 35 |
+
| Domain | 2D Electromagnetic FEM |
|
| 36 |
+
| Number of subsets | 14 |
|
| 37 |
+
| Samples per subset | 11000 (10000 train / 1000 val) |
|
| 38 |
+
| Total samples | 154000 |
|
| 39 |
+
| File format | HDF5 (`.h5`) |
|
| 40 |
+
| Simulation types | Stationary, Frequency-domain |
|
| 41 |
+
| Coordinate systems | Cartesian (x, y), Cylindrical axisymmetric (r, z) |
|
| 42 |
+
|
| 43 |
+
## Subsets
|
| 44 |
+
|
| 45 |
+
| Subset Name | Device Type | Coordinate | Simulation Type |
|
| 46 |
+
|---|---|---|---|
|
| 47 |
+
| `Transformer_2D_UU` | Transformer (UU core) | x, y | Frequency-domain |
|
| 48 |
+
| `Transformer_2D_PQ` | Transformer (PQ core) | r, z | Frequency-domain |
|
| 49 |
+
| `Inductor_2D_I_gap` | Inductor (I core with gap) | x, y | Frequency-domain |
|
| 50 |
+
| `Inductor_2D_EI_multi_gap` | Inductor (EI core, with gaps) | x, y | Frequency-domain |
|
| 51 |
+
| `Inductor_2D_EE_multi` | Inductor (EE core, fixed center gap) | x, y | Frequency-domain |
|
| 52 |
+
| `Inductor_2D_Circular_Small_Gap` | Inductor (circular small core, with gaps) | x, y | Frequency-domain |
|
| 53 |
+
| `Inductor_2D_Circular_Large` | Inductor (circular large core, no gaps) | x, y | Frequency-domain |
|
| 54 |
+
| `Inductor_2D_UU` | Inductor (UU core) | x, y | Frequency-domain |
|
| 55 |
+
| `Electromagnet_2D` ⚠️ | Electromagnet | r, z | Stationary |
|
| 56 |
+
| `ElectromagnetC_wire_2D` | Electromagnet (C core, wire) | x, y | Stationary |
|
| 57 |
+
| `Transformer_2D_L` | Transformer (L core) | x, y | Frequency-domain |
|
| 58 |
+
| `Inductor_2D_EI_multi` | Inductor (EI core, fixed gap) | x, y | Frequency-domain |
|
| 59 |
+
| `Inductor_2D_Circular_Large_Gap` | Inductor (circular large core, with gaps) | x, y | Frequency-domain |
|
| 60 |
+
| `ElectromagnetC_chunk_2D` | Electromagnet (C core, chunk coil) | x, y | Stationary |
|
| 61 |
+
|
| 62 |
+
> ⚠️ **Note:** The `Electromagnet_2D` subset is **not publicly released** as it is closely related to a real business use case. It is listed here for completeness but is excluded from the public download. The public release contains 13 subsets (143,000 samples total).
|
| 63 |
+
|
| 64 |
+
### Sample Visualizations
|
| 65 |
+
|
| 66 |
+
<table>
|
| 67 |
+
<tr>
|
| 68 |
+
<td align="center"><strong>Transformer_2D_UU</strong><br><img src=".huggingface/Transformer_2D_UU.png"></td>
|
| 69 |
+
<td align="center"><strong>Transformer_2D_PQ</strong><br><img src=".huggingface/Transformer_2D_PQ.png"></td>
|
| 70 |
+
</tr>
|
| 71 |
+
<tr>
|
| 72 |
+
<td align="center"><strong>Transformer_2D_L</strong><br><img src=".huggingface/Transformer_2D_L.png"></td>
|
| 73 |
+
<td align="center"><strong>Inductor_2D_I_gap</strong><br><img src=".huggingface/Inductor_2D_I_gap.png"></td>
|
| 74 |
+
</tr>
|
| 75 |
+
<tr>
|
| 76 |
+
<td align="center"><strong>Inductor_2D_EI_multi_gap</strong><br><img src=".huggingface/Inductor_2D_EI_multi_gap.png"></td>
|
| 77 |
+
<td align="center"><strong>Inductor_2D_EI_multi</strong><br><img src=".huggingface/Inductor_2D_EI_multi.png"></td>
|
| 78 |
+
</tr>
|
| 79 |
+
<tr>
|
| 80 |
+
<td align="center"><strong>Inductor_2D_EE_multi</strong><br><img src=".huggingface/Inductor_2D_EE_multi.png"></td>
|
| 81 |
+
<td align="center"><strong>Inductor_2D_UU</strong><br><img src=".huggingface/Inductor_2D_UU.png"></td>
|
| 82 |
+
</tr>
|
| 83 |
+
<tr>
|
| 84 |
+
<td align="center"><strong>Inductor_2D_Circular_Small_Gap</strong><br><img src=".huggingface/Inductor_2D_Circular_Small_Gap.png"></td>
|
| 85 |
+
<td align="center"><strong>Inductor_2D_Circular_Large</strong><br><img src=".huggingface/Inductor_2D_Circular_Large.png"></td>
|
| 86 |
+
</tr>
|
| 87 |
+
<tr>
|
| 88 |
+
<td align="center"><strong>Inductor_2D_Circular_Large_Gap</strong><br><img src=".huggingface/Inductor_2D_Circular_Large_Gap.png"></td>
|
| 89 |
+
<td align="center"><strong>Electromagnet_2D</strong><br><img src=".huggingface/Electromagnet_2D.png"></td>
|
| 90 |
+
</tr>
|
| 91 |
+
<tr>
|
| 92 |
+
<td align="center"><strong>ElectromagnetC_wire_2D</strong><br><img src=".huggingface/ElectromagnetC_wire_2D.png"></td>
|
| 93 |
+
<td align="center"><strong>ElectromagnetC_chunk_2D</strong><br><img src=".huggingface/ElectromagnetC_chunk_2D.png"></td>
|
| 94 |
+
</tr>
|
| 95 |
+
</table>
|
| 96 |
+
|
| 97 |
+
|
| 98 |
+
## Data Format
|
| 99 |
+
|
| 100 |
+
Each sample is stored as an HDF5 file `Data_{i}.h5`. Inside the file, a top-level group is named after the subset (e.g., `Transformer_2D_UU`). The group contains the following structure:
|
| 101 |
+
|
| 102 |
+
### Attributes
|
| 103 |
+
|
| 104 |
+
| Attribute | Description | Values |
|
| 105 |
+
|---|---|---|
|
| 106 |
+
| `Type` | Simulation type | `"Stationary"` or `"Frequency domain"` |
|
| 107 |
+
| `Coordinate` | Coordinate system | `"x, y"` or `"r, z"` |
|
| 108 |
+
|
| 109 |
+
### Fields (Mesh & Geometry)
|
| 110 |
+
|
| 111 |
+
Located under `<subset_name>/Fields/`:
|
| 112 |
+
|
| 113 |
+
| Key | Shape | Description |
|
| 114 |
+
|---|---|---|
|
| 115 |
+
| `Nodes` | `(N_n, 3)` | Node coordinates and type: `[p0, p1, node_type]`. `p0, p1` are spatial coordinates; `node_type` indicates boundary/interior. |
|
| 116 |
+
| `Nodes_connectivity` | `(N_conn, 2)` | Edge connectivity (node index pairs). |
|
| 117 |
+
| `Body_elements` | `(N_b, 3)` | Triangular element connectivity (3 node indices per element). |
|
| 118 |
+
| `Body_areas` | `(N_b, 1)` | Area of each triangular element. |
|
| 119 |
+
| `Edge_elements` | `(N_e, 2)` | Edge element connectivity (2 node indices per edge). |
|
| 120 |
+
| `Edge_lengths` | `(N_e, 1)` | Length of each edge element. |
|
| 121 |
+
|
| 122 |
+
### Materials
|
| 123 |
+
|
| 124 |
+
**Body materials** (`<subset_name>/Materials_body/`): Each named material subgroup contains:
|
| 125 |
+
- An index array mapping body elements to this material.
|
| 126 |
+
- `BH` attribute: B-H curve as a `(K, 2)` array of `[H, B]` pairs (nonlinear permeability).
|
| 127 |
+
- `sigma` attribute: Electrical conductivity (S/m).
|
| 128 |
+
|
| 129 |
+
**Edge materials** (`<subset_name>/Materials_edge/`): Each named material subgroup contains an index array mapping edge elements to this material (used to identify material interfaces).
|
| 130 |
+
|
| 131 |
+
### Sources
|
| 132 |
+
|
| 133 |
+
Located under `<subset_name>/Sources/`: Each named source subgroup contains:
|
| 134 |
+
- An index array mapping body elements to this source.
|
| 135 |
+
- `magnitude` attribute: Current density magnitude (A/m²).
|
| 136 |
+
- `frequency` attribute: Excitation frequency (Hz). Zero for stationary problems.
|
| 137 |
+
- `phase` attribute: Phase angle (rad).
|
| 138 |
+
|
| 139 |
+
### Boundaries
|
| 140 |
+
|
| 141 |
+
Located under `<subset_name>/Boundaries/`: Each named boundary subgroup contains:
|
| 142 |
+
- An index array mapping edge elements to this boundary.
|
| 143 |
+
- `normal` attribute: `(2,)` outward normal vector.
|
| 144 |
+
- `type` attribute: Boundary condition type — `"Mag_insulation"` or `"Axial_sym"`.
|
| 145 |
+
|
| 146 |
+
### Physics (Target Output)
|
| 147 |
+
|
| 148 |
+
Located under `<subset_name>/Physics/`: The solved magnetic flux density field on body elements.
|
| 149 |
+
|
| 150 |
+
**Stationary problems:**
|
| 151 |
+
|
| 152 |
+
| Key | Shape | Description |
|
| 153 |
+
|---|---|---|
|
| 154 |
+
| `realBx_elem` / `realBr_elem` | `(N_b, 1)` | Real part of B in x/r direction |
|
| 155 |
+
| `realBy_elem` / `realBz_elem` | `(N_b, 1)` | Real part of B in y/z direction |
|
| 156 |
+
|
| 157 |
+
**Frequency-domain problems** (additional imaginary components):
|
| 158 |
+
|
| 159 |
+
| Key | Shape | Description |
|
| 160 |
+
|---|---|---|
|
| 161 |
+
| `realBx_elem` / `realBr_elem` | `(N_b, 1)` | Real part of B in x/r direction |
|
| 162 |
+
| `imagBx_elem` / `imagBr_elem` | `(N_b, 1)` | Imaginary part of B in x/r direction |
|
| 163 |
+
| `realBy_elem` / `realBz_elem` | `(N_b, 1)` | Real part of B in y/z direction |
|
| 164 |
+
| `imagBy_elem` / `imagBz_elem` | `(N_b, 1)` | Imaginary part of B in y/z direction |
|
| 165 |
+
|
| 166 |
+
## Directory Structure
|
| 167 |
+
|
| 168 |
+
```
|
| 169 |
+
MaxwellBench/
|
| 170 |
+
├── Transformer_2D_UU/
|
| 171 |
+
│ ├── train/
|
| 172 |
+
│ │ ├── Data_0.h5
|
| 173 |
+
│ │ ├── Data_1.h5
|
| 174 |
+
│ │ └── ... # 10000 files
|
| 175 |
+
│ └── val/
|
| 176 |
+
│ ├── Data_0.h5
|
| 177 |
+
│ └── ... # 1000 files
|
| 178 |
+
├── Transformer_2D_PQ/
|
| 179 |
+
│ ├── train/
|
| 180 |
+
│ └── val/
|
| 181 |
+
├── Inductor_2D_I_gap/
|
| 182 |
+
│ ├── train/
|
| 183 |
+
│ └── val/
|
| 184 |
+
└── ... # same structure for all subsets
|
| 185 |
+
```
|
| 186 |
+
|
| 187 |
+
## Quick Start
|
| 188 |
+
|
| 189 |
+
```python
|
| 190 |
+
import h5py
|
| 191 |
+
|
| 192 |
+
subset = "Transformer_2D_UU"
|
| 193 |
+
with h5py.File(f"MaxwellBench/{subset}/train/Data_0.h5", "r") as f:
|
| 194 |
+
sim = f[subset]
|
| 195 |
+
|
| 196 |
+
# Metadata
|
| 197 |
+
sim_type = sim.attrs["Type"] # "Stationary" or "Frequency domain"
|
| 198 |
+
coord = sim.attrs["Coordinate"] # "x, y" or "r, z"
|
| 199 |
+
|
| 200 |
+
# Mesh
|
| 201 |
+
nodes = sim["Fields"]["Nodes"][:] # (N_n, 3)
|
| 202 |
+
connectivity = sim["Fields"]["Nodes_connectivity"][:] # (N_conn, 2)
|
| 203 |
+
elements = sim["Fields"]["Body_elements"][:] # (N_b, 3)
|
| 204 |
+
areas = sim["Fields"]["Body_areas"][:] # (N_b, 1)
|
| 205 |
+
|
| 206 |
+
# Target B field
|
| 207 |
+
Bx = sim["Physics"]["realBx_elem"][:] # (N_b, 1)
|
| 208 |
+
By = sim["Physics"]["realBy_elem"][:] # (N_b, 1)
|
| 209 |
+
```
|
| 210 |
+
A github repo with dataloader, model, and distributed training pipeline will be published in the future.
|
| 211 |
+
|
| 212 |
+
## Intended Use
|
| 213 |
+
|
| 214 |
+
MaxwellBench is designed to:
|
| 215 |
+
- Train and benchmark **neural operators** for electromagnetic field prediction.
|
| 216 |
+
- Evaluate **generalization** across device topologies, coordinate systems, and simulation regimes.
|
| 217 |
+
- Support research on **foundation models** for scientific computing / PDE solving.
|
| 218 |
+
|
| 219 |
+
## Citation
|
| 220 |
+
|
| 221 |
+
If you use MaxwellBench in your work, please cite:
|
| 222 |
+
|
| 223 |
+
> Paper forthcoming. Citation details will be updated upon publication.
|
Transformer_2D_L.tar.zst
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:afdf0eba3ed9fd5c741cbeb4115fcb93de695d21ed86374193c6b49a21c1c906
|
| 3 |
+
size 21808507776
|
Transformer_2D_PQ.tar.zst
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:e2d071fc374dd7bb55799401502cab1d1c86d10bf9503930a251e35d9612b94d
|
| 3 |
+
size 11033266670
|
Transformer_2D_UU.tar.zst
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:35ea4fe21809d1057f415ee8edb61a3421bfb1cd9db981683e21b1b46b7e49fd
|
| 3 |
+
size 43049460438
|