|
[Sponsors] |
How to write a binary file readable by tecplot di? |
|
LinkBack | Thread Tools | Search this Thread | Display Modes |
October 13, 2006, 04:47 |
How to write a binary file readable by tecplot di?
|
#1 |
Guest
Posts: n/a
|
Hi, all:
How to write a binary file readable by tecplot directly?The corresponding ASCII content is like this: zone i=40, j= 50 |
|
October 13, 2006, 06:07 |
Re: How to write a binary file readable by tecplot
|
#2 |
Guest
Posts: n/a
|
I don't know how to write a binary file but you can convert your ASCII file into binary with 'preplot'. Preplot is a small program that usually comes with Tecplot.
|
|
October 13, 2006, 06:58 |
Re: How to write a binary file readable by tecplot
|
#3 |
Guest
Posts: n/a
|
You need to link to a tecplot library (it is called something like tecutil.a) and use the utilities contained therein.
|
|
October 13, 2006, 08:32 |
Re: How to write a binary file readable by tecplot
|
#4 |
Guest
Posts: n/a
|
Dong,
You may use tecio library. You will find the description of the functions to write binary data files in the reference manual of Tecplot (Chapter 11 for Tecplot Rel. 10). regards DML |
|
October 13, 2006, 11:11 |
Re: How to write a binary file readable by tecplot
|
#5 |
Guest
Posts: n/a
|
... alternatively, if you don't want to depend on the library, take a look at preplot. Preplot's source code usually comes as part of the tecplot package (open source!), so you can look at it and figure out what the the binary format is that you are interested in, and then write your own subroutines to write the data in that format. You may even be able to incorporate preplot routines in your code, but before you do that you should check if it's protected by copyright! In this way you don't have to create a huge ascii file to be processed by preplot, and your code may be more independent and portable than when using the libraries. ... it all depends on the amount of effort you want to invest in this.
|
|
October 19, 2006, 12:38 |
Re: How to write a binary file readable by tecplot
|
#6 |
Guest
Posts: n/a
|
VARIABLES=X,Y,Z ZONE i=4, j=2,k=1,f=point 13.2993 1.2 -0.0937 13.408 1.2005 -0.1068 13.5204 1.2003 -0.1144 13.6328 1.2 -0.122 13.2964 1.1992 -0.1451 13.4085 1.1995 -0.1372 13.5206 1.1997 -0.1296 13.6328 1.2 -0.122
This is the general format of input data in tecplot file. |
|
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
2.0.x on Mac OSX | niklas | OpenFOAM Installation | 74 | March 28, 2012 17:46 |
OF 1.6 | Ubuntu 9.10 (64bit) | GLIBCXX_3.4.11 not found | piprus | OpenFOAM Installation | 22 | February 25, 2010 14:43 |
Error to re-open fluent case file | J.Gimbun | FLUENT | 0 | April 27, 2006 09:42 |
Binary File format for Tecplot | CFD Student | Tecplot | 3 | February 27, 2006 06:29 |
Results saving in CFD | hawk | Main CFD Forum | 16 | July 21, 2005 21:51 |