Example b2121: Small implicit 2d bidomain strip

Example b2121 - bidomain This example solves the bidomain equations on a 2d domain. The equations are solved implicitly and the Fitzhugh Nagumo ionic current model is used. Solution is by sparse LU factorisation and there are 9*9 grid points per element.


The comfile run by this example is as follows:

fem define para;r;biline;example

fem define node;r;biline;example
fem define base;r;biline;example
fem define elem;r;biline;example
fem define grid;r;biline;example
fem update grid geometry
fem update grid metric
fem group grid external as boundary
fem define equa;r;biline;example class 1,2
fem define mate;r;biline;example class 1,2
fem define cell;r;biline;example class 1,2
fem update grid material class 1,2
fem define init;r;biline;example class 1,2
fem define solv;r;biline;example class 1
fem define solv;r;biline2;example class 2
fem define window
fem solve to 0 class 1,2


# Command updated by fixcom.sh on Wed Aug 23 17:50:05 NZT 2000
# Old command: DO M=0..9
for $M ( 0..9 ) 
{

fem solve restart to $M class 1,2
fem draw field grid 1 zmin=-20 zmax=2 noscale class 2
refresh graphics

# Command updated by fixcom.sh on Wed Aug 23 17:50:05 NZT 2000
# Old command: ENDDO
}


Additional testing commands:

fem list grid yq index v grid 150..200 class 1
fem list grid yq index v grid 150..200 class 2

Files used by this example are:

Name                    Modified     Size

example_b2121.com 20-Nov-2001 887 biline.ipbase 10-Apr-2000 1.1k biline.ipcell 10-Apr-2000 3.4k biline.ipelem 10-Apr-2000 2.6k biline.ipequa 26-May-2003 1.4k biline.ipgrid 06-Mar-2003 1.3k biline.ipinit 10-Apr-2000 2.3k biline.ipmate 10-Apr-2000 1.7k biline.ipmate_cell_old 10-Apr-2000 5.2k biline.ipnode 10-Apr-2000 2.8k biline.ippara 12-Nov-2002 5.9k biline.ipsolv 13-Apr-2007 1.8k biline.ipsolv.old 10-Apr-2000 1.4k biline2.ipsolv 13-Apr-2007 1.8k biline2.ipsolv.old 10-Apr-2000 1.4k test_output.com 19-Apr-2001 94

Download the entire example:

Name                                 Modified     Size

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

Testing status by version:

StatusTestedReal time (s)
i686-linux
cmSuccessSun Mar 6 00:02:19 20160
cm-debugSuccessSat Mar 5 00:05:52 20162
mips-irix
cmSuccessSun Aug 19 01:40:19 200711
cm-debugSuccessWed Aug 15 01:48:20 200750
cm-debug-clear-mallocSuccessSat Aug 18 02:01:57 200771
cm-debug-clear-malloc7SuccessMon Aug 20 01:53:49 200763
cm64SuccessSun Aug 19 01:41:33 200711
cm64-debugSuccessTue Aug 21 01:50:59 200759
cm64-debug-clear-mallocSuccessThu Apr 1 11:17:06 200426
rs6000-aix
cmSuccessWed Mar 4 01:08:43 20091
cm-debugSuccessMon Mar 2 01:10:15 200910
cm64SuccessWed Mar 4 01:08:43 20091
cm64-debugSuccessTue Mar 3 01:15:40 200910
x86_64-linux
cmSuccessSun Mar 6 00:01:05 20160
cm-debugSuccessSat Mar 5 00:01:42 20161

Testing status by file:


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

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


CMISS Help / Examples / b / b2 / b21 / b212 / b2121