% fig_09_27 % calculate stresses around an elliptcal hole % under biaxial stress with intermal pressure % Compression is positive. % Pollard, 1973, Mathematical Geology, Vol.5, No.1, 10, 973. % see also Mushkelishvili 1953, and Stevenson, 1945 % M-file by JOK 21.3.2005 modified by DDP 26.07.2005 clear all, clf reset; % clear memory and figures a = 1; % semi-major axis length b = .5; % semi-minor axis length, b < a beta = 0; % angle (degrees) of s3 to x-axis s3 = 1; % remote stress acting at beta to x-axis s1 = 0; % remote stress acting at beta + pi/2 to x-axis S = [s3,s1]; % vector of remote principal stresses p = 0; % pressure in the hole pr = 0.25; % Poisson's ratio x=-3*a+eps:.05*a:3*a; % define x-coords. of grid y=-3*a+eps:.05*a:3*a; % define y-coords. of grid [X,Y] = meshgrid(x,y); % define Cartesian grid SXX = p*ones(size(X)); SYY = SXX; % hydrostatic stress p SXY = 0*SXX; f = sqrt(a^2-b^2); % focal length f RT = sqrt((X+f).^2+Y.^2)+sqrt((X-f).^2+Y.^2); XI = acosh(RT/(2*f)); % coordinates xi of grid points ET = atan2(Y,(X.*tanh(XI))); % coordinates eta of grid points xio = atanh(b/a); % xi coordinate of hole boundary ET(find(XI