<HTML>
<A NAME="pagetop"></A>
<BASEFONT SIZE="3">
<HEAD>
<TITLE>
Unstructured Cell Data Format
</TITLE>
</HEAD>
<BODY BGCOLOR="white" TEXT="black">
<CENTER>
<A HREF="../../index.htm" target="_top"><IMAGE SRC="../../image/mokuji.gif"></A>
</CENTER>
<H3>
Unstructured Cell Data Format
</H3>
<HR SIZE="1">
<H3>
Overview
</H3>
Data that is made up of a number of blocks is referred to as Unstructured cell 
data. This data type is used to read in data representing results of analyses 
such as finite element analyses. 
Version 4.0 support <A HREF="#newformat">2nd order cell data</A>.
<P>
<HR SIZE="1">
<H3>
Types of Elements
</H3>
<HR SIZE="1">
There are 13 types of elements  in MicroAVS as shown in the Figure. The number 
attached to each node defines the order to be used when specifying connectivity 
in the data file. 
<P>
<CENTER>
<IMAGE SRC="../../image/cell.gif"></A><BR>
Types of Elements for Unstructured Cell Data
<BR>
</CENTER>
<HR SIZE="1">
<H3>
File Extension 
</H3>
The data file extension is .inp.
<HR SIZE="1">
<H3>
Format
</H3>
The Unstructured Data File is an ASCII file. The format has 2 types that is <A HREF="#oldformat">single step file format</A> and <A HREF="#newformat">
time-dependent file format</A>. these format is shown below.
<HR SIZE="1">
<P><H3>
<A NAME="oldformat">The simple step file format</A></H3>
<CENTER>
<TABLE BORDER>
(Total num of nodes) (Total num of elements) (Num of data at each node) (Num of data at each element) (Num of data for this model)<BR>
(Node 1)   (X coordinate)   (Y coordinate)   (Z coordinate)<BR>
(Node 2)  (X coordinate)   (Y coordinate)   (Z coordinate)<BR>
...<BR>
...<BR>
...<BR>
(Element 1) (Material num) (Type of element) (The connectivity of nodes of the element)<BR>
(Element 2) (Material num) (Type of element) (The connectivity of nodes of the element)<BR>
...<BR>
...<BR>
(Number of data components at each node) (Number of structures) (Number of structures) ...<BR>
(The label for each node data component), (unit)<BR>
(The label for each node data component), (unit)<BR>
...<BR>
...<BR>
...<BR>
(Node 1) (Node Data) (Node Data)....<BR>
(Node 2) (Node Data), (Node Data)...<BR>
...<BR>
...<BR>
...<BR>
(Number of data components at each element) (Number of structures) (Number of structures) ...<BR>
(The label for each element data component), (unit)<BR>
(The label for each element data component), (unit)<BR>
...<BR>
...<BR>
...<BR>
(Element 1) (Element Data) (Element Data)....<BR>
(Element 2) (Element Data), (Element Data)...<BR>
...<BR>
...<BR>
...<BR>
</TABLE>
</CENTER>
<P>
<FONT COLOR="blue">
Total num of nodes       
</FONT><BR>
Specifies the total number of nodes.
<P> 
<FONT COLOR="blue">
Total num of elements
</FONT><BR>
Specifies the total number of elements.
<P> 
<FONT COLOR="blue">
Number of Data at each node
</FONT><BR>
Specifies the number of data at each node. If node data isn't exist, Set to 0.
<P> 
<FONT COLOR="blue">
Number of Data at each element
</FONT><BR>
Specifies the number of data at each element. If node data isn't exist, Set to 0.
<P> 
<FONT COLOR="blue">
Number of data for each model
</FONT><BR>
this value must be set to 0.
<P> 
<FONT COLOR="blue">
Node number
</FONT><BR>
the nodes are numbered starting from 1 to define coordinate values.
<P> 
<FONT COLOR="blue">
X coordinate  Y coordinate Z coordinate
</FONT><BR>
the coordinates of each direction are specified separated using the 
space character. Even for planar elements such as triangles and quadrilaterals, 
the Z coordinate(0) has to be specified.
<P> 
<FONT COLOR="blue">
Element number
</FONT><BR>
An integer starting with 1 used to distinguish each element.
<P> 
<FONT COLOR="blue">
Material number
</FONT><BR>
this value must be set to 0.
<P> 
<FONT COLOR="blue">
Types of elements
</FONT><BR>
The elements described earlier are specified using keywords. The keywords 
corresponding to each element is shown in the Table.
<P>
<CENTER>
<TABLE BORDER>
<TR ALIGN="center">
<TD>Types of Elements </TD><TD>keywords</TD>
</TR>
<TR>
<TD>point</TD><TD>pt</TD>
</TR>
<TR>
<TD>line</TD><TD>line</TD>
</TR>
<TR>
<TD>triangle</TD><TD>tri</TD>
</TR>
<TR>
<TD>quadrilateral</TD><TD>quad</TD>
</TR>
<TR>
<TD>tetrahedron</TD><TD>tet</TD>
</TR>
<TR>
<TD>pyramid</TD><TD>pyr</TD>
</TR>
<TR>
<TD>prism</TD><TD>prism</TD>
</TR>
<TR>
<TD>hexahedron</TD><TD>hex</TD>
</TR>
</TABLE>
<P>
<U>Keyword for each element</U>
</CENTER>
<P>
<FONT COLOR="blue">
Connectivity of nodes that make up the element
</FONT><BR>
the connectivity of nodes is specified using the node   numbers described 
earlier. Space is inserted between two numbers. The order in which the nodes 
of each  element are connected depends on the numbers assigned to them  
in the Fig.
<P>
<FONT COLOR="blue">
Number of data components for each node
</FONT><BR>
The number of data components per node is specified. The value is the same as 
that specified in the first line (Number of data for each node).
<P>
<FONT COLOR="blue">
Number of structures
</FONT><BR>
A number of 1s equal to the number of data components at each node are 
specified. The 1s are separated by spaces.
<P>
<FONT COLOR="blue">
Labels for the data components at each node
</FONT><BR>
Labels are  assigned to data components at each node. A comma , is inserted 
after each label to separate it from the next. If there are more than two data 
components and multiple labels are to be specified, then the labels can be 
specified on different lines.
<P>
<FONT COLOR="blue">
Labels for the data components at each element
</FONT><BR>
Labels are  assigned to data components at each element. A comma , is inserted 
after each label to separate it from the next. If there are more than two data 
components and multiple labels are to be specified, then the labels can be 
specified on different lines.
<P>
Note: Even if units are not specified, a comma is to be inserted after each label.
<P>
<FONT COLOR="blue">
Units (optional)
</FONT><BR>
A unit is specified for the data components of each node. However, this 
specification is optional.
<P>
<FONT COLOR="blue">
Node number
</FONT><BR>
A number assigned initially to each node to enable definition of coordinate 
values. Here, these numbers are used to define data.
<P>
<FONT COLOR="blue">
Node data
</FONT><BR>
Node data is specified to the right of each node number. If there are multiple 
data, they are separated by spaces.
<P>
<FONT COLOR="blue">
Element number
</FONT><BR>
these numbers are used to define Element data.

