|
[Sponsors] |
Tecplot convert to SZPLT single our double precision? |
|
LinkBack | Thread Tools | Search this Thread | Display Modes |
April 29, 2024, 18:46 |
Tecplot convert to SZPLT single our double precision?
|
#1 |
New Member
Nikolaos Beratlis
Join Date: Jan 2010
Posts: 16
Rep Power: 16 |
When using the tec360 -convert command option to convert a Tecplot ASCII file to SZPLT file, for example:
tec360 -convert tecplot.dat -o tecplot.szplt , can one specify single or double precision for the final szplit file? |
|
May 6, 2024, 18:06 |
|
#2 |
Senior Member
Scott Fowler
Join Date: May 2009
Posts: 123
Rep Power: 17 |
When converting ASCII files using:
> tec360 -convert ascii.dat -o binary.szplt -or- > preplot ascii.dat binary.plt The data type defined in the ASCII file will be honored. If the data type is not specified, single precision is assumed. In the header of the ASCII file below you can see the "DT" line, which specifies the data type. You may need to add this line to your ASCII files to get the data type you want when converting to binary. I hope this helps, Scott Code:
TITLE = "Internally created data set" VARIABLES = "X" "Y" "Z" "Single" "Double" "LongInt" "ShortInt" "Byte" "Bit" ZONE T="Rectangular zone" STRANDID=0, SOLUTIONTIME=0 I=10, J=10, K=10, ZONETYPE=Ordered DATAPACKING=BLOCK DT=(SINGLE SINGLE SINGLE SINGLE DOUBLE LONGINT SHORTINT BYTE BIT ) 0.000000000E+00 1.111111119E-01 2.222222239E-01 3.333333433E-01 4.444444478E-01 5.555555820E-01 6.666666865E-01 7.777777910E-01 8.888888955E-01 1.000000000E+00 0.000000000E+00 1.111111119E-01 2.222222239E-01 3.333333433E-01 4.444444478E-01 |
|
Tags |
szplt |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Warning message C4133 while compiling | Arminius | Fluent UDF and Scheme Programming | 0 | October 2, 2017 12:44 |
Single precision better than double precision? | 140raiders | CFX | 1 | July 30, 2015 03:32 |
Switch from single precision to double precision | kk81 | OpenFOAM Bugs | 0 | March 11, 2010 07:14 |
Missing math.h header | Travis | FLUENT | 4 | January 15, 2009 12:48 |
OpenFOAM Double precision vs Single Precision | alexandrepereira | OpenFOAM Running, Solving & CFD | 1 | June 11, 2008 15:30 |