Example b2115: Exporting a 2d grid solution to Unemap

This example solves a simple 2d activation problem and then exports the resulting yq history to Unemap. The histories are stored in a history file.


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
fem define mate;r;biline;example
fem define cell;r;biline;example
fem update grid material
fem define init;r;biline;example
fem define solv;r;biline;example
fem define window
fem solve to 0
fem open hist;biline write yq niqlist 1 binary


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

fem solve restart to $M
fem draw field grid 1 zmin=-120 zmax=20 noscale
refresh graphics
fem write history time $M yq binary

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



fem close hist binary

fem eval elec;biline history biline from grid binary
fem de expo;r;biline;example
fem expo signal;biline elec signal biline

Additional testing commands:

fem list expo
fem list grid yq index v grid 10..25

Files used by this example are:

Name                    Modified     Size

example_b2115.com 20-Nov-2001 992 biline.binhis 10-Apr-2000 405k biline.binsig 10-Apr-2000 54k 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.ipexpo 10-Apr-2000 661 biline.ipgrid 06-Mar-2003 1.3k biline.ipinit 10-Apr-2000 2.0k 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 biline.signal 10-Apr-2000 56k test_output.com 23-Apr-2001 51

Download the entire example:

Name                                 Modified     Size

examples_b_b2_b21_b211_b2115.tar.gz 14-Apr-2007 85k

Testing status by version:

StatusTestedReal time (s)
i686-linux
cmSuccessSun Mar 6 00:02:13 20160
cm-debugSuccessSat Mar 5 00:05:22 20162
mips-irix
cmSuccessSun Aug 19 01:36:26 20078
cm-debugSuccessWed Aug 15 01:40:53 200737
cm-debug-clear-mallocSuccessSat Aug 18 01:51:43 200745
cm-debug-clear-malloc7SuccessMon Aug 20 01:47:59 200745
cm64SuccessSun Aug 19 01:35:03 20078
cm64-debugSuccessTue Aug 21 01:44:33 200746
cm64-debug-clear-mallocSuccessThu Apr 1 11:10:56 200419
rs6000-aix
cmSuccessWed Mar 4 01:07:37 20092
cm-debugSuccessMon Mar 2 01:09:12 20097
cm64SuccessWed Mar 4 01:07:37 20092
cm64-debugSuccessTue Mar 3 01:14:56 20098
x86_64-linux
cmSuccessSun Mar 6 00:01:04 20160
cm-debugSuccessSat Mar 5 00:01:36 20161

Testing status by file:


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

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


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