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

foamToTecplot360

Register Blogs Community New Posts Updated Threads Search

Like Tree36Likes

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   September 4, 2009, 09:40
Default foamToTecplot360
  #1
New Member
 
Join Date: May 2009
Posts: 21
Rep Power: 17
thomasduerr is on a distinguished road
Hi everybody,

is there already a (maybe preliminary) version of foamToTecplot360 for version 1.6(.x) available?
If one were to write such an application what were the main challenges?
( I am rel. new to OF & C++ but would like to postprocessing things with Tecplot 360 scripts as an alternative to Matlab)

Thanks a lot!
rujia likes this.
thomasduerr is offline   Reply With Quote

Old   December 7, 2009, 19:43
Default OpenFOAM to Tecplot 360 converter note
  #2
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. http://www.opencfd.co.uk/openfoam/download.html

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.
krishtej23 likes this.
scott_rumage is offline   Reply With Quote

Old   July 15, 2010, 08:32
Default foamToTecplot360 and OpenFOAM 1.5-dev
  #3
New Member
 
Steffen
Join Date: Oct 2009
Posts: 7
Rep Power: 17
steve is on a distinguished road
Hi everybody,

I have problems compiling foamToTecplot360 on OpenFOAM 1.5-dev. Is there a way to get this compiler running with this OpenFOAM version, too?
Any hints are highly appreciated!

Thanks a lot!

Kind regards,
Steffen
steve is offline   Reply With Quote

Old   August 4, 2010, 20:30
Default
  #4
Member
 
Naveen
Join Date: Feb 2010
Location: Los Angeles
Posts: 65
Rep Power: 16
vetnav is on a distinguished road
Hi,

I am also running into the same problem, any help on how to read the .plt files generated by running the command foamToTecplot360

Thanks
Naveen
vetnav is offline   Reply With Quote

Old   October 14, 2010, 17:35
Default
  #5
Member
 
Join Date: Sep 2010
Posts: 36
Rep Power: 16
anfho is on a distinguished road
Hi All,
does OF 1.7.1 come with a foamToTecplot360 converter or how do I need to install it? Thanks!
Andreas
anfho is offline   Reply With Quote

Old   October 14, 2010, 17:50
Default foamToTecplot360 for 1.7
  #6
Senior Member
 
Scott Rumage
Join Date: May 2009
Location: Seattle, WA
Posts: 152
Rep Power: 17
scott_rumage is on a distinguished road
Andreas,

It is my understanding that the foamToTecplot 360 converter is part of the standard download of OpenFOAM 1.7

Scott
scott_rumage is offline   Reply With Quote

Old   October 14, 2010, 19:10
Default
  #7
Retired Super Moderator
 
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 10,981
Blog Entries: 45
Rep Power: 128
wyldckat is a name known to allwyldckat is a name known to allwyldckat is a name known to allwyldckat is a name known to allwyldckat is a name known to allwyldckat is a name known to all
Greetings to all!

Just in case Andreas's next question is "then where is it?"
  • Where is the binary?
    Code:
    which foamToTecplot360
  • Where is the source code?
    Code:
    find $FOAM_UTILITIES -name foamToTecplot360
Best regards,
Bruno
sabiru likes this.
__________________
wyldckat is offline   Reply With Quote

Old   May 1, 2011, 01:21
Default Do you need foamToTecplot360 for 2008
  #8
New Member
 
Hyung Min Kim
Join Date: Mar 2011
Posts: 5
Rep Power: 15
pius is on a distinguished road
Hi ! everyone

If you want to try modified "foamToTecplot360" for tec360 2008
Please let me know your email address. I will send it to you.
or you can get it at my webpage

pius

Last edited by pius; May 1, 2011 at 22:05.
pius is offline   Reply With Quote

Old   July 21, 2011, 07:37
Default
  #9
Member
 
R. P.
Join Date: Jul 2010
Posts: 73
Rep Power: 16
Rophys is on a distinguished road
Hello,

I'm using the rhoCentralFoam in the openFoam 2.0. When a tried to use the command foamToTecplo360 it gave me the following error: "command not found". In the others versions I didn't have problems using it. Somebody knows how to solve this problem ?

Cheers.
Rophys is offline   Reply With Quote

Old   July 21, 2011, 17:22
Default
  #10
Retired Super Moderator
 
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 10,981
Blog Entries: 45
Rep Power: 128
wyldckat is a name known to allwyldckat is a name known to allwyldckat is a name known to allwyldckat is a name known to allwyldckat is a name known to allwyldckat is a name known to all
Greetings Rodrigo,

The library for Tecplot file handling isn't licensed as GPL, the one used by OpenFOAM. Therefore, OpenCFD has set things right in OpenFOAM 2.0 and has moved this library outside of OpenFOAM's code.

Unfortunately, they left only a little information around for people to figure out for themselves what to do. They wrote on the files README.html and README.org at ThirdParty-2.0.0/x where one can find the tecio library. The idea is to download the given link and unpack it into the folder ThirdParty-2.0.0/x.

