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   January 29, 2009, 12:56
Default Hi Dennis, I am also having
  #81
Senior Member
 
Alexandre Pereira
Join Date: Mar 2009
Posts: 155
Rep Power: 17
alexandrepereira is on a distinguished road
Hi Dennis,

I am also having some prob in porting foamToTecplot to OF-1.5.x...

I take it something has to be changed in /Make/options, but what exactly...?

I am not much familiarized with OF-1.5 yet....

Best regards

Alex
alexandrepereira is offline   Reply With Quote

Old   January 29, 2009, 13:07
Default I don;t have time to perform a
  #82
Member
 
Dennis Kingsley
Join Date: Mar 2009
Location: USA
Posts: 45
Rep Power: 17
dkingsley is on a distinguished road
I don;t have time to perform a diff and tell you what changed so I have uploaded the code.


dkingsley is offline   Reply With Quote

Old   January 29, 2009, 17:26
Default Hi Dennis Thanx a lot... bu
  #83
Senior Member
 
Alexandre Pereira
Join Date: Mar 2009
Posts: 155
Rep Power: 17
alexandrepereira is on a distinguished road
Hi Dennis

Thanx a lot... but I cannot get it from this page... The only thing that shows up is the pic of a folder... but the link doesn't work... :-(

Alex
alexandrepereira is offline   Reply With Quote

Old   January 29, 2009, 17:55
Default second try. http://www.cfd
  #84
Member
 
Dennis Kingsley
Join Date: Mar 2009
Location: USA
Posts: 45
Rep Power: 17
dkingsley is on a distinguished road
second try.

foamToTecplot1.5.x.tar.gz
dkingsley is offline   Reply With Quote

Old   January 29, 2009, 18:28
Default Thx a Lot Dennis :-)
  #85
Senior Member
 
Alexandre Pereira
Join Date: Mar 2009
Posts: 155
Rep Power: 17
alexandrepereira is on a distinguished road
Thx a Lot Dennis :-)
alexandrepereira is offline   Reply With Quote

Old   February 24, 2009, 00:10
Default why i got some file named *.un
  #86
New Member
 
Jun Huang
Join Date: Mar 2009
Posts: 6
Rep Power: 17
mmjhuang is on a distinguished road
why i got some file named *.unk. how to open them?
mmjhuang is offline   Reply With Quote

Old   February 24, 2009, 01:42
Default well, i opened the *.unk file
  #87
New Member
 
Jun Huang
Join Date: Mar 2009
Posts: 6
Rep Power: 17
mmjhuang is on a distinguished road
well, i opened the *.unk file using tar -zxvf cmd. and put it at $HOME/OpenFOAM/OpenFOAM-1.1/applications/utilities/postProcessing/dataConversion /foamToTecplot/
using ls command ,shows
root@jun-desktop:/home/jun/OpenFOAM/install/foamToTecplot# ls
checkFoamData.H Make writeDXheader.H
foamToTecplot.C writeDXdata.H writeDXseries.H
foamToTecplot.dep writeDXgrid.H writeTECfile.H


How to make it? my error is below:
root@jun-desktop:/home/jun/OpenFOAM/install/foamToTecplot# wmake
bash: wmake: command not found.

How to install wmake?
mmjhuang is offline   Reply With Quote

Old   May 4, 2009, 07:49
Default mesh refinement and tecplot
  #88
GC2
New Member
 
Giuseppina
Join Date: May 2009
Posts: 1
Rep Power: 0
GC2 is on a distinguished road
Hi all,

I want to use foamtotecplot with a refined mesh. The code breaks up and It is not able to translate the data.

