The module read_ucd imports data files in the following format:
<num of nodes> <num of cells> <data per node> <data per cell> <model data> <nodeid> coordinates <cellid> <cell shape> nodes <data label> <data units> <nodeid> data
An example of this is the hex.inp file which defines a single hexahedral cell with stress at each node:
8 1 1 0 0 1 0.000 0.000 1.000 2 1.000 0.000 1.000 3 1.000 1.000 1.000 4 0.000 1.000 1.000 5 0.000 0.000 0.000 6 1.000 0.000 0.000 7 1.000 1.000 0.000 8 0.000 1.000 0.000 1 1 hex 1 2 3 4 5 6 7 8 1 1 stress, lb/in**2 1 4999.9999 2 18749.9999 3 37500.0000 4 56250.0000 5 74999.9999 6 93750.0001 7 107500.0003 8 5000.0001
Some of the other files containing sample UCD data can be found in /usr/avs/data/ucd: