[Gmsh] Attractors : meshing for skin effect in round conductors ?
Zacharie DE GRÈVE [530160]
Zacharie.DEGREVE at umons.ac.be
Thu Jun 23 21:03:58 CEST 2011
Dear all,
I would like to mesh a circular conductor in order to follow the skin effect, i.e. with a fine mesh in the skin depth and a coarser mesh in the centre of the conductor :
Point(1) = {0, 0, 0};
Point(2) = {0.1, 0, 0};
Point(3) = {0, 0.1, 0};
Point(4) = {-0.1, 0, 0};
Point(5) = {0, -0.1, 0};
Circle(1) = {2, 1, 3};
Circle(2) = {3, 1, 4};
Circle(3) = {4, 1, 5};
Circle(4) = {5, 1, 2};
Line Loop(5) = {2, 3, 4, 1};
Plane Surface(6) = {5};
I have two possibilities in mind:
1 . Using Line attractors on the circle arcs:
Field[1]=Attractor;
Field[1].NNodesByEdge = 50;
Field[1].EdgesList={1,2,3,4};
Field[2] = Threshold;
Field[2].IField = 1;
Field[2].LcMin = 0.005;
Field[2].LcMax = 0.01;
Field[2].DistMin = 0.02;
Field[2].DistMax = 0.04;
Background Field = 2;
This solution does not seem to work (I get a 0.005 mesh everywhere)
2. Using a point attractor :
Is it possible to define some kind of "inverse" attractor at the centre of the circle, i.e. with a coarser mesh near the attractor and finer at near surface of the circle ?
Thank you very much in advance.
Best regards,
Zacharie De Grève
PhD Student, University of Mons, Belgium
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.geuz.org/pipermail/gmsh/attachments/20110623/91a17b14/attachment.html>