□
Initial definitions
Initial definitions
DefinitionofGkijfunctions
Definitionoffunctions
G
kij
In[]:=
Gxxx[x_,y_,xd_,yd_]:=-(y-yd)/(Sqrt[(x-xd)^2+(y-yd)^2])^4*(3*(x-xd)^2+(y-yd)^2);Gyxx[x_,y_,xd_,yd_]:=(x-xd)/(Sqrt[(x-xd)^2+(y-yd)^2])^4*((x-xd)^2-(y-yd)^2);Gxyy[x_,y_,xd_,yd_]:=(y-yd)/(Sqrt[(x-xd)^2+(y-yd)^2])^4*((x-xd)^2-(y-yd)^2);Gyyy[x_,y_,xd_,yd_]:=(x-xd)/(Sqrt[(x-xd)^2+(y-yd)^2])^4*((x-xd)^2+3*(y-yd)^2);Gxxy[x_,y_,xd_,yd_]:=(x-xd)/(Sqrt[(x-xd)^2+(y-yd)^2])^4*((x-xd)^2-(y-yd)^2);Gyxy[x_,y_,xd_,yd_]:=(y-yd)/(Sqrt[(x-xd)^2+(y-yd)^2])^4*((x-xd)^2-(y-yd)^2);
Definition of the parameters for numerical integration & solution variables
Definition of the parameters for numerical integration & solution variables
In[]:=
(*foranalysis*)ux[i_]:=N[Cos[(2*i-1)*Pi/(2*nn+1)]];uy[i_]:=N[Cos[(2*i-1)*Pi/(2*nn+1)]];vx[k_]:=N[Cos[2*k*Pi/(2*nn+1)]];vy[k_]:=N[Cos[2*k*Pi/(2*nn+1)]];wx[i_]:=Sqrt[(1+ux[i])/(1-ux[i])];wy[i_]:=Sqrt[(1+uy[i])/(1-uy[i])];Wx[i_]:=(2*Pi*(1+ux[i]))/(2*nn+1);Wy[i_]:=(2*Pi*(1+uy[i]))/(2*nn+1);
F
kij
□
Constitution of simultaneous equations & Evaluation of solutions
Constitution of simultaneous equations & Evaluation of solutions
Set numeric values of the parameters
Set numeric values of the parameters
In[]:=
Clear[ξ]
In[]:=
(*setthenumberofintegration&collocaitonpoints,nn*)nn=6;
In[]:=
(*setthelengthsofa&b,thetraction-freeboundariesintermsofthelocationoftheobjectdislocation,x=ξ(setasξ=1forconvenience)foracrackoflateruse*)a=10*ξ;b=10*ξ;
Constitute the simultaneous & decompose the bx and by components
Constitute the simultaneous & decompose the bx and by components
In[]:=
(*Traction-freeconditionof=0atx=0,0≤y≤a*)SxxEq=Table[Sum[(-a/2)*(Gxxx[0,(a/2)*(1-vy[k]),0,(a/2)*(1-uy[i])]*Wy[i]*Phixy[i]+Gyxx[0,(a/2)*(1-vy[k]),0,(a/2)*(1-uy[i])]*Wy[i]*Phiyy[i])+(b/2)*(Gxxx[0,(a/2)*(1-vy[k]),(b/2)*(-1+ux[i]),0]*Wx[i]*Phixx[i]+Gyxx[0,(a/2)*(1-vy[k]),(b/2)*(-1+ux[i]),0]*Wx[i]*Phiyx[i]),{i,1,nn}]+Gxxx[0,(a/2)*(1-vy[k]),ξ,0]*bx+Gyxx[0,(a/2)*(1-vy[k]),ξ,0]*by==0,{k,1,nn}];
σ
xx
In[]:=
(*extractthebxcomponentsofthetraction-freecondition,=0atx=0,0≤y≤a*)SxxEqofbx=%/.{bx->1,by->0};
σ
xx
In[]:=
(*extractthebycomponentsofthetraction-freecondition,=0,atx=0,0≤y≤a*)SxxEqofby=%%/.{bx->0,by->1};
σ
xx
In[]:=
(*Traction-freeconditionof=0,atx=0,0≤y≤a*)SxyEq=Table[Sum[(-a/2)*(Gxxy[0,(a/2)*(1-vy[k]),0,(a/2)*(1-uy[i])]*Wy[i]*Phixy[i]+Gyxy[0,(a/2)*(1-vy[k]),0,(a/2)*(1-uy[i])]*Wy[i]*Phiyy[i])+(b/2)*(Gxxy[0,(a/2)*(1-vy[k]),(b/2)*(-1+ux[i]),0]*Wx[i]*Phixx[i]+Gyxy[0,(a/2)*(1-vy[k]),(b/2)*(-1+ux[i]),0]*Wx[i]*Phiyx[i]),{i,1,nn}]+Gxxy[0,(a/2)*(1-vy[k]),ξ,0]*bx+Gyxy[0,(a/2)*(1-vy[k]),ξ,0]*by==0,{k,1,nn}];
σ
xy
In[]:=
(*extractthebxcomponentsofthetraction-freeconsition,=0,atx=0,0≤y≤a*)SxyEqofbx=%/.{bx->1,by->0};
σ
xy
In[]:=
(*extractthebycomponentsofthetraction-freeconsition,=0,atx=0,0≤y≤a*)SxyEqofby=%%/.{bx->0,by->1};
σ
xy
In[]:=
(*Traction-freeconditionof=0,aty=0,-b≤x≤0*)SyyEq=Table[Sum[(-a/2)*(Gxyy[(b/2)*(vx[k]-1),0,0,(a/2)*(1-uy[i])]*Wy[i]*Phixy[i]+Gyyy[(b/2)*(vx[k]-1),0,0,(a/2)*(1-uy[i])]*Wy[i]*Phiyy[i])+(b/2)*(Gxyy[(b/2)*(vx[k]-1),0,(b/2)*(-1+ux[i]),0]*Wx[i]*Phixx[i]+Gyyy[(b/2)*(vx[k]-1),0,(b/2)*(-1+ux[i]),0]*Wx[i]*Phiyx[i]),{i,1,nn}]+Gxyy[(b/2)*(vx[k]-1),0,ξ,0]*bx+Gyyy[(b/2)*(vx[k]-1),0,ξ,0]*by==0,{k,1,nn}];
σ
yy
In[]:=
(*extractthebxcomponentsofthetraction-freeconsition,=0,aty=0,-b≤x≤0*)SyyEqofbx=%/.{bx->1,by->0};
σ
yy
In[]:=
(*extractthebycomponentsofthetraction-freeconsition,=0,aty=0,-b≤x≤0*)SyyEqofby=%%/.{bx->0,by->1};
σ
yy
In[]:=
(*Traction-freeconditionof=0,aty=0,-b≤x≤0*)SyxEq=Table[Sum[(-a/2)*(Gxxy[(b/2)*(vx[k]-1),0,0,(a/2)*(1-uy[i])]*Wy[i]*Phixy[i]+Gyxy[(b/2)*(vx[k]-1),0,0,(a/2)*(1-uy[i])]*Wy[i]*Phiyy[i])+(b/2)*(Gxxy[(b/2)*(vx[k]-1),0,(b/2)*(-1+ux[i]),0]*Wx[i]*Phixx[i]+Gyxy[(b/2)*(vx[k]-1),0,(b/2)*(-1+ux[i]),0]*Wx[i]*Phiyx[i]),{i,1,nn}]+Gxxy[(b/2)*(vx[k]-1),0,ξ,0]*bx+Gyxy[(b/2)*(vx[k]-1),0,ξ,0]*by==0,{k,1,nn}];
σ
yx
In[]:=
(*extractthebxcomponentsofthetraction-freeconsition,=0,aty=0,-b≤x≤0*)SyxEqofbx=%/.{bx->1,by->0};
σ
yx
In[]:=
(*extractthebycomponentsofthetraction-freeconsition,=0,aty=0,-b≤x≤0*)SyxEqofby=%%/.{bx->0,by->1};
σ
yx
Constitute the simultaneous equations of bx & by components, separately
Constitute the simultaneous equations of bx & by components, separately
In[]:=
bxcomponentsofSimulEq=Flatten[{SxxEqofbx,SxyEqofbx,SyyEqofbx,SyxEqofbx}];bycomponentsofSimulEq=Flatten[{SxxEqofby,SxyEqofby,SyyEqofby,SyxEqofby}];
Define the solution variables
Define the solution variables
In[]:=
PhixxVariables=Table[Phixx[i],{i,1,nn}];PhixyVariables=Table[Phixy[i],{i,1,nn}];PhiyxVariables=Table[Phiyx[i],{i,1,nn}];PhiyyVariables=Table[Phiyy[i],{i,1,nn}];
In[]:=
PhiVariables=Flatten[{PhixxVariables,PhixyVariables,PhiyxVariables,PhiyyVariables}];
Solutions of the bx & by components
Solutions of the bx & by components
In[]:=
bxcomponentofPhiAns=Solve[bxcomponentsofSimulEq,PhiVariables]bycomponentofPhiAns=Solve[bycomponentsofSimulEq,PhiVariables]
Out[]=
Phixx[1]0.+,Phixx[4]0.-0.565693Phixx[2]+1.23627Phixx[3],Phixx[5]0.,Phixx[6]0.+0.709784Phixx[2],Phixy[1],Phixy[2],Phixy[3]0.,Phixy[4]0.,Phixy[5]0.,Phixy[6]0.,Phiyx[1]0.,Phiyx[2]0.,Phiyx[3]0.,Phiyx[4]0.,Phiyx[5]0.,Phiyx[6]0.,Phiyy[1],Phiyy[2]0.,Phiyy[3],Phiyy[4]0.,Phiyy[5]0.,Phiyy[6]0.
0.0938458
ξ
0.220901
ξ
0.0558345
ξ
0.212258
ξ
0.0814741
ξ
Out[]=
Phixx[1]0.,Phixx[4]-0.50474Phixx[2]+1.16872Phixx[3],Phixx[5]0.,Phixx[6]0.,Phixy[1]0.+13.5785Phixx[3],Phixy[2]-+1.56277Phixx[3],Phixy[3]0.,Phixy[4]0.,Phixy[5]0.,Phixy[6]0.,Phiyx[1]0.,Phiyx[2]0.,Phiyx[3]0.,Phiyx[4]0.,Phiyx[5]0.,Phiyx[6]0.,Phiyy[1]0.,Phiyy[2],Phiyy[3]+8.29987Phixx[2]-9.4478Phixx[3],Phiyy[4]0.,Phiyy[5]0.,Phiyy[6]0.
0.00158132
ξ
0.0349759
ξ
0.0883563
ξ
0.0201376
ξ
