[Gmsh] Fwd: It is possible to refine mesh in point using gmsh?

Geordie McBain gdmcbain at freeshell.org
Thu Mar 22 00:32:03 CET 2012


2012/3/21 abdelaziz khomsi <khomsi_abdelaziz at hotmail.com>:
> Hello,
> Thank you for your response.

Please reply to the list: other's might know better than me or be able
to reply quicker; also the answer might be of interest to others.

> In fact, I want to refine mesh in points in polygon
>
> My friend used the attached file <test.geo> in (2001) , he had the file
> <test.msh>
> When I open <test.geo> in GMSH (2012) I have an error
> I tested test.geo in Windows xp and windows x86, I have the same error
> I lose match time to resolve this problem and I did not found any solution.
> Could you give me an idea about this case?
> Please see attached files.
> I'm waiting you response.

The current syntax is described in

http://geuz.org/gmsh/doc/texinfo/gmsh.html#Specifying-mesh-element-sizes

Instead of

%<---test.geo (received)----------
Attractor Point{10} ={xx,xx,i};
Attractor Point{11} ={xx,xx,i};
Attractor Point{12} ={xx,xx,i};
Attractor Point{13} ={xx,xx,i};
...

Attractor Point{19} ={xx,xx,i};
--->%

try

%<---test1.geo (modified)----------
Field[1] = Attractor;
Field[1].NodesList = {10, 11, 12, 13, 14, 15, 16, 17, 18, 19};
Background Field = 1;
--->%

as attached.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: test.geo
Type: application/octet-stream
Size: 1372 bytes
Desc: not available
URL: <http://www.geuz.org/pipermail/gmsh/attachments/20120322/ac84a26c/attachment.geo>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: test1.geo
Type: application/octet-stream
Size: 1456 bytes
Desc: not available
URL: <http://www.geuz.org/pipermail/gmsh/attachments/20120322/ac84a26c/attachment-0001.geo>