Example 13921: Laplace's equation, linear elements

This is an example of a Laplace's equation solved on a graded mesh using hanging nodes. Also in this directory is the same problem solved on the course mesh (before local refinement, course.com) and on a fine mesh (uniform refinement, fine.com).


The comfile run by this example is as follows:

fem
fem define parameters;r;graded;example

fem define coordinates;r;graded;example
fem define nodes;r;graded;example
fem define base;r;graded;example
fem define elements;r;graded;example
fem define window
fem draw lines
fem draw nodes
fem define equation;r;graded;example
fem define material;r;graded;example
fem define initial;r;graded;example
fem define solve;r;graded;example
fem solve
fem draw field
fem draw lines
fem draw nodes
fem

Files used by this example are:

Name               Modified     Size

example_13921.com 20-Nov-2001 439 course.com 10-Apr-2000 303 course.ipbase 10-Apr-2000 1.1k course.ipelem 10-Apr-2000 1.1k course.ipequa 26-May-2003 1.2k course.ipinit 10-Apr-2000 548 course.ipmate 10-Apr-2000 54 course.ipnode 10-Apr-2000 1.4k course.ipsolv 15-Apr-2007 1.1k fine.com 10-Apr-2000 290 fine.ipbase 10-Apr-2000 1.1k fine.ipelem 10-Apr-2000 4.3k fine.ipequa 26-May-2003 1.3k fine.ipinit 10-Apr-2000 564 fine.ipmate 10-Apr-2000 54 fine.ipmesh 10-Apr-2000 829 fine.ipnode 10-Apr-2000 4.2k fine.ipsolv 15-Apr-2007 1.1k graded.ipbase 10-Apr-2000 1.1k graded.ipcoor 10-Apr-2000 976 graded.ipelem 10-Apr-2000 1.9k graded.ipequa 26-May-2003 1.2k graded.ipinit 15-Feb-2001 704 graded.ipmate 10-Apr-2000 54 graded.ipnode 10-Apr-2000 2.0k graded.ippara 12-Nov-2002 5.9k graded.ipsolv 15-Apr-2007 1.1k readme 10-Apr-2000 175 test_output 10-Apr-2000 23

Download the entire example:

Name                                 Modified     Size

examples_1_13_139_1392_13921.tar.gz 16-Apr-2007 245k

Graphical output from this problem is given here.


Html last generated: Sun Mar 6 05:50:06 2016

Input last modified: Sun Apr 15 11:58:20 2007


CMISS Help / Examples / 1 / 13 / 139 / 1392 / 13921