*  Matlab / Mesh / fc_oogmsh toolbox

        * Snapshots
        * Some demos
        * Requirements
        * Current release
        * Tested on
        * Installation
        * History
        * Old releases

pict pict


pict

The pict Matlab toolbox make it possible to generate mesh files from .geo files by using gmsh. It’s also possible with the ooGmsh2 and ooGmsh4 classes to read the mesh file (respectively for MSH file format version 2.2 and version 4.x) and to store its contains in more user-friendly form. This toolbox must be regarded as a very simple interface between gmsh files and Octave. So you are free to create any data structures or objects you want from an ooGmsh2 object or an ooGmsh4 object.

*  Matlab / Mesh / fc_oogmsh/ Snapshots

































*  Matlab / Mesh / fc_oogmsh/ demos

Here are some examples using ooGmsh2 object :













demo01 demo02 demo03 demo04 demo05 demo06


















Here are some examples using ooGmsh4 object :













demo11 demo12 demo13 demo14 demo15 demo16


















Graphical representations are done with the fc_graphics4mesh toolbox.

*  Matlab / Mesh / fc_oogmsh/ Requirements

This toolbox needs

*  Matlab / Mesh / fc_oogmsh/ Current development release





Version

date

archives

install

pdf






0.2.3

March 20, 2020

pict (53 Ko)
pict (107 Ko)
pict (41 Ko)

pict (4 Ko)

pict (5108 Ko)






*  Matlab / Mesh / fc_oogmsh/ Tested on

This toolbox was tested on various OS with gmsh (versions 4.5.2, 4.4.1, 4.3.0, 4.2.3, 4.1.5, 4.0.7, 3.0.6 and 2.16.0) and Matlab releases :







Operating system 2017a 2017b 2018a 2018b 2019a






CentOS 7.7.1908






Debian 9.11






Fedora 29






OpenSUSE Leap 15.0






Ubuntu 18.04.3 LTS












MacOS High Sierra 10.13.6






MacOS Mojave 10.14.4






MacOS Catalina 10.15.2












Windows 10 (1909)






It is not compatible with Matlab releases prior to R2015b.

*  Matlab / Mesh / fc_oogmsh/ Installation

For automatic installation, one has to get/download the install file pict mfc_oogmsh_install.m Thereafter, one run it under Matlab. This command download, extract and configure the fc-oogmsh toolbox and all the required toolboxes in the current directory.

By default, the gmsh binary is supposed to be located in

To specify an other location one can do

Matlab Console

>> mfc_oogmsh_install(’gmsh_bin’, GMSH)

where GMSH is the gmsh binary with path as a string. It’s also possible, after installation, to change the gmsh binary by using the Matlab command

Matlab Console

>> fc_oogmsh.configure(’gmsh_bin’,’~/gmsh-4.2.2/bin/gmsh’)

For example, to install this toolbox in ~/Matlab directory, one have to copy the file mfc_oogmsh_install.m in the ~/Matlab directory. Then in a Matlab terminal run the following commands

Matlab Console

>> cd ~/Matlab  
>> mfc_oogmsh_install

There is the output of the mfc_oogmsh_install command on a Linux computer :

Matlab Ouput

Parts of the <fc-oogmsh> Matlab toolbox.  
Copyright (C) 2017-2020 F. Cuvelier  
 
1- Downloading and extracting the toolboxes  
2- Setting the <fc-oogmsh> toolbox  
Write in ~/Matlab/fc-oogmsh-full/fc_oogmsh-0.2.2/configure_loc.m ...  
3- Using toolboxes :  
   ->             fc-tools : 0.0.30  
   ->             fc-bench : 0.1.2  
   ->              fc-amat : 0.1.2  
   ->         fc-meshtools : 0.1.3  
   ->     fc-graphics4mesh : 0.1.1  
 with            fc-oogmsh : 0.2.2  
*** Using instructions  
   To use the <fc-oogmsh> toolbox:  
   addpath(’~/Matlab/fc-oogmsh-full/fc_oogmsh-0.2.2’)  
   fc_oogmsh.init()  
 
   See ~/Matlab/mfc_oogmsh_set.m

The complete toolbox (i.e. with all the other needed toolboxes) is stored in the directory

