Thanks for the tip. Now i have a 2D mesh not so bad (i played with different lc to create a more detailed mesh in the trailing and leading edge of the airfoil). Now i ll try to import this in OpenFOAM using extrude utility and the tutorials you linked me in the other thread<div>
<br></div><div>Thanks again<br><br><div class="gmail_quote">2010/2/20 Eric Nutsch <span dir="ltr"><<a href="mailto:ericnutsch@gmail.com">ericnutsch@gmail.com</a>></span><br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">
<div><div></div><div class="h5">Your mesh is working, you just had all the CharLenghts set the large<br>
and the same.<br>
I did a find-replace " 1}" with " 0.01}"  then set the far field<br>
CharLenghts and the variables with a 0.01 on them back to 1. (this is<br>
a prime example of why you should use variables to do this, read<br>
userguide tutorials for more info)<br>
<br>
<br>
I tested it, it looks good. Dont worry about being a newbe, just share<br>
the knowedge you have and expect others to do the same :)<br>
<br>
<br>
Eric Nutsch<br>
<br>
<br>
<br>
<br>
<br>
On Sat, Feb 20, 2010 at 12:50 PM, Emanuele T. <<a href="mailto:nuovodna@gmail.com">nuovodna@gmail.com</a>> wrote:<br>
> Thanks for the answer and sorry for my newbie questions. I' m not yet able<br>
> to create an hole in the farfield. I created the two line loops and made a<br>
> plane surface using these two loop lines. When i try to mesh in 2d airfoil<br>
> is not recognize like a hole and there are cell inside it. How can i solve?<br>
> I tryed to change the characteristic length but nothing change. I attach my<br>
> new .geo file<br>
> Thanks again<br>
><br>
><br>
> 2010/2/20 Eric Nutsch <<a href="mailto:ericnutsch@gmail.com">ericnutsch@gmail.com</a>><br>
>><br>
>> Emanuele,<br>
>><br>
>><br>
>> Well first you need to make 2 line loops, one for the airfoil and one<br>
>> for the farfield(in userguide)<br>
>> Then make a plane surface using the 2 loops.(userguide)<br>
>> You will then be able to mesh<br>
>> To control the mesh size use the characteristic length(userguide)<br>
>><br>
>> If you want to then want to use a boundary layer you will be stuck the<br>
>> same place as I. It is easy enough to create a boundary layer with the<br>
>> extrude function, but I have yet to figure out how to attach it to a<br>
>> farfield mesh.<br>
>><br>
>><br>
>> Eric Nutsch<br>
>><br>
>><br>
>> On Sat, Feb 20, 2010 at 7:29 AM, Emanuele T. <<a href="mailto:nuovodna@gmail.com">nuovodna@gmail.com</a>> wrote:<br>
>> > I attach my current .geo file<br>
>> ><br>
>> > 2010/2/20 Emanuele T. <<a href="mailto:nuovodna@gmail.com">nuovodna@gmail.com</a>><br>
>> >><br>
>> >> Thanks for the tip. Now i have another problem. I prepared a .geo file<br>
>> >> with an airfoil in a circular box. I'd like to obtain a mesh like in<br>
>> >> attached picture. How can i realize this?<br>
>> >><br>
>> >> 2010/2/19 Eric Nutsch <<a href="mailto:ericnutsch@gmail.com">ericnutsch@gmail.com</a>><br>
>> >>><br>
>> >>> Emanuele,<br>
>> >>><br>
>> >>><br>
>> >>> If by points you mean cells (for more resolution), you can use the<br>
>> >>> gmsh "characteristic length" variable (lots of info in the user<br>
>> >>> guide).<br>
>> >>><br>
>> >>> If you actually want more points(not sure why) you would have to write<br>
>> >>> an interpolation script outside of gmsh (python for instance)<br>
>> >>><br>
>> >>><br>
>> >>> Eric Nutsch<br>
>> >>><br>
>> >>><br>
>> >>><br>
>> >>> On Fri, Feb 19, 2010 at 12:15 PM, Emanuele T. <<a href="mailto:nuovodna@gmail.com">nuovodna@gmail.com</a>><br>
>> >>> wrote:<br>
>> >>> > Hi, i wrote a mesh using naca 0012 points taken<br>
>> >>> ><br>
>> >>> ><br>
>> >>> > here <a href="http://www.soton.ac.uk/~jps7/Aircraft%20Design%20Resources/Sydney%20aerodynamics%20for%20students/panel2d/naca0012.dat" target="_blank">http://www.soton.ac.uk/~jps7/Aircraft%20Design%20Resources/Sydney%20aerodynamics%20for%20students/panel2d/naca0012.dat</a><br>

>> >>> > I want to intensify the density of points near the leading edge and<br>
>> >>> > the<br>
>> >>> > trailing edge. How can i obtain this??<br>
>> >>> > Thanks<br>
>> >>> > _______________________________________________<br>
>> >>> > gmsh mailing list<br>
>> >>> > <a href="mailto:gmsh@geuz.org">gmsh@geuz.org</a><br>
>> >>> > <a href="http://www.geuz.org/mailman/listinfo/gmsh" target="_blank">http://www.geuz.org/mailman/listinfo/gmsh</a><br>
>> >>> ><br>
>> >>> ><br>
>> >><br>
>> ><br>
>> ><br>
><br>
><br>
<br>
_______________________________________________<br>
gmsh mailing list<br>
<a href="mailto:gmsh@geuz.org">gmsh@geuz.org</a><br>
<a href="http://www.geuz.org/mailman/listinfo/gmsh" target="_blank">http://www.geuz.org/mailman/listinfo/gmsh</a><br>
</div></div></blockquote></div><br></div>