<div dir="ltr">Yes, indeed. I did a crazy mix up. <div><br></div><div>Thanks a lot for your help.</div></div><div class="gmail_extra"><br><div class="gmail_quote">On Wed, Feb 24, 2016 at 9:54 AM, Vincent Huber <span dir="ltr"><<a href="mailto:vincent.huber@cemosis.fr" target="_blank">vincent.huber@cemosis.fr</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><div style="font-family:'Courier New'"><p style="margin:1,2em 0px!important">Hello Vikram,</p>
<p style="margin:1,2em 0px!important">I’m afraid your lines are mixed up.</p>
<p style="margin:1,2em 0px!important">What di you think of the following ?</p>
<pre style="font-style:inherit;font-variant:inherit;font-weight:inherit;font-stretch:inherit;font-size:inherit;line-height:inherit;font-family:inherit;font-size:1em;line-height:1,2em;margin:1,2em 0px"><code style="font-style:inherit;font-variant:inherit;font-weight:inherit;font-stretch:inherit;font-size:inherit;line-height:inherit;font-family:inherit;margin:0px 0,15em;padding:0px 0,15em;white-space:pre-wrap;border:1px solid rgb(234,234,234);border-radius:3px;display:inline;background-color:rgb(248,248,248);white-space:pre-wrap;overflow:auto;border-radius:3px;border:1px solid rgb(204,204,204);padding:0,5em 0,7em;display:block!important;display:block;overflow-x:auto;padding:0,5em;color:rgb(51,51,51);background:rgb(248,248,248)">h=0.1;
p1 = newp; Point(p1) = {0, 0, 0, h};
p2 = newp; Point(p2) = {0, 1, 0, h};
p3 = newp; Point(p3) = {-0.35, 0, 0, h};
p4 = newp; Point(p4) = {2, 0, 0, h};
p5 = newp; Point(p5) = {-0.35, 1, 0, h};
p6 = newp; Point(p6) = {2, 1, 0, h};
l1 = newl; Line(l1) = {p1, p3};
l2 = newl; Line(l2) = {p3, p5};
l3 = newl; Line(l3) = {p5, p2};
l4 = newl; Line(l4) = {p2, p6};
l5 = newl; Line(l5) = {p6, p4};
l6 = newl; Line(l6) = {p4, p1};

ll1 = newll; Line Loop(ll1) = {l1,l2,l3,l4,l5,l6};
s1 = news; Plane Surface(s1) = {ll1};

Physical Line("front") = {l1,l2,l3};
Physical Line("bottom") = {l4,l5,l6};

