Example 122: Defining a 3D cylindrical polar mesh


The comfile run by this example is as follows:

#Example_122  Defining a 3D cylindrical polar mesh                     
                                                                       
fem                            #set the FEM environment                
fem define coordinates;r;3dcpmesh;example  #defines 3D cylindrical polar
#                              !  coordinates, r^2 interpolation       
fem define nodes;r;;example        #defines 4 nodes for a 3D cylindrical 
#                              !  shell                              
fem define bases;r;;example        #defines 1)trilinear & 2) bilinear bases
fem define element;r;;example      #defines 1 element                    
fem define window;p on xz      #define window with -2 to 2 range for 
#                              !  xz view                             
fem define window;p on xy      #define window with -2 to 2 range for 
#                              !  xy view                            
fem define window;p on yz      #define window with -2 to 2 range for 
#                              !  yz view                            
fem draw axes                  #                                      
fem draw nodes                 #drawn on all three windows           
fem draw lines                 #                                     

Files used by this example are:

Name             Modified     Size

example_122.com 10-Apr-2000 1.3k 3dcpmesh.ipbase 10-Apr-2000 2.5k 3dcpmesh.ipcoor 10-Apr-2000 680 3dcpmesh.ipelem 10-Apr-2000 447 3dcpmesh.ipnode 10-Apr-2000 1.1k 3dcpmesh.ipwind 10-Apr-2000 349

Download the entire example:

Name                      Modified     Size

examples_1_12_122.tar.gz 18-Aug-2006 2.4k

Html last generated: Sun Mar 6 05:50:04 2016

Input last modified: Mon Apr 10 17:20:12 2000


CMISS Help / Examples / 1 / 12 / 122