Example b2139: 2d square (using Grid-based FE)

The standard Laplaces equation is solved on a 2d square using collocation where the elements are of different sizes.

Note: this example is identical to b2132 except that it uses the Grid-based Finite Element Method instead of Finite Differences.


The comfile run by this example is as follows:

fem define para;r;2dlaplace;example
fem define node;r;2dlaplace;example
fem define base;r;2dlaplace;example
fem define elem;r;2dlaplace;example
fem define grid;r;2dlaplace;example
fem update grid geometry
fem update grid metric
fem define equa;r;2dlaplace;example 
fem define mate;d
fem update grid material # (only use this line for standard laplace)
fem define init;d
fem define solv;r;2dlaplace;example
#fem solve

Additional testing commands:

fem solve

Files used by this example are:

Name               Modified     Size

example_b2139.com 08-Feb-2001 417 2dlaplace.ipbase 08-Feb-2001 1.1k 2dlaplace.ipelem 08-Feb-2001 1.1k 2dlaplace.ipequa 26-May-2003 1.2k 2dlaplace.ipgrid 06-Mar-2003 539 2dlaplace.ipmate 08-Feb-2001 54 2dlaplace.ipnode 08-Feb-2001 1.3k 2dlaplace.ippara 12-Nov-2002 5.9k 2dlaplace.ipsolv 13-Apr-2007 1.1k test_output.com 08-Feb-2001 10

Download the entire example:

Name                                 Modified     Size

examples_b_b2_b21_b213_b2139.tar.gz 14-Apr-2007 5.5k

Testing status by version:

StatusTestedReal time (s)
i686-linux
cmSuccessSun Mar 6 00:02:25 20160
cm-debugSuccessSat Mar 5 00:04:23 20161
mips-irix
cmSuccessSun Aug 19 01:28:02 20073
cm-debugSuccessWed Aug 15 01:25:35 20077
cm-debug-clear-mallocSuccessSat Aug 18 01:29:18 200711
cm-debug-clear-malloc7SuccessMon Aug 20 01:25:40 200711
cm64SuccessSun Aug 19 01:25:43 20073
cm64-debugSuccessTue Aug 21 01:23:55 20078
cm64-debug-clear-mallocSuccessThu Apr 1 11:19:29 20045
rs6000-aix
cmSuccessWed Mar 4 01:07:47 20091
cm-debugSuccessMon Mar 2 01:07:02 20092
cm64SuccessWed Mar 4 01:07:47 20091
cm64-debugSuccessTue Mar 3 01:12:17 20092
x86_64-linux
cmSuccessSun Mar 6 00:01:05 20160
cm-debugSuccessSat Mar 5 00:01:37 20160

Testing status by file:


Html last generated: Sun Mar 6 05:51:13 2016

Input last modified: Fri Apr 13 10:39:12 2007


CMISS Help / Examples / b / b2 / b21 / b213 / b2139