oSP3D can write field data to CSV files. This topic describes the CSV file formats used in Modifying and Exporting Multiple Field Designs and Generating Field Objects in optiSLang for Use in a Simulation when selecting Create new file.
Generic Text Format for Node and Element Data
oSP3D writes a CSV file using data from the currently loaded database. You cannot modify the digit precision of real numbers, which is determined by machine precision. Each file’s content is limited to a single field data quantity.
Given the CSV file format specification in CSV Files, the subsequent example file is written:
part-ID;[type-master-ID,]type-ID;double part-ID;[type-master-ID,]type-ID;double ...
oSP3D writes the following data to each record:
Part identifier in the first field
Item identifier prefixed by an optional master identifier in the second field
Field data as a double precision value in the last field
No record is written for missing data items
Ansys External Data for Displacements
The displacement field is exported for all of the mesh’s nodes, ignoring the reference node set. You can export displacement fields in the normal, x, y, or z direction (defined in the reference mesh’s coordinate system). Ithe option for mesh smoothening is selected, it is applied to displacement fields.
The CSV file uses a comma (,
) as the delimiter and consists
of the following columns:
x coordinate of reference mesh
y coordinate of reference mesh
z coordinate of reference mesh
x displacement
y displacement
z displacement
If you are interested in only the boundary nodes, you should import only the boundary of the mesh (through an STL file for example) and then export only this data.
Ansys External Data for Node Data
For all nodes in the reference node set, the field of the specified quantity is exported.
The CSV file uses a comma (,
) as the delimiter and consists
of the following columns:
x coordinate of each FEM node in the reference mesh
y coordinate of each FEM node in the reference mesh
z coordinate of each FEM node in the reference mesh
Field data of each FEM node if chosen for export
Ansys External Data for Element Data
For all elements in the reference element set, the field of the specified quantity is exported.
The CSV file uses a comma (,
) as the delimiter and consists
of the following columns:
x center coordinate of each FEM element in the reference mesh
y center coordinate of each FEM element in the reference mesh
z center coordinate of each FEM element in the reference mesh
Field data of each FEM element if chosen for export