Example b211x: Simple 2d simulation using Grid based FEM and AMG solver

This example is a simple 2d box which is solved with a time integration parameter of 0.5 using a cubic ionic current model. This example uses the Grid-based Finite Element method.

The solver used for this example is the serial version of Algebraic Multigrid with some OpenMP directives.


The comfile run by this example is as follows:

#Example b211t
# ------------
fem define para;r;box;example
fem define coor;r;box;example

fem define node;r;box;example
fem define base;r;box;example
fem define elem;r;box;example

fem define fibr;d
fem define elem;r;box;example fibre

fem define grid;r;box;example
fem update grid geometry
fem group grid external as boundary
fem define equa;r;box;example
fem group grid xi1=low as stimulus

fem define mate;r;box;example
fem define cell;r;box;example
fem define init;r;box;example
fem define solv;r;boxamg;example
fem solve to 0

fem def win

for $M ( 0..9 ) 
{
fem solve restart to $M
fem draw field grid 1 zmin=-85 zmax=40
fem dr grid 
refresh graphics
}

Additional testing commands:

fem list grid yq index v

Files used by this example are:

Name               Modified     Size

example_b211x.com 10-Jan-2005 660 box.ipbase 10-Jan-2005 1.1k box.ipcell 10-Jan-2005 1.7k box.ipcoor 10-Jan-2005 858 box.ipelem 10-Jan-2005 336 box.ipelfb 10-Jan-2005 225 box.ipequa 10-Jan-2005 1.5k box.ipgrid 12-Jun-2005 538 box.ipinit 10-Jan-2005 508 box.ipmate 10-Jan-2005 1.7k box.ipnode 10-Jan-2005 820 box.ippara 12-Jun-2005 5.9k boxamg.ipsolv 13-Apr-2007 2.0k test_output.com 10-Jan-2005 25

Download the entire example:

Name                                 Modified     Size

examples_b_b2_b21_b211_b211x.tar.gz 14-Apr-2007 12k

Testing status by version:

StatusTestedReal time (s)
i686-linux
cmFailureSun Mar 6 00:06:58 20160
last breakSun Apr 15 01:44:00 20072
last successSun Apr 8 01:11:00 20074
cm-debugFailureSun Mar 6 00:06:59 20161
last breakSat Apr 14 01:46:00 20073
last successFri Apr 13 01:17:00 20076
mips-irix
cmFailureTue Aug 21 01:35:19 20075
last breakTue Apr 17 01:57:00 20076
last successThu Apr 12 01:38:00 20078
cm-debugFailureTue Aug 21 02:07:11 200721
last breakWed Apr 18 01:56:00 200718
last successWed Apr 11 01:33:00 200731
cm-debug-clear-mallocFailureTue Aug 21 02:08:03 200724
last breakTue Apr 17 03:10:00 200722
last successSat Apr 7 01:38:00 200735
cm-debug-clear-malloc7FailureTue Aug 21 02:28:29 200724
last breakTue Apr 17 03:04:00 200722
last successMon Apr 9 01:36:00 200735
cm64FailureTue Aug 21 01:37:22 20076
last breakTue Apr 17 02:08:00 20075
last successThu Apr 12 01:37:00 20078
cm64-debugFailureTue Aug 21 02:14:54 200721
last breakTue Apr 17 02:55:00 200722
last successFri Apr 13 01:34:00 200730
rs6000-aix
cmFailureWed Mar 4 01:10:29 20091
last breakTue Apr 17 02:17:00 20070
last successWed Apr 11 02:08:00 20071
cm-debugFailureWed Mar 4 01:15:23 20094
last breakThu Sep 13 02:09:00 20074
cm64FailureWed Mar 4 01:10:29 20091
last breakTue Apr 17 02:17:00 20071
last successWed Apr 11 02:08:00 20071
cm64-debugFailureWed Mar 4 01:15:17 20094
last breakThu Sep 13 02:09:00 20074
x86_64-linux
cmFailureSun Mar 6 00:01:38 20160
last breakMon Apr 16 01:27:00 20071
last successSun Apr 8 01:07:00 20071
cm-debugFailureSun Mar 6 00:01:38 20160
last breakSat Apr 14 01:32:00 20072
last successFri Apr 13 01:09:00 20072

Testing status by file:


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

Input last modified: Fri Apr 13 10:38:18 2007


CMISS Help / Examples / b / b2 / b21 / b211 / b211x