This example uses the command "fem update line" which corrects conflicting scale factors for a line that is shared among two or more elements. Conflicting scale factors have occured when running problems such as face fitting with multiple versions of a node and perhaps also inconsistent Xi-directions. The error (conflicting scale factors) may be caused because during the fitting not all dof's are fitted and thus the new changed values that are used by one element (vesion x) may conflict with the old value still used by another element (version y). Fem update line searches all lines in the mesh and set conflicing scale factors to the highest value. As there is not included a procedure in this example that causes this conflict (e.g. face fitting), a file with conflicting scale factors is initially read in to cause this error to occur.

Note that the line between node 104 and 109 has inconsistent Xi directions for the elements 43 (xi3) and 44 (xi1). This causes Cmgui to draw two lines which do not overlap due to the difference in scale factors. The line between nodes 109 and 110 has similar Xi directions and Cmgui draws only one line. The difference in the scale factors of this line for element 44 and 47 does thus not show up unless it is explicitly told in the command file that it should draw one line for each element for example by creating an element group for each element and draw the elements seperately. The pictures underneath show only the top faces of the 3D elements (xi2 =1) which includes the lines affected by the conflicting scale factors before and after correcting the scale factors. So far the command is only implemented for 3D cubic hermite elements.

Created by Espen Remme November 2002.