[Gmsh] Meshing independent of number of points

Geordie McBain gdmcbain at freeshell.org
Sun Feb 3 23:47:16 CET 2013


Hi Caen,
 That's great. Don't forget to copy replies to the list though.

Best wishes.

Le vendredi 1 février 2013, Wangshiraz <shirazbj at hotmail.com> a écrit :
> Hi Geordie,
>
> Just realised the 0 is the z value. after add s1, it all good now.
>
> It should like this (x,y,z,s1), before it was only (x,y,z).
>
> Thanks
>
> Cean
>
>
> Hi Geordie,
>
> Yes,it is what I want.It also works here with the command way.
>
> But I just can't get it if I open it with GMSH and then do 2d mesh.There
is mesh lines inside the hole. Strange.
> I noticed the lc(line control) value is 0 at each point.I copied from
other's file.
> This time I set a variable s1,s2 for each loop and change a few times,
but still can't get it.
>
> Thanks for help
>
> Cean
>
>
>> Date: Fri, 1 Feb 2013 14:09:42 +1100
>> Subject: Re: [Gmsh] Meshing independent of number of points
>> From: gdmcbain at freeshell.org
>> To: shirazbj at hotmail.com
>> CC: gmsh at geuz.org
>>
>> 2013/1/31 Wangshiraz <shirazbj at hotmail.com>:
>> > Hi Geordie,
>> >
>> > I tried your file and added a box around the spline loop. I want to
cut a
>> > hole from the box with the spline. But with no success.
>>
>> Hi Cean,
>> Your example works for me. Running it with
>>
>> $ gmsh -2 -clscale 0.5 hole_with_a_spline.geo
>>
>> I get what I think is the expected mesh: a rectangle with a hole
>> defined by the spline. I attach a PNG.
>> My gmsh is version 2.5.1, compiled from svn sources on 64-bit Debian
>> Mint GNU/Linux.
>

-- 
G. D. McBain

Theory of Lift - Introductory Computational Aerodynamics in MATLAB/Octave
Out now - http://www.wileyeurope.com/remtitle.cgi?111995228X
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.geuz.org/pipermail/gmsh/attachments/20130204/bb0b4ea0/attachment.html>