Example ec: Hanging node test

This example illustrates the use of a hanging node to join one mesh to another (in this case a bone and muscle group from a lamb carcass). To view the results use draw_gastroc_connect.com


The comfile run by this example is as follows:

#Example ec.  Shows how to create a hanging node and join it on
#to another element.  Use draw_gastroc_connect.com to view the results
fem
fem de para;r;right_leg;example
fem def coor;r;gastroc_connect;example
fem def node;r;gastroc_connect;example
fem def bas;r;right_leg;example
fem def elem;r;gastroc_connect;example

#Creat a node at the connection point.  Can get the xi coordinates
#by projecting a data point onto the element.

fem define node;c hanging element 338 Xi 0.6,0.7

fem def node;w;gastroc_connect_newnode

#Get new element file
fem can eleme
fem def elem;r;gastroc_connect_newelem;example

Additional testing commands:

fem group nodes 31..60 as gastroc
fem group nodes 374..384 as tarsal1

fem group elements 25..48 as gastroc
fem group elements 329..340 as tarsal1
fem group elements 341..346 as connection

fem export nodes;gastroc node gastroc as gastroc_model 
fem export elem;gastroc element gastroc as gastroc_model 

fem export nodes;tarsal1 node tarsal1 as tarsal1_model
fem export elem;tarsal1 elem tarsal1 as tarsal1_model

fem export elem;connection elem connection as connection

Files used by this example are:

Name                            Modified     Size

example_ec.com 13-Jun-2001 608 draw_test.com 09-Nov-2001 657 gastroc_connect.ipcoor 10-Apr-2000 570 gastroc_connect.ipelem 10-Apr-2000 13k gastroc_connect.ipnode 10-Apr-2000 36k gastroc_connect_newelem.ipelem 10-Apr-2000 15k gastroc_renumbered.ipelem 10-Apr-2000 7.9k readme.txt 10-Apr-2000 322 right_leg.ipbase 10-Apr-2000 7.7k right_leg.ippara 12-Nov-2002 5.8k tarsal1_renumbered.ipelem 10-Apr-2000 4.4k tarsal1_renumbered.ipnode 10-Apr-2000 9.4k test_output.com 10-Apr-2000 472

Download the entire example:

Name                  Modified     Size

examples_e_ec.tar.gz 19-Aug-2006 23k

Testing status by version:

StatusTestedReal time (s)
i686-linux
cmSuccessSun Mar 6 00:02:48 20161
cm-debugSuccessSat Mar 5 00:04:48 20161
mips-irix
cmSuccessSun Aug 19 01:28:49 20073
cm-debugSuccessWed Aug 15 01:24:49 20077
cm-debug-clear-mallocSuccessSat Aug 18 01:37:02 200718
cm-debug-clear-malloc7FailureTue Aug 21 03:10:35 200716
last breakTue Apr 11 01:45:00 200615
cm64SuccessSun Aug 19 01:28:13 20074
cm64-debugSuccessTue Aug 21 01:22:30 20078
cm64-debug-clear-mallocSuccessThu Apr 1 12:28:15 20045
rs6000-aix
cmSuccessWed Mar 4 01:08:27 20091
cm-debugSuccessMon Mar 2 01:06:30 20091
cm64SuccessWed Mar 4 01:08:27 20091
cm64-debugSuccessTue Mar 3 01:12:01 20091
x86_64-linux
cmSuccessSun Mar 6 00:01:08 20161
cm-debugSuccessSat Mar 5 00:01:38 20160

Testing status by file:


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

Input last modified: Tue Nov 12 12:50:40 2002


CMISS Help / Examples / e / ec