On 24/02/10 11:26, julien hoessler wrote:
Hi Eric,
If it is a flat surface or if you know where the interface would be
located you can just move your domain line/surface to the interface and
extrude it towards the outside, but otherwise I can't seem to find a way
to link the interface with the rest of the mesh
Hi Guys - boundary layers are still a bit experimental, but the basics
are there to connect them with other geometrical entities. Attached are
two examples:
* sphere_boundary_layer.geo shows how to connect volumes to boundary
layer faces ;
* t1_boundary_layer_connection.geo shows how you can also connect things
to the lines or vertices created during the boundary layer generation.
Retrieving the id numbers of the extruded entities can be done in a
script the usual way (list[] = Extrude...), but as usual this only gives
access to the ids of the "top" surface, the new volume and the "lateral"
surfaces.
To retrieve the ids of the new lines and the new points, you have at the
moment to resort to the GUI (in "Tools->Options->General->General"
select "Enable mouse hover over meshes" to see the numbers displayed at
the bottom of the graphical window).
Hope this helps,
Christophe
regards
Julien
On 24 Feb 2010, at 02:03, Eric Nutsch wrote:
Hi,
Has anyone successfully gotten an extruded boundary layer to interface
with a mesh?
Thanks,
Eric Nutsch
_______________________________________________
gmsh mailing list
[email protected]
http://www.geuz.org/mailman/listinfo/gmsh
Julien Hoessler
PhD Student
Department of Aeronautics
Imperial College London
Phone: +44 (0) 20759 45042
Email: [email protected]
_______________________________________________
gmsh mailing list
[email protected]
http://www.geuz.org/mailman/listinfo/gmsh
--
Prof. Christophe Geuzaine
University of Liege, Electrical Engineering and Computer Science
http://www.montefiore.ulg.ac.be/~geuzaine
lc = .2;
Point(1) = {0.0,0.0,0.0,lc};
Point(2) = {1,0.0,0.0,lc};
Point(3) = {0,1,0.0,lc};
Circle(1) = {2,1,3};
Point(4) = {-1,0,0.0,lc};
Point(5) = {0,-1,0.0,lc};
Circle(2) = {3,1,4};
Circle(3) = {4,1,5};
Circle(4) = {5,1,2};
Point(6) = {0,0,-1,lc};
Point(7) = {0,0,1,lc};
Circle(5) = {3,1,6};
Circle(6) = {6,1,5};
Circle(7) = {5,1,7};
Circle(8) = {7,1,3};
Circle(9) = {2,1,7};
Circle(10) = {7,1,4};
Circle(11) = {4,1,6};
Circle(12) = {6,1,2};
Line Loop(13) = {2,8,-10};
Ruled Surface(14) = {13};
Line Loop(15) = {10,3,7};
Ruled Surface(16) = {15};
Line Loop(17) = {-8,-9,1};
Ruled Surface(18) = {17};
Line Loop(19) = {-11,-2,5};
Ruled Surface(20) = {19};
Line Loop(21) = {-5,-12,-1};
Ruled Surface(22) = {21};
Line Loop(23) = {-3,11,6};
Ruled Surface(24) = {23};
Line Loop(25) = {-7,4,9};
Ruled Surface(26) = {25};
Line Loop(27) = {-4,12,-6};
Ruled Surface(28) = {27};
Extrude {
Surface{14:28:2}; Layers{10, 0.2}; // Recombine;
}
Point(100) = {-1.5,-1.5,-1.5, lc};
Point(101) = {-1.5,1.5,-1.5, lc};
Point(102) = {1.5,-1.5,-1.5, lc};
Point(103) = {1.5,1.5,-1.5, lc};
Point(104) = {-1.5,-1.5,1.5, lc};
Point(105) = {-1.5,1.5,1.5, lc};
Point(106) = {1.5,-1.5,1.5, lc};
Point(107) = {1.5,1.5,1.5, lc};
Line(165) = {100, 102};
Line(166) = {102, 103};
Line(167) = {103, 101};
Line(168) = {101, 100};
Line(169) = {100, 104};
Line(170) = {104, 106};
Line(171) = {106, 102};
Line(172) = {101, 105};
Line(173) = {105, 107};
Line(174) = {107, 103};
Line(175) = {105, 104};
Line(176) = {106, 107};
Line Loop(177) = {167, 168, 165, 166};
Plane Surface(178) = {177};
Line Loop(179) = {166, -174, -176, 171};
Plane Surface(180) = {179};
Line Loop(181) = {171, -165, 169, 170};
Plane Surface(182) = {181};
Line Loop(183) = {176, -173, 175, 170};
Plane Surface(184) = {183};
Line Loop(185) = {172, 175, -169, -168};
Plane Surface(186) = {185};
Line Loop(187) = {172, 173, 174, 167};
Plane Surface(188) = {187};
Surface Loop(1000) = {20, 22, 18, 14, 26, 16, 24, 28};
Surface Loop(1001) = {45, 96, 113, 79, 62, 130, 147, 164};
Surface Loop(1002) = {188, 186, 184, 180, 178, 182};
Volume(1000) = {1000}; // inside
Volume(1001) = {1002, 1001}; // outside
Mesh.Algorithm3D = 4;
lc = 0.01;
Point(1) = {0, 0, 0, lc};
Point(2) = {.1, 0, 0, lc} ;
Point(3) = {.1, .3, 0, lc} ;
Point(4) = {0, .3, 0, lc} ;
Line(1) = {1,2} ;
Line(2) = {3,2} ;
Line(3) = {3,4} ;
Line(4) = {4,1} ;
Line Loop(5) = {4,1,-2,3} ;
Plane Surface(6) = {5} ;
Extrude { Surface{6}; Layers{5, 0.01}; Recombine; }
Point(100) = {0, 0, 0.15, lc} ;
Point(101) = {.1, 0, 0.15, lc} ;
Line(100) = {8, 100};
Line(101) = {12, 101};
Line(102) = {100, 101};
Line Loop(100) = {9,101,-102,-100};
Plane Surface(100) = 100;
_______________________________________________
gmsh mailing list
[email protected]
http://www.geuz.org/mailman/listinfo/gmsh