Import Custom Field Files

EDEM allows you to import field data from a simple custom text file.

To import custom field files:
Before importing, see the format of the files:
Line Description
1 Indicates the file name or description (such as the field name)
2 Indicates the Data dimension - 3 for 3D or 2 for a 2D plane. For a 2D plane, the data exists in one plane and is extruded along one dimension to fill the 3D domain in EDEM. For example, X and Y values vary, but the Z value is the same for all points.
3 Indicates the element type - 0 for scalar data, 1 for vector data.
4 Indicates the number of points. 0 indicates an unknown number.
5-n Indicates the data set itself, where each line contains a set of coordinates and data values, separated by spaces.

The attributes are Compressive Force, Pressure, Torque, Total Force, or Velocity. The selected Geometry or Geometries will all be colored based on their element attributes.

The resolution of the coloring depends on the Geometry Mesh resolution:

2D Vector: X Y dx dy

3D Vector: X Y Z dx dy dz

2D Scalar: X Y s

3D Scalar: X Y Z s

Examples of Custom Files

The following example describes custom files.

cartesian_data_tank

3

1

0

-0.240000 -0.237500 -0.750000 0.040000 0.000000 0.000700

-0.250000 -0.237500 -0.750000 0.050000 0.000000 0.000700