Difference between revisions of "Explicit FEA Mesh Generation"

From OSUPDOCS
Jump to navigation Jump to search
(Created page with "To explicitly define a mesh, define all nodal points and all elements in lists within a <code><Mesh></code> element. Note that use of this method is very rare. You shoul...")
 
Line 1: Line 1:
To explicitly define a mesh, define all nodal points and all elements in lists within a <code>&lt;Mesh&gt;</code> element. Note that use of this method is very rare. You should almost always use commands to generate the mesh instead.
To explicitly define a mesh, define all nodal points and all elements in lists within a <yy>&lt;Mesh&gt;</yy> element. Note that use of this method is very rare. You should almost always use [[FEA Mesh Generation Commands|commands to generate the mesh]] instead.


== The Mesh Block for an Explicit Mesh ==
== The Mesh Block for an Explicit Mesh ==


The typical structure for the Mesh block for explicit FEA mesh generation is:
The typical structure for the Mesh block for explicit FEA mesh generation is. Click


<pre>
<pre>
Line 47: Line 47:
</pre>
</pre>


<p>The <code>&lt;NodeList&gt;</code> must have one <code>&lt;pt&gt;</code> tag for each nodal point.
== NodeList Block ==
The <code>x</code> and <code>y</code> attributes give the coordinates of each point in mm. The optional <code>temp</code> can be used to set the temperature of the node as the temperature difference relative to the stress free temperature.
</p>


<p>These nodes are connected into elements in the <code>&lt;ElementList&gt;</code>.
The <tt>&lt;NodeList&gt;</tt> block must have one <tt>&lt;pt&gt;</tt> tag for each nodal point.
Each element is defined in an <code>&lt;elem&gt;</code> tag. The <code>type</code> attribute defines the type of element. The current element options in NairnFEA are.
The <tt>x</tt> and <tt>y</tt> attributes give the coordinates of each point in mm. The optional <tt>temp</tt> can be used to set the temperature of the node as the temperature difference relative to the stress free temperature.
</p>


<ul>
== ElementList Block ==
<li><code>1</code>: 3-node constant-strain triangular elements (linear)</li>
<li><code>2</code>: 4-node isoparametric rectangular elements (linear)</li>
<li><code>3</code>: 8-node isoparametric rectangular elements (quadratic)</li>
<li><code>4</code>: 6-node isoparametric triangular elements (quadratic)</li>
<li><code>5</code>: 4-node imperfect inteface elements (linear)</li>
<li><code>6</code>: 6-node imperfect interface elements (quadratic)</li>
<li><code>8</code>: 9-node Langrangian rectangular element (quadratic) (9 point Gaussian quadrature)</li>
</ul>


<p>Element types can be mixed, but the types have to be compatible. 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.</p>
These nodes defined in the <tt>&lt;NodeList&gt;</tt> are connected into elements in the <tt>&lt;ElementList&gt;</tt> block.
Each element is defined in an <tt>&lt;elem&gt;</tt> tag. The <tt>type</tt> attribute defines the type of element. The current element options in [[NairnFEA]] are.


* <tt>1</tt>: 3-node constant-strain triangular elements (linear)</li>
* <tt>2</tt>: 4-node isoparametric rectangular elements (linear)</li>
* <tt>3</tt>: 8-node isoparametric rectangular elements (quadratic)</li>
* <tt>4</tt>: 6-node isoparametric triangular elements (quadratic)</li>
* <tt>5</tt>: 4-node imperfect inteface elements (linear)</li>
* <tt>6</tt>: 6-node imperfect interface elements (quadratic)</li>
* <tt>8</tt>: 9-node Langrangian rectangular element (quadratic) (9 point Gaussian quadrature)</li>
Element types can be mixed, but the types have to be compatible. 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.
Each element has attributes to define the material for the element:
* <tt>mat</tt> (or <tt>matl</tt> for backward compatibility): Material number in the list of defined materials. An integer, starting at 1, referring to <a href="definematl.html">materials</a> in the order they are defined in the input file. If you are using the optional <tt>BMP</tt> file to set element properties, the <tt>mat</tt> should be 0 for elements that will be set later by the <tt>BMP</tt> file.
* <tt>matname</tt>: Alternatively, materials can be specied by name. See <a href="definematl.html#usemats">Defining Materials</a> for details on this method.
*<tt>angle</tt>: Optional material angle relevant to <a href="definematl.html">anisotropic materials</a>
*<tt>thick</tt>: Thickness in mm (for plane stress or plane strain 2D calculations)>


<p>Each element has attributes to define the material for the element:
</p>
<ul>
<li><code>mat</code> (or <code>matl</code> for backward compatibility): Material number in the list of defined materials. An integer, starting at 1, referring to <a href="definematl.html">materials</a> in the order they are defined in the input file. If you are using the optional <code>BMP</code> file to set element properties, the <code>mat</code> should be 0 for elements that will be set later by the <code>BMP</code> file.</li>
<li><code>matname</code>: Alternatively, materials can be specied by name. See <a href="definematl.html#usemats">Defining Materials</a> for details on this method.</li>
<li><code>angle</code>: Optional material angle relevant to <a href="definematl.html">anisotropic materials</a></li>
<li><code>thick</code>: Thickness in mm (for plane stress or plane strain 2D calculations)</li>
</ul>


