This is a simple two- and three-dimensional P1 finite element method implementation in Julia. Current features are very limited:
-
Simple triangle refinement
-
Assembly of bilinear forms
-
Assembly of linear forms
-
Assembly of boundary (bi)linear forms
-
Visualization using MATLAB (not included, software is commerical).
-
3D mesh generation using tetgen through iso2mesh (not included, tetgen is free for research purposes).
- Get the newest version of Julia. I develop this using Win7 OS and haven't yet tested it with other OS'es.
- Install packages PyCall, PyPlot, MATLAB.jl using the command Pkg.add().
- Make sure that MATLAB is installed (tested with R2013).
- Add MATLAB_HOME system variable for MATLAB.jl which points to MATLAB R2013 base directory.
- Install iso2mesh 2013 and add all the files under "iso2mesh" subdirectory.
- Open Julia and go to the base directory, run include("envglue.jl") and then Fenv.init(). The MATLAB prompt should open.
- Start playing around with example programs in examples.jl (for 2D) and examples3.jl (for 3D).