Download

Download

To download the code

go to https://bitbucket.org/giorgk/msim


Installation

The installation of mSim is straightforward. Unzip or untar the file and that’s all.

To obtain access to all available functions of mSim you need to add to the Matlab path all the folders of mSim. One way to do this is to run:

where msim_root is the main mSim directory. Alternatively you can add the above line to the startup.m file.

If you clone the repository then the above command will add the .git folder and all its subfolders under the matlab path.

To avoid this add each directory individually. For example to add only the useful folders:

To access the documentation make sure you open the Matlab help file after the above commands are executed. In that case you should be able to see mSim as an additional toolbox

Selection_018

In Matlab version 2012b and above click on the supplemental software tab as shown below:

Selection_019

This should open the traditional help file menu showing only the available third party software

mSim contains few functions written in C/C++. To use them you need to compile them. You can do so by running the following command from the msim_root directory.


mSim is based on external codes for mesh generation and Visualization.

The Gmsh can be downloaded from http://geuz.org/gmsh/.

The paraview can be downloaded from http://www.paraview.org/.

Binary distributions of both codes are available for a variety of OS and architectures.