<P>
<FONT COLOR="blue">
Element data
</FONT><BR>
Element data is specified to the right of each element number. If there are multiple 
data, they are separated by spaces.

<HR SIZE="1"><H3>
<A NAME="newformat">The time-dependent file format</A> (Multistep)
</H3><P>
<CENTER>
<TABLE>
(comments) <BR>
(number of steps) <BR>
(cycle data) <BR>
(step1) (comments) <BR>
(Total num of nodes) (Total num of elements) <BR>
(Node 1)   (X coordinate)   (Y coordinate)   (Z coordinate) <BR> 
(Node 2)   (X coordinate)   (Y coordinate)   (Z coordinate) <BR> 
    .<BR>
    .<BR>
    .<BR>
(Element 1) (Material num) (Type of element) (The connectivity of nodes of the element) <BR>
(Element 2) (Material num) (Type of element) (The connectivity of nodes of the element) <BR>
    .<BR>
    .<BR>
    .<BR>
(Number of data components at each node) (Number of data components at each element) <BR>
(Node Number) (Number of structures at each node1) (Number of structures at each node2) .....(Number of structures at each component)<BR>
(The label for each node data component), (unit)<BR>
(The label for each node data component), (unit)<BR>
    .<BR>
    .<BR>
    .<BR>
(Labels for the data components at each node), (unit)<BR>
(Node 1) (Node data 1) (Node data 2)  .....<BR>
(Node 2) (Node data 1) (Node data 2)  .....<BR>
    .<BR>
    .<BR>
    .<BR>