The problem is in writeTECfile.H,
I have modified the begining of the file as
{
const pointField& points = mesh.points();
const cellShapeList& cells = mesh.cellShapes();
num_cell = 0;
forAll(cells, celli)
{
const labelList& shapeLabels = cells[celli];
const labelList& cll = mesh.cellPoints()[celli];
if(shapeLabels.size()>3)
{
num_cell = num_cell+1;
}
if(shapeLabels.size()<4)
// 4 is the minimum number of points for the pyramid cell.
{
num_cell = num_cell+1;
cout<<cll.size()<<"\n";
cout<<"number of points per cell"<<cll.size()<<"\n";
}

}

When a cell is a neighbour of refined cells, the numeber of points of each cell grows up. When the number of cellpoints is higher then 8, the cellShapes drops to 0.

cellShapes is used to create the tecplot connection matrix as in the lines
switch(shapeLabels.size())
{
case 8: // hex
dataOut
<< shapeLabels[0]+1 << tab
<< shapeLabels[1]+1 << tab
<< shapeLabels[2]+1 << tab
<< shapeLabels[3]+1 << tab
<< shapeLabels[4]+1 << tab
<< shapeLabels[5]+1 << tab
<< shapeLabels[6]+1 << tab
<< shapeLabels[7]+1 << endl;
break;



If we try to use directly cellPoints there, they are not ordered and the connection matrix of tecplot does not work well.
Can you help us?



thank you

Giuseppina
GC2 is offline   Reply With Quote

Old   May 8, 2009, 04:31
Default cylcic B.C
  #89
Senior Member
 
Ehsan
Join Date: Mar 2009
Posts: 112
Rep Power: 17
ehsan is on a distinguished road
Dear all,

My geometry includes cyclic boundary conditions and when I issue foamToTecplot, it gives me the error of "segmentation fault". What should I do in source files of foamToTecplot to recognize this B.C as well?

Regards
ehsan is offline   Reply With Quote

Old   May 8, 2009, 13:50
Default Tecplot Users Unite
  #90
Member
 
Dennis Kingsley
Join Date: Mar 2009
Location: USA
Posts: 45
Rep Power: 17
dkingsley is on a distinguished road
Everyone using Tecplot with OpenFoam should make some noise for a native OpenFOAM interface in Tecplot.

Tecplot representatives have recently taken notice and are trying to determine the number of users who would benifit.

I do not work for Tecplot, but I have a fair number of licenses.

djk
dkingsley is offline   Reply With Quote

Old   May 8, 2009, 17:27
Default Tecplot user contact
  #91
Senior Member
 
Scott Rumage
Join Date: May 2009
Location: Seattle, WA
Posts: 152
Rep Power: 17
scott_rumage is on a distinguished road
As a follow on to Dennis' statement:

My name is Scott Rumage, and I am Tecplot's Partner & Code Interface manager. If you have any comments or suggestions on why and how Tecplot should enhance its relationship with OpenFOAM, then please let me know via this forum or at s dot rumage at tecplot dot com.

I want to be very open about this -- I cannot make promises at this stage of how we will engage with the OpenFOAM community, but we are trying to understand what actions we can take that will give the greatest value to our users.

Thanks ahead of time for your time and comments on this subject.
scott_rumage is offline   Reply With Quote

Old   May 10, 2009, 10:18
Default
  #92
Senior Member
 
Ehsan
Join Date: Mar 2009
Posts: 112
Rep Power: 17
ehsan is on a distinguished road
Dear Scott,

Please see: http://www.cfd-online.com/Forums/ope...available.html

It is a 5 page forum about how to convert OF data to tecplots. It will be nice if tecplot had a loader for OF solutions.

Regards
ehsan is offline   Reply With Quote

Old   June 3, 2009, 09:51
Default
  #93
Senior Member
 
Dr. Fabian Schlegel
Join Date: Apr 2009
Location: Dresden, Germany
Posts: 222
Rep Power: 18
fs82 is on a distinguished road
Hi,

I use the foamToTecplot utility for data conversion between OpenFoam and Tecplot. First this is a great utitility but i miss something. I added the fieldAverage function to my controlDict and I get the Umean, Uprime2mean, pmean and pprime2mean values in my Openfoam time directory. If I now convert this time directory with foamToTecplot I only get the Umean, pmean and pprime2mean values in my Tecplot-file. But I need also the Uprime2mean values for calculating the reynolds stresses. I guess this field is not treated by the converter? I would be great if somebody could help and tell what I have to add to the source code of the converter for treating this fields too.

thx
fs82
fs82 is offline   Reply With Quote

Old   June 3, 2009, 10:52
Default
  #94
Member
 
Julian Krick
Join Date: May 2009
Location: Guelph
Posts: 88
Rep Power: 17
Julian K. is on a distinguished road
Hallo,
I'm using OpenSuse 10.3.
I tried to compile foamToTecplot and encountered the following error:

Making dependency list for source file foamToTecplot.C SOURCE=foamToTecplot.C ; g++ -m64 -Dlinux64 -DDP -Wall -Wno-strict-aliasing -Wextra -Wno-unused-parameter -Wold-style-cast -march=opteron -O3 -DNoRepository -ftemplate-depth-40 -I/home/julian/OpenFOAM/OpenFOAM-1.5/src/finiteVolume/lnInclude -IlnInclude -I. -I/home/julian/OpenFOAM/OpenFOAM-1.5/src/OpenFOAM/lnInclude -I/home/julian/OpenFOAM/OpenFOAM-1.5/src/OSspecific/Unix/lnInclude -fPIC -c $SOURCE -o Make/linux64GccDPOpt/foamToTecplot.o
/home/julian/OpenFOAM/ThirdParty/gcc-4.3.1/platforms/linux64/bin/../libexec/gcc/x86_64-unknown-linux-gnu/4.3.1/cc1plus: error while loading shared libraries: libmpfr.so.1: cannot open shared object file: No such file or directory
make: *** [Make/linux64GccDPOpt/foamToTecplot.o] Fehler 1


Here is the solution:
- go to Yast and install the following packages: "mpfr" and "mpfr-devel"
- then go again to the /foamToTecplot/ directory and type again:
wmake

It should compile correctly, then.
__________________
grid generation: ICEM CFD 13.0
solver: CFX 13.0
Julian K. is offline   Reply With Quote

Old   June 4, 2009, 12:31
Default
  #95
Senior Member
 
Dr. Fabian Schlegel
Join Date: Apr 2009
Location: Dresden, Germany
Posts: 222
Rep Power: 18
fs82 is on a distinguished road
Allright I found the solution of my problem. The converter indeed do not convert symmTensor fields, e.g. UPrime2Mean if you use the averaging function. But after a long search within the forum I found the solution. One have to use the utility <foamCalc components UPrimeToMean> and this splits the symmTensor into its parts xx,yy,zz,xy,xz,yz and writes 6 new scalar fields which could be converted by foamToTecplot.
fs82 is offline   Reply With Quote

Old   June 5, 2009, 13:10
Default
  #96
Senior Member
 
xinguang cui
Join Date: Mar 2009
Posts: 116
Rep Power: 17
flying is on a distinguished road
Hey dkingsley:

It is very pity that I can not download the files. Would you like to send the file to my email? I will be grateful for your kind help.
Ps: My openfoam version is 1.5.
Thanks and best wishes!
flying is offline   Reply With Quote

Old   June 5, 2009, 13:16
Default
  #97
Senior Member
 
xinguang cui
Join Date: Mar 2009
Posts: 116
Rep Power: 17
flying is on a distinguished road
Hey foamers:

I hope all of you have a good mood everyday.

The foamTotecplot is very great work. I would like to use the utility. It is very pity that I can not download the files from the netpage. Is anyone kind enough to send me the files to my email:loneboard@gmail.com?

I will be grateful for your kind help.
Ps: My openfoam version is 1.5.

Thanks and best wishes!
flying is offline   Reply With Quote

Old   October 1, 2009, 07:06
Default
  #98
New Member
 
Jens
Join Date: Sep 2009
Location: Regensburg, Germany
Posts: 2
Rep Power: 0
Jensel is on a distinguished road
Hi, forget about this posting, I saw to late that there are news. I don't know how to delete it. Thanks!

Hi, is there news about foamToTecplot? Is there a new version available? Thanks for an answer!
Jensel is offline   Reply With Quote

Old   October 7, 2009, 06:38
Default
  #99
New Member
 
Steffen
Join Date: Oct 2009
Posts: 7
Rep Power: 17
steve is on a distinguished road
Hello Everybody,

I was just wondering, if there is a version of foamToTecplot (like "foamToTecplot1.5.x.tar.gz" from Dennis Kingsley) that works with openFOAM 1.6.? Thanks to the very helpful people here, I could manage to get foamToTecplot running on openFOAM 1.5, but I'm still struggling to get it running on openFOAM 1.6...

Thanks for your help!
Best regards,

Steffen
steve is offline   Reply With Quote

Old   October 7, 2009, 23:55
Default
  #100
New Member
 
Huang
Join Date: Sep 2009
Posts: 11
Rep Power: 17
hhuang84 is on a distinguished road
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);
hhuang84 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 05:30.