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

foamToTecplot360

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

Like Tree12Likes

Reply
 
LinkBack Thread Tools Display Modes
Old   March 19, 2013, 11:49
Default
  #61
Senior Member
 
stephane sanchi
Join Date: Mar 2009
Posts: 286
Rep Power: 7
openfoam_user is on a distinguished road
Dear Bruno,

let us know when the tool will be ready for the OpenFOAM v2.2.x release.

Best regards,
Stephane.
openfoam_user is offline   Reply With Quote

Old   March 24, 2013, 13:06
Default
  #62
Super Moderator
 
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 4,228
Blog Entries: 31
Rep Power: 45
wyldckat has a spectacular aura aboutwyldckat has a spectacular aura about
Hi Stephane,

I can only estimate that maybe I'll be able to look into this next weekend, namely over the Easter weekend, i.e. somewhere between 29th to 31st of March 2013 . I'll be über busy until then

Best regards,
Bruno
wyldckat is offline   Reply With Quote

Old   March 29, 2013, 19:09
Default
  #63
Super Moderator
 
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 4,228
Blog Entries: 31
Rep Power: 45
wyldckat has a spectacular aura aboutwyldckat has a spectacular aura about
Hi Stephane,

I've added the branch for OpenFOAM 2.2 in the https://github.com/wyldckat/localFoamToTecplot360 repository.

I've only tested with OpenFOAM 2.2.x, I have not yet tested with 2.2.0. And I didn't need to change anything, because the code for 2.1.x works fine with 2.2.x...

Disclaimer: Keep in mind that this repository merely makes it easier to install foamToTecplot360 on existing OpenFOAM installations. It does not add any new features to the one originally provided... well, with the exception of also building on Mac OS X

Best regards,
Bruno
wyldckat is offline   Reply With Quote

Old   April 19, 2013, 11:44
Default Problem with Using Git for of21
  #64
New Member
 
sasan
Join Date: Jan 2013
Posts: 2
Rep Power: 0
sanysaly is on a distinguished road
Hi Bruno,
When I tried to install the code after "git checkout of21 " I got:
Code:
Branch of21 set up to track remote branch of21 from origin.
Switched to a new branch 'of21'
and after "./Allwmake" I got:
Code:
+ ./getTecIO
./getTecIO: line 27: wget: command not found
no 'tecio2009.zip' to unpack

For more information about the TecIO library, visit:
   http://www.tecplot.com/Downloads/TecIOLibrary.aspx

Press Enter to continue...

+ wmake libso tecio/tecsrc/ ../../tecioMake/
wmake error: could not change to directory 'tecio/tecsrc/'
+ wmake foamToTecplot360
Making dependency list for source file tecplotWriter.C
could not open file TECIO.h for source file tecplotWriter.C
could not open file MASTER.h for source file tecplotWriter.C
could not open file GLOBAL.h for source file tecplotWriter.C
Making dependency list for source file vtkMesh.C
Making dependency list for source file foamToTecplot360.C
could not open file TECIO.h for source file foamToTecplot360.C
could not open file MASTER.h for source file foamToTecplot360.C
could not open file GLOBAL.h for source file foamToTecplot360.C
SOURCE=tecplotWriter.C ;  g++ -m64 -Dlinux64 -DWM_DP -Wall -Wextra -Wno-unused-parameter -Wold-style-cast -Wnon-virtual-dtor -O3  -DNoRepository -ftemplate-depth-100 -I -I/opt/OpenFOAM-2.1.1/src/lagrangian/basic/lnInclude -I/opt/OpenFOAM-2.1.1/src/finiteVolume/lnInclude -I/opt/OpenFOAM-2.1.1/src/meshTools/lnInclude -IlnInclude -I. -I/opt/OpenFOAM-2.1.1/src/OpenFOAM/lnInclude -I/opt/OpenFOAM-2.1.1/src/OSspecific/POSIX/lnInclude   -fPIC -c $SOURCE -o Make/linux64GccDPOpt/tecplotWriter.o
In file included from tecplotWriter.C:26:0:
tecplotWriter.H:39:19: fatal error: TECIO.h: No such file or directory
compilation terminated.
make: *** [Make/linux64GccDPOpt/tecplotWriter.o] Error 1
any help would be appreciated.
Thanks
sanysaly is offline   Reply With Quote

Old   April 19, 2013, 13:08
Default
  #65
Senior Member
 
akidess's Avatar
 
Anton Kidess
Join Date: May 2009
Location: Delft, Netherlands
Posts: 745
Rep Power: 12
akidess will become famous soon enough
Quote:
wget: command not found
I think it's pretty clear you have to install 'wget'. Are you familiar with installing software on Linux?
sanysaly likes this.
__________________
*On twitter @akidTwit
*Spend as much time formulating your questions as you expect people to spend on their answer.
*Check out the scientific computing exchange http://scicomp.stackexchange.com
akidess is offline   Reply With Quote

Old   April 28, 2013, 11:17
Default
  #66
s.m
Member
 
saeidehmohamadi
Join Date: Aug 2012
Posts: 45
Rep Power: 2
s.m is on a distinguished road
Quote:
Originally Posted by wyldckat View Post
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
HI wyldckat
when i run the ""wget "http://www.openfoam.com/mantisbt/file_download.php?file_id=108&type=bug" -O getTecIO"" command on (opt/OpenFOAM/ThirdParty-2.1.x) it doesn't run and it tell "getTecIO: Permission denied"
what should i do?
Regards.
s.m is offline   Reply With Quote

Old   April 28, 2013, 11:33
Default
  #67
Super Moderator
 
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 4,228
Blog Entries: 31
Rep Power: 45
wyldckat has a spectacular aura aboutwyldckat has a spectacular aura about
Greetings Saeideh Mohamadi,

I'm going to assume that someone installed OpenFOAM for you in the "/opt" folder.
Therefore, follow the instructions provided on this page: https://github.com/wyldckat/localFoamToTecplot360

Best regards,
Bruno
wyldckat 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



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