<DIV>hello,</DIV>
<DIV> </DIV>
<DIV> I constructed a rectancle and a cuboid standing on a rectangle and then i meshed it,but the intersection part where a cuboid lies on the rectagle is not clearly saying wheather two meshes are intersecting as the boundry of cuboid on rectangle is not clearly visible in the mesh.Is gmesh is intelligent enough to to detect the boundry of cuboid on rectangle. i am including the.geo file which construct this structure.so is this distinction of boundry is possible in gmsh.</DIV>
<DIV> </DIV>
<DIV> </DIV>
<DIV>/ CODE FOR GENERATING A MESH WHERE CUBIOID STANDING ON A RECTANGLE : THE LENGTH,BREADTH 1 AND HEIGHT OF CUBOID IS 3 AND LENGTH OF AND BREADTH OF RECTANGLE ARE 6 AND 4</DIV>
<DIV>//First we set the characterstic length lc=0.036,lc sets the targetelemnt size at the point</DIV>
<DIV>lc=0.2;</DIV>
<DIV>//Here (Point(1),Point(2),Point(3),Point(4)....Point(8)), are points of the cuboid defined with notation of (x,y,z,lc) , x,y,z are coordinates and lc is characterstic length</DIV>
<DIV>Point(1) = {0, 0, 0,lc};<BR>Point(2)= {1, 0, 0,lc};<BR>Point(3)= {1, 0, 1,lc};<BR>Point(4)= {0, 0, 1,lc};<BR>Point(5) = {1, 3, 0,lc};<BR>Point(6)= {0, 3, 0,lc};<BR>Point(7)= {0, 3, 1,lc};<BR>Point(8)= {1, 3, 1,lc};</DIV>
<DIV>//points for rectangle<BR>Point(9) = {-3,0, -2, lc};<BR>Point(10)= {3, 0, -2, lc};<BR>Point(11)= {3, 0, 2, lc};<BR>Point(12)= {-3,0, 2, lc};</DIV>
<DIV> </DIV>
<DIV>//Here (Line(1).......Line(12) ) will define the line curves of the cuboid </DIV>
<DIV>Line(1)={1,2};<BR>Line(2)={2,3};<BR>Line(3)={3,4};<BR>Line(4)={4,1};<BR>Line(5)={5,6};<BR>Line(6)={6,7};<BR>Line(7)={7,8};<BR>Line(8)={8,5};<BR>Line(9)={2,5};<BR>Line(10)={3,8};<BR>Line(11)={1,6};<BR>Line(12)={4,7};</DIV>
<DIV>//Here (Line(13).......Line(16) ) will define the line curves of the rectangle </DIV>
<DIV>Line(13)={9,10};<BR>Line(14)={10,11};<BR>Line(15)={11,12};<BR>Line(16)={12,9};</DIV>
<DIV><BR>//Line Loop will join the given lines in the order to form an element structure,its a list of connected lines,a sign being associated with each line(depending on the orientation of the line).</DIV>
<DIV>Line Loop(13)={1,2,3,4};<BR>Line Loop(14)={5,6,7,8};<BR>Line Loop(15)={2,10,8,-9};<BR>Line Loop(16)={4,11,6,-12};<BR>Line Loop(17)={1,9,5,-11};<BR>Line Loop(18)={3,12,7,-10};<BR>Line Loop(19)={13,14,15,16};</DIV>
<DIV><BR>//we can define the surface as list of line loops . Here it forms a square and rectangular plane surface</DIV>
<DIV>Plane Surface(19)={13};<BR>Plane Surface(20)={14};<BR>Plane Surface(21)={15};<BR>Plane Surface(22)={16};<BR>Plane Surface(23)={17};<BR>Plane Surface(24)={18};<BR>Plane Surface(25)={19};</DIV>
<DIV><BR>//We can assign physical numbering to the surfaces defined</DIV>
<DIV>Physical Surface(100)={19}; <BR>Physical Surface(200)={20}; <BR>Physical Surface(300)={21}; <BR>Physical Surface(400)={22}; <BR>Physical Surface(500)={23}; <BR>Physical Surface(600)={24}; <BR>Physical Surface(700)={25}; </DIV>
<DIV><BR>// Here we use Recombine Surface to genearte a mesh with both triangular as well as quadrangular elements in the mesh.</DIV>
<DIV>Recombine Surface {20,22,23,24,21,19,25};<BR></DIV>
<DIV> </DIV>
<DIV> </DIV>
<DIV> </DIV>
<P>so please help me to solve my problem.waiting for your replies</P>
<P> </P>
<P>best regards,</P>
<P>phanikumar</P>
<P> </P>
<P> </P><p>
<hr size=1>Do you Yahoo!?<br>
Read only the mail you want - <a href="http://us.rd.yahoo.com/mail_us/taglines/spamguard/*http://promotions.yahoo.com/new_mail/static/protection.html">Yahoo! Mail SpamGuard</a>.