Example 343: 33x33 point mesh f=1 k11=1 k22=5


The comfile run by this example is as follows:

#Example_3413 Multigrid colloc soln of div(kGradu)=f on 16 elements
 
fem de para;r;mg_square16;example

fem de node;r;mg_square16;example  #25 nodes
fem de base;r;;example             #bilinear + extended basis with 9*9 pts
fem de elem;r;;example             #16 element
fem de fibr;r;;example
fem de elem;r;;example fibre
fem de grid;r;;example
fem update grid geom
fem update grid metric level 1
fem define equation;r;;example     #div(k.grad(u))=f
fem de window
fem dr lines
fem group grid external as bdry
fem define material;r;;example     #f=1, k11=1, k22=5
fem update grid material
fem de init;r;;example             #bdry pts =0
fem de solv;r;;example
fem dr grid level 1            #multigrid level 1 (fine grid)
fem dr grid level 2            #multigrid level 2 (coarse grid)
fem dr grid level 3            #multigrid level 3 (coarse grid)
fem dr grid level 4            #multigrid level 4 (coarse grid)
fem dr grid level 5            #multigrid level 5 (coarse grid)
fem solve
fem list initial
fem dr grid values

Additional testing commands:

fem list grid grid 1..100
fem list init

Files used by this example are:

Name                Modified     Size

example_343.com 20-Nov-2001 1.0k mg_square16.ipbase 10-Apr-2000 2.1k mg_square16.ipelem 10-Apr-2000 5.0k mg_square16.ipelfb 10-Apr-2000 2.3k mg_square16.ipequa 26-May-2003 1.1k mg_square16.ipfibr 30-Jan-2001 2.3k mg_square16.ipgrid 06-Mar-2003 1.8k mg_square16.ipinit 10-Apr-2000 386 mg_square16.ipmate 10-Apr-2000 830 mg_square16.ipnode 10-Apr-2000 4.2k mg_square16.ippara 12-Nov-2002 5.9k mg_square16.ipsolv 13-Apr-2007 1.2k test_output.com 10-Apr-2000 40

Download the entire example:

Name                      Modified     Size

examples_3_34_343.tar.gz 14-Apr-2007 13k

Testing status by version:

StatusTestedReal time (s)
i686-linux
cmSuccessSun Mar 6 00:01:52 20160
cm-debugSuccessSat Mar 5 00:02:08 20160
mips-irix
cmSuccessSun Aug 19 01:29:56 20074
cm-debugSuccessWed Aug 15 01:26:29 20079
cm-debug-clear-mallocSuccessSat Aug 18 01:33:15 200716
cm-debug-clear-malloc7SuccessMon Aug 20 01:30:12 200716
cm64SuccessSun Aug 19 01:30:44 20074
cm64-debugSuccessTue Aug 21 01:24:51 20079
cm64-debug-clear-mallocSuccessThu Apr 1 10:13:40 20045
rs6000-aix
cmSuccessWed Mar 4 01:07:10 20091
cm-debugSuccessMon Mar 2 01:07:16 20092
cm64SuccessWed Mar 4 01:07:10 20091
cm64-debugSuccessTue Mar 3 01:12:09 20092
x86_64-linux
cmSuccessSun Mar 6 00:01:02 20160
cm-debugSuccessSat Mar 5 00:01:13 20160

Testing status by file:


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

Input last modified: Fri Apr 13 10:32:51 2007


CMISS Help / Examples / 3 / 34 / 343