Example b21531: 1d line

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


The comfile run by this example is as follows:

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

Files used by this example are:

Name                Modified     Size

example_b21531.com 29-Apr-2003 320 1dlaplace.ipbase 29-Apr-2003 893 1dlaplace.ipelem 29-Apr-2003 820 1dlaplace.ipequa 26-May-2003 1.2k 1dlaplace.ipgrid 29-Apr-2003 473 1dlaplace.ipinit 29-Apr-2003 241 1dlaplace.ipmate 29-Apr-2003 54 1dlaplace.ipnode 29-Apr-2003 798 1dlaplace.ippara 29-Apr-2003 5.9k 1dlaplace.ipsolv 13-Apr-2007 1.1k

Download the entire example:

Name                                        Modified     Size

examples_b_b2_b21_b215_b2153_b21531.tar.gz 14-Apr-2007 4.6k

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

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


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