Example b2116: Simple 3d cube simulation

This example is a simple 3d cube with one element which is solvede implicitly using the cubic ionic current model.

The comfile run by this example is as follows:

fem define para;r;cube;example

fem define coor;r;cube;example
fem define node;r;cube;example
fem define base;r;cube;example
fem define elem;r;cube;example
fem define fibr;d
fem define elem;r;cube;example fibre
fem define grid;r;cube;example
fem update grid geometry
fem update grid metric
fem group grid external as boundary
fem define equa;r;cube;example
fem define mate;r;cube;example
fem define cell;r;cube;example
fem update grid material
fem define init;r;cube;example
fem define solv;r;cube;example
fem solve to 0

#Used to view in cmgui
fem export grid;test potential offset_node 10000 surface

#New cmgui output
fem export node;3dcube
fem export elem;3dcube

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

fem solve restart to $M

# Command updated by fixcom.sh on Wed Aug 23 17:49:46 NZT 2000
# Old command: fem export point;file_1//$M grid potential
fem export point;file_1$M grid potential

# Command updated by fixcom.sh on Wed Aug 23 17:49:46 NZT 2000
# Old command: fem export elem;gridfield_1//$M field
fem export elem;gridfield_1$M field

# Command updated by fixcom.sh on Wed Aug 23 17:49:46 NZT 2000
# Old command: ENDDO

#See draw.com to view results

Additional testing commands:

fem list grid yq index v grid 100..250

Files used by this example are:

Name                  Modified     Size

example_b2116.com 20-Nov-2001 1.2k cube.ipbase 10-Apr-2000 2.4k cube.ipcell 10-Apr-2000 1.7k cube.ipcoor 10-Apr-2000 570 cube.ipelem 10-Apr-2000 404 cube.ipelfb 10-Apr-2000 233 cube.ipequa 26-May-2003 1.5k cube.ipgrid 06-Mar-2003 600 cube.ipinit 10-Apr-2000 872 cube.ipmate 10-Apr-2000 1.7k cube.ipmate_cell_old 10-Apr-2000 3.5k cube.ipnode 10-Apr-2000 1.8k cube.ippara 12-Nov-2002 5.9k cube.ipsolv 13-Apr-2007 1.8k cube.ipsolv.old 10-Apr-2000 1.4k draw.com 20-Nov-2001 2.1k file_10.exnode 10-Apr-2000 49k file_11.exnode 10-Apr-2000 49k file_12.exnode 10-Apr-2000 49k file_13.exnode 10-Apr-2000 49k file_14.exnode 10-Apr-2000 49k file_15.exnode 10-Apr-2000 49k file_16.exnode 10-Apr-2000 49k file_17.exnode 10-Apr-2000 49k file_18.exnode 10-Apr-2000 49k file_19.exnode 10-Apr-2000 49k newcube.exelem 10-Apr-2000 9.2k newcube.exnode 10-Apr-2000 2.1k test.exelem 10-Apr-2000 128k test_output.com 23-Apr-2001 39

Download the entire example:

Name                                 Modified     Size

examples_b_b2_b21_b211_b2116.tar.gz 14-Apr-2007 77k

Testing status by version:

StatusTestedReal time (s)
cmSuccessSun Mar 6 00:02:13 20161
cm-debugSuccessSat Mar 5 00:05:22 20162
cmSuccessSun Aug 19 01:37:09 20079
cm-debugSuccessWed Aug 15 01:40:14 200736
cm-debug-clear-mallocSuccessSat Aug 18 01:49:34 200743
cm-debug-clear-malloc7SuccessMon Aug 20 01:48:01 200743
cm64SuccessSun Aug 19 01:38:04 20078
cm64-debugSuccessTue Aug 21 01:41:43 200741
cm64-debug-clear-mallocSuccessThu Apr 1 11:10:59 200418
cmSuccessWed Mar 4 01:08:09 20092
cm-debugSuccessMon Mar 2 01:09:12 20097
cm64SuccessWed Mar 4 01:08:34 20092
cm64-debugSuccessTue Mar 3 01:14:58 20098
cmSuccessSun Mar 6 00:01:04 20160
cm-debugSuccessSat Mar 5 00:01:42 20161

Testing status by file:

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

Input last modified: Fri Apr 13 10:37:46 2007

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