|
[Sponsors] |
How to write Tecplot binary file(.plt) in CFD code on Linux 64 platform? |
|
LinkBack | Thread Tools | Search this Thread | Display Modes |
September 4, 2009, 10:56 |
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: 17 |
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! |
|
September 4, 2009, 11:43 |
|
#2 |
New Member
Join Date: Mar 2009
Posts: 11
Rep Power: 17 |
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!
|
|
September 4, 2009, 12:28 |
|
#3 | |
New Member
Mark Lee
Join Date: Jul 2009
Posts: 3
Rep Power: 17 |
Quote:
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). |
||
September 4, 2009, 23:59 |
|
#4 |
New Member
Mark Lee
Join Date: Jul 2009
Posts: 3
Rep Power: 17 |
I email tecplot Inc. He told me to add flag -lstdc++ in compile option, and it works right.
|
|
September 5, 2009, 07:47 |
I have a subroutin about that
|
#5 |
New Member
Asghar
Join Date: Apr 2009
Posts: 16
Rep Power: 17 |
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)
|
|
December 16, 2010, 08:03 |
|
#6 | |
Member
pradeep
Join Date: Jul 2010
Posts: 31
Rep Power: 16 |
Quote:
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. |
||
|
|
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 |