Example 133: Generating a circular BEM mesh

This example uses the 'define mesh' command to create a 2D circular BEM mesh (ie using line elements).


The comfile run by this example is as follows:

#Example_133  Generating a circular BEM mesh
 
fem
fem define base;r;circbemesh;example   #define a BE Lagrange/Hermite basis
#                                  !  function with one Xi direction.
fem define mesh;r;;example             #define a circular BE mesh with 20
#                                  !  elements.
fem define window;c                #open a graphics window to fit the
#                                  !  circular mesh.
fem draw nodes                     #draw the node numbers around the
#                                  !  mesh.
fem draw lines                     #draw the element lines.
fem draw elements                  #draw elements.
#                                  !  Note that for the BEM mesh the
#                                  !  elements lie around the
#                                  !  circumference of the circle.
#                                  !  Compare this with the circular
#                                  !  FEM mesh in example_132.

Additional testing commands:

FEM list node
FEM list element

Files used by this example are:

Name               Modified     Size

example_133.com 10-Apr-2000 995 circbemesh.ipbase 10-Apr-2000 855 circbemesh.ipmesh 10-Apr-2000 735 test_output.com 10-Apr-2000 31

Download the entire example:

Name                      Modified     Size

examples_1_13_133.tar.gz 18-Aug-2006 3.8k

Testing status by version:

StatusTestedReal time (s)
i686-linux
cmSuccessSun Mar 6 00:01:30 20160
cm-debugSuccessSat Mar 5 00:01:49 20160
mips-irix
cmSuccessSun Aug 19 01:21:55 20073
cm-debugSuccessWed Aug 15 01:19:52 20074
cm-debug-clear-mallocSuccessSat Aug 18 01:22:39 20078
cm-debug-clear-malloc7SuccessMon Aug 20 01:20:13 20077
cm64SuccessSun Aug 19 01:21:59 20073
cm64-debugSuccessTue Aug 21 01:19:13 20074
cm64-debug-clear-mallocSuccessThu Apr 1 10:09:57 20042
rs6000-aix
cmSuccessWed Mar 4 01:06:45 20091
cm-debugSuccessMon Mar 2 01:06:03 20092
cm64SuccessWed Mar 4 01:06:45 20091
cm64-debugSuccessTue Mar 3 01:12:02 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: Tue Jul 9 00:14:47 2002


CMISS Help / Examples / 1 / 13 / 133