Hi Joseph, When building the volume of the air, you need a surface loop of all the volumes inside. You can use:
allvol[] = Volume '*'; // For recovering all volumes just after the box for the
air
surf[] = CombinedBoundary{ Volume{allvol[]}; } ; // Boundary of all the volumes
for your surface loop
Surface Loop(newsl) = surf[] ;
v_air=newv; Volume(newv) = {sl_air, newsl-1}; // and finally the correct volume
of the air
With this kind of geometry, it would have been easier to construct a cut and
extrude it with the angle of interest. I.e.:
vol[] = Extrude {{0, 0, 1}, {0, 0, 0}, angle/2} {
Surface{allsurfacecutsymmetry[]};
} ;
Regards,
Ruth
disques3D.geo
Description: Binary data
-- Dr. Ir. Ruth V. Sabariego University of Liege, Electrical Engineering & Computer Science, Applied & Computational Electromagnetics (ACE), phone: +32-4-3663737 - fax: +32-4-3662910 - http://ace.montefiore.ulg.ac.be/ On 08 Jul 2012, at 15:46, Joseph Frippiat wrote: > Could someone take a look at my geometry (see the attachments)? > > There is a problem with the meshing of the physical volume "AIR": there is no > 3D meshing. > > The problem appear after I define the physical volume "AIR_SLOT2". > > Gmsh don't show any error. > > I spent almost all my W-E to try to make it work, but I didn't succeed. > > Thanks for any help. > > Joseph > > <disques3D-dat.pro><disques3D.geo>_______________________________________________ > gmsh mailing list > [email protected] > http://www.geuz.org/mailman/listinfo/gmsh
_______________________________________________ gmsh mailing list [email protected] http://www.geuz.org/mailman/listinfo/gmsh