(Element Number) (Number of structures at each element1) (Number of structures at each element2) .....(Number of structures at each elements)<BR>
(The label for each element data component), (unit)<BR>
(The label for each element data component), (unit)<BR>
    .<BR>
    .<BR>
    .<BR>
(Labels for the data components at each element), (unit)<BR>
(Element 1) (Element data 1) (Element data 2)  .....<BR>
(Element 2) (Element data 1) (Element data 2)  .....<BR>
    .<BR>
    .<BR>
    .<BR>
(step2) (comment)
(Total num of nodes) (Total num of elements) <BR>
    .<BR>
    .<BR>
    .<BR>
</TABLE>
</CENTER>
<BLOCKQUOTE>
<P><FONT COLOR="blue">
comments
</FONT><BR>
Lines begining with # are comments and are ignored. However, no comments can be entered within the data description.
<P><FONT COLOR="blue">
number of step
</FONT><BR>
Defines the number of steps in the file. If this line isn't exist, the format is recognized as <A HREF="#oldformat">the simple step format</A>.
<P><FONT COLOR="blue">
cycle type
</FONT><BR>
cycle type can take three values that are data, geom and data_geom. For each of these types, the data is ordered as given below.
<BLOCKQUOTE>
	data<BR><BR>
	<BLOCKQUOTE>
	Geometry data is defined only in the first step. Node/Element data is defined in every step.
	</BLOCKQUOTE>
	geom<BR><BR>
	<BLOCKQUOTE>
	Geometry data is defined in every step while Node/Element data is defiled only in the first step.
	</BLOCKQUOTE>
	data_geom<BR><BR>
	<BLOCKQUOTE>
	Both geometory and node data are defined in every step.
	</BLOCKQUOTE>
