*  Octave / Mesh / fc_oogmsh package

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

pict pict


pict

The pict Octave package 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 package 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.

*  Octave / Mesh / fc_oogmsh/ Snapshots

































immediate

*  Octave / 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 package.

*  Octave / Mesh / fc_oogmsh/ Requirements

This package needs

*  Octave / Mesh / fc_oogmsh/ Current development release






Version

date

package

archives

install

pdf







0.2.3

March 20, 2020

pict (54 Ko)

pict (54 Ko)
pict (107 Ko)
pict (42 Ko)

pict (3 Ko)

pict (5205 Ko)







*  Octave / Mesh / fc_oogmsh/ Tested on

This package 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 Octave releases :






Operating system 4.4.0 4.4.1 5.1.0 5.2.0





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 Octave releases prior to 4.2.0. Here are the links used to install the Octave releases tested :

*  Octave / Mesh / fc_oogmsh/ Tested on

This package was tested under This package 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 Octave releases :






Operating system 4.4.0 4.4.1 5.1.0 5.2.0





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 Octave releases prior to 4.2.0. Here are the links used to install the Octave releases tested :

*  Octave / Mesh / fc_oogmsh/ Installation

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

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

It can be directly given by using the ’gmsh_bin’ option of the install command :

Octave Console

>> ofc_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 Octave command

Octave Console

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

For example, to install this package in ~/Octave directory, one have to copy the file ofc_oogmsh_install.m in the ~/Octave directory. Then in a Octave terminal run the following commands

Octave Console

>> cd ~/Octave  
>> ofc_oogmsh_install

There is the output of the ofc_oogmsh_install command :

Octave Ouput

Parts of the <fc-oogmsh> Octave package.  
Copyright (C) 2017-2020 F. Cuvelier  
 
1- Downloading and extracting the packages  
2- Setting the <fc-oogmsh> package  
Write in ~/Octave/fc-oogmsh-full/fc_oogmsh-0.2.2/configure_loc.m ...  
3- Using packages :  
   ->             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> package:  
   addpath(’~/Octave/fc-oogmsh-full/fc_oogmsh-0.2.2’)  
   fc_oogmsh.init()  
 
   See ~/Octave/ofc_oogmsh_set.m

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

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

Octave Console

>> addpath(’~/Octave/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

Octave Ouput

Try to use default parameters!  
 Use fc_tools.configure to configure.  
Write in ~/Octave/fc-oogmsh-full/fc_tools-0.0.30/configure_loc.m ...  
Try to use default parameters!  
 Use fc_bench.configure to configure.  
Write in ~/Octave/fc-oogmsh-full/fc_bench-0.1.2/configure_loc.m ...  
Try to use default parameters!  
 Use fc_amat.configure to configure.  
Write in ~/Octave/fc-oogmsh-full/fc_amat-0.1.2/configure_loc.m ...  
Try to use default parameters!  
 Use fc_meshtools.configure to configure.  
Write in ~/Octave/fc-oogmsh-full/fc_meshtools-0.1.3/configure_loc.m ...  
Try to use default parameters!  
 Use fc_graphics4mesh.configure to configure.  
Write in ~/Octave/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

Octave 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 :

~/Octave/fc-oogmsh-full

*  Octave / Mesh / fc_oogmsh/ Version history

*  Octave / Mesh / fc_oogmsh/ Old development releases






Version

date

package

archives

install

pdf







0.2.2

February 17, 2020

pict (54 Ko)

pict (54 Ko)
pict (107 Ko)
pict (42 Ko)

pict (3 Ko)

pict (5205 Ko)







0.2.1

January 30, 2020

pict (54 Ko)

pict (54 Ko)
pict (107 Ko)
pict (42 Ko)

pict (3 Ko)

pict (1700 Ko)







0.1.0

March 24, 2018

pict (48 Ko)

pict (48 Ko)
pict (93 Ko)
pict (37 Ko)

pict (3 Ko)

pict (1312 Ko)







0.0.19

September 17, 2018

pict (35 Ko)

pict (35 Ko)
pict (62 Ko)
pict (29 Ko)

pict (3 Ko)

pict (374 Ko)







0.0.17

December 13, 2017

pict (34 Ko)

pict (34 Ko)
pict (60 Ko)
pict (28 Ko)

pict (3 Ko)

pict (364 Ko)







0.0.16

November 22, 2017

pict (33 Ko)

pict (33 Ko)
pict (59 Ko)
pict (27 Ko)

pict (2 Ko)

pict (362 Ko)







0.0.15

October 31, 2017

pict (33 Ko)

pict (33 Ko)
pict (59 Ko)
pict (27 Ko)

pict (2 Ko)

pict (347 Ko)







0.0.14

February 5, 2017

pict (31 Ko)

pict (31 Ko)
pict (50 Ko)
pict (26 Ko)

pict (2 Ko)

pict (426 Ko)







0.0.13

February 1, 2017

pict (31 Ko)

pict (31 Ko)
pict (50 Ko)
pict (26 Ko)

pict (2 Ko)

pict (367 Ko)







0.0.13

December 27, 2016

pict (31 Ko)

pict (31 Ko)
pict (50 Ko)
pict (26 Ko)

pict (2 Ko)

pict (367 Ko)







0.0.11

December 23, 2016

pict (30 Ko)

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

pict (2 Ko)

pict (367 Ko)







0.0.10

December 20, 2016

pict (30 Ko)

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

pict (2 Ko)

pict (367 Ko)