[Gmsh] HELP

Tal Yehoshua tal.yehoshua at gmail.com
Mon Dec 13 18:30:03 CET 2010


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

Best
Tal
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.geuz.org/pipermail/gmsh/attachments/20101213/6c4ae2f4/attachment.html>