Physical Surface("Omega") = {s1};
</code></pre>
<div title="MDH:PGRpdiBjbGFzcz0iZ21haWxfZGVmYXVsdCIgc3R5bGU9ImZvbnQtZmFtaWx5OiAnY291cmllciBu
ZXcnLCBtb25vc3BhY2U7Ij5IZWxsbyBWaWtyYW0sPC9kaXY+PGRpdiBjbGFzcz0iZ21haWxfZGVm
YXVsdCIgc3R5bGU9ImZvbnQtZmFtaWx5OiAnY291cmllciBuZXcnLCBtb25vc3BhY2U7Ij48YnI+
PC9kaXY+PGRpdiBjbGFzcz0iZ21haWxfZGVmYXVsdCIgc3R5bGU9ImZvbnQtZmFtaWx5OiAnY291
cmllciBuZXcnLCBtb25vc3BhY2U7Ij5JJ20gYWZyYWlkIHlvdXIgbGluZXMgYXJlIG1peGVkIHVw
LjwvZGl2PjxkaXYgY2xhc3M9ImdtYWlsX2RlZmF1bHQiIHN0eWxlPSJmb250LWZhbWlseTogJ2Nv
dXJpZXIgbmV3JywgbW9ub3NwYWNlOyI+PGJyPjwvZGl2PjxkaXYgY2xhc3M9ImdtYWlsX2RlZmF1
bHQiIHN0eWxlPSJmb250LWZhbWlseTogJ2NvdXJpZXIgbmV3JywgbW9ub3NwYWNlOyI+V2hhdCBk
aSB5b3UgdGhpbmsgb2YgdGhlIGZvbGxvd2luZyA/PC9kaXY+PGRpdiBjbGFzcz0iZ21haWxfZGVm
YXVsdCIgc3R5bGU9ImZvbnQtZmFtaWx5OiAnY291cmllciBuZXcnLCBtb25vc3BhY2U7Ij48YnI+
PC9kaXY+PGRpdiBjbGFzcz0iZ21haWxfZGVmYXVsdCIgc3R5bGU9ImZvbnQtZmFtaWx5OiAnY291
cmllciBuZXcnLCBtb25vc3BhY2U7Ij5gYGBnbXNoPC9kaXY+PGRpdiBjbGFzcz0iZ21haWxfZGVm
YXVsdCIgc3R5bGU9IiI+PGRpdiBjbGFzcz0iZ21haWxf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NlKCJP
bWVnYSIpID0ge3MxfTs8L2ZvbnQ+PC9kaXY+PGRpdiBjbGFzcz0iZ21haWxfZGVmYXVsdCIgc3R5
bGU9IiI+PGZvbnQgZmFjZT0iY291cmllciBuZXcsIG1vbm9zcGFjZSI+YGBgPC9mb250PjwvZGl2
PjxkaXYgY2xhc3M9ImdtYWlsX2RlZmF1bHQiIHN0eWxlPSIiPjxmb250IGZhY2U9ImNvdXJpZXIg
bmV3LCBtb25vc3BhY2UiPjxicj48L2ZvbnQ+PC9kaXY+PC9kaXY+" style="min-height:0;width:0;max-height:0;max-width:0;overflow:hidden;font-size:0em;padding:0;margin:0">​</div></div></div><div class="gmail_extra"><br><div class="gmail_quote"><div><div class="h5">2016-02-23 16:42 GMT+01:00 Vikram Singh <span dir="ltr"><<a href="mailto:vikramsingh001@gmail.com" target="_blank">vikramsingh001@gmail.com</a>></span>:<br></div></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div><div class="h5"><div dir="ltr">I am unable to create a simple 2D mesh.<div><br></div><div>I need to create a structured mesh for a rectangular domain.</div><div><br></div><div>I divide the domain into two parts. I want different boundary conditions on the bottom part for the front part and the part behind. </div><div><br></div><div><div>Point(1) = {0, 0, 0, 0.1};<br></div><div>Point(2) = {0, 1, 0, 0.1};</div><div>Point(3) = {-0.35, 0, 0, 0.1};</div><div>Point(4) = {2, 0, 0, 0.1};</div><div>Point(5) = {-0.35, 1, 0, 0.1};</div><div>Point(6) = {2, 1, 0, 0.1};</div><div>Line(3) = {1, 3};</div><div>Line(4) = {3, 4};</div><div>Line(5) = {5, 2};</div><div>Line(6) = {2, 6};</div><div>Line(7) = {3, 5};</div><div>Line(9) = {4, 6};</div></div><div><br></div><div>Now, GMSH stops making sense after this.  I try to create a plane surface and this is what GMSH does. </div><div><br></div><div><div>Line Loop(10) = {4, 9, -6, -5, -7};</div><div>Plane Surface(11) = {10};</div></div><div><br></div><div>As you can see, 3 is not there in the line loop. And the mesh completely ignores Point 1. </div><div><br></div><div>What is happening?</div><span><font color="#888888"><div><br></div><div>Vikram</div></font></span></div>
<br></div></div>_______________________________________________<br>
gmsh mailing list<br>
<a href="mailto:gmsh@onelab.info" target="_blank">gmsh@onelab.info</a><br>
<a href="http://onelab.info/mailman/listinfo/gmsh" rel="noreferrer" target="_blank">http://onelab.info/mailman/listinfo/gmsh</a><br>
<br></blockquote></div><span class="HOEnZb"><font color="#888888"><br><br clear="all"><div><br></div>-- <br><div><div dir="ltr"><font face="courier new, monospace">Docteur Ingénieur de recherche</font><div><font face="courier new, monospace"><a href="http://www.cemosis.fr" target="_blank">CeMoSiS</a> - <a href="mailto:vincent.huber@cemosis.fr" target="_blank">vincent.huber@cemosis.fr</a></font></div><div><font face="courier new, monospace">Tel: +33 (0)3 68 8<b>5 02 06</b></font></div><div><font face="courier new, monospace">IRMA - 7, rue René Descartes</font></div><div><font face="courier new, monospace">67 000 Strasbourg</font></div><div><br></div><div><img src="http://www.google.com/a/cpanel/cemosis.fr/images/logo.gif"></div></div></div>
</font></span></div>
</blockquote></div><br></div>