CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > Visualization & Post-Processing Software > Tecplot

How to write a binary file readable by tecplot di?

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   October 13, 2006, 03:47
Default How to write a binary file readable by tecplot di?
  #1
Dong
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

  Reply With Quote

Old   October 13, 2006, 05:07
Default Re: How to write a binary file readable by tecplot
  #2
Arambatzis George
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.
  Reply With Quote

Old   October 13, 2006, 05:58
Default Re: How to write a binary file readable by tecplot
  #3
Jose
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.
  Reply With Quote

Old   October 13, 2006, 07:32
Default Re: How to write a binary file readable by tecplot
  #4
M.Lipinski
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

  Reply With Quote

Old   October 13, 2006, 10:11
Default Re: How to write a binary file readable by tecplot
  #5
Mani
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.
  Reply With Quote

Old   October 19, 2006, 11:38
Default Re: How to write a binary file readable by tecplot
  #6
Adnan Maqsood
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.
  Reply With Quote

Reply


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
2.0.x on Mac OSX niklas OpenFOAM Installation 74 March 28, 2012 16:46
OF 1.6 | Ubuntu 9.10 (64bit) | GLIBCXX_3.4.11 not found piprus OpenFOAM Installation 22 February 25, 2010 13:43
Error to re-open fluent case file J.Gimbun FLUENT 0 April 27, 2006 08:42
Binary File format for Tecplot CFD Student Tecplot 3 February 27, 2006 05:29
Results saving in CFD hawk Main CFD Forum 16 July 21, 2005 20:51


All times are GMT -4. The time now is 07:48.