XFEM matlab code can do a single crack in elastic analysis
File list:
Input
....\2element.k
....\bnfile.tmp
....\Copy of default.k
....\Copy of phu.k
....\default.k
....\default1.k
....\lspost.cfile
....\lspost.msg
....\phu.k
....\phu2.k
....\phu3.k
....\phu_old.k
....\tension5.k
PostProc
.......\Results
.......\.......\s
.......\.......\element.txt
.......\.......\node.txt
.......\plot_mesh.m
.......\postproc.asv
.......\postproc.m
.......\show2dmesh.m
.......\Xshow2dmesh.m
PreProc
......\preproc.m
Proc
...\assemble.asv
...\assemble.m
...\BC.m
...\Bxfem.asv
...\Bxfem.m
...\ComputeLevelSets.asv
...\ComputeLevelSets.m
...\discontQ4quad.m
...\dump_txt.asv
...\dump_txt.m
...\FindEnrichedNodes.asv
...\FindEnrichedNodes.m
...\force.asv
...\force.m
...\heaviside.m
...\insertrows.m
...\lagrange_basis.m
...\mat_model.m
...\proc.asv
...\proc.m
...\quadrature.m
...\read_input.m
...\signed_distance.m
...\solver.asv
...\solver.m
...\tricheck.m
...\viewmatrix.m
Results
......\s
......\displacement.txt
......\element.txt
......\node.txt
Trash
....\mylevelset.txt
....\New Text Document.txt
....\phu.levelset.txt
....\temp.m
....\test.asv
....\test.m
....\test2.asv
....\test2.m
....\test3.asv
....\test3.m
XFEM1_0
......\Input
......\.....\2element.k
......\.....\bnfile.tmp
......\.....\Copy of default.k
......\.....\Copy of phu.k
......\.....\default.k
......\.....\default1.k
......\.....\lspost.cfile
......\.....\lspost.msg
......\.....\phu.k
......\.....\phu2.k
......\.....\phu3.k
......\.....\phu_old.k
......\.....\tension5.k
......\PostProc
......\........\Results
......\........\.......\s
......\........\.......\element.txt
......\........\.......\node.txt
......\........\plot_mesh.m
......\........\postproc.asv
......\........\postproc.m
......\........\show2dmesh.m
......\........\Xshow2dmesh.m
......\PreProc
......\.......\preproc.m
......\Proc
......\....\assemble.asv
......\....\assemble.m
......\....\BC.m
......\....\Bxfem.asv
......\....\Bxfem.m
......\....\ComputeLevelSets.asv
......\....\ComputeLevelSets.m
......\....\discontQ4quad.m
......\....\dump_txt.asv
......\....\dump_txt.m
......\....\FindEnrichedNodes.asv
......\....\FindEnrichedNodes.m
......\....\force.asv
......\....\force.m
......\....\heaviside.m
......\....\insertrows.m
......\....\lagrange_basis.m
......\....\mat_model.m
......\....\proc.asv
......\....\proc.m
......\....\quadrature.m
......\....\read_input.m
......\....\signed_distance.m
......\....\solver.asv
......\....\solver.m
......\....\tricheck.m
......\....\viewmatrix.m
......\Results
......\.......\s
......\.......\displacement.txt
......\.......\element.txt
......\.......\node.txt
......\Trash
......\.....\mylevelset.txt
......\.....\New Text Document.txt
......\.....\phu.levelset.txt
......\.....\temp.m
......\.....\test.asv
......\.....\test.m
......\.....\test2.asv
......\.....\test2.m
......\.....\test3.asv
......\.....\test3.m
......\pathdef.m
......\Report.doc
......\XFEM1_0.m
pathdef.m
Report.doc
XFEM1_0.m