3d_fillet

<< Click to Display Table of Contents >>

Navigation:  Sample Problems > Usage > 3D_domains >

3d_fillet

Previous pageReturn to chapter overviewNext page

{ 3D_FILLET.PDE  

 

 This problem demonstrates the use of the FILLET and BEVEL commands.

 Both controls act in the 2D layout, and are extruded into the z dimension.

}  

 

title 'fillet test'  

 

coordinates

   cartesian3  

 

variables

   u  

 

definitions  

   k = 1  

   u0 = 1-x^2-y^2  

   s = 2*3/4+5*2/4  

 

equations  

   U: div(K*grad(u)) +s = 0  

 

extrusion z=0,1  

 

boundaries  

  region 1  

      start(-1,-1)  

      value(u)=u0 line to (1,-1)     FILLET(0.1)  

                  to (-0.25,-0.25)   FILLET(0.1)  

                  to (-1,1)           BEVEL(0.1)  

                  to close  

 

monitors  

  grid(x,y,z)  

  contour(u) on z=0.5  

 

plots  

  grid(x,y) on z=0.005  

  grid(x,y) on z=0.5  

  contour(u) on z=0.5  

  contour(u) on z=0.5 zoom(0.6,-1, 0.2,0.2)  

  contour(u) on z=0.5 zoom(-0.3,-0.3, 0.1,0.1)  

end