<html>
<head>
<meta content="text/html; charset=ISO-8859-1"
http-equiv="Content-Type">
</head>
<body text="#000000" bgcolor="#FFFFFF">
Hello,<br>
<br>
Did you used ElmerGrid to convert the gmsh mesh in Elmer format?<br>
<br>
This is simply done by<br>
ElmerGrid 14 2 gmsh.msh<br>
<br>
You will get the directory gmsh, containing the 4 Elmer mesh files
(mesh.header, mesh.elements, mesh.nodes and mesh.boundary).<br>
<br>
Hope it helps.<br>
OG<br>
<br>
Le 13/06/12 14:20, Jack Mandelman a écrit :
<blockquote
cite="mid:1339590051.7459.YahooMailNeo@web180302.mail.gq1.yahoo.com"
type="cite">
<div style="color:#000; background-color:#fff; font-family:arial,
helvetica, sans-serif;font-size:10pt">
<div>I recently constructed a 3D model in gmsh to investigate
capacitive coupling among a plurality of microstrip conductors
oriented at various angles to one-and-other. One model of
interest contains three dielectric regions. Each dielectric
region is defined by a physical volume entity in gmsh. Here is
the problem encountered when using the gmsh generated 3D mesh
(V2 ascii .msh format) in Elmer:<br>
<br>
<span style="font-weight: bold">Although the original .msh
file from gmsh has 3 dielectric regions, Elmer claims that
it has 5 bodies. </span> Since the mesh is unstructured and
is moderately complex (~300K tetrehedral elements), displaying
the 5 bodies identified by Elmer is intractable. I found that
the following procedure results in a correct translation of
the mesh from gmsh to Elmer.<br>
<br>
1) In gmsh, construct a .geo file, generate mesh and save as
ascii V1 .msh file.<br>
2) Import ascii V1 .msh file (from 1 above) into EnGrid.<br>
3) Export from EnGrid as a gmsh ascii V2 .msh file.<br>
4) Open gmsh ascii V2 .msh file (from 3 above) with Elmer.<br>
5) Proceed to build Elmer .sif file.<br>
<br>
So far, only when I generate a V1 .msh file and convert is to
a V2 .msh format with EnGrid can I successfully use the mesh
in Elmer. I don't know if this is a bug in gmsh or Elmer, or
perhaps an incompatibility between versions. I am using Elmer
version 6.1.0.svn.5272.dfsg-1ubuntu2 and gmsh version
2.5.1~beta1~svn9724~dfsg-1 in linux mint 12. Any comments
and/or suggestions regarding this issue are greatly
appreciated.<br>
<br>
Dr. Jack Mandelman (aka "The Modelman")</div>
</div>
<br>
<fieldset class="mimeAttachmentHeader"></fieldset>
<br>
<pre wrap="">_______________________________________________
gmsh mailing list
<a class="moz-txt-link-abbreviated" href="mailto:gmsh@geuz.org">gmsh@geuz.org</a>
<a class="moz-txt-link-freetext" href="http://www.geuz.org/mailman/listinfo/gmsh">http://www.geuz.org/mailman/listinfo/gmsh</a>
</pre>
</blockquote>
<br>
<div class="moz-signature">-- <br>
<style type="text/css">
<!--
body p {
font-family: Arial, Helvetica, sans-serif;
}
.ss {
color: #F00;
}
-->
</style>
<p>-----------------------------------------------------------------------------------------------------------------<br>
<strong>Olivier Gagliardini </strong><br>
Maître de Conférences LGGE UJF / CNRS<br>
Membre junior de l'Institut Universitaire de France</p>
<p><strong>page perso</strong> : <a
href="http://www-lgge.ujf-grenoble.fr/%7Egagliardini/"
target="_blank">http://www-lgge.ujf-grenoble.fr/~gagliardini/</a><br>
<strong>projet ANR ADAGe</strong> : <a
href="http://www-lgge.ujf-grenoble.fr/pdr/ADAGe/"
target="_blank">http://www-lgge.ujf-grenoble.fr/pdr/ADAGe/ </a><br>
<strong>projet FP7 ice2sea</strong> : <a
href="http://www.ice2sea.eu/index.html" target="_blank">http://www.ice2sea.eu/index.html
</a><br>
<strong>Elmer/Ice</strong> : <a
href="http://www.elmerfem.org/elmerwiki/index.php/Elmer_Ice_Sheet_modeling"
target="_blank">http://www.elmerfem.org/elmerwiki/index.php/Elmer_Ice_Sheet_modeling</a></p>
<p>Tel: +33 4 76 82 42 76 <br>
Fax: +33 4 76 82 42 01 <br>
Laboratoire de Glaciologie et Géophysique de l'Environnement <br>
54, rue Molière BP 96, 38402 Saint-Martin-d'Hères Cedex, France
<br>
-----------------------------------------------------------------------------------------------------------------</p>
</div>
</body>
</html>