From c102e860fe02af77d97d1943205a8481cf98563f Mon Sep 17 00:00:00 2001 From: hm-thinkbook16p Date: Mon, 10 Aug 2026 08:32:11 +0800 Subject: [PATCH] feat(feedback): add VDE-1166/1167/1168 Mold Cooling/Pipe B31.3/Spring DIN2093 kernel requirements --- docs/feedback/VDE-1166.md | 34 ++++++++++++++++++++++++++++++++ docs/feedback/VDE-1167.md | 38 ++++++++++++++++++++++++++++++++++++ docs/feedback/VDE-1168.md | 41 +++++++++++++++++++++++++++++++++++++++ 3 files changed, 113 insertions(+) create mode 100644 docs/feedback/VDE-1166.md create mode 100644 docs/feedback/VDE-1167.md create mode 100644 docs/feedback/VDE-1168.md diff --git a/docs/feedback/VDE-1166.md b/docs/feedback/VDE-1166.md new file mode 100644 index 000000000..f17fb81c2 --- /dev/null +++ b/docs/feedback/VDE-1166.md @@ -0,0 +1,34 @@ +# VDE-1166: Injection Mold Cooling Analysis & Shrinkage Compensation Kernel (注塑模具冷却分析与收缩补偿内核) + +**Date**: 2026-08-10 +**Source**: ViewDesign v7.45 MoldPanel deepening — Injection mold cooling time/heat balance, shrinkage compensation, ejection force, gate sizing +**Module**: `vde/mold/cooling.h`, `vde/mold/shrinkage.h`, `vde/mold/ejection.h` +**Status**: Open — Engine requirement proposal +**Priority**: P1 +**Category**: Mold / Cooling / Shrinkage / Ejection / Gate + +--- + +## Background + +Plastic injection molding is a $300+ billion global industry spanning automotive (bumpers, dashboards, lighting), consumer electronics (phone cases, laptop chassis), medical devices (syringes, IV components), packaging (bottle caps, containers), and appliance manufacturing. The design of the injection mold — the precision steel tool that shapes molten plastic into finished parts — is the critical cost and quality driver, accounting for 30-60% of total part cost. The key engineering challenges in mold design are thermal management (removing heat from 200-350°C melt fast enough to achieve economical cycle times without inducing warpage), shrinkage compensation (predicting and correcting for the 0.2-3.0% volumetric contraction that occurs as semi-crystalline polymers solidify and crystallize), and mechanical design (ensuring the part can be ejected from the core without damage at the correct force, and that the runner/gate system delivers melt to all cavities simultaneously). + +The cooling phase dominates cycle time, representing 60-80% of the total molding cycle. The fundamental cooling time equation, derived from the one-dimensional transient heat conduction solution for a plate with constant mold wall temperature (Carslaw & Jaeger, 1959), is: +t_cool = (s²/(π²*α)) * ln((8/π²)*(T_melt - T_mold)/(T_eject - T_mold)) +where s is the wall thickness, α is the thermal diffusivity of the polymer (mm²/s), T_melt is the melt temperature entering the mold, T_mold is the mold (coolant) temperature, and T_eject is the minimum part temperature for ejection (typically the Heat Deflection Temperature minus ~10°C to prevent distortion during ejector pin contact). The logarithmic term reflects the diminishing return of extending cooling time — the first 80% of temperature equalization occurs in the first 30% of cooling time. + +The thermal diffusivity α = k/(ρ*cp) where k is thermal conductivity (W/mK), ρ is density (kg/m³), and cp is specific heat (J/kgK). For semi-crystalline polymers (PP, PE, PA66, POM), the latent heat of crystallization (ΔH_fusion ≈ 190-293 kJ/kg) represents an additional energy barrier that must be removed before the polymer can cool below the recrystallization temperature, effectively extending the required cooling time. The total heat removal per part is Q_melt = m_part * (cp_solid * (T_melt - T_eject) + ΔH_fusion), with ΔH_fusion ≈ 0 for amorphous polymers (ABS, PC, PS, PMMA). + +The coolant channel design must remove this heat while maintaining turbulent flow (Re > 2,300) for efficient heat transfer, as laminar flow (Re < 2,100) provides significantly lower heat transfer coefficients. The Reynolds number in the cooling channel is Re = ρ*v*D/μ where v is the coolant velocity and μ is the dynamic viscosity. The required coolant mass flow rate for heat removal is m_dot = Q_melt / (cp_coolant * ΔT_coolant), where ΔT_coolant is the temperature rise of the coolant (typically 2-5°C per circuit to maintain uniform mold temperature). + +Shrinkage compensation is required because all thermoplastics contract as they cool from the melt state to ambient temperature. The linear shrinkage S (in %) varies by material: amorphous polymers (ABS 0.4-0.7%, PC 0.5-0.7%, PS 0.4-0.7%) shrink less and more uniformly than semi-crystalline polymers (PP 1.0-2.5%, PE 1.5-3.0%, POM 1.8-2.5%, PA66 1.0-2.0%). Semi-crystalline shrinkage is also anisotropic — shrinkage is higher in the flow-perpendicular direction (due to molecular orientation relaxation) than in the flow-parallel direction (along which the polymer chains were stretched during filling). The mold cavity must be dimensioned as D_mold = D_part * (1 + S/100) to compensate, but the anisotropy means a single isotropic scale factor is insufficient for critical tolerances. + +Ejection force is the force required to strip the cooled, shrunken part from the core. The part grips the core due to the shrinkage-induced normal pressure and the friction/adhesion at the polymer-steel interface: F_eject = A_contact * P_adhesion * μ_friction * cos(draft_angle). The adhesion pressure (MPa) varies by material: PP ≈ 3, ABS ≈ 4, PC ≈ 5, PA6 ≈ 6, POM ≈ 5. The friction coefficient μ depends on the mold surface finish — polished cores (Ra < 0.1 μm) achieve μ ≈ 0.12-0.18, while textured surfaces can reach μ ≈ 0.25-0.35. Draft angles of 1-3° are essential: the cos(θ) term makes draft directly proportional to ejection force reduction (cos(1°) ≈ 0.9998 needs more force; cos(3°) ≈ 0.9986 is 15% easier). The ejector pins themselves are slender columns that must be checked for buckling: the Euler critical load for a pin of diameter d (typically 3-12mm) with effective length L_eff (unsupported portion) is F_cr = π²*E*I/L_eff², with E=210 GPa for ejector steel. + +Gate sizing determines the entry point where melt enters the mold cavity, controlling fill time, shear heating, and part quality. For an edge gate feeding a rectangular cavity, the cross-sectional area is determined by the required volumetric flow rate and maximum allowable shear rate: the gate diameter d = 0.6 * sqrt(V_part / (π * v_fill * t_fill)), where V_part is the part volume, v_fill is the melt front velocity (typically 300-500 mm/s), and t_fill is the desired fill time (0.5-3 seconds depending on wall thickness). The shear rate at the gate γ̇ = 6*Q/(w*h²) (rectangular gate) or 32*Q/(π*d³) (circular gate) must not exceed 100,000 1/s to avoid polymer degradation from excessive shear heating (viscous dissipation). Excessive shear rates also cause "jetting" — the melt stream entering the cavity as a high-velocity jet rather than a smooth advancing flow front, resulting in surface defects (flow marks, weld lines). + +VDE currently lacks: +- Cooling time and thermal balance kernel (1D transient heat conduction t_cool with polymer thermal diffusivity α, semi-crystalline latent heat of crystallization ΔH_fusion removal, cooling channel Reynolds number for turbulent flow assurance, coolant mass flow rate requirement, multi-circuit balance) +- Shrinkage compensation with anisotropic ratio (material-specific shrinkage rates S, flow-parallel vs flow-perpendicular anisotropy, mold cavity dimensional scaling D_mold = D_part*(1+S/100), combined isotropic+anisotropic scaling matrix) +- Ejection force and ejector pin buckling analysis (adhesion pressure P_adhesion by material, friction coefficient μ by surface finish, draft angle cos(θ) reduction, Euler buckling F_cr = π²EI/L_eff², minimum pin count with safety factor 2, pin stress verification σ = 4F/(n*π*d²)) +- Gate and runner sizing with shear rate limit (volumetric flow rate-based gate diameter, shear rate γ̇ = 6Q/(w*h²) max 100,000 1/s check, runner diameter progression Sprue→Runner→Gate, balanced multi-cavity runner layout) diff --git a/docs/feedback/VDE-1167.md b/docs/feedback/VDE-1167.md new file mode 100644 index 000000000..ee1f64ace --- /dev/null +++ b/docs/feedback/VDE-1167.md @@ -0,0 +1,38 @@ +# VDE-1167: Pipe Stress Analysis & Support Span Engineering Kernel (管道应力分析与支吊架工程内核) + +**Date**: 2026-08-10 +**Source**: ViewDesign v7.45 PipeRoutePanel deepening — Water hammer Joukowsky, ASME B31.3 wall thickness, thermal expansion stress, pipe support span +**Module**: `vde/pipe/stress.h`, `vde/pipe/support.h`, `vde/pipe/waterhammer.h` +**Status**: Open — Engine requirement proposal +**Priority**: P1 +**Category**: Pipe / Stress / B31.3 / Water Hammer / Support + +--- + +## Background + +Industrial piping systems are the arteries of process plants, power stations, refineries, chemical facilities, and building services, with the global pipe and fittings market exceeding $150 billion annually. Pipe stress analysis is governed by ASME B31.3 (Process Piping) — the primary international standard that defines minimum wall thickness, allowable stresses, flexibility requirements, and support design criteria. Failure of piping systems due to overpressure, water hammer, thermal expansion, or inadequate support can result in catastrophic releases of hazardous materials, fires, explosions, and environmental damage, making stress analysis a mandatory engineering discipline. + +Water hammer (pressure surge) is a transient phenomenon that occurs when fluid velocity changes abruptly — typically due to rapid valve closure, pump trip, or check valve slam. The resulting pressure wave travels through the pipe at the speed of sound in the fluid-pipe system and can generate pressure surges 3-10 times the steady-state operating pressure, causing pipe rupture, flange leakage, support failure, and equipment damage. The fundamental Joukowsky equation for instantaneous valve closure (closure time < 2L/c, where L is pipe length and c is wave speed) is: +ΔP = ρ * c * Δv [Pa] +The wave speed c in an elastic pipe filled with compressible fluid is: +c = √(K/ρ / (1 + (K/E)*(D/t)*C1)) +where K is the fluid bulk modulus (water ≈ 2.2 GPa at 20°C, oil ≈ 1.3-1.8 GPa, decreasing with temperature), E is the pipe elastic modulus (steel ≈ 210 GPa, PE ≈ 1.0-1.5 GPa, PVC ≈ 3.0 GPa), D is the pipe outside diameter, t is the wall thickness, and C1 is the pipe restraint factor: C1 = 1-μ² (pipe anchored at one end only), C1 = 1-μ (pipe anchored throughout), C1 = 0.91 (pipe with expansion joints throughout). For gradual valve closure (closure time >> 2L/c), the maximum pressure is reduced proportionally to the reflection time ratio. + +Pipe wall thickness design per ASME B31.3 Section 304.1.1 is the fundamental safety calculation for all pressure piping: +t_min = P*D / (2*(S*E*W + P*Y)) + C [mm] +where P is the design pressure (MPa_g), D is the outside diameter (mm), S is the allowable stress at the design temperature (MPa, from ASME B31.3 Appendix A — values decrease significantly with increasing temperature), E is the longitudinal weld joint quality factor (seamless pipe E=1.0, ERW E=0.85, SAW E=0.95, furnace butt weld E=0.60), W is the weld strength reduction factor (W=1.0 for temperatures below the creep range, decreasing to 0.5-0.8 at high temperatures where creep damage accumulates in the weld HAZ), Y is the material coefficient (Y=0.4 for ferritic steels, Y=0.7 for austenitic stainless steels, Y=0.0 for cast iron), and C is the sum of corrosion allowance (typically 1.0-3.0mm), mechanical allowance (threading/grooving depth), and manufacturer's negative tolerance. The calculated t_min is then rounded up to the next standard pipe schedule (SCH5→SCH10S→SCH10→SCH20→SCH30→SCH40S→STD→SCH40→SCH80S→XS→SCH80→SCH120→SCH160→XXS) for ASME B36.10M (carbon/alloy steel) or B36.19M (stainless steel). + +Thermal expansion stress is the dominant load case for above-ground piping systems. The free thermal expansion of a straight pipe segment is ΔL = α * L * ΔT [mm], where α is the linear coefficient of thermal expansion (×10⁻⁶/°C: carbon steel ≈ 11.7-13.6, SS304 ≈ 16.0-18.1, aluminum ≈ 23-25). If the pipe is fully constrained (both ends fixed), the resulting compressive thermal stress is σ_thermal = E * α * ΔT [MPa], which for a 10m carbon steel pipe heated from 20°C to 300°C generates σ_thermal ≈ 210×10³ * 13.6×10⁻⁶ * 280 ≈ 800 MPa — far exceeding even the ultimate tensile strength of the material. This is why expansion loops, expansion joints, or changes in direction (L-bends, Z-bends, U-bends) are absolutely essential. The axial force generated by total constraint is F_axial = A_cs * σ_thermal, where A_cs is the pipe cross-sectional area, and this force is transferred directly to the pipe supports and equipment connections. + +When thermal stresses exceed allowable limits, expansion loops provide the necessary flexibility. Per the Kellogg method (M.W. Kellogg Company, "Design of Piping Systems", 1956), the required leg length for a U-type expansion loop to absorb a given thermal expansion is: +L_leg = √(3 * ΔL * E * D / (144 * S_A)) [m] +where S_A is the allowable displacement stress range per B31.3: S_A = f*(1.25*S_c + 0.25*S_h), with S_c being the basic allowable stress at the cold (ambient) condition, S_h at the hot (operating) condition, and f being the cyclic stress range reduction factor (f = 1.0 for N ≤ 7,000 equivalent full-temperature cycles, decreasing to 0.5 for N > 100,000 cycles). + +Pipe support spans must prevent excessive sag (deflection-based limit) and overstress (stress-based limit). The maximum span based on bending stress is L_stress = √(0.33 * Z * S_A / w_eff), where Z = π*(D⁴-(D-2t)⁴)/(32*D) is the section modulus, w_eff is the total unit weight (pipe + fluid content + insulation + snow/ice), and S_A is the allowable stress range. The maximum span based on deflection is L_defl = (384 * E * I * δ_allow / (5 * w_eff))^(1/4), where I = π*(D⁴-(D-2t)⁴)/64 is the moment of inertia, and δ_allow is the allowable mid-span deflection (typically 2.5mm or L/300 for general process piping, L/600 for critical services). The design support span is L_max = min(L_stress, L_defl), with standard engineering practice adding a 20% margin for unforeseen loads. ANSI/MSS SP-58 provides recommended maximum support spacing for standard pipe sizes based on assumed water-filled condition. + +VDE currently lacks: +- Water hammer / pressure surge analysis (Joukowsky equation ΔP = ρ*c*Δv with wave speed c including pipe elasticity and restraint factor C1, fluid bulk modulus K database, gradual vs instantaneous closure time criterion 2L/c, total pressure P_total = P_static + ΔP with pressure class comparison, surge relief valve / surge tank sizing guidance) +- ASME B31.3 wall thickness calculation (t_min = P*D/(2(SEW+PY)) + C with temperature-dependent allowable stress S lookup, material database with S vs T curves, weld factor E/quality factor, Y coefficient per material class, corrosion/mechanical allowance, automatic schedule selection from standard tables) +- Thermal expansion stress and flexibility analysis (free expansion ΔL = αLΔT, fully-constrained stress σ_thermal = EαΔT, axial force F = A*σ_thermal, allowable stress comparison, expansion loop/U-bend leg length Kellogg method L_leg = √(3ΔL*E*D/(144*S_A)), bellows expansion joint alternative) +- Pipe support span engineering (stress-limited L_stress = √(0.33ZS_A/w), deflection-limited L_defl = (384EI*δ/5w)^(1/4), combined pipe+fluid+insulation weight, ANSI/MSS SP-58 reference table, minimum support count for span length) diff --git a/docs/feedback/VDE-1168.md b/docs/feedback/VDE-1168.md new file mode 100644 index 000000000..242ef5a07 --- /dev/null +++ b/docs/feedback/VDE-1168.md @@ -0,0 +1,41 @@ +# VDE-1168: Spring Design Optimization & Fatigue Life Prediction Kernel (弹簧设计优化与疲劳寿命预测内核) + +**Date**: 2026-08-10 +**Source**: ViewDesign v7.45 SpringDesignPanel deepening — EN 13906 helical compression spring, DIN 2093 Belleville disc, torsion spring, wave spring, Goodman/Soderberg fatigue +**Module**: `vde/spring/helical.h`, `vde/spring/belleville.h`, `vde/spring/torsion.h` +**Status**: Open — Engine requirement proposal +**Priority**: P1 +**Category**: Spring / Helical / Belleville / Torsion / Fatigue + +--- + +## Background + +Springs are ubiquitous mechanical components that store and release elastic energy, with applications ranging from automotive suspension systems and engine valve trains to industrial machinery, consumer electronics, medical devices, and precision instruments. The global spring market exceeds $30 billion, with helical compression springs representing approximately 60% of all spring production by volume. Spring design is governed by rigorous standards — EN 13906-1 (Helical compression springs made from round wire and bar), DIN 2093 (Disc springs — Belleville springs), and JIS B 2704 (Helical compression and extension springs) — that define calculation methods, material properties, manufacturing tolerances, and quality requirements. + +Helical compression springs are the most common type. The fundamental design equations derive from torsion in a helical bar: the wire is subjected primarily to torsional shear stress from the axial load P acting through the mean coil radius D/2. The basic torsional shear stress is τ = 8*P*D/(π*d³), but this is amplified by the Wahl correction factor K_w, which accounts for two effects: direct shear (the load P acts directly across the wire cross-section in addition to producing torsion) and the curvature effect (stress concentration at the inner fiber of the helix due to the wire being curved rather than straight). The Wahl factor is K_w = (4C-1)/(4C-4) + 0.615/C, where C = D/d is the spring index. C values below 4 produce extremely high stress concentrations and are difficult to manufacture (wire breaks during coiling), while C values above 20 produce springs that are prone to buckling and are dimensionally unstable. + +The corrected maximum shear stress is τ_max = K_w * 8*P_max*D/(π*d³), and the design criterion is τ_max ≤ τ_a (allowable shear stress for the material and wire diameter). The allowable stress depends on the material grade, wire diameter (smaller wires achieve higher strengths due to greater cold-working during wire drawing), and the intended service life (static vs. dynamic/fatigue loading). For piano wire (SWP), the tensile strength varies with wire diameter as σ_B ≈ 2200/d^0.145 [MPa, d in mm], and the allowable torsional shear stress τ_a ≈ 0.45*σ_B for static loading, 0.35*σ_B for dynamic loading. + +The spring rate (stiffness) is k = G*d⁴/(8*na*D³), where na is the number of active coils (nt - 2 for compression springs with closed, ground ends where the end coils are inactive). The G modulus for steel is typically 78,500 MPa. The solid height is L_solid = nt*d (for closed and ground ends), and the maximum deflection to solid is δ_max = L0 - L_solid. Springs with a slenderness ratio L0/D > 5 require internal or external guides to prevent buckling under compression. At L0/D > 8, buckling is nearly certain without guidance. + +Dynamic spring behavior is critical for engine valve springs, fuel injection systems, and high-speed machinery. The natural frequency of a helical spring (both ends fixed) is f_n = (1/2π) * √(k/m_eff), where the effective mass in motion is m_eff ≈ ρ*π²*d²*D*na/4 (approximately 1/3 of the total spring mass for a spring with fixed ends and one free end). The operating frequency should be less than 1/13 of the natural frequency to avoid resonance (surge), which can cause coil clash, stress amplification by factors of 2-3, and rapid fatigue failure. + +Fatigue life prediction for springs uses the torsional S-N approach based on the Hashiguchi diagram (1972), which plots the alternating torsional stress τ_a against the mean stress τ_m. The endurance limit for shear (τ_w) depends strongly on surface condition: shot-peened springs achieve τ_w ≈ 0.30*σ_B (compressive residual stresses at the surface inhibit fatigue crack initiation), while unpeened springs only achieve τ_w ≈ 0.22*σ_B. The Goodman criterion for combined mean and alternating stress is τ_a/τ_w + τ_m/σ_B ≤ 1/SF, while the more conservative Soderberg criterion uses τ_a/τ_w + τ_m/σ_y ≤ 1/SF (substituting the yield strength σ_y for the ultimate strength σ_B). + +Belleville disc springs (conical washers) per DIN 2093 provide high force capacity in minimal axial space, making them ideal for bolted joint preload maintenance, thermal expansion compensation, and high-impact energy absorption. The force-deflection characteristic is nonlinear, governed by the h0/t ratio: h0/t ≈ 0.4-0.6 produces a near-linear spring; h0/t ≈ 1.0-1.3 produces a hardening spring (stiffness increases with deflection); h0/t ≈ √2 (~1.414) produces a zero-stiffness region (constant force over a deflection range, useful for constant-force clamping despite thermal expansion); and h0/t > √2 produces a negative stiffness (snap-through) region that can be useful for bistable mechanisms. Disc springs can be stacked: series stacking (n discs oriented the same way) multiplies deflection by n at the same force; parallel stacking (m discs alternating) multiplies force by m at the same deflection. + +The simplified single disc force (DIN 2093 approximation) is: +F = (4E/(1-μ²)) * (t³*s/(K4*De²)) * [(h0-s/t)*(h0-s/(2t)) + 1] +where s is the deflection, De is the outside diameter, t is the thickness, h0 is the free cone height, and K4 is a coefficient depending on the diameter ratio δ = De/Di. For δ = 2.0 (common), K4 ≈ 0.77. The complete DIN 2093 formula includes additional coefficients C1 and C2 for precise calculation, but the simplified form is adequate for preliminary design with < 5% error. + +Torsion springs (helical springs loaded in bending about the coil axis, rather than in torsion along the wire axis) are typically used in applications requiring angular return force: clothespins, mousetraps, door hinges, garage door counterbalance mechanisms, and clockwork mechanisms. The wire experiences bending stress rather than torsional shear, and the stress concentration is governed by the bending Wahl factor K_b = (4C²-C-1)/(4C(C-1)), which is larger than the torsional Wahl factor for the same C, making bending stress concentration the limiting design factor for torsion springs. The angular deflection per unit torque (torsional spring rate) is k_T = π*d⁴*E/(64*D*na) [N·mm/rad], and the bending stress is σ = K_b * 32*M/(π*d³) where M = P*R_arm is the applied moment. + +Wave springs (Smalley Crest-to-Crest design) are flat-wire compression springs that achieve the same force and deflection as a helical spring in 50% of the axial space. The force is generated by the bending of the wave crests, similar to a series of curved beams in bending. The approximate force for a single-turn wave spring with N wave crests per turn is F ≈ (E*b*t³*N)/(2.4*Dm³) * f, where b is the radial width (De-Di)/2, t is the thickness, Dm is the mean diameter, and f is the deflection. Peak bending stress occurs at the wave crest and is approximately σ ≈ 0.5*E*t*N/(7.2*Dm²) * f. Wave springs can be layered (Crest-to-Crest) to multiply the force for the same deflection, or a single turn can provide low rate/high deflection. + +VDE currently lacks: +- Helical compression spring design optimization per EN 13906 (Wahl correction K_w, spring rate k = Gd⁴/(8naD³), solid height and maximum deflection, buckling check L0/D > 5/8, natural frequency f_n, Hashiguchi fatigue with Goodman/Soderberg criteria, material database with d-dependent τ_a, manufacturing feasibility filter C≥4/C≤20) +- Belleville disc spring analysis per DIN 2093 (diameter ratio δ, force-deflection F(s) with C1/C2/K4 coefficients, h0/t ratio characterization from linear to snap-through, series/parallel stacking total deflection/force combined properties, material stress at inner edge) +- Torsion spring calculation (bending Wahl factor K_b, bending stress σ = K_b*32M/πd³, angular deflection θ = 64MDna/πd⁴E, torsional spring rate k_T, arm stress at hook, maximum torque at yield) +- Wave spring / constant force spring analysis (wave spring force F≈(Ebt³N)/(2.4Dm³)*f and bending stress, multi-turn Crest-to-Crest stacking, constant force spring F=Etb³/(12R0) with yield strain limitation) +- Comprehensive spring material database (σ_B vs d curve for SWP/SWOSC/SUS304/SiCr/CrV, G and E moduli, density, temperature limits, shot-peening allowance factor, τ_a static/dynamic per standard, UTS vs wire diameter for SWP-A: 2200/d^0.145, SWOSC-V: 2000/d^0.107)