<p>The value of the <code>&lt;elem&gt;</code> tags are the node numbers listed in the counter-clockwise direction. For elements with mid-side nodes, the corner nodes are first followed by the mid-side nodes. The numbers correspond to the above nodal list with the first node being numbered 1. The node numbers can be delimited by any white space, commas, colons, semicolons, or any combination of those delimiters.
<p>The value of the <code>&lt;elem&gt;</code> tags are the node numbers listed in the counter-clockwise direction. For elements with mid-side nodes, the corner nodes are first followed by the mid-side nodes. The numbers correspond to the above nodal list with the first node being numbered 1. The node numbers can be delimited by any white space, commas, colons, semicolons, or any combination of those delimiters.

Revision as of 14:57, 28 August 2013

To explicitly define a mesh, define all nodal points and all elements in lists within a <yy><Mesh></yy> element. Note that use of this method is very rare. You should almost always use commands to generate the mesh instead.

The Mesh Block for an Explicit Mesh

The typical structure for the Mesh block for explicit FEA mesh generation is. Click

<Mesh>
  <NodeList>
    <pt x='0' y='-18' temp='-100'/>
    <pt x='110' y='-18'/>
        .
        .
        .
  </NodeList>
  
  <ElementList>
     <elem type='2' mat='1' angle='0' thick='10'>1,5,69,68</elem>
     <elem type='2' mat='1' angle='0' thick='10'>5,6,70,69</elem>
        .
        .
        .
  </ElementList>
</Mesh>

<!-- image and shape methods to set element properties -->

<<a href="#bmpcmd"><code>BMP</code></a> name="MatImage.bmp" width="50" angles="MatAngles.bmp">
  <Origin x="0" y="0"/>
  <Intensity mat="2" imin="76" imax="255">
    <Thickness units="mm">1</Thickness>
  </Intensity>
  <Intensity mat="3" imin="1" imax="75">
    <Thickness units="mm">1</Thickness>
  </Intensity>
  <Intensity imin="0" imax="255" minAngle="0.000000" maxAngle="90.000000"/>
</BMP>

<<a href="#bmpcmd"><code>Body</code></a> mat='1' angle='0' thick='1'>
   <Oval units='mm' xmin='10' xmax='40' ymin='10' ymax='40'/>
   <Rect units='mm' xmin='10' xmax='40' ymin='10' ymax='40'/>     
</Body>

<<a href="#bmpcmd"><code>Hole</code></a>>
   <Rect xmin='20' xmax='30' ymin='20' ymax='30'/>     
</Hole>

NodeList Block

The <NodeList> block must have one <pt> tag for each nodal point. The x and y attributes give the coordinates of each point in mm. The optional temp can be used to set the temperature of the node as the temperature difference relative to the stress free temperature.

ElementList Block

These nodes defined in the <NodeList> are connected into elements in the <ElementList> block. Each element is defined in an <elem> tag. The type attribute defines the type of element. The current element options in NairnFEA are.

  • 1: 3-node constant-strain triangular elements (linear)
  • 2: 4-node isoparametric rectangular elements (linear)
  • 3: 8-node isoparametric rectangular elements (quadratic)
  • 4: 6-node isoparametric triangular elements (quadratic)
  • 5: 4-node imperfect inteface elements (linear)
  • 6: 6-node imperfect interface elements (quadratic)
  • 8: 9-node Langrangian rectangular element (quadratic) (9 point Gaussian quadrature)

Element types can be mixed, but the types have to be compatible. 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.

Each element has attributes to define the material for the element:

  • mat (or matl for backward compatibility): Material number in the list of defined materials. An integer, starting at 1, referring to <a href="definematl.html">materials</a> in the order they are defined in the input file. If you are using the optional BMP file to set element properties, the mat should be 0 for elements that will be set later by the BMP file.
  • matname: Alternatively, materials can be specied by name. See <a href="definematl.html#usemats">Defining Materials</a> for details on this method.
  • angle: Optional material angle relevant to <a href="definematl.html">anisotropic materials</a>
  • thick: Thickness in mm (for plane stress or plane strain 2D calculations)>


The value of the <elem> tags are the node numbers listed in the counter-clockwise direction. For elements with mid-side nodes, the corner nodes are first followed by the mid-side nodes. The numbers correspond to the above nodal list with the first node being numbered 1. The node numbers can be delimited by any white space, commas, colons, semicolons, or any combination of those delimiters.

The <BMP>, <Region>, and <Hole> elements, which must come after the <Mesh> element, lets you asign material and material angles to the elements using a digitized image of the object or shape commands. It's use is described <a href="#bmpcmd">below</a>.