Example 132: Generating a circular FEM mesh

This example uses the 'define mesh' command to create a 2D circular FEM mesh.


The comfile run by this example is as follows:

#Example_132  Generating a circular FEM mesh

fem
fem define base;r;circmesh;example #defines a bilinear basis function
fem define mesh;r;circmesh;example #define a circular finite element 
#                                  !  mesh with 32 elements around
#                                  !  each circle.
fem define window;c                #open a graphics window to fit the
#                                  !  circular mesh.
fem draw nodes                     #draw the node numbers in their
#                                  !  positions.
fem draw elements                  #draw the element numbers.
fem draw lines                     #draw the element lines.

Additional testing commands:

FEM list node
FEM list element

Files used by this example are:

Name             Modified     Size

example_132.com 10-Apr-2000 669 circmesh.ipbase 10-Apr-2000 1.1k circmesh.ipmesh 10-Apr-2000 765 test_output.com 10-Apr-2000 31

Download the entire example:

Name                      Modified     Size

examples_1_13_132.tar.gz 18-Aug-2006 5.6k

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:24:03 20072
cm-debugSuccessWed Aug 15 01:20:23 20074
cm-debug-clear-mallocSuccessSat Aug 18 01:22:49 20078
cm-debug-clear-malloc7SuccessMon Aug 20 01:20:29 20077
cm64SuccessSun Aug 19 01:22:18 20072
cm64-debugSuccessTue Aug 21 01:18:16 20075
cm64-debug-clear-mallocSuccessThu Apr 1 10:09:56 20042
rs6000-aix
cmSuccessWed Mar 4 01:06:44 20091
cm-debugSuccessMon Mar 2 01:06:03 20092
cm64SuccessWed Mar 4 01:06:45 20091
cm64-debugSuccessTue Mar 3 01:12:01 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:58 2002


CMISS Help / Examples / 1 / 13 / 132