Spreadsheet Data Format
This data format is used for importing unstructured data and exporting results data:
Table 9-2:
Data.
Section
Description
Data
Data values separated by spaces
Each row of the file defines the coordinates and data values for the function in one point. A file used to define a function of three variables can begin as follows:
0 0 0.12 0.34
0 1 0.52 1.50
1 0 0.67 0.91
...
The first variable (input argument) appears in the first (leftmost) column, the second variable in the second column, the third variable in the third column, and the function values in the fourth (rightmost) column. The variables can be any function inputs. For space-dependent functions
f
(
x
,
y
,
z
)
they are the
x
-,
y
-, and
z
-coordinates.
It is possible to define several functions in one file by providing more than one data column after the input variables (which, in many cases, are coordinates). When exporting several expressions to a file, COMSOL Multiphysics generates files with this structure.
You can use the
%
character to indicate that a row contains comments and not data.