CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > Software User Forums > OpenFOAM > OpenFOAM Post-Processing

It would be wonderful if a tool for FoamToTecplot is available

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   October 12, 2009, 08:22
Default
  #101
New Member
 
Steffen
Join Date: Oct 2009
Posts: 7
Rep Power: 17
steve is on a distinguished road
Thank you for your help, Huang!

I changed the foamToTecplot.C file, but I keep getting an error message:

foamToTecplot.C: In function ‘bool Foam:perator==(const Foam::VectorSpace<Form, Cmpt, nCmpt>&, const Foam::VectorSpace<Form, Cmpt, nCmpt>&) [with Form = Foam::Vector<double>, Cmpt = double, int nCmpt = 3]’:
foamToTecplot.C:121: internal compiler error: Illegal instruction
...
make: *** [Make/linuxGccDPOpt/foamToTecplot.o] Fehler 1

Do you have an idea how to fix this?
Best regards,

Steffen
steve is offline   Reply With Quote

Old   October 12, 2009, 10:19
Default
  #102
New Member
 
Huang
Join Date: Sep 2009
Posts: 11
Rep Power: 17
hhuang84 is on a distinguished road
It seems to me that you are using 1.6v rather 1.6.xv. Maybe the constructor interface has been updated. it works for me under 1.6.x OpenFoam. download dkingsley's scripts. In that files, there is no vectorSpace.
hhuang84 is offline   Reply With Quote

Old   October 12, 2009, 15:26
Default
  #103
Member
 
vishwanath somashekar
Join Date: Apr 2009
Posts: 41
Rep Power: 17
vishwa is on a distinguished road
Hi,
I dowloaded dkingley's tar file..untarred it and when i type wmake and i get the following error

Quote:
make: *** No rule to make target `/home/dagarshali/OpenFOAM/OpenFOAM-1.6.x/src/OpenFOAM/lnInclude/CintDefs.H', needed by `foamToTecplot.dep'. Stop.
I have 1.6.x..

any help..

Regards,
Vishwa
vishwa is offline   Reply With Quote

Old   October 13, 2009, 11:35
Default
  #104
New Member
 
Huang
Join Date: Sep 2009
Posts: 11
Rep Power: 17
hhuang84 is on a distinguished road
try
rm foamToTecplot.dep and then wmake
hhuang84 is offline   Reply With Quote

Old   October 18, 2009, 11:17
Default
  #105
New Member
 
Xinze
Join Date: Mar 2009
Location: Shenyang, China
Posts: 15
Rep Power: 17
Xinze is on a distinguished road
Quote:
Originally Posted by hhuang84 View Post
I changed the following in foamToTecplot.C (1.5.x )so that it can run in 1.6.x.
// volPointInterpolation pInterp(mesh, pMesh);
volPointInterpolation pInterp(mesh);
Just do it.
foamToTecplot can be compiled right!
It seems the volPointInterpolation implementation has been revised on OF-1.6!
Xinze is offline   Reply With Quote

Old   October 18, 2009, 13:59
Default
  #106
Member
 
vishwanath somashekar
Join Date: Apr 2009
Posts: 41
Rep Power: 17
vishwa is on a distinguished road
Did that..and it worked..

Thanks very much
vishwa is offline   Reply With Quote

Old   December 2, 2009, 15:21
Default OpenFOAM 1.6 to Tecplot converter announcement
  #107
Senior Member
 
Scott Rumage
Join Date: May 2009
Location: Seattle, WA
Posts: 152
Rep Power: 17
scott_rumage is on a distinguished road
Tecplot,Inc. in conjunction with OpenCFD® is pleased to announce the availability of an OpenFOAM-to-Tecplot data converter application at the OpenFOAM® 1.6.x git repository.

Steps for installing the converter are:
1. Set your TEC_360_2009 environment variable to the root of your Tecplot360 folder if it isn’t already set.
2. Download the bug fix/patched version from the repository
3. Run Allwmake in the foamToTecplot360 source directory since the tecio libraries need to be built first.


