An analytic element for intersecting cracks in a linear elastic half-space. A program which calculated the stress field for given number of cracks, which may intersect, in a uniform stress field. The input files for the plot properties and the physical constants are provided through the MATLAB program run_ae_master.m
which then calls the program run_AE_LE_master.exe
to solve and plot the solution.
The program includes the Cartesian stress field ( ,
&
), the principal stress field (
,
&
) and the principal stress trajectories. Also, it computes the displacement filed
and the displacement trajectories. For a given resolution and coordinates. The results are saved as a
.mat
-file as simulation_[todays date]_[version].mat
, the program automatically save as the current date and assigns the version.
This program has been developed using MATLAB and Microsoft Visual Stuido; only the .m
-, .cpp
- and .exe
-files are included in the repository. The solution also uses the Eigen library (Guennebaud & Jacob, 2010).
The plots are generated using the MATLAB program run_ae_master.m
. The script calls the C++ program which solves the system and plots the results. To run the program simply run the MATLAB script.
This list contains all the definitions of the user input data defined in run_ae_master.m
. These are the model properties:
nu
the Poisson's ratiosigma_11inf
the uniform stress statez1
starting coordinates for cracksz2
end coordinates for cracksp
vector for pressures of the cracksma
number of coefficients to sovleNa
number of interation points along the cracks
These are the plotting properties:
xfrom
the starting value for x-axisxto
the end value for the x-axisyfrom
the starting value for the y-axisyto
the end value for the y-axisNx
the number of grid points in the x-diractionNy
the number of grid points in the y-directionNtraj
the number of steps for the stress trajectorieslvs_traj
the number of stress trajectoriesxtraj
the vector containing the start and end point for the line hwere the trajectores are evenly spaced, forytraj
the vector containing the start and end point for the line hwere the trajectores are evenly spaced, forNw
the number of grid points in the x- and y-direction for the displacements
The following functions are included for the plotting scheme in MATLAB
creat_figure.m
creat the figure windowPlot_line.m
plots a line fromz1
toz2
The program has been used in the following paper:
- Comming soon.
Guennebaud, G., Jacob, B., et al. (2010). Eigen v3. http://eigen.tuxfamily.org.