Example b2138: 2d annulus- flux bc

The standard Laplaces equation is solved on a 2d annulus using collocation where the elements are the same size but different collocation schemes. This example is similar to b2134 but uses flux boundary conditions and demonstrates the list grid errors command.


The comfile run by this example is as follows:

fem define para;r;2dlaplace;example
fem define node;r;2dlaplace;example
fem define base;r;2dlaplace;example
fem define elem;r;2dlaplace;example
fem define grid;r;2dlaplace;example
fem update grid geometry
fem update grid metric
fem define equa;r;2dlaplace;example 
fem define mate;d
fem update grid material
fem define init;d
fem define solv;r;2dlaplace;example
#fem solve

Additional testing commands:

fem solve
fem list grid error RMS NIDS potential flux arc_length inner 5 outer 10

Files used by this example are:

Name               Modified     Size

example_b2138.com 10-Apr-2000 373 2dlaplace.ipbase 10-Apr-2000 1.5k 2dlaplace.ipelem 10-Apr-2000 1.1k 2dlaplace.ipequa 26-May-2003 1.2k 2dlaplace.ipgrid 11-Mar-2003 1.6k 2dlaplace.ipmate 10-Apr-2000 54 2dlaplace.ipnode 10-Apr-2000 2.8k 2dlaplace.ippara 12-Nov-2002 5.9k 2dlaplace.ipsolv 13-Apr-2007 1.1k test_output.com 10-Apr-2000 82

Download the entire example:

Name                                 Modified     Size

examples_b_b2_b21_b213_b2138.tar.gz 14-Apr-2007 6.1k

Testing status by version:

StatusTestedReal time (s)
i686-linux
cmSuccessSun Mar 6 00:02:25 20160
cm-debugSuccessSat Mar 5 00:04:23 20161
mips-irix
cmSuccessSun Aug 19 01:27:20 20074
cm-debugSuccessWed Aug 15 01:25:26 20077
cm-debug-clear-mallocSuccessSat Aug 18 01:35:02 200717
cm-debug-clear-malloc7SuccessMon Aug 20 01:32:28 200718
cm64SuccessSun Aug 19 01:28:01 20073
cm64-debugSuccessTue Aug 21 01:23:54 20079
cm64-debug-clear-mallocSuccessThu Apr 1 11:19:24 20045
rs6000-aix
cmSuccessWed Mar 4 01:07:47 20091
cm-debugSuccessMon Mar 2 01:07:02 20092
cm64SuccessWed Mar 4 01:07:47 20091
cm64-debugSuccessTue Mar 3 01:12:16 20092
x86_64-linux
cmSuccessSun Mar 6 00:01:05 20160
cm-debugSuccessSat Mar 5 00:01:37 20160

Testing status by file:


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

Input last modified: Fri Apr 13 10:39:10 2007


CMISS Help / Examples / b / b2 / b21 / b213 / b2138