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

How to write Tecplot binary file(.plt) in CFD code on Linux 64 platform?

Register Blogs Members List Search Today's Posts Mark Forums Read

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   September 4, 2009, 10:56
Default How to write Tecplot binary file(.plt) in CFD code on Linux 64 platform?
  #1
New Member
 
Mark Lee
Join Date: Jul 2009
Posts: 3
Rep Power: 16
markailee is on a distinguished road
The large data file output in CFD code often bothers me. It's very slow to open to view in tecplot. And the tecplot binary output is much smaller and fast loaded.
As instruction in help file, I realized the binary output on windows platform ( wih file tecio.lib, tecio.dll, tecio.f90).
However, I failed to do that in linux( Redhat AS 5 , 64 bit system, my compiler is intel fortran). I download the library file from (http://www.tecplot.com/support/tecio.aspx). I only get the tecio64.a (linux64.26), which is only the static library, no dynamics library as in windows? And I have no head file like tecio.f90, so I use the head file in windows instead. When I compile my code, lots of errors occur on screen:

tecio64.a(tecxxx.o).gnu.linkonce.d.DW.ref.__gxx_ personality_v0+0x0): undefined reference to `__gxx_personality_v0'
tecio64.a(strutil.o): In function `FormatString(std::string&, tecplot::strutil::TranslatedString, ...)':
strutil.cpp.text+0x35d): undefined reference to `std::string::assign(char const*)'
strutil.cpp.text+0x369): undefined reference to `std::string::size() const'
..........

has anyone known how to write Tecplot binary file in code?
Thanks!
markailee is offline   Reply With Quote

Old   September 4, 2009, 11:43
Default
  #2
New Member
 
Join Date: Mar 2009
Posts: 11
Rep Power: 17
johndorian is on a distinguished road
Can't you just output the file in ASCII and then use the preplot executable supplied with tecplot to convert the file to tecplot binary? It's much less of a pain!
johndorian is offline   Reply With Quote

Old   September 4, 2009, 12:28
Default
  #3
New Member
 
Mark Lee
Join Date: Jul 2009
Posts: 3
Rep Power: 16
markailee is on a distinguished road
Quote:
Originally Posted by johndorian View Post
Can't you just output the file in ASCII and then use the preplot executable supplied with tecplot to convert the file to tecplot binary? It's much less of a pain!
It's also painful.
First, the code is running on the school's parallel machine. Every time I need to download a very large file(3-5 G). That takes time. The binary .plt file is only 1/6 of original file.
Second, it still takes time to "preplot" the data. My machine is not fast enough to do this post process.

It's easy to realize this binary output on windows. So I think it's possible to do that on Linux, just lack of right header file(tecio.f90) and library (tecio.a).
markailee is offline   Reply With Quote

Old   September 4, 2009, 23:59
Default
  #4
New Member
 
Mark Lee
Join Date: Jul 2009
Posts: 3
Rep Power: 16
markailee is on a distinguished road
I email tecplot Inc. He told me to add flag -lstdc++ in compile option, and it works right.
markailee is offline   Reply With Quote

Old   September 5, 2009, 07:47
Default I have a subroutin about that
  #5
New Member
 
Asghar
Join Date: Apr 2009
Posts: 16
Rep Power: 16
bohluly is on a distinguished road
I have a independent subroutin about that, it is easy used in windows, i think it works in other platforms too. if you can pleas check it, i sent it by attachment (it is *.for)
Attached Files
File Type: f print.f (3.5 KB, 437 views)
bohluly is offline   Reply With Quote

Old   December 16, 2010, 08:03
Default
  #6
Member
 
pradeep
Join Date: Jul 2010
Posts: 31
Rep Power: 15
pradeeppandeygbpec is on a distinguished road
Quote:
Originally Posted by markailee View Post
I email tecplot Inc. He told me to add flag -lstdc++ in compile option, and it works right.
hi...
can u please share the mailing address of tecplot at which they help one to short out his problems regarding various doubts in plotting.

I have to slice plains normal to surface for flow in a bend tube, at different angles.
pradeeppandeygbpec is offline   Reply With Quote

Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

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
A simple CFD code for teaching basic CFD? Christoph Lund Main CFD Forum 13 September 14, 2005 05:36
CFD code structure (F90) ma Main CFD Forum 4 January 10, 2005 21:47
about cfd code, free or for payment John M Main CFD Forum 6 September 15, 2003 09:59
Commercial CFD code Hanson G. He Main CFD Forum 1 October 15, 1998 09:49
salary range Frank Muldoon Main CFD Forum 7 August 3, 1998 20:04


All times are GMT -4. The time now is 02:49.