~/Matlab/fc-oogmsh-full
and, for each Matlab session, one has to set the toolbox by :

Matlab Console

>> addpath(’~/Matlab/fc-oogmsh-full/fc-oogmsh-0.2.2’)  
>> fc_oogmsh.init()

If it’s the first time the fc_oogmsh.init() function is used, then its output is

Matlab Ouput

Try to use default parameters!  
 Use fc_tools.configure to configure.  
Write in ~/Matlab/fc-oogmsh-full/fc_tools-0.0.30/configure_loc.m ...  
Try to use default parameters!  
 Use fc_bench.configure to configure.  
Write in ~/Matlab/fc-oogmsh-full/fc_bench-0.1.2/configure_loc.m ...  
Try to use default parameters!  
 Use fc_amat.configure to configure.  
Write in ~/Matlab/fc-oogmsh-full/fc_amat-0.1.2/configure_loc.m ...  
Try to use default parameters!  
 Use fc_meshtools.configure to configure.  
Write in ~/Matlab/fc-oogmsh-full/fc_meshtools-0.1.3/configure_loc.m ...  
Try to use default parameters!  
 Use fc_graphics4mesh.configure to configure.  
Write in ~/Matlab/fc-oogmsh-full/fc_graphics4mesh-0.1.1/configure_loc.m ...  
Using fc_oogmsh[0.2.2] with fc_tools[0.0.30], fc_bench[0.1.2], fc_amat[0.1.2], fc_meshtools[0.1.3], fc_graphics4mesh[0.1.1].  
Configured to use gmsh 4.5.1 with default MSH file format version 4.1

Otherwise, the output of the fc_oogmsh.init() function is

Matlab Ouput

Using fc_oogmsh[0.2.2] with fc_tools[0.0.30], fc_bench[0.1.2], fc_amat[0.1.2], fc_meshtools[0.1.3], fc_graphics4mesh[0.1.1].  
Configured to use gmsh 4.5.1 with default MSH file format version 4.1

For uninstalling, one just has to delete directory :

~/Matlab/fc-oogmsh-full

*  Matlab / Mesh / fc_oogmsh/ Version history

*  Matlab / Mesh / fc_oogmsh/ Old development releases





Version

date

archives

install

pdf






0.2.2

February 17, 2020

pict (53 Ko)
pict (107 Ko)
pict (41 Ko)

pict (4 Ko)

pict (5110 Ko)






0.2.1

January 30, 2020

pict (53 Ko)
pict (107 Ko)
pict (41 Ko)

pict (4 Ko)

pict (5110 Ko)






0.1.0

March 24, 2019

pict (47 Ko)
pict (92 Ko)
pict (36 Ko)

pict (3 Ko)

pict (2616 Ko)






0.0.19

September 17, 2018

pict (34 Ko)
pict (61 Ko)
pict (28 Ko)

pict (2 Ko)

pict (364 Ko)






0.0.17

December 13, 2017

pict (33 Ko)
pict (59 Ko)
pict (28 Ko)

pict (2 Ko)

pict (357 Ko)






0.0.16

November 22, 2017

pict (32 Ko)
pict (58 Ko)
pict (27 Ko)

pict (2 Ko)

pict (355 Ko)






0.0.15

October 31, 2017

pict (32 Ko)
pict (58 Ko)
pict (27 Ko)

pict (2 Ko)

pict (340 Ko)






0.0.14

February 5, 2017

pict (30 Ko)
pict (49 Ko)
pict (25 Ko)

pict (2 Ko)

pict (366 Ko)






0.0.13

February 1, 2017

pict (30 Ko)
pict (49 Ko)
pict (25 Ko)

pict (2 Ko)

pict (350 Ko)






0.0.12

December 27, 2016

pict (29 Ko)
pict (48 Ko)
pict (25 Ko)

pict (2 Ko)

pict (351 Ko)






0.0.11

December 23, 2016

pict (29 Ko)
pict (48 Ko)
pict (25 Ko)

pict (2 Ko)

pict (350 Ko)






0.0.10

December 20, 2016

pict (29 Ko)
pict (48 Ko)
pict (24 Ko)

pict (2 Ko)

pict