CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > Tecplot

Trying to use tecplot to visualize my result

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

Reply
 
LinkBack Thread Tools Display Modes
Old   October 29, 2010, 13:07
Default Trying to use tecplot to visualize my result
  #1
New Member
 
Lei Zhang
Join Date: Oct 2010
Posts: 1
Rep Power: 0
boilermaker is on a distinguished road
Dear all,

I want to output my calculation result to binary tecplot data using functions provided by tecio64.a on Linux platform.

I included the "libraries" and "include" under tecplot directory in my makefile. But I still get error messages like "undefined reference to tecini112." It seems I still fail to use the library tecio64.a.

Could anyone tell me what shall I to to use the library functions such as tecini, tecdat, etc.?

Thank you very much!
boilermaker is offline   Reply With Quote

Old   June 30, 2012, 19:22
Default same problem
  #2
New Member
 
Juan Diego Colmenares
Join Date: Jun 2012
Posts: 3
Rep Power: 5
juaneco2710 is on a distinguished road
Hello,

I'm new using Linux (Ubuntu 12 LTS, 32-bit). I am also new at using Tecplot360. I am having the same problem. I wonder if anyone knows how to solve it.

I've been trying to compile the example file simtest.f90, using this two commands:

1. f95 -fcray-pointer -lstdc++ simtest.f90 tecio.a
2. f95 -fcray-pointer simtest.f90 tecio.f90

In the first case, I get a huge list of errors such as this:
./Tecplot360/util/tecio.a(TranslatedString.o).gnu.linkonce.d._ZTIN 7tecplot7strutil16TranslatedStringE[typeinfo for tecplot::strutil::TranslatedString]+0x0): undefined reference to `vtable for __cxxabiv1::__class_type_info'

In the second case, I get that tecio.f90 stopped unexpectedly.
juaneco2710 is offline   Reply With Quote

Old   September 12, 2012, 10:14
Default
  #3
New Member
 
kenan
Join Date: Sep 2012
Posts: 5
Rep Power: 4
kcengiz is on a distinguished road
Quote:
Originally Posted by juaneco2710 View Post
Hello,

1. f95 -fcray-pointer -lstdc++ simtest.f90 tecio.a
2. f95 -fcray-pointer simtest.f90 tecio.f90

.
change the order of the libraries when linking. Try:
f95 -fcray-pointer simtest.f90 tecio.a -lstdc++
That is, -lstdc++ should come after tecio.a

By the way, I wonder why there is such duality: is it tecini or tecini112 function?? what is the difference? I used tecini, tecend, etc (without '112'), everything worked fine.
kcengiz is offline   Reply With Quote

Old   September 13, 2012, 11:06
Default
  #4
Senior Member
 
Scott Rumage
Join Date: May 2009
Location: Seattle, WA
Posts: 117
Rep Power: 8
scott_rumage is on a distinguished road
The "112" refers to a version number of the Tecplot TecIO utility. If memory serves me correctly "112" was released in 2006. The TecIO commands without this number extenstion are older. Using the latest TecIO commands can be helpful as the complexity of one's grid (polyhedral, etc.) and/or data increases.

One can create a binary Tecplot file with the older version of TecIO, and it should be readable by current versions of Tecplot.

For the TecIO version appropirate to your version of Tecplot go to the computer where you have Tecplot installed and look in the "doc/bin" folder.

Scott
scott_rumage is offline   Reply With Quote

Old   September 17, 2012, 09:38
Default
  #5
New Member
 
kenan
Join Date: Sep 2012
Posts: 5
Rep Power: 4
kcengiz is on a distinguished road
i've just tried tecini112 etc. instead. it did not work, though. i use tec360 2010 64 bit version which I just downloaded tecio64.a from tecplot download page. it was said to be 2009 released 64 bit tecio library.
I presume they removed "112" from the functions in 64 bit versions. 64 bit versions should be already new after all. that is, people started to use 64bit computers after 2006.
is my assumption correct??

Last edited by kcengiz; September 18, 2012 at 08:37.
kcengiz is offline   Reply With Quote

Old   October 8, 2012, 04:05
Default
  #6
New Member
 
kenan
Join Date: Sep 2012
Posts: 5
Rep Power: 4
kcengiz is on a distinguished road
I think the answer is that I bind tecio from fortran. I don't need to include tecio.h nor do I need to use 112 suffix. I just utilized the library just as described in the link http://www.aem.umn.edu/~nompelis/tecio.htm
kcengiz is offline   Reply With Quote

Old   October 8, 2012, 04:08
Default
  #7
New Member
 
kenan
Join Date: Sep 2012
Posts: 5
Rep Power: 4
kcengiz is on a distinguished road
I guess the answer is that I use fortran to call the library functions. I don't need to include tecio.h nor do I need to add "112" suffix. I just utilized it as described in the link http://www.aem.umn.edu/~nompelis/tecio.htm
kcengiz is offline   Reply With Quote

Old   October 16, 2012, 17:03
Default
  #8
New Member
 
Steve Robinson
Join Date: Oct 2012
Posts: 1
Rep Power: 0
ssrobins is on a distinguished road
It looks like you probably already have a solution, but here are the steps to getting the simtest fortran script running on Ubuntu 12.04 32-bit:

Download the simtest.f90 and tecio.f90 source files from here:
ftp://ftp.tecplot.com/misc/training/advanced/tecio/f/
Download the proper TecIO library. For 32-bit Linux it would be this:
http://download.tecplot.com/tecio/20...nux.26/tecio.a

For modern 64-bit Linux (Ubuntu 8/10/12, CentOS 5/6, Red Hat 5/6, SUSE 11/12), I recommend this:
http://download.tecplot.com/tecio/20...4.26/tecio64.a

Run the following command to install FORTRAN and C++ compilers:
sudo apt-get install gfortran g++

Run this commend to build:
gfortran -fcray-pointer simtest.f90 tecio.a -lstdc++
NOTE: The order of the -lstdc++ flag matters for gfortran in Ubuntu 12. I recall it didn't matter previously

Run this command to run the program and generate the .plt file:
./a.out
ssrobins is offline   Reply With Quote

Reply

Thread Tools
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 On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Importing contour maps into Tecplot jcostex Tecplot 1 May 20, 2009 12:48
how to export the cfx result to the tecplot dpshaka CFX 0 December 1, 2005 12:00
Using Tecplot for contours display david FLUENT 2 August 23, 2005 22:37
Tecplot can't read data file from Fluent. stephen FLUENT 8 November 21, 2001 21:27
how to visualize the result luo Phoenics 5 October 10, 2001 20:37


All times are GMT -4. The time now is 21:13.