Hi Zacharie,
Your first possibility will work if you add to your file:
Mesh.CharacteristicLengthFromPoints = 1 ;
Mesh.CharacteristicLengthExtendFromBoundary = 0 ;

By default, the second option is set to one, that's the reason why you don't see the effect of the field you are trying to apply.

Regards,
Ruth


On 23/06/11 21:03, Zacharie DE GRÈVE [530160] wrote:

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

_______________________________________________ gmsh mailing list [email protected] http://www.geuz.org/mailman/listinfo/gmsh

-- 
Dr. Ir. Ruth V. Sabariego
University of Liege, Dept. of Electrical Engineering & Computer Science, 
Applied & Computational Electromagnetics (ACE),
phone: +32-4-3663737 - fax: +32-4-3662910 - http://ace.montefiore.ulg.ac.be/


_______________________________________________
gmsh mailing list
[email protected]
http://www.geuz.org/mailman/listinfo/gmsh

Reply via email to