sunfluidh:visfield_sunfluidh_file
Différences
Ci-dessous, les différences entre deux révisions de la page.
Les deux révisions précédentesRévision précédenteProchaine révision | Révision précédente | ||
sunfluidh:visfield_sunfluidh_file [2017/12/02 13:26] – yann | sunfluidh:visfield_sunfluidh_file [2019/12/12 09:23] (Version actuelle) – yann | ||
---|---|---|---|
Ligne 1: | Ligne 1: | ||
- | This file is composed with 12 line of integer values. | + | ----- |
- | | + | **The old release** |
- | * The third following lines are associated to the grid indices of the computational domain. These indices allows the user to build a space box for extracting only a part of fields from the computational domain. | + | ----- |
+ | The old version of file vifield_s.dat is composed with 12 lines of integer values. This version is still available for people used to the old version of VISFIELD. | ||
+ | * The first two lines allows the user to select a series of files should be converted. The first line is associated to the subdomain number and the second line to the file number which are included in the file name. | ||
+ | * The following line contains one integer value which defines the type of file to convert | ||
+ | * 0 : instantaneous fields : res_yyyyy_xxxxxxx.d | ||
+ | * 1 : statistical fields | ||
+ | * The third following lines are associated to the grid indices of the computational domain. These index set allows the user to build a space box for extracting only a part of fields from the computational domain.\\ If one of these index values is set to zero, the whole domain is considered regardless of the meshsize, including the ghost cells. | ||
+ | * The following line contains just one integer value for selecting the type of format in which the file will be converted.\\ 0 : tecplot format (.plt) - 1 : VTK format (.vtk). | ||
+ | * The following line is a peculiar data related to the vtk format conversion. An integer data defines if the vtk data must be written as a rectilinear form (value 0) or a structured-grid form (value 1). | ||
+ | * The four last lines are reserved to the special case of data manipulation : Please, do not consider them for your work and do not modify them. | ||
<file txt visfield_s.dat> | <file txt visfield_s.dat> | ||
- | 00000 1 !--- 1st subdomain number and total number of subdomains | + | 00000 |
- | 0 200 1 !--- 1st file number, last file number and file number-step | + | 0 200 1 !--- 1st file number, last file number and file number-step |
+ | 0 !--- Type of file to convert (0 : instantaneous fields, 1: statistical fields) | ||
+ | 0 130 !--- Start and end indices along the I-direction | => space box for considering only a part of fields | ||
+ | 1 130 !--- Start and end indices along the J-direction | a zero value indicates the whole computational domain is considered | ||
+ | 1 130 !--- Start and end indices along the K-direction | | ||
+ | 1 !--- selection of the format conversion -> 0 : tecplot format (.plt) - 1 : VTK format (.vtk) | ||
+ | 0 ! Only for VTK format -> 0 : rectilinear form , 1: structured grid form | ||
+ | 0 !--- special data. Do not modify it. | ||
+ | rst_00000_0000001.d !--- special data. Do not modify it. | ||
+ | 3 !--- special data. Do not modify it. | ||
+ | 1 | ||
EOF | EOF | ||
</ | </ | ||
+ | [[sunfluidh: | ||
+ | ----- | ||
+ | **The new release** | ||
+ | ----- | ||
+ | The new version of file, visfield_sunfluidh.dat, | ||
+ | All possibilites are described in the example given here. | ||
+ | <file txt visfield_sunfluidh.dat> | ||
+ | ==================================================================================== | ||
+ | ==================================================================================== | ||
+ | ==================================================================================== | ||
+ | |||
+ | Data parameters for converting the SUNFLUIDH binary files to Tecplot or VTK format | ||
+ | |||
+ | New data file for the new release of VISFIELD | ||
+ | |||
+ | ==================================================================================== | ||
+ | ==================================================================================== | ||
+ | ==================================================================================== | ||
+ | |||
+ | ------------------------------------------------------------------------------------ | ||
+ | Domain decomposition | ||
+ | ------------------------------------------------------------------------------------ | ||
+ | |||
+ | Number of subdomains along each direction | ||
+ | for a simulation performed with a domain decomposition approach (MPI) | ||
+ | If MergingData_Enabled=.true., | ||
+ | |||
+ | & | ||
+ | | ||
+ | | ||
+ | | ||
+ | |||
+ | ------------------------------------------------------------------------------------ | ||
+ | File parameters | ||
+ | ------------------------------------------------------------------------------------ | ||
+ | |||
+ | Define the features of the file to convert | ||
+ | |||
+ | TypeOfData =' | ||
+ | TypeOfData =' | ||
+ | TypeOfData =' | ||
+ | TypeOfData =' | ||
+ | |||
+ | Special data : | ||
+ | |||
+ | TypeOfData =' | ||
+ | |||
+ | | ||
+ | Any parameter related to the domain decomposition is set such as only one domain is considered | ||
+ | |||
+ | with : | ||
+ | xxxxx : rank of subdomain (MPI process) | ||
+ | yyyyyyy : number associated to the time recording of data | ||
+ | d : this number indicates the orientation of the plan (automatically considered by the VISFIELD) | ||
+ | sn : rank of the plane (rank in the SUNFHLUIDH data file) | ||
+ | |||
+ | FirstSubdomainRank | ||
+ | NumberOfSubdomains | ||
+ | SubdomainsStride | ||
+ | FirstRecordingIndex = yyyyyyy : first time recording value for files to convert | ||
+ | LastRecordingIndex | ||
+ | IndexStride | ||
+ | FirstSlice_ID= sn : Value of the first rank for ' | ||
+ | LastSlice_ID = sn : Value of the last rank for ' | ||
+ | FirstBlock_ID= sn : Value of the first rank for ' | ||
+ | LastBlock_ID = sn : Value of the last rank for ' | ||
+ | |||
+ | Notes : - By default SubdomainsStride and IndexStride are set to 1 | ||
+ | - By default NumberOfSubdomains = NumberOfSubdomains_Idir * NumberOfSubdomains_Jdir* NumberOfSubdomains_Kdir | ||
+ | - When ' | ||
+ | when MergingData_Enabled= .true. : NumberOfSubdomains is automatically updated by | ||
+ | VISFIELD in regard to NumberOfSubdomains_Idir, | ||
+ | when MergingData_Enabled= .false. : NumberOfSubdomains must take into account all the MPI rank covering the plane | ||
+ | | ||
+ | If a file selected by VISFIELD is not present in the work directory, it is ignored | ||
+ | - When ' | ||
+ | All subdomain will be considered if FirstSubdomainRank= 0 | ||
+ | if the user want only convert some subdomain files, he may plays with FirstSubdomainRank, | ||
+ | |||
+ | - When ' | ||
+ | If a file selected by VISFIELD is not present in the work directory, it is ignored | ||
+ | |||
+ | |||
+ | |||
+ | & | ||
+ | | ||
+ | | ||
+ | | ||
+ | |||
+ | !DataFileFeatures | ||
+ | | ||
+ | | ||
+ | | ||
+ | |||
+ | !DataFileFeatures | ||
+ | | ||
+ | | ||
+ | | ||
+ | | ||
+ | | ||
+ | |||
+ | !DataFileFeatures | ||
+ | | ||
+ | | ||
+ | | ||
+ | | ||
+ | | ||
+ | | ||
+ | | ||
+ | |||
+ | |||
+ | !DataFileFeatures | ||
+ | | ||
+ | | ||
+ | | ||
+ | Format conversion | ||
+ | ------------------------------------------------------------------------------------ | ||
+ | |||
+ | VelocityCylindricalCoordinates= .True. In cylindrical geometry, the coordinates are converted to cartesian geometry while the velocity components leave in cylindrical geometry | ||
+ | else (false) they also converted | ||
+ | TecplotFormat_Enabled= .true. | ||
+ | VTKFormat_Enabled | ||
+ | |||
+ | & | ||
+ | | ||
+ | !VTKFormat_Enabled= .true. / | ||
+ | |||
+ | ------------------------------------------------------------------------------------ | ||
+ | Special case : Extract field fluctuations from snapshots and statistics data | ||
+ | | ||
+ | ------------------------------------------------------------------------------------ | ||
+ | |||
+ | & | ||
+ | NumberOfFields= 1, | ||
+ | StatisticsFileName=' | ||
+ | </ | ||
+ | |||
+ | [[sunfluidh: |
sunfluidh/visfield_sunfluidh_file.1512217571.txt.gz · Dernière modification : 2017/12/02 13:26 de yann