Example 134: Generating a spherical BEM mesh

This example uses the 'define mesh' command to create a 3D spherical BEM mesh. The mesh uses Hermite simplex elements at the top and bottom, and standard 2D cubic Hermite elements for the middle zone.


The comfile run by this example is as follows:

#Example_134 Generating a spherical BEM mesh

fem
fem define coordinates 3,1          #Define 3D RC coordinates
fem define base;r;sphere;example        #3 basis functions.  Sector bases
#                                   !  have been set up for elements 
#                                   !  that contain three nodes.  This 
#                                   !  will be at the 'top' and 
#                                   !  'bottom' of the sphere.
fem list base                       #Lists 3 basis functions.
fem list base family 1              #Note that there are 12 basis
#                                   !  functions in basis family 1.
fem define mesh;r;;example
fem define window;c on xz
fem define window;c on xy
fem draw nodes
fem draw lines                      #Observe that nodes 10, 11, and 14
#                                   !  form one of the 'triangular' 
#                                   !  elements.
fem list nodes
fem list elements

Additional testing commands:

FEM list node
FEM list element

Files used by this example are:

Name             Modified     Size

example_134.com 10-Apr-2000 968 sphere.exelem 10-Apr-2000 12k sphere.exnode 10-Apr-2000 4.5k sphere.ipanal 10-Apr-2000 568 sphere.ipbase 10-Apr-2000 4.5k sphere.ipelem 10-Apr-2000 6.8k sphere.ipequa 26-May-2003 1.1k sphere.ipinit 10-Apr-2000 5.2k sphere.ipmate 10-Apr-2000 80 sphere.ipmesh 10-Apr-2000 1.0k sphere.ipnode 10-Apr-2000 9.6k sphere.ipsolv 15-Apr-2007 1.1k sphere.irelem 10-Apr-2000 3.5k sphere.opchks 10-Apr-2000 4.5k test_output.com 10-Apr-2000 31

Download the entire example:

Name                      Modified     Size

examples_1_13_134.tar.gz 16-Apr-2007 10k

Testing status by version:

StatusTestedReal time (s)
i686-linux
cmSuccessSun Mar 6 00:01:31 20161
cm-debugSuccessSat Mar 5 00:01:50 20161
mips-irix
cmSuccessSun Aug 19 01:26:33 20074
cm-debugSuccessWed Aug 15 01:24:56 20076
cm-debug-clear-mallocSuccessSat Aug 18 01:24:32 20078
cm-debug-clear-malloc7SuccessMon Aug 20 01:21:26 20079
cm64SuccessSun Aug 19 01:26:35 20072
cm64-debugSuccessTue Aug 21 01:20:27 20075
cm64-debug-clear-mallocSuccessThu Apr 1 10:09:59 20043
rs6000-aix
cmSuccessWed Mar 4 01:06:45 20091
cm-debugSuccessMon Mar 2 01:06:03 20092
cm64SuccessWed Mar 4 01:06:46 20090
cm64-debugSuccessTue Mar 3 01:11:33 20091
x86_64-linux
cmSuccessSun Mar 6 00:01:00 20160
cm-debugSuccessSat Mar 5 00:01:11 20161

Testing status by file:


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

Input last modified: Sun Apr 15 11:58:17 2007


CMISS Help / Examples / 1 / 13 / 134