[Gmsh] gmsh and FreeFem
mrestelli at gmail.com
Fri May 21 12:45:32 CEST 2010
On Fri, May 21, 2010 at 2:26 AM, Geordie McBain <gdmcbain at freeshell.org> wrote:
> 2010/5/20 marco restelli <mrestelli at gmail.com>:
>> Hi all,
>> I would be interested in working with gmsh and FreeFem++
>> (http://www.freefem.org/ff++/), using FreeFem for the finite element
>> computations and gmsh for data visualization and postprocessing. Does
>> anybody have suggestions about the most effective way to get data from
>> FreeFem into gmsh?
> I note your previous post about VTK; FreeFem++ can output VTK, but
> then Gmsh only reads the mesh, not the data.
> I use Gmsh a lot for FreeFem++ pre- and postprocessing. The way I get
> the data from FreeFem++ into Gmsh is to write an ASCII .msh file,
> following the format description at
> using some FreeFem++ macros I've written, exploiting the techniques
> from Section 5.1.4 `Mesh connectivity' of the FreeFem++ manual. I
> attach a modification of FreeFem++ example 3.1 which uses the macros
> in writemsh.edp to write the result file membrane.msh for Gmsh.
Geordie, thank you very much! In fact, you answered to both of my