This example demonstrates how to create a mesh containing hanging nodes. By choosing a special mapping when defining coordinates, hanging nodes are detected and their degrees of freedom (including initial geometry) are mapped to the nodes of the edge of the element in which they hang.
#Example_11a Defining a mesh containing hanging nodes FEM FEM define parameters;r;example_1391;example #parameter set for # !mesh degree of freedoms to solution # !degree of freedoms mappinging FEM define coordinates;r;;example #define non-standard mapping # !for hanging nodes FEM define node;r;;example #position hanging node just inside the # !element edge on which it is to hang FEM define base;r;;example FEM define win FEM draw node FEM define element;r;;example FEM draw lines FEM change node hanging node 5 #moves hanging node to the the nearest # !element edge. As well as interpolating # !the geometry of the hanging node the # !derivatives are also interpolated FEM draw lines FEM update scale normalise #Normalises the nodal derivatives and # !recalculates the arc lengths and # !scale factors FEM draw lines FEM
fem list node
Name Modified Size
example_1391.com 20-Nov-2001 1.2k example_1391.ipbase 10-Apr-2000 1.5k example_1391.ipcoor 10-Apr-2000 976 example_1391.ipelem 10-Apr-2000 906 example_1391.ipnode 10-Apr-2000 5.0k example_1391.ippara 12-Nov-2002 5.9k test_output.com 10-Apr-2000 14
Name Modified Size
examples_1_13_139_1391.tar.gz 18-Aug-2006 16k
Status | Tested | Real time (s) | |
i686-linux | |||
cm | Success | Sun Mar 6 00:01:31 2016 | 0 |
cm-debug | Success | Sat Mar 5 00:01:51 2016 | 0 |
mips-irix | |||
cm | Success | Sun Aug 19 01:22:22 2007 | 3 |
cm-debug | Success | Wed Aug 15 01:23:44 2007 | 4 |
cm-debug-clear-malloc | Success | Sat Aug 18 01:26:59 2007 | 11 |
cm-debug-clear-malloc7 | Success | Mon Aug 20 01:24:34 2007 | 11 |
cm64 | Success | Sun Aug 19 01:23:35 2007 | 3 |
cm64-debug | Success | Tue Aug 21 01:18:42 2007 | 5 |
cm64-debug-clear-malloc | Success | Thu Apr 1 10:10:01 2004 | 3 |
rs6000-aix | |||
cm | Success | Wed Mar 4 01:06:46 2009 | 1 |
cm-debug | Success | Mon Mar 2 01:06:04 2009 | 1 |
cm64 | Success | Wed Mar 4 01:06:46 2009 | 0 |
cm64-debug | Success | Tue Mar 3 01:11:33 2009 | 1 |
x86_64-linux | |||
cm | Success | Sun Mar 6 00:01:00 2016 | 0 |
cm-debug | Success | Sat Mar 5 00:01:11 2016 | 0 |
i686-linux | |||
Success | cm: | cmiss_test.log.retain. | |
Success | cm-debug: | cmiss_test.log.retain. | |
mips-irix | |||
Success | cm: | cmiss_test.log.retain. | |
Success | cm-debug: | cmiss_test.log.retain. | |
Success | cm-debug-clear-malloc: | cmiss_test.log.retain. | |
Success | cm-debug-clear-malloc7: | cmiss_test.log.retain. | |
Success | cm64: | cmiss_test.log.retain. | |
Success | cm64-debug: | cmiss_test.log.retain. | |
Success | cm64-debug-clear-malloc: | cmiss_test.log.retain. | |
rs6000-aix | |||
Success | cm: | cmiss_test.log.retain. | |
Success | cm-debug: | cmiss_test.log.retain. | |
Success | cm64: | cmiss_test.log.retain. | |
Success | cm64-debug: | cmiss_test.log.retain. | |
x86_64-linux | |||
Success | cm: | cmiss_test.log.retain. | |
Success | cm-debug: | cmiss_test.log.retain. |
i686-linux | |||
Success | cm: | ndiff test: no significant differences with generic answer. | |
Success | cm-debug: | ndiff test: no significant differences with generic answer. | |
mips-irix | |||
Success | cm: | ndiff test: no significant differences with generic answer. | |
Success | cm-debug: | ndiff test: no significant differences with generic answer. | |
Success | cm-debug-clear-malloc: | ndiff test: no significant differences with generic answer. | |
Success | cm-debug-clear-malloc7: | ndiff test: no significant differences with generic answer. | |
Success | cm64: | ndiff test: no significant differences with generic answer. | |
Success | cm64-debug: | ndiff test: no significant differences with generic answer. | |
Success | cm64-debug-clear-malloc: | ndiff test: no significant differences with generic answer. | |
rs6000-aix | |||
Success | cm: | ndiff test: no significant differences with generic answer. | |
Success | cm-debug: | ndiff test: no significant differences with generic answer. | |
Success | cm64: | ndiff test: no significant differences with generic answer. | |
Success | cm64-debug: | ndiff test: no significant differences with generic answer. | |
x86_64-linux | |||
Success | cm: | ndiff test: no significant differences with generic answer. | |
Success | cm-debug: | ndiff test: no significant differences with generic answer. |
Graphical output from this problem is given here.
Html last generated: Sun Mar 6 05:50:06 2016
Input last modified: Tue Nov 12 12:02:24 2002