Then go back to the main OpenFOAM folder and run Allwmake again and things will get themselves straight.

On the other hand, if you are using the Debian packages of OpenFOAM for Ubuntu/Debian, then things get a bit more complicated. If this is the case, I can write instructions for building the tecio library and foamToTecplot360.

Now, if you built OpenFOAM yourself and if you are feeling a bit lazy, you can use the getter script from here... or better yet, here's what you can run:
Code:
foam3rdParty
wget "http://www.openfoam.com/mantisbt/file_download.php?file_id=108&type=bug" -O getTecIO
chmod +x getTecIO
./getTecIO
foam
./Allwmake
Best regards,
Bruno
__________________
wyldckat is offline   Reply With Quote

Old   July 22, 2011, 07:54
Default Thanks
  #11
Member
 
R. P.
Join Date: Jul 2010
Posts: 73
Rep Power: 16
Rophys is on a distinguished road
Hi Bruno,

Thank you very much for your information. It was very helpful.

If somebody have the same problem, not forget to execute the command ./Allwmake in the thirdPart and in the openFoam folders.

Cheers
Rophys is offline   Reply With Quote

Old   August 20, 2011, 04:39
Default
  #12
Member
 
Jignesh
Join Date: Aug 2011
Location: India
Posts: 68
Rep Power: 15
jignesh_thaker2007 is on a distinguished road
Send a message via Yahoo to jignesh_thaker2007
Hi ! everyone
I m using openfoam2.0.0. so plz tel me how to install techplot for converting data of openfoam
jignesh_thaker2007 is offline   Reply With Quote

Old   August 21, 2011, 16:26
Default
  #13
Member
 
R. P.
Join Date: Jul 2010
Posts: 73
Rep Power: 16
Rophys is on a distinguished road
Hi...

So, are you using the openFoam 2.0 and you wish convert your results to use the Tecplot ? I this way, use the command foamToTecplot360 after finish your simulation.

Obs.: Tecplot is not free. You need to buy or use one that is available in yoir university or campany.

Cheers.
Rophys is offline   Reply With Quote

Old   August 23, 2011, 03:14
Default
  #14
Member
 
Jignesh
Join Date: Aug 2011
Location: India
Posts: 68
Rep Power: 15
jignesh_thaker2007 is on a distinguished road
Send a message via Yahoo to jignesh_thaker2007
Quote:
Originally Posted by Rophys View Post
Hi...

So, are you using the openFoam 2.0 and you wish convert your results to use the Tecplot ? I this way, use the command foamToTecplot360 after finish your simulation.

Obs.: Tecplot is not free. You need to buy or use one that is available in yoir university or campany.

Cheers.
Thanks

i will try to do this
jignesh_thaker2007 is offline   Reply With Quote

Old   August 23, 2011, 03:37
Default
  #15
Member
 
Jignesh
Join Date: Aug 2011
Location: India
Posts: 68
Rep Power: 15
jignesh_thaker2007 is on a distinguished road
Send a message via Yahoo to jignesh_thaker2007
Quote:
Originally Posted by jignesh_thaker2007 View Post
Thanks

i will try to do this
I tried but it cant work error like command not found
so
plz help me to solve this problem
what are the steps to convert the data of openfoam to techplot360?
right now i havent install tech plot
but i need data file of openfoam in to .dat or .plt format
so what is the procedure to write data in above format?

i m waiting for ur reply
jignesh_thaker2007 is offline   Reply With Quote

Old   August 23, 2011, 06:15
Default
  #16
Member
 
R. P.
Join Date: Jul 2010
Posts: 73
Rep Power: 16
Rophys is on a distinguished road
Hi,

Now I understand your problem. So, follow the steps that Bruno sad and you will fix the problem.

----------------------------------------------------------------------------------------------------------------------------

"The library for Tecplot file handling isn't licensed as GPL, the one used by OpenFOAM. Therefore, OpenCFD has set things right in OpenFOAM 2.0 and has moved this library outside of OpenFOAM's code.

Unfortunately, they left only a little information around for people to figure out for themselves what to do. They wrote on the files README.html and README.org at ThirdParty-2.0.0/x where one can find the tecio library. The idea is to download the given link and unpack it into the folder ThirdParty-2.0.0/x.

Then go back to the main OpenFOAM folder and run Allwmake again and things will get themselves straight.

On the other hand, if you are using the Debian packages of OpenFOAM for Ubuntu/Debian, then things get a bit more complicated. If this is the case, I can write instructions for building the tecio library and foamToTecplot360.

Now, if you built OpenFOAM yourself and if you are feeling a bit lazy, you can use the getter script from here... or better yet, here's what you can run:"
Code:
foam3rdParty
wget "http://www.openfoam.com/mantisbt/file_download.php?file_id=108&type=bug" -O getTecIO
chmod +x getTecIO
./getTecIO
foam
./Allwmake
Rophys is offline   Reply With Quote

Old   August 23, 2011, 06:48
Default
  #17
