Difference between revisions of "Element Types"

From OSUPDOCS
Jump to navigation Jump to search
Line 20: Line 20:


where <tt>(elem)</tt> is a number or name from the [[#FEA Element Types|above list]]. Once an element is selected, it remains the element used for all subsequent [[Area Command|Area commands]]. If no <tt>Element</tt> command has be used, FEA calculations will default to "8 Node Quadrilateral" elements.
where <tt>(elem)</tt> is a number or name from the [[#FEA Element Types|above list]]. Once an element is selected, it remains the element used for all subsequent [[Area Command|Area commands]]. If no <tt>Element</tt> command has be used, FEA calculations will default to "8 Node Quadrilateral" elements.
When using triangular elements (type 1 and 4), quadrilateral areas meshed using the [[Area Command]] first meshes the area into quadrilaterals and then creates triangular elements by dividing each quadrilaterals along its diagonal. To determine which diagonal in used, you can use the <tt>FlipTriangles</tt> command: into triangular elements.
The command to flip triangles is
FlipTriangles <(option)>
where <tt>(option)</tt> is <tt>yes</tt> or <tt>no</tt> to flip or not flip the triangles. This argument is optional. If it is omitted, the command will toggle the previous setting for triangle flipping. The initial value is always <tt>no</tt>.
This command takes effect when [[Area Command|areas]] defined by four paths are meshed into trangular elements. Triangular elements are created by meshing the area in to quadrilaterals and then dividing each quadrilaterals along its diagonal. The flip triangles option determines which diagonal is used. Any new setting by a <tt>FlipTriangles</tt> command remains in effect until it is changed by another <tt>FlipTriangles</tt> command.


== XML Input Files ==
== XML Input Files ==


In <tt>XML</tt> input files, the first [[Area Command#XML Area Block|<tt><Area></tt> block]] must define an element <tt>type</tt> in an attribute and refer to it by number from the  [[#FEA Element Types|above list]]. Subsequent <tt><Area></tt> blocks can omit the <tt>type</tt> attribute unless the element type is changed to have an analysis with mixed elements.
In <tt>XML</tt> input files, the first [[Area Command#XML Area Block|<tt><Area></tt> block]] must define an element <tt>type</tt> in an attribute and refer to it by number from the  [[#FEA Element Types|above list]]. Subsequent <tt><Area></tt> blocks can omit the <tt>type</tt> attribute unless the element type is changed to have an analysis with mixed elements. For triangular elements, the diagonals are flipped using a <tt>flip</tt> attribute on the [[Area Command#XML Area Block|<tt><Area></tt>]] command instead of using a separate <tt>FlipTriangles</tt> command.


== Notes ==
== Notes ==

Revision as of 23:13, 10 September 2013

This page lists the elements that can be used in FEA calculations

FEA Element Types

The following elements are currently available in NairnFEA:

  • 1 or "3 Node Triangle": 3-node constant-strain triangular elements (linear)
  • 2 or "4 Node Quadrilateral": 4-node isoparametric rectangular elements (linear)
  • 3 or "8 Node Quadrilateral": 8-node isoparametric rectangular elements (quadratic)
  • 4 or "6 Node Triangle": 6-node isoparametric triangular elements (quadratic)
  • 5 or "4 Node Interface": 4-node imperfect interface elements (linear)
  • 6 or "6 Node Interface": 6-node imperfect interface elements (quadratic)
  • 8 or "9 Node Lagrange": 9-node Langrangian rectangular element (quadratic) (9 point Gaussian quadrature)

Scripted Input Files

In scripted input files, the element type is set using the Element command:

Element (elem)

where (elem) is a number or name from the above list. Once an element is selected, it remains the element used for all subsequent Area commands. If no Element command has be used, FEA calculations will default to "8 Node Quadrilateral" elements.

When using triangular elements (type 1 and 4), quadrilateral areas meshed using the Area Command first meshes the area into quadrilaterals and then creates triangular elements by dividing each quadrilaterals along its diagonal. To determine which diagonal in used, you can use the FlipTriangles command: into triangular elements.

The command to flip triangles is

FlipTriangles <(option)>

where (option) is yes or no to flip or not flip the triangles. This argument is optional. If it is omitted, the command will toggle the previous setting for triangle flipping. The initial value is always no.

This command takes effect when areas defined by four paths are meshed into trangular elements. Triangular elements are created by meshing the area in to quadrilaterals and then dividing each quadrilaterals along its diagonal. The flip triangles option determines which diagonal is used. Any new setting by a FlipTriangles command remains in effect until it is changed by another FlipTriangles command.

XML Input Files

In XML input files, the first <Area> block must define an element type in an attribute and refer to it by number from the above list. Subsequent <Area> blocks can omit the type attribute unless the element type is changed to have an analysis with mixed elements. For triangular elements, the diagonals are flipped using a flip attribute on the <Area> command instead of using a separate FlipTriangles command.

Notes

  1. When mixed elements are used, they must be compatible elements. In other words, you can mix linear elements (types 1, 2, and 5) with each other or quadratic elements (types 3, 4, 6, and 8) with each other, but cannot mix linear elements with quadratic elements in the same mesh.
  2. Solid (or quadrilateral) areas can only use solid elements (types 1, 2, 3, 4, and 8) while interface areas can use only inteface elements (type 5 and 6).