</BLOCKQUOTE>
<P><FONT COLOR="blue">
step number
</FONT><BR>
Specifies the step number at the begining of every step. For example, you must specify the first
step as step1, the second step as step2 and so on.
<P><FONT COLOR="blue">
comment(option)
</FONT><BR>
Comments(optional)
Comments on every step can be inserted after the step number. 
<P><FONT COLOR="blue">
Total num of nodes       
</FONT><BR>
Same means as simple step format.
<P><FONT COLOR="blue">
Total num of elements 
</FONT><BR>
Same means as simple step format.
<P><FONT COLOR="blue">
Number of Data at each node  
</FONT><BR>
Same means as simple step format.
<P><FONT COLOR="blue">
Number of Data at each element 
</FONT><BR>
Same means as simple step format.
<P><FONT COLOR="blue">
Number of data for each model 
</FONT><BR>
Same means as simple step format.
<P><FONT COLOR="blue">
Node number 
</FONT><BR>
Same means as simple step format.
<P><FONT COLOR="blue">
X coordinate Y coordinate Z coordinate 
</FONT><BR>
Same means as simple step format.
<P><FONT COLOR="blue">
Element number
</FONT><BR>
Same means as simple step format.
<P><FONT COLOR="blue">
Material number
</FONT><BR>
Same means as simple step format.
<P><FONT COLOR="blue">
Types of elements  
</FONT><BR>
Specifies the cell type is shown below. Second order cells type can be used only the time dependent file format.
If you define these types of elements in the single step format will be ignored.<P>
<CENTER>
<TABLE BORDER>
<TR ALIGN="center">
<TD>Types of Elements  </TD><TD>keywords</TD>
</TR>
<TR>
<TD>point</TD><TD>pt</TD>
</TR>
<TR>
<TD>line</TD><TD>line</TD>
</TR>
<TR>
<TD>triangle</TD><TD>tri</TD>
</TR>
<TR>
<TD>quadrilateral</TD><TD>quad</TD>
</TR>
<TR>
<TD>tetrahedron</TD><TD>tet</TD>
</TR>
<TR>
<TD>pyramid</TD><TD>pyr</TD>
</TR>
<TR>
<TD>prism</TD><TD>prism</TD>
</TR>
<TR>
<TD>hexahedron</TD><TD>hex</TD>
</TR>
<TR>
<TD>2nd order cell data</TD><TD></TD>
</TR>
<TR>
<TD>line2</TD><TD>line2</TD>
</TR>
<TR>
<TD>triangle2</TD><TD>tri2</TD>
</TR>
<TR>
<TD>quadrilateral2</TD><TD>quad2</TD>
</TR>
<TR>
<TD>tetrahedron2</TD><TD>tet2</TD>
</TR>
<TR>
<TD>pyramid2</TD><TD>pyr2</TD>
</TR>
<TR>
<TD>prism2</TD><TD>prism2</TD>
</TR>
<TR>
<TD>hexahedron2</TD><TD>hex2</TD>
</TR>
</TABLE>
<P>
<U>Keyword for each element</U>
</CENTER>
<P><FONT COLOR="blue">
Connectivity of nodes that make up the element 
</FONT><BR>
Same means as simple step format.
<P><FONT COLOR="blue">
Number of data components at each node
</FONT><BR>
Same means as simple step format.
<P><FONT COLOR="blue">
Number of data components at each element
</FONT><BR>
Same means as simple step format.
<P><FONT COLOR="blue">
Label for each node data component
</FONT><BR>
Same means as simple step format.
<P><FONT COLOR="blue">
Label for each element data component
</FONT><BR>
Same means as simple step format.
<P><FONT COLOR="blue">
unit  (optional)
</FONT><BR>
Same means as simple step format.
<P><FONT COLOR="blue">
Node number 
</FONT><BR>
Same means as simple step format.
<P><FONT COLOR="blue">
Node data
</FONT><BR>
Same means as simple step format.
<P><FONT COLOR="blue">
Element data
</FONT><BR>
Same means as simple step format.
</BLOCKQUOTE>
<HR SIZE="1">
<H3>
Addendum
</H3>
here is a slight difference between the UCD data file format of AVS5, 
AVS/Express and the unstructured cell data format of MicroAVS. The MicroAVS 
unstructured cell data format does not support data components  made up multiple     
data.
<HR SIZE="1">
<H3>
Examples of Unstructured Cell Data Creation
</H3>
Sample files are located  in &ltdirectory in which MicroAVS is installed&gt/
DATA/UCD/SAMPLES and can be referred to if necessary.
<HR SIZE="1">
<TABLE BORDER=0 WIDTH="100%"><TR><TD ALIGN=LEFT>
<A HREF="#pagetop"><IMG SRC="../../image/pagetop.gif" ALT="UP"></A></TD><BR>
<TD ALIGN=RIGHT><FONT FACE="MS SANS SERIF" SIZE=1 COLOR="BLACK">
&copy; 1999-2008 <A HREF="http://www.kgt.co.jp/index_e.html">KGT Inc.</A>
 All rights reserved.</FONT></TD>
</TR></TABLE>
</BODY>
</HTML>
