<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=Content-Type content="text/html; charset=us-ascii">
<META content="MSHTML 6.00.2900.3603" name=GENERATOR></HEAD>
<BODY>
<DIV><FONT face=Arial size=2><SPAN class=543355512-13102009>Dear
All,</SPAN></FONT></DIV>
<DIV><FONT face=Arial size=2><SPAN
class=543355512-13102009></SPAN></FONT> </DIV>
<DIV><FONT face=Arial size=2><SPAN class=543355512-13102009>Quite simply, I'm
using gmsh to generate surface meshes for a CFD simulation. Gmsh has the
wonderful feature of being able to add a boundary ID flag to a surface or
collection of surfaces, this is essential of setting up a computational problem
as I'm sure you all know. The idea being that one may collect all the
walls together and give them the flag "WALL" or "1", and then like wise for all
other physical geometry types. However, gmsh writes out a vtk file for the
mesh only. Having been in contact with the author of the program, he's
agreed to modify the source and add the boundary condition data to the vtk mesh
file and write all of this out, an amazing contribution, since this does feature
in the open source as a tool chain, i.e read in CAD file -> mesh -> define
boundaries -> write out in standard format (for all platforms), that I know
of at least. I said I would ask/find out what new data structure he needs
to use/implement, and he would implement it.</SPAN></FONT></DIV>
<DIV><FONT face=Arial size=2><SPAN
class=543355512-13102009></SPAN></FONT> </DIV>
<DIV><FONT face=Arial size=2><SPAN class=543355512-13102009>Two questions then:
</SPAN></FONT></DIV>
<DIV><FONT face=Arial size=2><SPAN
class=543355512-13102009></SPAN></FONT> </DIV>
<DIV><FONT face=Arial size=2><SPAN class=543355512-13102009>1) What data
structure is available in vtk that can hold a string (preferably by a long
shot) or integer per surface of a polygon? </SPAN></FONT></DIV>
<DIV><FONT face=Arial size=2><SPAN class=543355512-13102009>2) Currently I
am reading the mesh written by gmsh in vtk format into paraview, will I be able
to (if the above is an option), be able to read into paraview whatever data
structure type you're going to recommend and crucially see the physical boundary
condition flags that I added in gmsh within paraview?</SPAN></FONT></DIV><SPAN
class=543355512-13102009>
<DIV><BR><FONT face=Arial size=2>Many thanks, please ask if you require
clarity.</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><SPAN class=543355512-13102009><FONT face=Arial
size=2>Andy</FONT></SPAN></SPAN></DIV> <br>
********************************************************************<br>
This email and any attachments are confidential to the intended<br>
recipient and may also be privileged. If you are not the intended<br>
recipient please delete it from your system and notify the sender.<br>
You should not copy it or use it for any purpose nor disclose or<br>
distribute its contents to any other person.<br>
********************************************************************<br>
<br>
</body></HTML>