generate.strip_load¶
Uniform strip-load stress field and synthetic polarimetry generation.
strip_load
¶
Functions¶
strip_load_stress_cartesian(X, Y, p, a)
¶
Analytical solution for a uniform strip load on an elastic half-space.
Computes the stress field in a semi-infinite elastic solid subjected to a uniform normal pressure p distributed over a strip of width 2a.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
X
|
array - like
|
X coordinates (horizontal position). Load is centered at x=0. |
required |
Y
|
array - like
|
Y coordinates (depth, positive downward from surface). |
required |
p
|
float
|
Uniform pressure magnitude (Pa). |
required |
a
|
float
|
Half-width of the loaded strip (m). |
required |
Returns:
| Name | Type | Description |
|---|---|---|
sigma_xx |
array - like
|
Normal stress in x direction (Pa). |
sigma_yy |
array - like
|
Normal stress in y direction (Pa). |
tau_xy |
array - like
|
Shear stress (Pa). |
Notes
We use the solution given by Timoshenko and Goodier (Theory of Elasticity). Using angles theta1 and theta2 subtended by the ends of the load.
Coordinate system: - y is positive downward. - Load is applied from x = -a to x = +a at y = 0.
Source code in photoelastimetry/generate/strip_load.py
generate_synthetic_strip_load(X, Y, p, a, S_i_hat, mask, wavelengths_nm, thickness, C, polarisation_efficiency)
¶
Generate synthetic Strip Load data for validation.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
X
|
array - like
|
Coordinate grids |
required |
Y
|
array - like
|
Coordinate grids |
required |
p
|
float
|
Pressure (Pa) |
required |
a
|
float
|
Half-width of strip (m) |
required |
S_i_hat
|
array - like
|
Incoming normalised Stokes vector |
required |
mask
|
array - like
|
Boolean mask for valid region |
required |
wavelengths_nm
|
array - like
|
Wavelengths in meters |
required |
thickness
|
float
|
Sample thickness (m) |
required |
C
|
array - like
|
Stress-optic coefficients for each wavelength |
required |
polarisation_efficiency
|
float
|
Polarisation efficiency (0-1) |
required |
Returns:
| Name | Type | Description |
|---|---|---|
synthetic_images |
array - like
|
Generated synthetic images [height, width, n_wavelengths, 4] |
principal_diff |
array - like
|
Principal stress difference |
theta_p |
array - like
|
Principal stress angle |
sigma_xx, sigma_yy, tau_xy : array-like
|
Stress components |
Source code in photoelastimetry/generate/strip_load.py
95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 | |