[Gmsh] capabilities for periodic boundary conditions...?

Benarafa_Younes benarafa at alpes.cea.fr
Wed May 5 19:29:02 CEST 2004


Bonjour,

Je suis thésard au CEA Grenoble et j'essaie de créer un maillage non
structuré avec gmsh en vue d'une simulation numérique d'un écoulement
turbulent.
Ma configuration nécessite des conditions de périodicité dans les 3
directions de l'espace. Pour cela j'ai essayé de faire un "transfinite
surface" et "extrude" (*.geo ci-joint) mais ça ne fonctionne pas car les
faces périodiques ne coïncident pas. C'est un cas-test qui est important
pour moi alors j'aimerias savoir s'il y a un moyen de générer ces
conditions périodiques adéquates...

Merci d'avance pour votre réponse et bravo pour avoir fait un mailleur
aussi facile d'utilisation.

Younes Benarafa.

-- 
--------------------------------
Younes Benarafa (PhD candidate)
CEA-Grenoble
DEN/DER/SSTH/LMDL
17, rue des martyrs
38054 GRENOBLE cedex 9
FRANCE
Phone: +33 (0)4 38 78 32 04 
Fax: +33 (0)4 38 78 59 36
Mailto : younes.benarafa at cea.fr
--------------------------------
-------------- next part --------------
Lc = 0.001 ;
Point(1) = {0.,0.,0.,Lc};
L = 0.045;
R = 0.01085;
Point(2) = {R,0.,0.,Lc};
Point(3) = {-R,0.,0.,Lc};
Point(4) = {0.,R,0.,Lc};
Point(5) = {0.,-R,0.,Lc};
Point(6) = {0.5*L,-0.5*L,0.,Lc};
Point(7) = {-0.5*L,-0.5*L,0.,Lc};
Point(8) = {-0.5*L,0.5*L,0.,Lc};
Point(9) = {0.5*L,0.5*L,0.,Lc};
Point(10) = {0.5*L-R,0.5*L,0.,Lc};
Point(11) = {0.5*L,0.5*L-R,0.,Lc};
Point(12) = {-0.5*L+R,0.5*L,0.,Lc};
Point(13) = {-0.5*L+R,-0.5*L,0.,Lc};
Point(14) = {-0.5*L,-0.5*L+R,0.,Lc};
Point(15) = {0.5*L,-0.5*L+R,0.,Lc};
Point(16) = {-0.5*L,0.5*L-R,0.,Lc};

Point(17) = {0.5*L-R,-0.5*L,0.,Lc};
Line(1) = {12,10};
Line(2) = {16,14};
Line(3) = {11,15};
Line(4) = {13,17};
Circle(5) = {10,9,11};
Circle(6) = {15,6,17};
Circle(7) = {13,7,14};
Circle(8) = {16,8,12};
Circle(9) = {4,1,2};
Circle(10) = {2,1,5};
Circle(11) = {5,1,3};

Circle(12) = {3,1,4};
Line Loop(13) = {3,6,-4,7,-2,8,1,5};
Line Loop(14) = {10,11,12,9};
Plane Surface(15) = {13,14};
Physical Line(16) = {5,6,7,8,12,9,10,11};
Physical Line(17) = {1,4};
Physical Line(18) = {2,3};
Physical Surface(19) = {15};
Extrude Surface {15, {0.,0.,2.*R}};
Transfinite Line {27,55,1,59,23,43,4,39,21,34,3,35,25,51,2,47} = 20 Using Progression 1.;