Example b21532: 2d square

The standard Laplaces equation is solved on a 2d line using collocation where the elements are of different sizes. The lattice based grid scheme is used. Compare this example to b2132, which uses the older collocation grids.


The comfile run by this example is as follows:

fem define para;r;2dlaplace
fem define node;r;2dlaplace
fem define base;r;2dlaplace
fem define elem;r;2dlaplace
fem define grid;r;2dlaplace
fem update grid geometry
fem update grid metric
fem define equa;r;2dlaplace
fem define mate;d
fem update grid material
fem define init;d
fem define solv;r;2dlaplace
fem solve
quit

Files used by this example are:

Name                Modified     Size

example_b21532.com 29-Apr-2003 320 2dlaplace.exdata 29-Apr-2003 17k 2dlaplace.exelem 29-Apr-2003 2.3k 2dlaplace.exnode 29-Apr-2003 866 2dlaplace.ipbase 29-Apr-2003 1.1k 2dlaplace.ipelem 29-Apr-2003 1.1k 2dlaplace.ipequa 26-May-2003 1.2k 2dlaplace.ipgrid 29-Apr-2003 541 2dlaplace.ipmate 29-Apr-2003 54 2dlaplace.ipnode 29-Apr-2003 1.3k 2dlaplace.ippara 29-Apr-2003 5.9k 2dlaplace.ipsolv 13-Apr-2007 1.1k

Download the entire example:

Name                                        Modified     Size

examples_b_b2_b21_b215_b2153_b21532.tar.gz 14-Apr-2007 7.1k

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

Input last modified: Fri Apr 13 10:40:05 2007


CMISS Help / Examples / b / b2 / b21 / b215 / b2153 / b21532