<br><br>Le jeudi 22 novembre 2012,  <<a href="mailto:emmanuel.deltombe@free.fr">emmanuel.deltombe@free.fr</a>> a écrit :<br>><br>> Hello,<br>><br>> I want to study a turbulent flow around a beam in 2D. I have installed Elmer on my Ubuntu 12.04 configuration,<br>
> as well as Gmsh.<br>> I am creating the 2D geometry and mesh with gmsh but I can't be able to create a boundary layer.<br>><br>> I open my .geo file in Gmsh GUI, click on Mesh > 1D then 2D,<br>> the mesh is created but not the boundary layer.<br>
><br>> The script of the .geo file is not long :<br>><br>> cl1 = 0.02;<br>> cl2 = 0.1;<br>> Point(1) = {0, 0, 0, cl1};<br>> Point(2) = {0.3, 0.3, 0, cl1};<br>> Point(3) = {0.25, 0.35, 0, cl1};<br>> Point(4) = {-0.05, 0.05, 0, cl1};<br>
> Point(5) = {-2, -0.7, 0, cl2};<br>> Point(6) = {1, -0.7, 0, cl2};<br>> Point(7) = {1, 1, 0, cl2};<br>> Point(8) = {-2, 1, 0, cl2};<br>> Line(1) = {1, 2};<br>> Line(2) = {2, 3};<br>> Line(3) = {3, 4};<br>
> Line(4) = {4, 1};<br>> Line(5) = {5, 6};<br>> Line(6) = {6, 7};<br>> Line(7) = {7, 8};<br>> Line(8) = {8, 5};<br>> Line Loop(11) = {5, 6, 7, 8, -4, -3, -2, -1};<br>> Plane Surface(11) = {11};<br>> Physical Line(13) = {1, 2, 3, 4};<br>
> Physical Line(14) = {6};<br>> Physical Line(15) = {8};<br>> Physical Line(16) = {5, 7};<br>> Physical Surface(12) = {11};<br>> Field[1] = BoundaryLayer;<br>> Field[1].EdgesList = {1, 2, 3, 4};<br>> Field[1].NodesList = {1, 2, 3, 4};<br>
> Field[1].hfar = 0.05;<br>> Field[1].hwall_n = 0.02;<br>> Field[1].hwall_t = 0.003;<br>> Field[1].ratio = 1.1;<br>> Field[1].thickness = 0.01;<br>><br>> I read the FAQ, the screencasts and the Gmsh reference manual,<br>
> and didn't find the answer.<br>> Is it a bug ?<br>> I would be very grateful if anybody can help me,<br><br>Hello. After defining the Field as you have done, it must be selected with the Background Field command.<br>
<br>-- <br>G. D. McBain<br><br>Chercheur<br>Institut Jean le Rond d'Alembert - <a href="http://www.dalembert.upmc.fr" target="_blank">http://www.dalembert.upmc.fr</a><br><br>Theory of Lift - Introductory Computational Aerodynamics in MATLAB/Octave<br>
Out now - <a href="http://www.wileyeurope.com/remtitle.cgi?111995228X" target="_blank">http://www.wileyeurope.com/remtitle.cgi?111995228X</a><br><br>