Example ed3: 3D potential domain solution

This example demonstrates potential domain solutions in three dimensions on a spherical BEM mesh solving Laplace's equation with an analytic solution.


The comfile run by this example is as follows:

#
# Created by Martin Buist
# August 2001
#

if( !$example ) {
  $example = ".";
}

fem define para;r;$example/3dtest
fem define coord 3,1          
fem define regi;r;$example/3dtest
fem define node;r;$example/8x8
fem define node;r;$example/3dtest reg 2
fem define bas;r;$example/test
fem define elem;r;$example/8x8
fem define elem;r;$example/3dtest reg 2
fem define grid;r;$example/3dtest reg 2
fem update grid geometry reg 2
fem define equation;r;$example/bemsphere cl 1 lock
fem define equa;r;$example/3dtest cl 2 lock reg 2
fem define material;r;$example/bemsphere 
fem define anal;r;$example/bemsphere
fem define initial;g 
fem define solve;r;$example/bemsphere
fem solve

fem eval solu grid elem 101 iy 1 potential

fem export node;geom as test reg 2
fem export elem;geom as test reg 2
fem export elem;pote as test field reg 2 class 2 iy 1

Additional testing commands:



Files used by this example are:

Name              Modified     Size

example_ed3.com 04-Sep-2001 846 3dtest.ipbase 04-Sep-2001 2.4k 3dtest.ipelem 04-Sep-2001 422 3dtest.ipequa 26-May-2003 1.2k 3dtest.ipgrid 06-Mar-2003 605 3dtest.ipnode 04-Sep-2001 1.7k 3dtest.ippara 12-Nov-2002 5.9k 3dtest.ipregi 04-Sep-2001 93 8x8.ipelem 04-Sep-2001 21k 8x8.ipnode 04-Sep-2001 52k bemsphere.ipanal 04-Sep-2001 591 bemsphere.ipequa 26-May-2003 1.4k bemsphere.ipmate 04-Sep-2001 54 bemsphere.ipsolv 13-Apr-2007 1.3k geom.exelem 04-Sep-2001 3.6k geom.exnode 04-Sep-2001 1.0k pote.exelem 04-Sep-2001 15k test.ipbase 04-Sep-2001 6.8k test_output.com 04-Sep-2001 0

Download the entire example:

Name                      Modified     Size

examples_e_ed_ed3.tar.gz 14-Apr-2007 14k

Testing status by version:

StatusTestedReal time (s)
i686-linux
cmSuccessSun Mar 6 00:03:21 20162
cm-debugSuccessSat Mar 5 00:17:35 20168
mips-irix
cmSuccessSun Aug 19 01:48:37 200717
cm-debugSuccessWed Aug 15 02:19:14 2007120
cm-debug-clear-mallocSuccessSat Aug 18 02:34:10 2007122
cm-debug-clear-malloc7SuccessMon Aug 20 02:33:37 2007124
cm64SuccessSun Aug 19 01:50:08 200718
cm64-debugSuccessTue Aug 21 02:26:10 2007135
cm64-debug-clear-mallocSuccessThu Apr 1 12:29:56 200454
rs6000-aix
cmSuccessWed Mar 4 01:09:54 20093
cm-debugSuccessMon Mar 2 01:16:49 200935
cm64SuccessWed Mar 4 01:09:29 20092
cm64-debugSuccessTue Mar 3 01:20:58 200933
x86_64-linux
cmSuccessSun Mar 6 00:01:09 20161
cm-debugSuccessSat Mar 5 00:02:03 20165

Testing status by file:


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

Input last modified: Fri Apr 13 10:43:15 2007


CMISS Help / Examples / e / ed / ed3