The converter will work with the following OpenFOAM® results:
- static mesh, multiple time steps
- moving mesh (geometry only changes)
- changing mesh (geometry and topology changes)
- polyhedral cell support
- point values (internal fields)
- point values (boundary fields)
- cell values (internal fields)
- cell values (boundary fields)
- multiple sets of lagrangian data ('clouds') with fields
- outputting a mesh with multiple regions

Please contact Scott Rumage ( s . rumage @ tecplot . com) if you have any questions or would like more information about the converter.

OpenFOAM® is a registered trademark of OpenCFD® Ltd., who are the producers of the OpenFOAM® software and owner of the OpenFOAM® and OpenCFD® trademarks.

Last edited by scott_rumage; December 7, 2009 at 13:02. Reason: Correction per egp's note
scott_rumage is offline   Reply With Quote

Old   December 2, 2009, 17:20
Default
  #108
Senior Member
 
akidess's Avatar
 
Anton Kidess
Join Date: May 2009
Location: Germany
Posts: 1,377
Rep Power: 30
akidess will become famous soon enough
This is great, thanks a lot Scott!
akidess is offline   Reply With Quote

Old   December 5, 2009, 08:58
Default
  #109
egp
Senior Member
 
egp's Avatar
 
Eric Paterson
Join Date: Mar 2009
Location: Blacksburg, VA
Posts: 197
Blog Entries: 1
Rep Power: 18
egp is on a distinguished road
One small correction to Scott's post: you need to run Allwmake in the foamToTecplot360 source directory since the tecio libraries need to be built first.
egp is offline   Reply With Quote

Old   December 9, 2009, 05:50
Default
  #110
Member
 
Julien Schaguene
Join Date: Apr 2009
Location: France
Posts: 55
Rep Power: 17
Schag is on a distinguished road
Good morning,
I don't find foamToTecplot in the .gtgz version of OF.
Unfortunatly I don't have access to the internet with linux, only with windows. And I don't manage to find the link to this new utility.
Can someone help me please?

Thanks a lot!
Schag is offline   Reply With Quote

Old   December 9, 2009, 14:21
Default foamToTecplot360 git repository
  #111
Senior Member
 
gocarts's Avatar
 
Richard Smith
Join Date: Mar 2009
Location: Enfield, NH, USA
Posts: 138
Blog Entries: 4
Rep Power: 17
gocarts is on a distinguished road
Quote:
Originally Posted by Schag View Post
I don't manage to find the link to this new utility
If it's any help, you can browse the OpenFOAM 1.6.x git repository directory containing the foamToTecplot360 source code at:
http://repo.or.cz/w/OpenFOAM-1.6.x.g...amToTecplot360

You can download the tgz archive of the foamToTecplot360 directory tree in the repository by using the 'tar.gz' link in the top left corner of the same page.

I'd suggest you build an entire distribution snapshot rather than try patching different repository directories together.

Hope this helps.
__________________
Symscape, Computational Fluid Dynamics for all
gocarts is offline   Reply With Quote

Old   December 11, 2009, 10:33
Default
  #112
Member
 
Julien Schaguene
Join Date: Apr 2009
Location: France
Posts: 55
Rep Power: 17
Schag is on a distinguished road
Thanks, I found it... but didn't manage to compile tecio lib... I'm using Debian on a dual core amd64...
Schag is offline   Reply With Quote

Old   December 13, 2009, 16:01
Post Segmentation fault
  #113
Member
 
Join Date: Mar 2009
Posts: 46
Rep Power: 17
mmahdinia is on a distinguished road
Hi Dear Scott,

Thanks very much for this awesome tool, foamToTecplot.

Unfortunately, the code doesn't work for my case. I have too many meshes (2 million) and my geometry is a simple box with unifrom cartesian meshes. When I run the code, ir gives me: "Segmentation Fault" error, which I don't know what is about. I should also mention that when I lower the number of meshes (e.g. 0.5 million) it works fine!

Could you please help me with this?
mmahdinia is offline   Reply With Quote

Old   December 14, 2009, 13:36
Default Segmentation fault
  #114
Senior Member
 
Scott Rumage
Join Date: May 2009
Location: Seattle, WA
Posts: 152
Rep Power: 17
scott_rumage is on a distinguished road
Dear Mani,