Retired Super Moderator
 
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 10,981
Blog Entries: 45
Rep Power: 128
wyldckat is a name known to allwyldckat is a name known to allwyldckat is a name known to allwyldckat is a name known to allwyldckat is a name known to allwyldckat is a name known to all
Greetings to all!

OOooohhh... now I get it @jignesh_thaker2007, you could have been more specific with your question on the other threads where you posted...

Here's what you need to do first and follow this to the letter!
Code:
mkdir -p $HOME/.OpenFOAM/2.0.1
mkdir -p $HOME/OpenFOAM
cd $HOME/OpenFOAM
#wget "http://downloads.sourceforge.net/foam/ThirdParty-2.0.1.gtgz?use_mirror=mesh" -O ThirdParty-2.0.1.gtgz #old version
#tar -xzf ThirdParty-2.0.1.gtgz #old version
mkdir ThirdParty-2.0.1
wget "https://github.com/OpenCFD/ThirdParty-2.0.x/tarball/master" -O ThirdParty-2.0.x.tar.gz
tar -xzf ThirdParty-2.0.x.tar.gz -C ThirdParty-2.0.1 --strip-components=1
echo export WM_THIRD_PARTY_DIR=$HOME/OpenFOAM/ThirdParty-2.0.1 > $HOME/.OpenFOAM/2.0.1/prefs.sh
wmSET
Now for the second part, which is what Rophys was talking about:
Code:
foam3rdParty
wget "http://www.openfoam.com/mantisbt/file_download.php?file_id=108&type=bug" -O getTecIO
chmod +x getTecIO
./getTecIO
 ./Allwmake
Do Allwmake here. Sorry about this... doing more than one thing at a time leads to these kinds of errors

Third part:
Code:
mkdir -p $FOAM_RUN
cd $FOAM_RUN/..
cp -r $WM_PROJECT_DIR/applications/utilities/postProcessing/dataConversion/foamToTecplot360 foamToTecplot360
cd foamToTecplot360
sed -i -e 's=FOAM_APPBIN=FOAM_USER_APPBIN=' Make/files
./Allwmake
OK, now it should work!

Best regards,
Bruno
__________________

Last edited by wyldckat; August 23, 2011 at 12:49. Reason: added a third part
wyldckat is offline   Reply With Quote

Old   August 23, 2011, 06:54
Default
  #18
Member
 
Jignesh
Join Date: Aug 2011
Location: India
Posts: 68
Rep Power: 15
jignesh_thaker2007 is on a distinguished road
Send a message via Yahoo to jignesh_thaker2007
Quote:
Originally Posted by wyldckat View Post
Greetings to all!

OOooohhh... now I get it @jignesh_thaker2007, you could have been more specific with your question on the other threads where you posted...

Here's what you need to do first and follow this to the letter!
Code:
mkdir -p $HOME/.OpenFOAM/2.0.1
mkdir -p $HOME/OpenFOAM
cd $HOME/OpenFOAM
wget "http://downloads.sourceforge.net/foam/ThirdParty-2.0.1.gtgz?use_mirror=mesh" -O ThirdParty-2.0.1.gtgz
tar -xzf ThirdParty-2.0.1.gtgz
echo export WM_THIRD_PARTY_DIR=$HOME/OpenFOAM/ThirdParty-2.0.1 > $HOME/.OpenFOAM/2.0.1/prefs.sh
wmSET
Now for the second part, which is what Rophys was talking about:
Code:
foam3rdParty
wget "http://www.openfoam.com/mantisbt/file_download.php?file_id=108&type=bug" -O getTecIO
chmod +x getTecIO
./getTecIO
foam
./Allwmake
I haven't tested this yet, but it should work as intended.

Best regards,
Bruno


yes sir,
i m doing above procedure right now
thanks sir for ur kind reply
jignesh_thaker2007 is offline   Reply With Quote

Old   August 23, 2011, 08:21
Default
  #19
Retired Super Moderator
 
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 10,981
Blog Entries: 45
Rep Power: 128
wyldckat is a name known to allwyldckat is a name known to allwyldckat is a name known to allwyldckat is a name known to allwyldckat is a name known to allwyldckat is a name known to all
I forgot about a detail on the previous post, which I've edited and added now.

See the new third part, as well as the end of the second part which I've edited.

Best regards,
Bruno
__________________
wyldckat is offline   Reply With Quote

Old   August 23, 2011, 10:54
Default
  #20
Member
 
Jignesh
Join Date: Aug 2011
Location: India
Posts: 68
Rep Power: 15
jignesh_thaker2007 is on a distinguished road
Send a message via Yahoo to jignesh_thaker2007
hiiiiiiiiii sir

sir this process takes long time may be 4 hour because downloading speed is very slow

sir i used openfoam version 2.0.0. & i think above details is for foam2.0.1
so is there any trouble arise?

Last edited by jignesh_thaker2007; August 23, 2011 at 11:14.
jignesh_thaker2007 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



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