Example 219a: Read in full 3D geometry from input files and draw cross-section


The comfile run by this example is as follows:

#Example 219a Read in full 3D mesh from input files and draw cross-section                                                                                      

fem assign;p HEART              #type in the heart number you wish to work                                                          
#                                with (02 in this example)                                                                          
fem define coordinates;r;h00;doc#reads coordinate system definitions from                                                           
#                                file for standard prolate spheroid                                                                 
fem define base;r;h00_my_sfread;example                                                                                                 
#                               !reads basis function definitions                                                                   
fem define elements;r;h00_my;doc#reads element definitions                                                                          

# Command updated by fixcom.sh on Wed Aug 23 17:48:05 NZT 2000
# Old command: fem define node;H//HEART//_my   #reads node definitions                                                                             
fem define node;HHEART_my #reads node definitions


# Command updated by fixcom.sh on Wed Aug 23 17:48:05 NZT 2000
# Old command: fem define line;r;h00_my_ed//HEART;example                                                                                              
fem define line;r;h00_my_edHEART;example

#                               !reads line definitions from file                                                                   
fem define window;c on 1,2      #calculates window size                                                                             
fem draw line on 1,2            #draws the mesh                                                                                     
fem draw axes x=30..70:10 on 1                                                                                                  
#                               !draws axes on window 1                                                                           
fem ca lines on 2               #removes mesh lines from window 2                                                                   
fem define cross-section x=20   #draws a cross-section at x=20                                                                                  
fem quit

Files used by this example are:

Name              Modified     Size

example_219a.com 24-Aug-2000 2.5k

Download the entire example:

Name                           Modified     Size

examples_2_21_219_219a.tar.gz 19-Aug-2006 1.3k

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

Input last modified: Thu Aug 24 19:25:16 2000


CMISS Help / Examples / 2 / 21 / 219 / 219a