I am not aware of any limitation of the converter based on mesh size. Accordingly, the size of mesh at 2 million cells should not be the issue that is creating the segmentation fault.

Sorry that I am unable to help with a suggested solution.

Regards,
Scott
scott_rumage is offline   Reply With Quote

Old   December 14, 2009, 13:53
Post Variable limitation
  #115
Member
 
Join Date: Mar 2009
Posts: 46
Rep Power: 17
mmahdinia is on a distinguished road
Dear Scott,

Isn't there any limitations on the number of the variables? My varaiables are more than 20!
mmahdinia is offline   Reply With Quote

Old   December 14, 2009, 20:21
Default Variable limit
  #116
Senior Member
 
Scott Rumage
Join Date: May 2009
Location: Seattle, WA
Posts: 152
Rep Power: 17
scott_rumage is on a distinguished road
One can have over 30 000 (thirty thousand) variables in a Tecplot 360 data set.

However, if one is combining data set "A" with data set "B" into one session of 360, then the data sets must have the same amount of variables. For example if data set "A" has variables x,y,z,u,v,w then data set "B" will need to have the same variable set if one wishes to view both results together in 360.
scott_rumage is offline   Reply With Quote

Old   December 15, 2009, 06:41
Default
  #117
Member
 
Julien Schaguene
Join Date: Apr 2009
Location: France
Posts: 55
Rep Power: 17
Schag is on a distinguished road
Dear Scott,

I downloaded the foamToTecplot360, but didn't manage to compile the tecio lib...
I do not find the right platform.
When I run the "uname -a" command, I get:
Linux MY_COMPUTER 2.6.26-2-amd64 #1 SMP [date] x86_64 GNU/Linux

How can I compile the tecio lib? which platform do I have to choose?
Best regards,
Julien
Schag is offline   Reply With Quote

Old   December 15, 2009, 13:49
Default Platform choice for TecIO lib
  #118
Senior Member
 
Scott Rumage
Join Date: May 2009
Location: Seattle, WA
Posts: 152
Rep Power: 17
scott_rumage is on a distinguished road
Dear Julien,

If Tecplot is installed on your machine, when you run it the platform will be listed in the first line of the command window. It should look something like: Tecplot 12.1.1.xxxx - hh:mm:ss mm-dd-yyyy [platform].

Also note that even if the platform is not on the TecIO build script list, it may still work as the list hasn't been kept up to date with our supported platforms. However, I must also add, that if the platform is not supported, we do not guarantee that it will work.

Alternatively, you can try downloading and running this shell script:

http://download.tecplot.com/QuerySys

to determine the platform.

Please let us know if this helps.

Best regards,
Scott
scott_rumage is offline   Reply With Quote

Old   December 16, 2009, 13:15
Post OpenFOAM 1.5
  #119
Member
 
Join Date: Mar 2009
Posts: 46
Rep Power: 17
mmahdinia is on a distinguished road
Dear Scott,

I am so sorry to bother again. But I wondered if the tool works for OpenFOAM 1.5 also.

Thanks in advance
Mani
mmahdinia is offline   Reply With Quote

Old   December 16, 2009, 13:53
Default OpenFOAM 1.5
  #120
Senior Member
 
Scott Rumage
Join Date: May 2009
Location: Seattle, WA
Posts: 152
Rep Power: 17
scott_rumage is on a distinguished road
Dear Mani,

The converter is not supported for use with 1.5 data but I am aware that some users have successfully used it for results from this version.

So the best I can say is “give it a try” to see if it will work for you.

Regards,
Scott

P.S. I will be on holiday from 18 to 27 December, and will not be responding to this thread during that time.
scott_rumage is offline   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
Problem manipulating Data in Tecplot after foamToTecplot Conversion titio OpenFOAM Post-Processing 2 June 10, 2010 05:23
CFD science or tool? Mateusz Main CFD Forum 10 November 25, 2008 00:16
[mesh manipulation] ScalePoints tool cedric_duprat OpenFOAM Meshing & Mesh Conversion 6 September 19, 2008 04:15
Gridgeneration Tool AndyR Main CFD Forum 2 May 23, 2008 09:49
PDF repaire tool? John Main CFD Forum 0 February 23, 2008 08:32


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