generate.disk¶
Elastic disk solution and photoelastic simulation.
This module provides functions for simulating the photoelastic response of an elastic disk under compression, including analytical stress solutions and Mueller matrix-based polarimetry simulation.
disk
¶
Functions¶
diametrical_stress_cartesian(X, Y, P, R)
¶
Exact Brazil test solution from ISRM standards and Jaeger & Cook P: total load (force per unit thickness) R: disk radius
Key validation: At center (0,0): - sigma_x = 2P/(piR) (tensile) - sigma_y = -6P/(piR) (compressive) - tau_xy = 0
Source code in photoelastimetry/generate/disk.py
generate_synthetic_brazil_test(X, Y, P, R, S_i_hat, mask, wavelengths_nm, thickness, C, polarisation_efficiency)
¶
Generate synthetic Brazil test data for validation This function creates a synthetic dataset based on the analytical solution and saves it in a format suitable for testing.