Merge branch 'main' of git.hdtime.space:hm/ViewDesignEngine
Build & Test / build-and-test (push) Canceled after 0s
VDE Build & Test / build-and-test (push) Canceled after 0s
Build & Test / python-bindings (push) Canceled after 0s

This commit is contained in:
hm
2026-08-05 19:26:54 +08:00
7 changed files with 667 additions and 4 deletions
-1
View File
@@ -4,7 +4,6 @@
**严重度**: Medium
**分类**: API 完整性 / CAD 功能对比
**来源**: ViewDesign Batch 99 — vd_draft_shell (F163) 模块激活
**状态**: Acknowledged — 架构级功能请求。拔模/抽壳/加强筋/圆顶的高级功能(分型线拔模、多厚度抽壳、轮廓加强筋等)需要新增 kernel 模块。当前基础 API 已覆盖核心场景。2026-08-05 cron。
## 问题描述
-1
View File
@@ -4,7 +4,6 @@
**严重度**: High
**分类**: API 完整性 / 直接编辑 + 曲面建模
**来源**: ViewDesign Batch 98/99/101 — vd_direct_edit + vd_draft_shell 激活
**状态**: Acknowledged — 架构级功能请求。面级 Direct Edit API(move_face/offset_face/rotate_face 等)和 FFD 自由形变形需要新增 kernel 模块。当前已有 body-level 回退方案。建议在 v1.0 API 冻结前纳入路线图。2026-08-05 cron。
## 背景
+1 -1
View File
@@ -1,7 +1,7 @@
# VDE-510: Large Assembly Optimization — API Gaps & Integration Notes
**Date**: 2026-08-05 | **Batch**: 106 (ViewDesign)
**Status**: Acknowledged — Architecture-level feature request (new API proposal) | **Priority**: Medium
**Status**: Open | **Priority**: Medium
**Target**: VDE geometry kernel (`vde::brep`, `vde::mesh`)
---
+1 -1
View File
@@ -1,7 +1,7 @@
# VDE-511: AI Copilot — VDE Integration Gaps & Enhancement Opportunities
**Date**: 2026-08-05 | **Batch**: 107 (ViewDesign)
**Status**: Acknowledged — Architecture-level feature request (new API proposal) | **Priority**: Low (Enhancement)
**Status**: Open | **Priority**: Low (Enhancement)
**Target**: VDE geometry kernel (`vde::brep`), VDE AI framework
---
+238
View File
@@ -0,0 +1,238 @@
# VDE-544: Welding & Weldment Design — VDE Enhancement Requests
**Date**: 2026-08-05
**Batch**: 140 (F370)
**Status**: Open
**Priority**: High
**Module**: vd_weldment
## Summary
F370 delivers Welding & Weldment Design module with 8 weld types (Fillet/Groove/Plug/Slot/Spot/Seam/Edge/Surfacing), 10 weld processes (SMAW/GMAW/GTAW/FCAW/SAW/PAW/Laser/EBW/RSW/FSW), AWS A2.4 weld symbol editor with 10+ supplementary symbols, weld bead management (6 demo beads: 3 fillet + 1 groove + 1 plug + 1 spot), distortion estimation (angular/transverse/longitudinal/buckling + clamping/preset recommendations), carbon equivalent & preheat calculator (CE(IIW) + AWS D1.1 Annex XI), heat input calculator, NDE method selection (VT/PT/MT/UT/RT/ET), weld quality levels (Visual/Commercial/Structural/Nuclear), cost estimation (filler/labor/gas/overhead), and WPS generation per AWS D1.1/ASME Section IX. Aligns with SolidWorks Weldments, NX Weld Assistant, CATIA Welding Design, Creo Welding, and Tekla Structures.
---
## Enhancement Requests
### 1. VDE Weld Joint Geometry Engine (P0 — Critical)
**Current State**: Weld bead geometry is calculated with simple analytical formulas (fillet volume = 0.5 × leg² × length)
**Gap**: No geometric modeling of actual weld joints on 3D bodies
**Request**:
- `vde::weldment::WeldJointGeometry` — geometric weld joint modeling on BREP bodies
- Joint type detection:
- T-joint: two perpendicular planar faces meeting at edge
- Butt joint: two coplanar faces with gap
- Lap joint: two parallel overlapping faces
- Corner joint: two faces meeting at corner
- Edge joint: edge of one part to face of another
- Weld bead solid modeling:
- Fillet bead: triangular cross-section swept along joint edge
- Leg length L₁, L₂ (equal or unequal leg)
- Convex/concave face profile
- Variable leg along length (tapered fillet)
- Groove bead: V-groove, U-groove, J-groove, bevel groove
- Root face, root opening, groove angle
- Multi-pass: root pass + fill passes + cap pass
- Plug/Slot bead: cylindrical/prismatic volume in hole/slot
- Spot weld: cylindrical nugget volume between sheets
- Nugget diameter from process parameters (current, time, force)
- Weld volume computation:
- Exact volume from BREP Boolean union of bead solid
- Mass = volume × density (material-dependent)
- Center of gravity of weld metal
- Weld preparation:
- Edge preparation: chamfer, bevel, J-prep, U-prep on part edges
- Root face and root opening automatic computation per code
- Backing bar: additional solid for root support
- Joint penetration:
- Partial joint penetration (PJP): specified depth % of thickness
- Complete joint penetration (CJP): full thickness
- Penetration depth visualization on cross-section
### 2. VDE Weld Thermal & Residual Stress Simulation (P0 — Critical)
**Current State**: Heat input calculated as simple formula (efficiency × V × I / travel_speed / 1000)
**Gap**: No thermal or residual stress analysis for welds
**Request**:
- `vde::weldment::WeldThermalSolver` — welding thermal and stress simulation
- Heat source models:
- Goldak double-ellipsoid: Q(x,y,z) = (6√3 · f · Q) / (a·b·c·π√π) · exp(-3x²/a² - 3y²/b² - 3z²/c²)
- Front ellipsoid: a_f, b, c_f with f_f = 2a_f/(a_f + a_r)
- Rear ellipsoid: a_r, b, c_r with f_r = 2a_r/(a_f + a_r)
- Q = η · V · I (arc efficiency × voltage × current)
- Conical heat source: for laser/EBW deep penetration
- Surface Gaussian: for GTAW, PAW
- Thermal analysis:
- Transient heat conduction: ρCp · ∂T/∂t = ∇·(k∇T) + Q_gen
- Phase change: latent heat of fusion (L_f ≈ 270 kJ/kg for steel)
- Temperature-dependent material properties: k(T), Cp(T), ρ(T)
- Convection: q_conv = h(T - T_ambient), h ≈ 5-25 W/m²·K
- Radiation: q_rad = εσ(T⁴ - T_ambient⁴), ε ≈ 0.3-0.8
- Weld pool:
- Melting temperature isotherm (T_solidus, T_liquidus)
- Weld pool shape: width, depth, length (D/W ratio, D/L ratio)
- Cooling rate: dT/dt at 800→500°C (t_8/5 critical for microstructure)
- t_8/5 = Q / (2πk) · (1/(500 - T₀) - 1/(800 - T₀))
- Residual stress:
- Mechanical analysis: σ = D · (ε_total - ε_thermal - ε_plastic - ε_TRIP)
- Thermal strain: ε_thermal = α(T - T_ref)
- Phase transformation strain: ε_TRIP from austenite → martensite/bainite
- Yield criterion: von Mises σ_vm < σ_y(T)
- Hardening: isotropic + kinematic hardening for cyclic loading
- Residual stress distribution: longitudinal (σ_xx), transverse (σ_yy)
- Typical magnitude: σ_res ≈ 0.6-0.95 × σ_y (can reach yield)
- Distortion prediction:
- Angular distortion: rotation about weld axis (β = f(heat_input, thickness, restraint))
- Transverse shrinkage: Δw ∝ Q / t (heat input / thickness)
- Longitudinal shrinkage: ΔL ∝ Q · L / (A · E)
- Buckling: thin plates under compressive residual stress
- Critical stress: σ_cr = k · π² · E / (12(1-ν²)) · (t/b)²
- Buckling when |σ_compressive| > σ_cr
- Bending distortion: V-groove asymmetric → angular change
- Mitigation:
- Pre-set angle: opposite to expected distortion
- Pre-camber: opposite curvature to expected bending
- Back-step welding: segmented welding to balance shrinkage
- Symmetric welding: double-sided welds
- Clamping and fixturing: restraint analysis
### 3. VDE Weld Bead Meshing & FEM Integration (P1 — High)
**Current State**: No mesh generation for weld analysis
**Gap**: No automatic meshing of weld joints for FEA
**Request**:
- `vde::weldment::WeldMesher` — automatic mesh generation for welded joints
- Weld mesh generation:
- Hex-dominant mesh at weld toe and root (stress concentration)
- Mesh refinement: finer elements in HAZ (heat-affected zone), coarser in base metal
- Element size: 0.1t to 0.5t at weld (t = plate thickness)
- Transition: graded mesh from fine weld to coarse far-field
- Weld bead representation:
- Solid elements: hexahedral or wedge elements for weld volume
- Shell elements: for thin-walled structures with weld connectors
- Beam elements: for spot weld connectors
- Node merging or constraint equations for dissimilar mesh
- Hot spot stress method (for fatigue):
- Type "a" hot spot: on attachment weld toe on plate surface
- Type "b" hot spot: on attachment weld toe at plate edge
- Stress extrapolation: linear (0.4t, 1.0t) or quadratic (0.4t, 0.9t, 1.4t)
- σ_hs = 1.67·σ_0.4t - 0.67·σ_1.0t (linear extrapolation)
- Effective notch stress method:
- Fictitious notch radius: r_ref = 1.0mm (IIW recommendation)
- r_ref = 0.05mm for thin sheets (< 5mm)
- S-N curve: FAT 225 for steel, FAT 71 for aluminum
- Structural hot spot stress:
- Through-thickness linearization at weld toe
- Membrane + bending stress decomposition
- σ_membrane = (σ_top + σ_bottom) / 2
- σ_bending = (σ_top - σ_bottom) / 2
### 4. VDE Welding Procedure Specification Engine (P1 — High)
**Current State**: WPS text generation is template-based string concatenation
**Gap**: No parameterized WPS computation with code compliance checking
**Request**:
- `vde::weldment::WPSEngine` — automated welding procedure qualification
- WPS parameter computation:
- Heat input range: HI_min = η·V_min·I_min / v_max, HI_max = η·V_max·I_max / v_min
- t_8/5 range: min and max cooling time for target microstructure
- Preheat computation from CE(IIW) and combined thickness:
- T_preheat = T_ambient + ΔT_per_CE · (CE - CE_threshold) + ΔT_per_thickness · (t_combined - t_threshold)
- Interpass temperature: T_interpass ≈ T_preheat + 50-100°C (prevents H cracking)
- Travel speed: v = η·V·I / (HI_target · 1000)
- Essential variables per AWS D1.1:
- Base metal group number (P-number per ASME Section IX)
- Filler metal classification (F-number, A-number)
- Joint type and geometry (Q-number for temper bead)
- Position (flat/horizontal/vertical/overhead: 1G→4G, 1F→4F)
- Preheat and interpass temperature
- Post-weld heat treatment (PWHT): temperature, time, heating/cooling rate
- Electrical characteristics: AC/DC, polarity (DCEN/DCEP), transfer mode
- Technique: stringer/weave, single/multi-pass, back gouging
- Supplementary essential variables (toughness-critical):
- Heat input limits: Q_max for notch toughness
- t_8/5 range for Charpy V-notch requirements
- Welding process: SMAW/GMAW/FCAW/SAW/GTAW restrictions
- Procedure qualification record (PQR):
- Tensile test: 2 transverse specimens, yield > base metal minimum
- Bend test: 4 specimens (2 face, 2 root), no defects > 3mm
- Impact test: Charpy V-notch at specified temperature
- Macro-etch: cross-section for fusion, penetration, defects
- Hardness test: HAZ hardness < 350 HV (sour service < 248 HV)
- Welder performance qualification (WPQ):
- Test coupon requirements per position and thickness
- Range qualified: test thickness → production thickness range
- Pipe diameter range: test OD → qualified OD range
- Continuity: log of welding activity dates
### 5. VDE Weld Fatigue & Life Assessment (P2 — Medium)
**Current State**: No fatigue analysis for welded joints
**Gap**: Weld fatigue is critical for structural integrity
**Request**:
- `vde::weldment::WeldFatigueAnalyzer` — fatigue assessment of welded joints
- Nominal stress method (IIW recommendations):
- FAT classes: FAT 36 to FAT 160 for steel (S-N curves at 2×10⁶ cycles)
- S-N curve: log N = log C - m · log Δσ
- m = 3 for N ≤ 10⁷, m = 5 for N > 10⁷ (variable amplitude)
- Fatigue limit: Δσ_D at 5×10⁶ cycles, cut-off Δσ_L at 10⁸ cycles
- Thickness correction: FAT_corrected = FAT · (t_ref/t)^n, t_ref = 25mm
- Mean stress: R = σ_min/σ_max, enhancement factor f(R) for R < 0.5
- Structural hot spot stress method:
- Linear extrapolation: σ_hs = 1.67·σ_0.4t - 0.67·σ_1.0t
- FAT 100 for as-welded, FAT 112 for ground flush
- Reference points: 0.4t and 1.0t from weld toe (t = plate thickness)
- Effective notch stress method:
- Reference radius r_ref = 1.0mm, FAT 225 for steel
- Element size: r/4 = 0.25mm at notch → very fine mesh
- Suitable for complex geometries
- Linear elastic fracture mechanics (LEFM):
- Paris law: da/dN = C · (ΔK)^m
- Stress intensity factor range: ΔK = Y · Δσ · √(π·a)
- Initial crack size: a_i = 0.1-0.5mm (weld toe undercut)
- Critical crack size: a_c = (K_IC / (Y · σ_max))² / π
- Crack propagation life: N_f = ∫_{a_i}^{a_c} da / (C · ΔK^m)
- Cumulative damage (Palmgren-Miner):
- Damage: D = Σ(n_i / N_i) ≤ 1.0 (safe) or ≤ 0.5 (offshore)
- Variable amplitude: rainflow counting, stress range histogram
- Equivalent stress range: Δσ_eq = (Σ(n_i · Δσ_i^m) / Σ n_i)^(1/m)
- Improvement methods:
- Burr grinding: FAT class improvement (e.g., +33% for ground flush)
- TIG dressing: re-melting weld toe → smoother profile
- Hammer peening: compressive residual stress at toe
- UIT (Ultrasonic Impact Treatment): FAT improvement +40-60%
- HFMI (High-Frequency Mechanical Impact): FAT improvement up to +100%
### 6. VDE Weld Corrosion & NDE Integration (P2 — Medium)
**Current State**: NDE method assigned but no actual inspection simulation
**Gap**: No corrosion analysis or inspection path planning
**Request**:
- `vde::weldment::WeldInspection` — NDE simulation and inspection planning
- Radiographic testing (RT):
- X-ray / gamma ray source positioning
- Film/detector placement: SWSI (single-wall single-image), DWSI, DWEI
- IQI (Image Quality Indicator): wire type per ASTM E747 or hole type per ASTM E1025
- Sensitivity: 2% of material thickness typically required
- Geometric unsharpness: U_g = F · t / (SFD - t) where F = focal spot size
- Ultrasonic testing (UT):
- Probe angle: 45°, 60°, 70° shear wave for welds
- Beam path and skip distance calculation
- DAC (Distance Amplitude Correction) / TCG (Time Corrected Gain)
- Weld defect characterization: planar (cracks, lack of fusion) vs. volumetric (porosity, slag)
- Phased array UT: sector scan, linear scan, multiple angles
- TOFD (Time of Flight Diffraction): accurate sizing of crack tip
- Magnetic particle testing (MT):
- AC yoke: for surface defects
- DC/prod: for sub-surface defects (up to ~3mm)
- Field direction: parallel to defect for maximum indication
- Demagnetization check after inspection
- Penetrant testing (PT):
- Dwell time: 5-30 minutes for fine cracks
- Developer time: 10-30 minutes
- Water-washable, solvent-removable, post-emulsifiable types
- Weld corrosion:
- Galvanic corrosion: different base/filler metal combinations
- Intergranular corrosion: sensitized stainless steel (Cr carbide precipitation)
- Stress corrosion cracking (SCC): H₂S environment for carbon steel
- Pitting corrosion: chloride environment for stainless steel
- Corrosion allowance: 3-6mm typical for offshore structures
- Inspection path planning:
- Scanner path generation for automated UT
- Coverage analysis: % of weld length with adequate inspection
- Obstacle avoidance: stiffeners, attachments blocking scanner
- Reporting: inspection data for e ach bead, pass/fail per acceptance criteria
+206
View File
@@ -0,0 +1,206 @@
# VDE-545: Fatigue Analysis — VDE Enhancement Requests
**Date**: 2026-08-05
**Batch**: 141 (F371)
**Status**: Open
**Priority**: High
**Module**: vd_fatigue
## Summary
F371 delivers Fatigue Analysis module with 5 analysis methods (Stress-Life/Strain-Life/Crack Growth/Multiaxial), 7 mean stress corrections (Goodman/Gerber/Soderberg/Morrow/SWT/Walker/ASME Elliptic), S-N curve modeling with Basquin equation (σ_a = σ_f' · (2N_f)^b), load spectrum definition (block/rainflow/VA with 12-point spectrum), Marin factor correction (surface/size/load/temperature/reliability/misc), notch sensitivity analysis (Neuber/NSSC/Peterson/Glinka), material database (steel/Al/Ti with fatigue properties), multi-load case comparison table, and comprehensive fatigue life report. Aligns with Ansys nCode, MSC Fatigue, fe-safe, FEMFAT, and SolidWorks Fatigue.
---
## Enhancement Requests
### 1. VDE Fatigue Solver Integration (P0 — Critical)
**Current State**: Fatigue analysis runs on scalar stress histories extracted from FEA results
**Gap**: No integration with full FEA stress tensors or multi-axial criteria
**Request**:
- `vde::fatigue::FatigueSolver` — multi-axial fatigue analysis with full tensor integration
- Multi-axial fatigue criteria:
- Dang Van: τ_max(t) + α_DV · σ_h(t) ≤ τ_DV (mesoscopic scale)
- σ_h = hydrostatic stress, τ_max = maximum shear at grain
- α_DV = 3(τ_DV/σ_f - 0.5), material-dependent
- Findley: (Δτ/2 + k_F · σ_n_max) ≤ τ_f (critical plane search)
- k_F = 0.2-0.3 for ductile material, 0.3-0.5 for brittle
- Crossland: √J₂_a + α_Cr · σ_h_max ≤ λ_Cr
- Papadopoulos: √⟨T_a²⟩ + α_P · σ_h_max ≤ λ_P (integral approach)
- Critical plane method:
- Critical plane search: find plane with maximum fatigue damage parameter (Δθ = 1-5°)
- Maximum shear plane: for shear-dominated failure (ductile materials)
- Maximum normal plane: for normal stress-dominated failure (brittle materials)
- Damage parameter: D = Δτ/2 + k · σ_n_max or D = Δε/2 + k · ε_n_max
- Non-proportional loading:
- Out-of-phase angle φ between normal and shear stress: 0° (proportional) to 180°
- Non-proportional hardening: additional hardening for φ ≠ 0°, κ_NP(φ)
- Principal stress axis rotation: tracking stress rotation during loading cycle
- Loading path in σ-τ plane: polygon, ellipse, circle paths
- Cycle counting:
- Rainflow counting: 4-point algorithm (ASTM E1049)
- Inner range: |X₂ - X₃| < min(|X₁ - X₂|, |X₃ - X₄|) → count cycle
- 3-point algorithm for on-line processing
- Mean stress binning: R-ratio bins for equivalent stress range
- Markov matrix: stress range vs. mean stress → from-to matrix
- Mean stress correction integration:
- Apply correction to each extracted cycle after rainflow
- Goodman: σ_a / σ_ar + σ_m / σ_uts = 1
- Gerber: σ_a / σ_ar + (σ_m / σ_uts)² = 1
- Soderberg: σ_a / σ_ar + σ_m / σ_yield = 1
- Morrow: σ_ar = (σ_f' - σ_m) · (2N_f)^b
- SWT: σ_ar = √(σ_max · σ_a) = √(σ_a · (σ_a + σ_m))
- Walker: σ_ar = σ_max^(1-γ) · σ_a^γ
- ASME Elliptic: (σ_a/σ_ar)² + (σ_m/σ_yield)² = 1
### 2. VDE Crack Propagation Engine (P0 — Critical)
**Current State**: Crack growth uses simple Paris law integration with constant geometry factor Y
**Gap**: No mixed-mode, crack closure, or overload effects
**Request**:
- `vde::fatigue::CrackPropagationEngine` — comprehensive fracture mechanics fatigue
- Linear elastic fracture mechanics (LEFM):
- Stress intensity factors: K_I (opening), K_II (sliding), K_III (tearing)
- K = Y · σ · √(π·a), Y = f(a/W, geometry) weight function
- Mixed-mode equivalent: ΔK_eff = √(ΔK_I² + ΔK_II² + (ΔK_III²/(1-ν)))
- T-stress: second term in Williams expansion, constraint effect
- Paris-Erdogan law:
- da/dN = C · (ΔK_eff)^m
- Stage I (threshold): ΔK < ΔK_th → no crack growth
- Stage II (Paris regime): linear in log-log, C and m material constants
- Stage III (unstable): K_max → K_c → rapid fracture
- Bi-linear Paris: different C, m for near-threshold vs. Paris regime
- Crack closure (Elber):
- Effective stress intensity: ΔK_eff = K_max - K_op
- K_op = crack opening SIF (when crack faces separate)
- Plasticity-induced: residual plastic wake behind crack tip
- Oxide-induced: corrosion debris wedging crack open
- Roughness-induced: asperity contact from mode II
- Closure ratio: U = ΔK_eff / ΔK = (K_max - K_op) / (K_max - K_min)
- Newman crack closure equation for U(R, σ_max/σ₀, α)
- Threshold and overload effects:
- Fatigue threshold ΔK_th: no growth below this (typically 2-8 MPa√m for steel)
- Load ratio effect: ΔK_th = ΔK_th0 · (1-R)^γ (Klesnil-Lukáš)
- Wheeler retardation: da/dN_retard = φ · da/dN, φ = (r_y/(a_p + r_yp - a))^m
- a_p = crack length at overload, r_yp = overload plastic zone size
- Willenborg retardation: K_red = K_OL · √(1 - Δa/r_pOL) - K
- Effective ΔK reduced by overload-induced residual stress
- J-integral for elastic-plastic:
- J = ∫_Γ (W·dx₂ - T_i · ∂u_i/∂x₁ · ds), path-independent contour integral
- ΔJ for cyclic loading, da/dN = C_J · (ΔJ)^m_J (Dowling)
- Reference stress method: J ≈ K²/E' + plastic term
- XFEM (eXtended Finite Element Method):
- Enrichment functions: u(x) = Σ N_i(x)u_i + Σ H(x)a_i + Σ F(x)b_i
- Heaviside function H(x) = ±1 across crack surface
- Near-tip enrichment: √r·sin(θ/2), √r·cos(θ/2), √r·sin(θ/2)·sinθ, √r·cos(θ/2)·sinθ
- No re-meshing: crack propagates through elements via enrichment
### 3. VDE Notch & Stress Gradient Analysis (P1 — High)
**Current State**: Notch sensitivity analyzed with simple K_t lookup and Neuber rule
**Gap**: No stress gradient or size effect theory
**Request**:
- `vde::fatigue::NotchAnalyzer` — advanced notch fatigue with gradient effects
- Stress gradient method:
- Relative stress gradient: χ' = (1/σ_max) · (dσ/dx) at notch root
- Support factor: n_χ = 1 + √(ρ* · χ')
- ρ* = material microstructural length (grain size, defect spacing)
- Fatigue notch factor: K_f = K_t / n_χ (Siebel-Petersen)
- Seeger: K_f = K_t / √(1 + s · χ') where s = √(a_G · ρ*)
- Statistical size effect (Weibull):
- Probability of survival: P_s(V, σ) = exp(-(V/V₀) · (σ/σ₀)^m)
- m = Weibull modulus (typically 10-30 for steel)
- Size ratio: σ_ref/σ_test = (V_test/V_ref)^(1/m) for same P_s
- Stress integral approach: V_eff = ∫_V (σ/σ_max)^m dV
- Probabilistic-SAFE approach for component-level reliability
- Critical distance theory (TCD):
- Point Method (PM): σ_eff = σ(r_c/2) at distance r_c/2 from notch tip
- Line Method (LM): σ_eff = (1/2r_c) · ∫₀^{2r_c} σ(r) dr
- Area Method (AM): σ_eff = (2/πr_c²) · ∫₀^{π/2} ∫₀^{r_c} σ(r,θ) · r dr dθ
- Volume Method (VM): 3D integration over hemisphere/cylinder ahead of notch
- Critical distance: r_c = (1/π) · (ΔK_th / Δσ₀)² (El Haddad)
- FKM guideline support:
- Component fatigue limit: σ_ak = σ_w · a_0 · a_s / K_f
- a_0 = surface roughness factor
- a_s = surface treatment factor (shot peening, nitriding, carburizing)
- K_f = total fatigue notch factor including gradient
- Mean stress sensitivity: M_σ = a_M · 10^(-3) · R_m + b_M (R_m in MPa)
- Safety factor: j_ges = j_mat · j_prod · j_insp (material × production × inspection)
- Multi-axial notch:
- K_t tensor for multi-axial notch stress
- Equivalent notch stress: σ_eq = f(σ₁, σ₂, σ₃) at notch root
- Critical distance combined with multi-axial criteria
### 4. VDE Vibration Fatigue (P1 — High)
**Current State**: No vibration or frequency-domain fatigue capability
**Gap**: Vibration-induced fatigue is dominant in automotive/aerospace
**Request**:
- `vde::fatigue::VibrationFatigue` — frequency-domain and random vibration fatigue
- Frequency-domain methods:
- Dirlik method: empirical probability density function of stress range
- p(S) = (D₁/Q · e^(-Z/Q) + D₂·Z/R² · e^(-Z²/2R²) + D₃·Z · e^(-Z²/2)) / (2√m₀)
- Z = S/(2√m₀), m_i = spectral moments from PSD
- D₁, D₂, D₃, Q, R = functions of moments m₀, m₁, m₂, m₄
- Tovo-Benasciutti method: α₁ = m₁/√(m₀·m₂), α₂ = m₂/√(m₀·m₄)
- Rainflow damage: D_RF = b · D_NB + (1-b) · D_RC
- b = function of α₁, α₂ (bandwidth and irregularity factors)
- Bandopadhyay method: narrowband correction with Wirsching-Light factor
- λ(n) = a(n) + [1 - a(n)] · (1-ε)^b(n)
- ε = √(1 - α₂²) = bandwidth parameter
- Narrow-band approximation (Rayleigh): p(S) = (S/m₀) · exp(-S²/(2m₀))
- PSD (Power Spectral Density):
- From FFT of time history: PSD(f) = (2·Δt/N) · |FFT(x(t))|²
- Welch method: averaged periodogram with overlap (50%) and windowing (Hanning)
- Spectral moments: m_n = ∫₀^∞ f^n · PSD(f) df
- Expected zero-crossing rate: ν₀ = √(m₂/m₀), peak rate: ν_p = √(m₄/m₂)
- Dynamic response:
- Single-input: PSD_response(f) = |H(f)|² · PSD_input(f)
- H(f) = frequency response function from modal analysis
- Multi-input: PSD_output = Σ H_i* · PSD_ij · H_j (cross-spectral density matrix)
- Modal superposition: H(f) = Σ (φ_r · φ_r^T · γ_r) / (ω_r² - ω² + 2iζ_rω_rω)
- φ_r = mode shape, γ_r = participation factor, ζ_r = damping ratio
- Sine-on-random:
- Multi-excitation: PSD_total = PSD_random + Σ P_sine_i(f_i)
- Dirlik with modified moments accounting for deterministic components
- Swept sine: frequency varies with time, time-domain simulation or equivalent damage
- Component and sub-assembly:
- Transmissibility: T(f) = |X_output(f)| / |X_input(f)| from 2-DOF or MDOF system
- Sub-assembly FRF connection: CMS (Component Mode Synthesis)
- Craig-Bampton: fixed-interface normal modes + constraint modes
- Damping: Rayleigh α·[M] + β·[K], loss factor η, modal damping ζ
### 5. VDE Composite Fatigue (P2 — Medium)
**Current State**: No composite material fatigue capability
**Gap**: Composite fatigue behavior fundamentally different from metals
**Request**:
- `vde::fatigue::CompositeFatigue` — fatigue analysis for fiber-reinforced composites
- Ply-level stress:
- Laminate theory: [Q_ij] → [A],[B],[D] matrices → strain ε⁰, κ → stress σ_k per ply
- On-axis stress (σ₁, σ₂, τ₁₂): σ₁ along fiber, σ₂ transverse, τ₁₂ in-plane shear
- Multi-axial fatigue per ply: fatigue parameters for each direction (longitudinal/transverse/shear)
- Failure criteria:
- Puck failure criteria:
- Fiber fracture (FF): |σ₁/X_T| ≥ 1 (tension), |σ₁/X_C| ≥ 1 (compression)
- Inter-fiber fracture (IFF): √((τ₁₂/S₂₁)^2 + (1-p₂₁/Y_T)·(σ₂/Y_T)^2) + p₂₁·σ₂/S₂₁ ≥ 1
- Inclination angle for IFF plane: θ_fp for different σ₂/τ₂₁ ratios
- Tsai-Wu: F₁₁σ₁² + F₂₂σ₂² + F₆₆τ₁₂² + 2F₁₂σ₁σ₂ + F₁σ₁ + F₂σ₂ = 1
- Hashin: separate matrix/tension, matrix/compression, fiber/tension, fiber/compression
- Stiffness degradation (residual stiffness):
- E_i(N) = E_i₀ · f(N, σ, R) where degradation depends on cycles
- Sudden death model: stiffness drops rapidly near end of life
- Progressive damage: matrix cracking → delamination → fiber breakage
- Normalized life model: D = (E₀ - E(N)) / (E₀ - E_f) = (log N - log N₀) / (log N_f - log N₀)
- Delamination:
- Cohesive zone model (CZM): traction-separation law (T-δ)
- Bilinear: linear elastic → damage initiation (T = T₀ at δ = δ₀) → linear softening (T = 0 at δ = δ_f)
- Energy release rate: G = ∫ T dδ, G_c = T₀ · δ_f / 2
- Mixed-mode: (G_I/G_IC)^α + (G_II/G_IIC)^β + (G_III/G_IIIC)^γ = 1 (B-K criterion)
- Cyclic delamination: dA/dN = c · (ΔG/G_c)^d (Paris-type)
- S-N curves per textile form:
- Woven: S-N curves for warp/fill directions (typically different)
- Unidirectional: tension S-N (fiber-dominated, flat), compression S-N (kinking, steeper)
- Triaxial braided: 0°/±60° with different fatigue in each direction
- Tension vs. compression asymmetry: compression strength typically 50-60% of tension
- Shear fatigue: τ_a^R(N) = τ_f' · (2N)^b, typically steeper S-N than tension
- Environmental effects:
- Temperature: T_g (glass transition temperature) critical, properties drop above T_g
- Moisture absorption: plasticization reduces T_g, hydrolysis damage
- Combined: moisture + temperature → accelerated degradation, Arrhenius-type
- Thermal cycling: differential expansion between fiber and matrix → micro-cracking
+221
View File
@@ -0,0 +1,221 @@
# VDE-546: Linkage & Mechanism Synthesis — VDE Enhancement Requests
**Date**: 2026-08-05
**Batch**: 142 (F372)
**Status**: Open
**Priority**: Medium
**Module**: vd_linkage
## Summary
F372 delivers Linkage & Mechanism Synthesis with 6 mechanism types (4-bar/crank-slider/6-bar/quick-return/cam-follower/Geneva), 4-bar Grashof classification (crank-rocker/double-crank/double-rocker/change-point), 4 synthesis methods (3-position analytical/Freudenstein equation/Chebyshev optimal/optimization), kinematic analysis (position/velocity/acceleration with Newton-Raphson solver), cam design (5 follower types, 7 motion programs, SVAJ diagrams, pressure angle limit <30°), and Geneva mechanism for intermittent motion. Aligns with Adams, RecurDyn, Siemens NX Motion, Working Model, and SAM.
---
## Enhancement Requests
### 1. VDE Mechanism Solver Kernel (P0 — Critical)
**Current State**: Kinematic analysis uses simple loop closure equations with Newton-Raphson for 4-bar only
**Gap**: No constrained multi-body dynamics or DAE solver
**Request**:
- `vde::linkage::MechanismSolver` — multi-body dynamics with constrained formulation
- Constrained dynamics (DAE formulation):
- Equations of motion: M(q) · q̈ + Φ_q^T · λ = g(q, q̇, t)
- Constraint equations: Φ(q, t) = 0
- Lagrange multipliers λ represent constraint reaction forces
- Descriptor form (index-3 DAE):
- [M Φ_q^T] [q̈] [g]
- [Φ_q 0 ] [-λ] = [γ]
- γ = -(Φ_q · q̇)_q · q̇ - 2Φ_qt · q̇ - Φ_tt (acceleration-level constraint)
- Constraint stabilization:
- Baumgarte stabilization: Φ̈ + 2αΦ̇ + β²Φ = 0
- α, β = stabilization parameters (typically α = β = 5-10)
- Prevents constraint drift in numerical integration
- Coordinate partitioning method: independent vs. dependent coordinates
- Null space method: project equations to independent coordinate space
- Integration methods:
- BDF (Backward Differentiation Formula): stiff DAE solver
- Variable-order (1-5), variable-step
- DASSL/DASPK type algorithm
- Newmark integrator: for structural dynamics
- q_{n+1} = q_n + Δt·q̇_n + (Δt²/2)[(1-2β)q̈_n + 2β·q̈_{n+1}]
- q̇_{n+1} = q̇_n + Δt[(1-γ)q̈_n + γ·q̈_{n+1}]
- β = 0.25, γ = 0.5 (trapezoidal, unconditionally stable)
- Adaptive time step based on local truncation error
- Joint constraints:
- Revolute: 2 points coincident → 5 constraint equations (3D)
- Prismatic: point on line + no rotation about 2 axes → 5 constraints
- Cylindrical: point on line (4 constraints)
- Spherical: 2 points coincident (3 constraints)
- Universal: 2 perpendicular rotation axes (4 constraints)
- Planar: point on plane + 2 orientation constraints (3 constraints)
- Gear: ω_i / ω_j = -N_j / N_i (angular velocity ratio constraint)
- Cam-follower: distance function Φ = d(p_cam, contour) - r_follower = 0
- Constraint Jacobian Φ_q: sparse analytical derivatives for each joint type
- Redundant constraint detection:
- QR decomposition of Φ_q^T: rank(Φ_q) < m → redundant constraints
- SVD nullspace: Φ_q = U · Σ · V^T, null rows of V^T → redundant directions
- Automatic removal or relaxation of redundant constraints
- Force elements:
- Spring-damper-actuator (TSDA): F = k(l - l₀) + c·l̇ + F_actuator
- Contact: penalty or Lagrange multiplier with gap function g(q) ≥ 0
- Gravity: g_i = -m_i · g · k̂ on each body
- Friction: Coulomb model at joints, μ_s, μ_d, stiction transition
### 2. VDE Cam Profile Generation (P1 — High)
**Current State**: Cam profile computed from basic displacement functions without curvature analysis
**Gap**: No advanced cam law design, jerk control, or manufacturing surface generation
**Request**:
- `vde::linkage::CamDesigner` — comprehensive cam profile engineering
- Cam motion laws:
- Modified trapezoid: piecewise acceleration
- Rise segments: T1 (1/8β), T2 (3/8β), T3 (1/8β), with peak a_max = 4.89h/β²
- Low vibration for high-speed cams
- Modified sine: combines sine acceleration portions
- a_max = 5.53h/β², j_max = 69.3h/β³ (finite jerk)
- Smooth at start and end of rise
- Polynomial 3-4-5: s = h[10(θ/β)³ - 15(θ/β)⁴ + 6(θ/β)⁵]
- Continuous acceleration, zero jerk at ends
- a_max = 5.77h/β²
- 4-5-6-7 polynomial: s = h[35(θ/β)⁴ - 84(θ/β)⁵ + 70(θ/β)⁶ - 20(θ/β)⁷]
- Zero jerk at both ends, j_max = 52.5h/β³
- Cycloidal: s = h[θ/β - sin(2πθ/β)/(2π)]
- a_max = 6.28h/β², infinite jerk at ends (not for high speed)
- Piecewise SVAJ continuity:
- RDFD (Rise-Dwell-Fall-Dwell) and RFDF (Rise-Fall-Dwell-Fall) segments
- C² continuity at segment boundaries: s, v, a continuous
- Jerk limit: |j| ≤ j_allowable at all positions
- Dwell-rise transition: s=0, v=0, a=0 at boundary
- Pressure angle analysis:
- Translating follower: α = arctan((ds/dθ - e) / (R_b + s))
- e = follower offset from cam center
- R_b = base circle radius
- α_max ≤ 30° for translating roller follower
- Oscillating follower: α = arctan((L·dψ/dθ + R_b - L·cos(ψ₀+ψ)) / (L·sin(ψ₀+ψ)))
- α_max ≤ 35° for oscillating roller follower
- L = follower arm length, ψ = angular displacement
- Cam curvature:
- ρ = ((R_b + s)² + (ds/dθ)²)^(3/2) / ((R_b + s)² + 2(ds/dθ)² - (R_b + s)·(d²s/dθ²))
- ρ > 0 always (convex, no undercut)
- ρ_min ≥ ρ_roller for roller follower (undercut check)
- ρ_roller = roller radius, if ρ_min < ρ_roller → undercut → increase R_b or reduce roller
- Flat-faced follower convexity: (R_b + s) + d²s/dθ² > 0 always
- If < 0 → concave region → follower loses contact
- CNC machining integration:
- B-spline and NURBS representation for CNC interpolation
- B-spline: C(u) = Σ N_i,p(u) · P_i, knot vector, control points
- NURBS: C(u) = Σ N_i,p(u)·w_i·P_i / Σ N_i,p(u)·w_i
- Surface generation: ruled surface for flat follower, swept surface for roller
- Tolerance: chordal deviation ≤ IT7 tolerance for cam accuracy
- Follower dynamics:
- Jump (separation): follower leaves cam when contact force F_c = 0
- F_c = k·s + c·v + m·a (spring preload + damping + inertia)
- Jump prevention: F_c > 0 at all cam angles
- Spring preload > m · a_max (downward) for positive drive
- Hertz contact stress: σ_H = √(F_n·E_eq/(π·w·R_eq))
- R_eq = 1/(1/ρ_cam + 1/ρ_roller), E_eq = 2/((1-ν₁²)/E₁ + (1-ν₂²)/E₂)
### 3. VDE Kinematic Tolerance Synthesis (P1 — High)
**Current State**: No tolerance analysis for mechanism geometry
**Gap**: Manufacturing variations critically affect mechanism performance
**Request**:
- `vde::linkage::ToleranceSynthesizer` — kinematic tolerance analysis and allocation
- Worst-case analysis:
- Arithmetic stackup: Δu_max = Σ |∂u/∂p_j| · Δp_j
- Linearized worst-case: Δu = |∂u/∂p|^T · Δp (sensitivity × tolerance)
- Non-linear worst-case: optimization over tolerance box
- Conservative: guarantees performance for all parts in tolerance
- RSS (Root Sum Square) analysis:
- Statistical stackup: σ_u² = Σ (∂u/∂p_j)² · σ_pj²
- Assuming normal distribution, C_pk = 1.33 → 4σ process
- Process capability: C_p = (USL - LSL) / (6σ)
- RSS tolerance: T_u = √(Σ (∂u/∂p_j)² · T_pj²)
- Monte Carlo simulation:
- Latin Hypercube Sampling (LHS): stratified sampling for better coverage
- Divide each dimension into N intervals, sample once per interval
- Better convergence than random MC: error ~ 1/N^(1.5) vs. 1/√N
- Distribution types: normal, uniform, triangular, Weibull, truncated
- Output: histogram, CDF, confidence interval, capability indices
- N = 10,000-100,000 for 3σ accuracy
- Sensitivity analysis:
- Direct differentiation: ∂u_i/∂p_j from kinematic Jacobian
- Kinematic sensitivity: ∂q/∂p = -Φ_q^{-1} · Φ_p (from implicit function theorem)
- Linkage length sensitivities: tolerance on link a affects coupler point
- Joint clearance sensitivity: gap in revolute joint → coupler path deviation
- Taguchi quality loss:
- Loss function: L(y) = k · (y - m)²
- k = A₀/Δ₀² (cost at tolerance limit)
- Parameter design: select nominal dimensions for robustness
- Tolerance design: allocate tolerance to minimize total cost (manufacturing + quality loss)
- Region-based synthesis:
- Accuracy domain: set of input tolerances meeting output specification
- Feasibility check: does tolerance region lie within accuracy domain?
- Synthesis: find maximum tolerance region satisfying performance
- Spatial mechanism tolerance:
- DH parameter tolerances: δθ_i, δd_i, δa_i, δα_i → end-effector error
- Position error: ΔP = J(q) · Δ(DH_params)
- Rotation error: ΔR from differential rotation matrix
- Worst-case pose error: ||ΔP|| + L · ||Δθ||
### 4. VDE Spatial & Multi-Loop Mechanisms (P2 — Medium)
**Current State**: Kinematic analysis limited to planar mechanisms (4-bar, crank-slider, 6-bar)
**Gap**: No spatial mechanism or parallel manipulator capability
**Request**:
- `vde::linkage::SpatialMechanism` — spatial kinematics and parallel mechanisms
- Denavit-Hartenberg parameters:
- Link i-1 to Link i: 4 parameters (θ_i, d_i, a_i, α_i)
- θ_i = joint angle about z_{i-1} (variable for revolute)
- d_i = link offset along z_{i-1} (variable for prismatic)
- a_i = link length along x_i (constant)
- α_i = link twist about x_i (constant)
- Transformation: ^{i-1}T_i = Rot(z,θ_i)·Trans(0,0,d_i)·Trans(a_i,0,0)·Rot(x,α_i)
- Forward kinematics: ⁰T_n = ⁰T₁ · ¹T₂ · ... · ^{n-1}T_n
- Modified DH (Craig) vs. standard DH (Denavit-Hartenberg) convention
- Stewart/Gough platform:
- 6-UPS (Universal-Prismatic-Spherical) parallel manipulator
- Inverse kinematics: l_i = ||b_i + R·p_i - a_i||
- b_i = base plate joint position (fixed)
- p_i = platform joint position (in platform frame)
- a_i = base plate anchor in global
- R = platform orientation (rotation matrix or Euler angles)
- Direct computation, no iteration needed
- Forward kinematics: iterative solution (6 equations, highly nonlinear)
- Newton-Raphson for position, up to 40 theoretical solutions
- Use previous pose as initial guess in trajectory
- Workspace analysis: reachable, dexterous, singularity-free workspace
- Singularity: det(J) = 0 → Jacobian rank deficiency
- Parallel mechanisms:
- RSS (Revolute-Spherical-Spherical): 3-DOF spatial parallel mechanism
- Each limb: R joint at base → S joint → S joint → platform
- Constraint: distance between 2 points constant per limb
- 3-RRR (3-Revolute-Revolute-Revolute): planar parallel manipulator
- 3 DOF: x, y, θ (planar motion)
- Delta robot: 3 translational DOF, 3 parallelogram limbs
- Fast pick-and-place, t_cycle < 0.3s
- Kinematic Jacobian: J_x · ẋ = J_q · q̇ → q̇ = J_q^{-1} · J_x · ẋ
- Assur group classification:
- Class I (dyad): 2 links + 3 joints → basic building block
- Class II: 4 links + 6 joints, sub-class I and II
- Class III: 5 links + 7 joints (spatial)
- Structural synthesis: decompose mechanism into Assur groups
- Modular kinematics: solve each group independently
- Path generation with workspace analysis:
- Branching defect: mechanism must stay in same assembly configuration
- Transmission angle μ: check μ_min > μ_allowable (typically 30-40°)
- μ = transmission angle for 4-bar, varies through cycle
- Order defect: coupler point passes through positions in wrong order
- Check crank angle monotonicity for ordered positions
- Circuit defect: positions belong to different circuits → not reachable without disassembly
- Path optimization: minimize error Σ ||P_synthesized(P_i) - P_target_i||²
- Clearance joint modeling:
- Continuous contact mode: journal always contacts bearing
- Clearance vector: c = r_journal - r_bearing, |c| ≤ c_radial
- Contact force: F_n = K·δ^n + D·δ̇ (Hertz + damping)
- Lankarani-Nikravesh model for hysteresis damping
- Free-flight mode: journal separates from bearing wall
- Impact detection: δ = |c| - c_radial ≥ 0 → collision
- Newton impact law: v_n^+ = -e·v_n^- (coefficient of restitution e)
- Friction: Coulomb model during contact
---
*End of VDE-546 Enhancement Requests*