MICROCRE / REPRODUCIBLE SIMULATIONS

数值模拟验证报告

生成时间:2026-11-17T03:06:06.405356+00:00
运行版本:{'python': '3.12.14', 'numpy': '2.3.5', 'scipy': '1.17.0'}

Python数值检查 69 项通过;Python/JavaScript默认曲线及边界检查 54400 项通过。

浏览器摘要最大绝对差:1.8189894035458565e-12;默认像素孔径平均对SciPy参考的最大绝对差:3.646748248375964e-07(容差 2e-06)。MATLAB执行次数:0。

热扩散网格收敛

节点数时间步 / s最大绝对误差 / K
210.040.0025150500106292384
410.010.0006217813797917415
810.00250.0001550098326532634

空间步长减半且时间步按平方缩减。误差比接近4,支持该测试问题下的二阶网格收敛;这不是对任意边界条件或实际设备的验证。

12项默认运行摘要

教学压痕加载—卸载环

P_load=k(h/1000)²;P_unload=P_max[(h−h_f)/(h_max−h_f)]ᵐ;W=∫P dh

输出值单位
峰值深度707.1067812nm
残余深度494.9747468nm
峰值卸载斜率0.07071067812mN/nm
加载功2357.02997pJ
回收功848.5297778pJ
环路耗散功1508.500192pJ

显式生成两段幂律曲线,SciPy梯形积分;与幂函数解析积分对照。

自包含Python · MATLAB源码(未执行) · 默认曲线CSV

独立参考漂移估计与修正

h_true=h₀+c ln(1+t/τ);h_meas=h_true+rt;r_fit=Σ(t−t̄)(d−d̄)/Σ(t−t̄)²;h_corr=h_meas−r_fit t

输出值单位
拟合漂移率0.04894433849nm/s
输入漂移率0.05nm/s
修正前RMSE3.46554469nm
修正后RMSE0.07316884307nm

最小二乘直线斜率与位移修正;计算对已知合成真值的RMSE。

自包含Python · MATLAB源码(未执行) · 默认曲线CSV

一维瞬态热扩散:显式差分

∂T/∂t=α∂²T/∂x²;Tᵢⁿ⁺¹=Tᵢⁿ+r(Tᵢ₋₁ⁿ−2Tᵢⁿ+Tᵢ₊₁ⁿ);r=αΔt/Δx²≤1/2

输出值单位
稳定性数 r0.161
时间步数5001
对解析解最大绝对误差0.0006217813798K
中心温度81.05042431°C
空间步长0.25mm

FTCS显式Euler时间推进和中心空间差分;21/41/81节点按Δt∝Δx²细化。

自包含Python · MATLAB源码(未执行) · 默认曲线CSV

三点弯曲挠度曲线

I=bh³/12;w(x)=Fx(3L²−4x²)/(48EI),0≤x≤L/2,另一半镜像;w_max=FL³/(48EI)

输出值单位
中央挠度0.1mm
最大弯曲正应力60MPa
截面二次矩104.1666667mm⁴

对分段解析挠曲线作401点数值采样。

自包含Python · MATLAB源码(未执行) · 默认曲线CSV

假设双线性拉伸响应

ε_y=σ_y/E;σ=Eε(ε≤ε_y),否则σ=σ_y+H_t(ε−ε_y);W_v=∫σdε

输出值单位
屈服应变0.125%
终点应力268.75MPa
按弹性卸载估计的残余应变1.865625%
加载功密度5.01953125MJ/m³

分段本构采样与SciPy梯形积分,转折点显式插入。

自包含Python · MATLAB源码(未执行) · 默认曲线CSV

角度—横向位移射线几何

δ=L tanθ;δ_small≈Lθ;θ[rad]=θ[arcsec]π/(180×3600)

输出值单位
端点横移2424.087398µm
小角度近似端点差0.01899229438µm
端点相对差0.0007834822456%

正切函数直接计算并与一阶泰勒近似比较。

自包含Python · MATLAB源码(未执行) · 默认曲线CSV

高斯双点像与像素采样

I(x)=Σexp[−(x−x_j)²/(2σ²)];σ=FWHM/(2√(2ln2));pixel_i=(1/p)∫pixel I(x)dx

输出值单位
每FWHM采样数2.51
中点/连续峰值强度0.33886920821
像素Nyquist频率2500lp/mm

高斯卷积的显式叠加,使用误差函数计算矩形像素孔径平均。

自包含Python · MATLAB源码(未执行) · 默认曲线CSV

合成轮廓与线性去趋势

z=A₁sin(2πx/λ₁)+A₂sin(2πx/λ₂+0.7)+bx;z_res=z−(a_fit+b_fit x)

输出值单位
模型平均绝对偏差0.5143862382µm
模型RMS0.5810855567µm
模型峰谷跨度2.094697414µm
拟合斜率0.3610656358µm/mm

