[Gmsh] doubt about structured mesh?
Jin, Yao
jinyao at ymail.com
Tue Dec 7 03:43:20 CET 2010
I forgot to attach files yesterday...
On Mon, Dec 6, 2010 at 9:08 PM, Jin, Yao <jinyao at ymail.com> wrote:
> Dear all,
>
> My understanding about *structured mesh* is that "all elements and nodes
> have the same topology (ie same number of neighbors)" . For example,
> Cell(i,j) is next to cell(i,j+1).
> I write the attached rect4.geo and want to generate structured mesh. I get
> rect4.msh by executing 'gmsh -2 rect4.geo'
> I want to know how this topology relationship is reflected in the .msh
> file. In fact I do not seen any quadrangle rect4.msh, though I could see
> quadrangle shown in the GUI.
> Do I need to parse the .msh file and build the topology by checking all the
> cells to see whether the two cell have connected edge?
>
> btw: I am writing code solving PDE using finite difference method. My
> knowledge about mesh is very limited. Would you please recommend some
> related teaching materials?
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.geuz.org/pipermail/gmsh/attachments/20101207/f534359e/attachment.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: rect4.geo
Type: application/octet-stream
Size: 133 bytes
Desc: not available
URL: <http://www.geuz.org/pipermail/gmsh/attachments/20101207/f534359e/attachment.geo>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: rect4.msh
Type: model/mesh
Size: 653 bytes
Desc: not available
URL: <http://www.geuz.org/pipermail/gmsh/attachments/20101207/f534359e/attachment.msh>