[Gmsh] Structured partition of a structured mesh
Marc
marchdf at gmail.com
Tue Jul 23 22:36:37 CEST 2013
Hi,
I have a simple 2D square geometry and I created a structured mesh for it
(attached file square.geo). I would like to partition it in a structured
fashion (for parallel simulations). I would like the partitions to be
square and not look unstructured as they are in the attached picture
partition.jpeg (I colored the surfaces with their partition number). I
generated the mesh with the command gmsh -2 -order 1 -part 20 square.geo -o
square.msh. I compiled gmsh on my own so I have access to METIS and CHACO.
I have played around with the parameters for METIS and CHACO but I can't
get it to do what I want (I've tried all sorts of combinations). I have
also tried the plugin "SimplePartition" but that only creates 1D "bands"
(see bands.jpeg).
I was wondering if there was a way to do a structured partition of this
mesh (this is so that it's more efficient when running in parallel: to
minimize communication time between processors by decreasing the number of
neighbors and the surface area of each partition, etc).
Thank you very much!
Marc
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.geuz.org/pipermail/gmsh/attachments/20130723/657ad31d/attachment.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: partition.jpeg
Type: image/jpeg
Size: 113170 bytes
Desc: not available
URL: <http://www.geuz.org/pipermail/gmsh/attachments/20130723/657ad31d/attachment.jpeg>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: square.geo
Type: application/octet-stream
Size: 562 bytes
Desc: not available
URL: <http://www.geuz.org/pipermail/gmsh/attachments/20130723/657ad31d/attachment.geo>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: square.msh
Type: model/mesh
Size: 74681 bytes
Desc: not available
URL: <http://www.geuz.org/pipermail/gmsh/attachments/20130723/657ad31d/attachment.msh>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: bands.jpeg
Type: image/jpeg
Size: 119673 bytes
Desc: not available
URL: <http://www.geuz.org/pipermail/gmsh/attachments/20130723/657ad31d/attachment-0001.jpeg>