[Gmsh] Gmsh <=> dolfyn

dolfyn info at dolfyn.net
Thu Apr 16 16:08:27 CEST 2009


To whom it may concern.

Just to inform you all on the status of Gmsh <=> dolfyn.

If one is only interested in the mesh and one wants to use another 
postprocessor then you only need gmsh2dolfyn.f90.

Physical surfaces are the boundary regions (unnamed surfaces go into 
the default region, region 0). The names are passed on. An example 
suppose in the *.geo file it reads:

  Physical Surface("S1") = {6};
  Physical Surface("S2") = {94};

Then the names ("S1" and "S2") are passed on by gmsh2dolfyn in the 
*.inp file. The dolfyn preprocessor puts these region names in the 
dolfyn *.geo file (yes both codes use a file with the same 
extention; so be it, renaming helps). In the dolfyn's *.din control 
file the region/physical surface names can be reused:

  boundary,S1
  inlet
  0.0 0.0 0.1
  1.2
  293
  inle
  0.05 0.01

  boundary,S2
  outlet
  1.0

However it is also possible to write results back to Gmsh. The 
following options are available:

* use,gmsh (writes out only post data in separate files, including 
the results on the named physical surfaces; the default)

* use,gmsh,fluid (geometrical data, fluid cells only and results in 
one big file)

* use,gmsh,full (geometrical data, fluid and ALL boundary cells and 
results are written into one big file)

Only the first option enables the communication back to Gmsh (unless 
there are no unnamed (default) boundaries). An example:

  gmsh t6.msh t6d_uvwc.msh t6d_pc.msh

A sneakpreview:

http://www.dolfyn.net/dolfyn/gmsh/tutorial00.html

Enjoy!