CMS-Flow Output files: Difference between revisions
(Created page with "ASCII Output files from CMS are in the form of three different files listed below. These file types were chosen because they are supported in SMS and can be read in directly....") |
No edit summary |
||
Line 1: | Line 1: | ||
=ASCII Output Files= | |||
ASCII Output files from CMS are in the form of three different files listed below. These file types were chosen because they are supported in SMS and can be read in directly. | ASCII Output files from CMS are in the form of three different files listed below. These file types were chosen because they are supported in SMS and can be read in directly. | ||
Line 5: | Line 6: | ||
*.DAT files - hold the data records written at the selected output times. | *.DAT files - hold the data records written at the selected output times. | ||
=SUPER file description= | ==SUPER file description== | ||
(Adapted for CMS from the SMS Wiki) | (Adapted for CMS from the SMS Wiki) | ||
Super files can still be opened in SMS. These contain a 2D scatter point file and the corresponding ASCII CMS Solution data file. | Super files can still be opened in SMS. These contain a 2D scatter point file and the corresponding ASCII CMS Solution data file. |
Revision as of 20:26, 15 March 2018
ASCII Output Files
ASCII Output files from CMS are in the form of three different files listed below. These file types were chosen because they are supported in SMS and can be read in directly.
- SUPER *.SUP files - hold the filename information for other supporting files.
- .XY files - hold the geometry information for the records located in the various .DAT files.
- .DAT files - hold the data records written at the selected output times.
SUPER file description
(Adapted for CMS from the SMS Wiki) Super files can still be opened in SMS. These contain a 2D scatter point file and the corresponding ASCII CMS Solution data file.
If a super file is selected using the File | Open command, each of the files listed in the super file are opened and imported. This makes it possible to quickly read in several files without having to identify each file individually in the file browser.
A sample of the file format for a super file is shown below. The first line in the file is the SUPER card, which identifies the file as a super file. Each of the other cards shown are optional. Each of the file cards has a card identifier representing the type of file. The identifier is followed by a file name. The file name should be a complete path if the file is not in the same directory as the super file. Any suffix may be used for the file name.
SUPER | /* File type identifier */ | ||
SCAT2D filename | /* 2D scatter point file */ | ||
DATA filename | - | ... | /* repeated DATA lines as needed */ |
DATA filename | - |
SUPER SCAT2D "ASCII_Solutions/Phase2.xy" DATA "ASCII_Solutions/Phase2_eta.dat" DATA "ASCII_Solutions/Phase2_vel.dat"