Iris314 commited on
Commit
a273b3f
·
verified ·
1 Parent(s): cd075ce

Create README.md

Browse files
Files changed (1) hide show
  1. README.md +114 -0
README.md ADDED
@@ -0,0 +1,114 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ library_name: pytorch
3
+ license: mit
4
+ tags:
5
+ - finite-element-analysis
6
+ - adaptive-mesh-refinement
7
+ - tabular-classification
8
+ - tabular-regression
9
+ - graph-ml
10
+ - cae
11
+ - engineering-education
12
+ - stress-analysis
13
+ - python
14
+ language:
15
+ - code
16
+ model_type: mlp
17
+ pretty_name: Mesh-Agent MLP Suite for Intelligent FEA Refinement
18
+ ---
19
+
20
+ # Mesh-Agent MLP Suite — Model Card
21
+
22
+ ## Model Summary
23
+ This work presents a suite of four lightweight Multilayer Perceptron (MLP) models designed to support intelligent mesh-refinement assistance in Finite Element Analysis (FEA). Each model targets a specific simulation preprocessing task:
24
+
25
+ | Model | Task | Level | Output |
26
+ |------|------|------|--------|
27
+ | Model 1 | Local refinement flag | Feature | Binary probability |
28
+ | Model 2 | Convergence prediction | Part | Binary probability |
29
+ | Model 3 | Local mesh sizing | Feature | Regression |
30
+ | Model 4 | Global mesh sizing | Part | Regression |
31
+
32
+ Independent modeling avoids multi-loss interference and improves stability on the limited available dataset.
33
+
34
+ ---
35
+
36
+ ## Dataset Reference
37
+ All models were trained using the publicly available dataset:
38
+
39
+ MeshRefine-FEA Corner Bracket Dataset
40
+ Hugging Face: https://huggingface.co/datasets/Iris314/Mesh-gen-train
41
+
42
+ Dataset card includes simulation metadata, adaptive refinement history, convergence labels, and geometric descriptors.
43
+
44
+ ---
45
+
46
+ ## Architecture and Rationale
47
+ Graph Neural Networks (GNNs) were evaluated initially due to their alignment with geometric adjacency. However, the limited number of unique CAD parts led to severe overfitting and unstable training. Support Vector Machines were also considered but were rejected because they do not provide probabilistic outputs, which are required for confidence-aware threshold control. A unified multi-task MLP was tested but exhibited degraded performance due to conflicting optimization objectives.
48
+
49
+ Four independent MLPs were therefore selected for stronger performance-to-complexity trade-offs and for greater explainability, which is essential in engineering education contexts. To propagate local stress-driven insights into global decisions, feature-level models are trained first and their top-three predicted refinement regions are appended to the input of the part-level models. This ensures dimensionally consistent message passing while preserving local importance.
50
+
51
+ ---
52
+
53
+ ## Training Details
54
+
55
+ | Setting | Value |
56
+ |--------|------|
57
+ | Optimizer | Adam |
58
+ | Learning rate | 1e-4 |
59
+ | Epochs | 500 |
60
+ | Loss functions | BCE / MSE |
61
+ | Thresholding | Youden’s J statistic |
62
+ | Best classification threshold | 0.1588 |
63
+ | Cross-validation | 5-fold (part-level models) |
64
+ | Framework | PyTorch |
65
+
66
+ Low learning rate and extended training duration reduce overfitting under limited data conditions. A high-recall bias ensures that refinement-critical zones are always captured.
67
+
68
+ ---
69
+
70
+ ## Evaluation
71
+
72
+ | Model | Metric | Score | Notes |
73
+ |------|--------|------|------|
74
+ | Model 1 | Accuracy | 0.82 | Refinement classification |
75
+ | Model 2 | Accuracy | 0.78 | CV: 0.58 ± 0.06 |
76
+ | Model 3 | MSE | 0.253 | Local mesh sizing |
77
+ | Model 4 | MSE | 0.364 | CV: 0.5135 ± 0.2575 |
78
+
79
+ Confidence scores are presented in the GUI to support user interpretation of predictions.
80
+
81
+ ---
82
+
83
+ ## Intended Use
84
+ Suitable for:
85
+ - Beginner FEA instruction and mesh setup feedback
86
+ - Early detection of non-convergent setups
87
+ - Estimating balanced local and global mesh sizing to reduce runtime
88
+
89
+ Not intended for certified structural verification in safety-critical systems.
90
+
91
+ ---
92
+
93
+ ## Limitations
94
+ - Dataset consists only of corner bracket geometries
95
+ - Assemblies and nonlinear load modes not represented
96
+ - Human verification of results remains required
97
+
98
+ ---
99
+
100
+ ## Ethical Considerations
101
+ This tool is designed for educational scaffolding and not for automated deployment in high-risk engineering design without expert review.
102
+
103
+ ---
104
+
105
+ ## Citation
106
+
107
+ ### Model citation
108
+ ```bibtex
109
+ @model{mesh_agent_mlp_2025,
110
+ title={Mesh-Agent MLP Suite for Intelligent FEA Refinement},
111
+ author={X. Tang et al.},
112
+ year={2025},
113
+ note={Feature-aware mesh refinement prediction models for educational CAE assistance},
114
+ }