合成轮廓、最小二乘去趋势、离散统计。

自包含Python · MATLAB源码(未执行) · 默认曲线CSV

圆度谐波与一阶分量移除

r−R=e cosθ+a₂cos2θ+a₃cos(3θ+φ);a_n=(2/N)Σr_jcos(nθ_j)

输出值单位
移除一阶后的径向跨度2.840801126µm
剩余谐波RMS0.790569415µm
拟合一阶幅值3µm

一阶离散傅里叶投影及径向统计。

自包含Python · MATLAB源码(未执行) · 默认曲线CSV

双组分吸光度谱叠加

A(λ)=lΣc_i ε_i(λ);ε₁,max=15000、ε₂,max=10000 L/(mol·cm);T=10⁻ᴬ

输出值单位
合成峰吸光度0.30169813791
采样峰位置450.5nm
最小透射率0.49923136421

假设摩尔吸光谱与线性吸收定律的数值采样。

自包含Python · MATLAB源码(未执行) · 默认曲线CSV

高斯色谱峰与分离度

y_i=A_i exp[−(t−t_R,i)²/(2σ_i²)]/(σ_i√(2π));R_s=(t_R,2−t_R,1)/[2(σ₁+σ₂)]

输出值单位
理想分离度 R_s1.251
数值总面积1.699999999signal·min
输入总面积1.7signal·min

归一化高斯峰叠加,SciPy梯形积分与理论总面积比较。

自包含Python · MATLAB源码(未执行) · 默认曲线CSV

相关输入的蒙特卡洛传播

z₂,corr=ρz₁+√(1−ρ²)z₂;F=F₀+u_Fz₁;A=A₀+u_Az₂,corr;σ=F/A

输出值单位
模拟均值100.0113674MPa
模拟标准差0.543066938MPa
经验等尾区间下限98.93186015MPa
经验等尾区间上限101.0821645MPa
名义F/A100MPa
一阶标准不确定度0.5385164807MPa
模拟次数100001

固定种子抽样、相关变换、非线性比值传播、样本标准差与经验分位数。

自包含Python · MATLAB源码(未执行) · 默认曲线CSV

执行检查明细

检查结果
indentation analytic loading integral通过
indentation analytic unloading integral通过
indentation nonnegative dissipation通过
drift exact linear correction通过
heat grid convergence通过
heat rejects unstable step通过
heat fixed boundaries通过
beam boundaries symmetry and center通过
bilinear work integral通过
optical odd symmetry通过
pixel aperture bounded通过
narrow widely separated PSF retains peaks通过
wide coincident PSF pixel average bounded通过
pixel aperture overlap retained even with centers outside PSF plot通过
profile residual orthogonal to offset and slope通过
harmonic RMS analytic通过
zero concentration zero absorbance通过
Beer Lambert path linearity通过
chromatography area normalization通过
Monte Carlo seed repeatability通过
Monte Carlo small uncertainty first-order agreement通过
indentation-cycle finite summary通过
indentation-cycle .py exists通过
indentation-cycle .csv exists通过
indentation-cycle .png exists通过
thermal-drift finite summary通过
thermal-drift .py exists通过
thermal-drift .csv exists通过
thermal-drift .png exists通过
heat-diffusion finite summary通过
heat-diffusion .py exists通过
heat-diffusion .csv exists通过
heat-diffusion .png exists通过
beam-bending finite summary通过
beam-bending .py exists通过
beam-bending .csv exists通过
beam-bending .png exists通过
tensile-response finite summary通过
tensile-response .py exists通过
tensile-response .csv exists通过
tensile-response .png exists通过
optical-angle finite summary通过
optical-angle .py exists通过
optical-angle .csv exists通过
optical-angle .png exists通过
resolution-sampling finite summary通过
resolution-sampling .py exists通过
resolution-sampling .csv exists通过
resolution-sampling .png exists通过
roughness-profile finite summary通过
roughness-profile .py exists通过
roughness-profile .csv exists通过
roughness-profile .png exists通过
roundness-harmonics finite summary通过
roundness-harmonics .py exists通过
roundness-harmonics .csv exists通过
roundness-harmonics .png exists通过
spectral-absorbance finite summary通过
spectral-absorbance .py exists通过
spectral-absorbance .csv exists通过
spectral-absorbance .png exists通过
chromatography-peaks finite summary通过
chromatography-peaks .py exists通过
chromatography-peaks .csv exists通过
chromatography-peaks .png exists通过
uncertainty-monte-carlo finite summary通过
uncertainty-monte-carlo .py exists通过
uncertainty-monte-carlo .csv exists通过
uncertainty-monte-carlo .png exists通过

机器可读记录:Python验证与SHA-256 · 浏览器模型交叉验证