<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta content="text/html; charset=ISO-8859-1"
http-equiv="Content-Type">
</head>
<body bgcolor="#ffffff" text="#000000">
Could you send the complete geo file? The dimensions and characteristic
lengths are missing...<br>
You could try to use a Field. See examples in tutorial.<br>
<br>
Ruth<br>
<br>
On 25/01/10 14:32, ouafa bouloumou wrote:
<blockquote cite="mid:SNT109-W32039D771A78641E11F3A9B65F0@phx.gbl"
type="cite">
<style><!--
.hmmessage P
{
margin:0px;
padding:0px
}
body.hmmessage
{
font-size: 10pt;
font-family:Verdana
}
--></style><br>
Bonjour,<br>
<br>
J'essaie de générer le maillage d'une géométrie comportant un cercle
que je devrais raffiner impérativement du centre vers le bord pour
créer une sorte de couche limite à ce niveau. Le cercle ne constitue
pas un trou et le nombre de points sur son bord est déjà imposé par
l'anneau autour. même en utilisant un raffinement sur les diagonales
sécantes, je n'arrive pas à obtenir quelque chose de propre. Auriez
vous une suggestion (.geo joint)?<br>
<br>
Bien cordialement,<br>
Ouafa<br>
<br>
//---------------------------------------------------------------------------<br>
// centre<br>
Point(1)={0, 0, 0, lc};<br>
<br>
// cercle intérieur<br>
Point(6)={-d2, 0, d2, lc};<br>
Point(7)={d2, 0, d2, lc};<br>
Point(8)={d2, 0, -d2, lc};<br>
Point(9)={-d2, 0, -d2, lc};<br>
// cercle extérieur<br>
Point(10)={-d3, 0, d3, lc};<br>
Point(11)={d3, 0, d3, lc};<br>
Point(12)={d3, 0, -d3, lc};<br>
Point(13)={-d3, 0, -d3, lc};<br>
// hublot<br>
Point(14)={-3*d3, 0, d4, lc}; <br>
Point(15)={-d3, 0, d4, lc};<br>
Point(16)={d3, 0, d4, lc};<br>
Point(17)={3*d3, 0, d4, lc}; <br>
Point(18)={3*d3, 0, d3, lc}; <br>
Point(19)={3*d3, 0, -d3, lc}; <br>
Point(20)={3*d3, 0, -d4, lc}; <br>
Point(21)={d3, 0, -d4, lc};<br>
Point(22)={-d3, 0, -d4, lc};<br>
Point(23)={-3*d3, 0, -d4, lc}; <br>
Point(24)={-3*d3, 0, -d3, lc}; <br>
Point(25)={-3*d3, 0, d3, lc}; <br>
Point(26)={L2, 0, d4, lc};<br>
Point(27)={L2, 0, d3, lc};<br>
Point(28)={L2, 0, -d3, lc};<br>
Point(29)={L2, 0, -d4, lc};<br>
Point(30)={-L1, 0, d4, lc};<br>
Point(31)={-L1, 0, d3, lc};<br>
Point(32)={-L1, 0, -d3, lc};<br>
Point(33)={-L1, 0, -d4, lc};<br>
// aval<br>
Point(34)={L3, 0, d4, lc};<br>
Point(35)={L3, 0, d3, lc};<br>
Point(36)={L3, 0, -d3, lc};<br>
Point(37)={L3, 0, -d4, lc};<br>
//---------------------------------------------------------------------------<br>
<br>
// cercle intérieur<br>
Circle(5) = {6,1,7}; <br>
Circle(6) = {7,1,8}; <br>
Circle(7) = {8,1,9};<br>
Circle(8) = {9,1,6}; <br>
// carré extérieur<br>
Line(9 ) = {14,15}; <br>
Line(10) = {15,16}; <br>
Line(11) = {16,17}; <br>
Line(12) = {17,18}; <br>
Line(13) = {18,19}; <br>
Line(14) = {19,20}; <br>
Line(15) = {20,21}; <br>
Line(16) = {21,22}; <br>
Line(17) = {22,23}; <br>
Line(18) = {23,24}; <br>
Line(19) = {24,25}; <br>
Line(20) = {25,14}; <br>
Line(32) = {21,12}; <br>
Line(33) = {24,13}; <br>
Line(34) = {13,22}; <br>
Line(35) = {15,10}; <br>
Line(36) = {10,25}; <br>
Line(37) = {18,11}; <br>
Line(38) = {11,16}; <br>
// aval hublot<br>
Line(21) = {17,26}; <br>
Line(22) = {26,27}; <br>
Line(23) = {27,28}; <br>
Line(24) = {28,29}; <br>
Line(25) = {29,20}; <br>
Line(41) = {27,18}; <br>
Line(42) = {28,19}; <br>
Line(31) = {12,19}; <br>
// amont<br>
Line(26) = {23,33}; <br>
Line(27) = {33,32}; <br>
Line(28) = {32,31}; <br>
Line(29) = {31,30}; <br>
Line(30) = {30,14}; <br>
Line(39) = {25,31}; <br>
Line(40) = {24,32}; <br>
// aval<br>
Line(43) = {26,34}; <br>
Line(44) = {27,35}; <br>
Line(45) = {28,36}; <br>
Line(46) = {29,37}; <br>
Line(47) = {34,35}; <br>
Line(48) = {35,36}; <br>
Line(49) = {36,37}; <br>
// diagonales du cercle intérieur<br>
//Line(50) = {1,6}; <br>
//Line(51) = {1,7}; <br>
//Line(52) = {1,8}; <br>
//Line(53) = {1,9}; <br>
<br>
// diagonales du cercle extérieur<br>
Line(54) = {6,10}; <br>
Line(55) = {7,11}; <br>
Line(56) = {8,12}; <br>
Line(57) = {9,13}; <br>
// cercle extérieur <br>
Circle(58) = {10,1,11}; <br>
Circle(59) = {10,1,13}; <br>
Circle(60) = {13,1,12}; <br>
Circle(61) = {12,1,11}; <br>
// boucles de lignes<br>
<br>
Line Loop(1) = {5,6,7,8}; <br>
<br>
//Line Loop(2) = {-51,50,5}; <br>
//Line Loop(3) = {6,-52,51}; <br>
//Line Loop(4) = {52,7,-53}; <br>
//Line Loop(5) = {53,8,-50}; <br>
<br>
Line Loop(6) = {-55,-5,54,58};<br>
Line Loop(7) = {-61,-56,-6,55}; <br>
Line Loop(8) = {56,-60,-57,-7}; <br>
Line Loop(9) = {-8,57,-59,-54}; <br>
Line Loop(10) = {13,-31,61,-37}; <br>
Line Loop(11) = {-32,16,-34,60}; <br>
Line Loop(12) = {59,-33,19,-36}; <br>
Line Loop(13) = {-38,-58,-35,10}; <br>
Line Loop(14) = {12,37,38,11}; <br>
Line Loop(15) = {14,15,32,31}; <br>
Line Loop(16) = {34,17,18,33}; <br>
Line Loop(17) = {35,36,20,9}; <br>
Line Loop(18) = {22,41,-12,21}; <br>
Line Loop(19) = {23,42,-13,-41}; <br>
Line Loop(20) = {24,25,-14,-42}; <br>
Line Loop(21) = {-20,39,29,30}; <br>
Line Loop(22) = {-19,40,28,-39}; <br>
Line Loop(23) = {-18,26,27,-40}; <br>
Line Loop(24) = {47,-44,-22,43}; <br>
Line Loop(25) = {48,-45,-23,44}; <br>
Line Loop(26) = {49,-46,-24,45}; <br>
// surfaces<br>
s1 = newreg; Ruled Surface(s1) = {1}; <br>
//s2 = newreg; Plane Surface(s2) = {2}; <br>
//s3 = newreg; Plane Surface(s3) = {3}; <br>
//s4 = newreg; Plane Surface(s4) = {4}; <br>
//s5 = newreg; Plane Surface(s5) = {5}; <br>
<br>
s6 = newreg; Plane Surface(s6) = {6}; <br>
s7 = newreg; Plane Surface(s7) = {7}; <br>
s8 = newreg; Plane Surface(s8) = {8}; <br>
s9 = newreg; Plane Surface(s9) = {9}; <br>
s10 = newreg; Plane Surface(s10) = {10}; <br>
s11 = newreg; Plane Surface(s11) = {11}; <br>
s12 = newreg; Plane Surface(s12) = {12}; <br>
s13 = newreg; Plane Surface(s13) = {13}; <br>
s14 = newreg; Plane Surface(s14) = {14}; <br>
s15 = newreg; Plane Surface(s15) = {15}; <br>
s16 = newreg; Plane Surface(s16) = {16}; <br>
s17 = newreg; Plane Surface(s17) = {17}; <br>
s18 = newreg; Plane Surface(s18) = {18}; <br>
s19 = newreg; Plane Surface(s19) = {19}; <br>
s20 = newreg; Plane Surface(s20) = {20}; <br>
s21 = newreg; Plane Surface(s21) = {21}; <br>
s22 = newreg; Plane Surface(s22) = {22}; <br>
s23 = newreg; Plane Surface(s23) = {23}; <br>
s24 = newreg; Plane Surface(s24) = {24}; <br>
s25 = newreg; Plane Surface(s25) = {25}; <br>
s26 = newreg; Plane Surface(s26) = {26}; <br>
<br>
<br>
//---------------------------------------------------------------------------<br>
<br>
// étirement diagonales<br>
Transfinite Line{54,55,56,57}=arctheta1 Using Progression f;<br>
//Transfinite Line{50,51,52,53}=arctheta2 Using Progression 1/f; <br>
<br>
<br>
//---------------------------------------------------------------------------<br>
// maillage structuré<br>
Transfinite Line {19,59,61,13,58,10,16,5,7,60,61,6,8} = N1 Using
Progression 1.0;<br>
Transfinite Line {23,13,19,48,28} = N1 Using Progression 1.0;<br>
Transfinite Line {-37,31,36,-33,11,-15,-9,17} = N1 Using Progression
1.06;<br>
<br>
Transfinite Line {20,18,35,34,38,32,12,14,22,24,47,49,27,29} = N2 Using
Progression 1.0;<br>
Transfinite Line {21,41,42,25} = N2 Using Progression 1.0;<br>
Transfinite Line {43,44,45,46,30,39,40,26} = N3 Using Progression 1.0;<br>
// raffinement parois latérales<br>
//Transfinite Line {-20,-29,35,-38,12,22,47,27,18,-34,32,-14,-24,-49} =
N2 Using Progression 1.05; //resserement vers la bord<br>
Transfinite Line {20,29,-35,38,-12,-22,-47,-27,-18,34,-32,14,24,49} =
N2 Using Progression 1.04; // étirement vers le bord<br>
<br>
<br>
Transfinite Surface {s6} = {11,7,6,10};<br>
Transfinite Surface {s7} = {11,7,8,12};<br>
Transfinite Surface {s8} = {8,12,13,9};<br>
Transfinite Surface {s9} = {9,13,10,6};<br>
Transfinite Surface {s10} = {11,18,19,12};<br>
Transfinite Surface {s11} = {12,21,22,13};<br>
Transfinite Surface {s12} = {13,24,25,10};<br>
Transfinite Surface {s13} = {11,10,15,16};<br>
Transfinite Surface {s14} = {18,11,16,17};<br>
Transfinite Surface {s15} = {12,19,20,21};<br>
Transfinite Surface {s16} = {13,22,23,24};<br>
Transfinite Surface {s17} = {10,25,14,15};<br>
Transfinite Surface {s18} = {17,26,27,18};<br>
Transfinite Surface {s19} = {18,27,28,19};<br>
Transfinite Surface {s20} = {19,28,29,20};<br>
Transfinite Surface {s21} = {14,25,31,30};<br>
Transfinite Surface {s22} = {25,24,32,31};<br>
Transfinite Surface {s23} = {23,24,32,33};<br>
Transfinite Surface {s24} = {34,26,27,35};<br>
Transfinite Surface {s25} = {36,35,27,28};<br>
Transfinite Surface {s26} = {37,36,28,29};<br>
<br>
Recombine Surface {s6:s26}; <br>
<br>
<br>
<br>
<hr>Windows 7 : Trouvez le PC qui vous convient! <a
moz-do-not-send="true"
href="http://clk.atdmt.com/FRM/go/181574577/direct/01/" target="_new">Découvrez
notre offre ! </a>
<pre wrap="">
<fieldset class="mimeAttachmentHeader"></fieldset>
_______________________________________________
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>
<pre class="moz-signature" cols="72">--
Dr. Ir. Ruth V. Sabariego
University of Liege, Dept. of Electrical Engineering & Computer Science,
Applied & Computational Electromagnetics (ACE),
phone: +32-4-3663737 - fax: +32-4-3662910 - <a class="moz-txt-link-freetext" href="http://ace.montefiore.ulg.ac.be/">http://ace.montefiore.ulg.ac.be/</a>
</pre>
</body>
</html>