[Gmsh] HELP

Christophe Geuzaine cgeuzaine at ulg.ac.be
Fri Jan 14 14:08:55 CET 2011


On 13/12/10 18:30, Tal Yehoshua wrote:
> im trying to generate a simple cone-cyl simulation. here is my geo file:
>
> __________________________________________________ ___________
> l1 = 0.05;
> l2 = 0.01;
> n=10;
> Point(1) = {-0, -0, 0,l1};
> Point(2) = {0.4, -0, 0,l2};
> Point(3) = {0.6, 0.1, 0,l2};
> Point(4) = {1, 0.1, 0,l2};
> Point(5) = {1, 0, 0,l2};
> Point(6) = {1.3, -0, 0,l1};
> Point(7) = {1.3, 0.4, 0,l1};
> Point(8) = {0, 0.4, 0,l1};
> Line(1) = {1, 2};
> Line(2) = {2, 3};
> Line(3) = {3, 4};
> Line(4) = {4, 5};
> Line(5) = {5, 6};
> Line(6) = {6, 7};
> Line(7) = {7, 8};
> Line(8) = {8, 1};
> Line Loop(9) = {7, 8, 1, 2, 3, 4, 5, 6};
> Plane Surface(12) = {9};
>
> Extrude {{1, 0, 0}, {0, 0, 0}, Pi/2} {
> Surface{12}; Layers {n}; Recombine;
> }
> Extrude {{1, 0, 0}, {0, 0, 0}, Pi/2} {
> Surface{44}; Layers {n}; Recombine;
> }
> Extrude {{1, 0, 0}, {0, 0, 0}, Pi/2} {
> Surface{76}; Layers {n}; Recombine;
> }
> Extrude {{1, 0, 0}, {0, 0, 0}, Pi/2} {
> Surface{108}; Layers {n}; Recombine;
> }
>
> Physical Surface("inflow") = {124, 28, 60, 92, 25, 57, 89, 121, 75, 43,
> 139, 107};
> Physical Surface("wall") = {64, 32, 96, 128, 68, 132, 36, 100, 71, 39,
> 135, 103};
> Physical Volume("vol") = {2, 1, 4, 3};
>
> __________________________________________________ _
>
> after i 3D mesh it and convering it using gmshToFoam, fixing the
> boundaries etc., loading the mesh using paraFoam, the inflow and walls
> apears great.
> However, *there are no inside (volume) cells*.
> It seems that the msh file does not contain the "vol" cells.
>
> what am i doing wrong ? im sure its a no brainer

Not being an OpenFoam user, I cannot say. The .msh file generated looks 
ok to me...


>
> Best
> Tal
>
>
>
> _______________________________________________
> gmsh mailing list
> gmsh at geuz.org
> 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