Example 342: 17x17 point mesh f=1 k11=1 k22=1


The comfile run by this example is as follows:

#Example_3412 Multigrid collocation solution of div(kGradu)=f
 
fem de para;r;mg_square4;example

fem de node;r;mg_square4;example  #9 nodes
fem de base;r;;example            #bilinear + extended basis with 9*9 pts
fem de elem;r;;example            #4 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=1
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 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_342.com 20-Nov-2001 942 mg_square4.ipbase 10-Apr-2000 2.1k mg_square4.ipelem 10-Apr-2000 1.3k mg_square4.ipelfb 10-Apr-2000 640 mg_square4.ipequa 26-May-2003 1.1k mg_square4.ipfibr 30-Jan-2001 1.1k mg_square4.ipgrid 06-Mar-2003 790 mg_square4.ipinit 10-Apr-2000 386 mg_square4.ipmate 10-Apr-2000 848 mg_square4.ipnode 10-Apr-2000 1.7k mg_square4.ippara 12-Nov-2002 5.9k mg_square4.ipsolv 13-Apr-2007 1.2k test_output.com 10-Apr-2000 40

Download the entire example:

Name                      Modified     Size

examples_3_34_342.tar.gz 14-Apr-2007 8.2k

Testing status by version:

StatusTestedReal time (s)
i686-linux
cmSuccessSun Mar 6 00:01:52 20161
cm-debugSuccessSat Mar 5 00:02:08 20160
mips-irix
cmSuccessSun Aug 19 01:26:04 20074
cm-debugSuccessWed Aug 15 01:24:28 20076
cm-debug-clear-mallocSuccessSat Aug 18 01:30:01 200712
cm-debug-clear-malloc7SuccessMon Aug 20 01:27:55 200713
cm64SuccessSun Aug 19 01:27:29 20073
cm64-debugSuccessTue Aug 21 01:22:58 20076
cm64-debug-clear-mallocSuccessThu Apr 1 10:13:36 20044
rs6000-aix
cmSuccessWed Mar 4 01:07:09 20091
cm-debugSuccessMon Mar 2 01:06:56 20092
cm64SuccessWed Mar 4 01:07:09 20091
cm64-debugSuccessTue Mar 3 01:11:53 20091
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:49 2007


CMISS Help / Examples / 3 / 34 / 342