FieldConvert not correctly carrying <Time> variable over to .dat and .plt files
I have an Info.xml
file outputted by IncNavierStokesSolver
that has the following <Metadata>
parameters:
<Metadata>
<Provenance>
<GitBranch>refs/heads/master</GitBranch>
<GitSHA1>0c105fe7223dd3df13764e513377c8c439b45403</GitSHA1>
<Hostname>lab-1</Hostname>
<NektarVersion>5.0.0</NektarVersion>
<Timestamp>08-Nov-2020 12:02:08</Timestamp>
</Provenance>
<ChkFileNum>401</ChkFileNum>
<FileName>CylFlow_HomoStrip_Re3900.map</FileName>
<Kinvis>0.00025641025641025641</Kinvis>
<MappingCartesianVel>False</MappingCartesianVel>
<MappingType>File</MappingType>
<SessionName0>CylFlow_HomoStrip_Re3900_xml/P0000003.xml</SessionName0>
<Time>200.00000000059092</Time>
<TimeStep>0.001</TimeStep>
</Metadata>
My folder structure looks like this:
├── CylFlow_HomoStrip_Re3900.fld
│ ├── Info.xml
│ ├── P0000000.fld
│ ├── P0000001.fld
│ ├── P0000002.fld
<---- cut ---->
│ ├── P0000030.fld
│ └── P0000031.fld
├── CylFlow_HomoStrip_Re3900.map
│ ├── Info.xml
│ ├── P0000000.fld
│ ├── P0000001.fld
│ ├── P0000002.fld
<---- cut ---->
│ ├── P0000030.fld
│ └── P0000031.fld
├── CylFlow_HomoStrip_Re3900.xml
I run FieldConvert
on CylFlow_HomoStrip_Re3900.fld
:
FieldConvert CylFlow_HomoStrip_Re3900.xml CylFlow_HomoStrip_Re3900.fld tecplot_output.dat
The header of tecplot_output.dat
looks like this:
Variables = x, y, z, u, v, w, p
Zone, N=681884, E=490752, F=FEBlock, ET=BRICK
0 -0.658631 -1.30893 -1.9509 -2.58454 -3.20985 -3.82683 0 ... ... ...
I noticed that after importing all of my converted files for each time step there is no transient data. According to tecplot here, there is a missing SOLUTIONTIME
value in the zone header. This value should be pulled from the <Time>
tag in the xml, but it was not carried over correctly. The .plt
files suffer from a similar issue with regards to the SolutionTime
parameter. While I have not inspected the .plt
binary itself, I presume this is true due to the value being missing in tecplot.
I put together a small repository to reproduce the issue.
Am I missing something here, or perhaps misusing FieldConvert
?