CFD Online URL
[Sponsors]
Home > Forums > OpenFOAM Post-Processing

foamToTecplot360

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

Like Tree25Likes

Reply
 
LinkBack Thread Tools Display Modes
Old   August 23, 2011, 11:05
Default
  #21
Super Moderator
 
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 7,514
Blog Entries: 33
Rep Power: 74
wyldckat is a jewel in the roughwyldckat is a jewel in the roughwyldckat is a jewel in the roughwyldckat is a jewel in the rough
Quote:
Originally Posted by jignesh_thaker2007 View Post
sir this process takes long time may be 4 hour because downloading speed is very slow
Whoops... I didn't know you had a slow network connection. You could have mentioned that before

OK, review the post #17 again, because I've updated once more the instructions. In bold are the new command instructions for the first part; in italic are the old instructions.

This way, instead of having to download a heap load of megs, you only have less than 20kB to download!

Best regards,
Bruno
wyldckat is offline   Reply With Quote

Old   August 23, 2011, 11:33
Default hello sir
  #22
Member
 
Jignesh
Join Date: Aug 2011
Location: India
Posts: 68
Rep Power: 5
jignesh_thaker2007 is on a distinguished road
Send a message via Yahoo to jignesh_thaker2007
sir error is arise it cant take wmset
~/OpenFOAM$ wmSET
wmSET: command not found

so problem cant solved sir plz tel me what m i do now?
jignesh_thaker2007 is offline   Reply With Quote

Old   August 23, 2011, 11:39
Default
  #23
Super Moderator
 
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 7,514
Blog Entries: 33
Rep Power: 74
wyldckat is a jewel in the roughwyldckat is a jewel in the roughwyldckat is a jewel in the roughwyldckat is a jewel in the rough
OK, then do the commands again with 2.0.0 instead of 2.0.1.

wmSET should exist... if not, use:
Code:
source /opt/openfoam200/etc/bashrc
wyldckat is offline   Reply With Quote

Old   August 23, 2011, 11:55
Default hello sir
  #24
Member
 
Jignesh
Join Date: Aug 2011
Location: India
Posts: 68
Rep Power: 5
jignesh_thaker2007 is on a distinguished road
Send a message via Yahoo to jignesh_thaker2007
actually sir all the process going smoothly but at last when i entered the command ./allwmake then this type of error arise


~/OpenFOAM/jigsmoksh-2.0.0/foamToTecplot360$ ./Allwmake
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++ -m32 -Dlinux -DWM_DP -Wall -Wextra -Wno-unused-parameter -Wold-style-cast -O3 -DNoRepository -ftemplate-depth-100 -I/home/jigsmoksh/OpenFOAM/ThirdParty-2.0.0/tecio/tecsrc/lnInclude -I/opt/openfoam200/src/lagrangian/basic/lnInclude -I/opt/openfoam200/src/finiteVolume/lnInclude -I/opt/openfoam200/src/meshTools/lnInclude -IlnInclude -I. -I/opt/openfoam200/src/OpenFOAM/lnInclude -I/opt/openfoam200/src/OSspecific/POSIX/lnInclude -fPIC -c $SOURCE -o Make/linuxGccDPOpt/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/linuxGccDPOpt/tecplotWriter.o] Error 1
jignesh_thaker2007 is offline   Reply With Quote

Old   August 23, 2011, 11:57
Default
  #25
Super Moderator
 
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 7,514
Blog Entries: 33
Rep Power: 74
wyldckat is a jewel in the roughwyldckat is a jewel in the roughwyldckat is a jewel in the roughwyldckat is a jewel in the rough
What does this output:
Code:
ls -l /home/jigsmoksh/OpenFOAM/ThirdParty-2.0.0/tecio/
wyldckat is offline   Reply With Quote

Old   August 23, 2011, 12:01
Default
  #26
Member
 
Jignesh
Join Date: Aug 2011
Location: India
Posts: 68
Rep Power: 5
jignesh_thaker2007 is on a distinguished road
Send a message via Yahoo to jignesh_thaker2007
output is

total 48
drwxr-xr-x 14 jigsmoksh jigsmoksh 4096 2011-06-21 11:39 examples
-r--r--r-- 1 jigsmoksh jigsmoksh 20726 2009-11-25 12:42 pltview.cpp
-r--r--r-- 1 jigsmoksh jigsmoksh 2020 2009-11-25 12:42 readme.txt
-rw-r--r-- 1 jigsmoksh jigsmoksh 9041 2009-11-25 12:42 Runmake
drwxr-xr-x 2 jigsmoksh jigsmoksh 4096 2011-06-21 11:48 tecsrc
jignesh_thaker2007 is offline   Reply With Quote

Old   August 23, 2011, 12:08
Default
  #27
Member
 
Jignesh
Join Date: Aug 2011
Location: India
Posts: 68
Rep Power: 5
jignesh_thaker2007 is on a distinguished road
Send a message via Yahoo to jignesh_thaker2007
sir

what can i do?

how can i solved problem?

Bruno sir plz help me to solve this problem.
jignesh_thaker2007 is offline   Reply With Quote

Old   August 23, 2011, 12:50
Default
  #28
Super Moderator
 
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 7,514
Blog Entries: 33
Rep Power: 74
wyldckat is a jewel in the roughwyldckat is a jewel in the roughwyldckat is a jewel in the roughwyldckat is a jewel in the rough
Sorry, was busy here at work...

See the second part again on post #17... I forgot that Allwmake did have to be executed there.

Last edited by wyldckat; August 23, 2011 at 12:51. Reason: again on post #17...
wyldckat is offline   Reply With Quote

Old   August 23, 2011, 13:41
Default hello brunosir,
  #29
Member
 
Jignesh
Join Date: Aug 2011
Location: India
Posts: 68
Rep Power: 5
jignesh_thaker2007 is on a distinguished road
Send a message via Yahoo to jignesh_thaker2007
2nd part done accurately but at third part when we entered last command that time i saw list of the statement like

jigsmoksh@ubuntu:~/OpenFOAM/jigsmoksh-2.0.0/foamToTecplot360$ ./Allwmake
Making dependency list for source file tecplotWriter.C
could not open file C__BASE.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 C__BASE.h for source file foamToTecplot360.C
SOURCE=tecplotWriter.C ; g++ -m32 -Dlinux -DWM_DP -Wall -Wextra -Wno-unused-parameter -Wold-style-cast -O3 -DNoRepository -ftemplate-depth-100 -I/home/jigsmoksh/OpenFOAM/ThirdParty-2.0.0/tecio/tecsrc/lnInclude -I/opt/openfoam200/src/lagrangian/basic/lnInclude -I/opt/openfoam200/src/finiteVolume/lnInclude -I/opt/openfoam200/src/meshTools/lnInclude -IlnInclude -I. -I/opt/openfoam200/src/OpenFOAM/lnInclude -I/opt/openfoam200/src/OSspecific/POSIX/lnInclude -fPIC -c $SOURCE -o Make/linuxGccDPOpt/tecplotWriter.o
In file included from tecplotWriterTemplates.C:29:0,
from tecplotWriter.H:170,
from tecplotWriter.C:26:
/home/jigsmoksh/OpenFOAM/ThirdParty-2.0.0/tecio/tecsrc/lnInclude/GLOBAL.h:5038:46: warning: use of old-style cast
/home/jigsmoksh/OpenFOAM/ThirdParty-2.0.0/tecio/tecsrc/lnInclude/GLOBAL.h:5057:41: warning: use of old-style cast
/home/jigsmoksh/OpenFOAM/ThirdParty-2.0.0/tecio/tecsrc/lnInclude/GLOBAL.h:5071:47: warning: use of old-style cast
/home/jigsmoksh/OpenFOAM/ThirdParty-2.0.0/tecio/tecsrc/lnInclude/GLOBAL.h:5085:47: warning: use of old-style cast
SOURCE=vtkMesh.C ; g++ -m32 -Dlinux -DWM_DP -Wall -Wextra -Wno-unused-parameter -Wold-style-cast -O3 -DNoRepository -ftemplate-depth-100 -I/home/jigsmoksh/OpenFOAM/ThirdParty-2.0.0/tecio/tecsrc/lnInclude -I/opt/openfoam200/src/lagrangian/basic/lnInclude -I/opt/openfoam200/src/finiteVolume/lnInclude -I/opt/openfoam200/src/meshTools/lnInclude -IlnInclude -I. -I/opt/openfoam200/src/OpenFOAM/lnInclude -I/opt/openfoam200/src/OSspecific/POSIX/lnInclude -fPIC -c $SOURCE -o Make/linuxGccDPOpt/vtkMesh.o
SOURCE=foamToTecplot360.C ; g++ -m32 -Dlinux -DWM_DP -Wall -Wextra -Wno-unused-parameter -Wold-style-cast -O3 -DNoRepository -ftemplate-depth-100 -I/home/jigsmoksh/OpenFOAM/ThirdParty-2.0.0/tecio/tecsrc/lnInclude -I/opt/openfoam200/src/lagrangian/basic/lnInclude -I/opt/openfoam200/src/finiteVolume/lnInclude -I/opt/openfoam200/src/meshTools/lnInclude -IlnInclude -I. -I/opt/openfoam200/src/OpenFOAM/lnInclude -I/opt/openfoam200/src/OSspecific/POSIX/lnInclude -fPIC -c $SOURCE -o Make/linuxGccDPOpt/foamToTecplot360.o
In file included from tecplotWriterTemplates.C:29:0,
from tecplotWriter.H:170,
from foamToTecplot360.C:87:
/home/jigsmoksh/OpenFOAM/ThirdParty-2.0.0/tecio/tecsrc/lnInclude/GLOBAL.h:5038:46: warning: use of old-style cast
/home/jigsmoksh/OpenFOAM/ThirdParty-2.0.0/tecio/tecsrc/lnInclude/GLOBAL.h:5057:41: warning: use of old-style cast
/home/jigsmoksh/OpenFOAM/ThirdParty-2.0.0/tecio/tecsrc/lnInclude/GLOBAL.h:5071:47: warning: use of old-style cast
/home/jigsmoksh/OpenFOAM/ThirdParty-2.0.0/tecio/tecsrc/lnInclude/GLOBAL.h:5085:47: warning: use of old-style cast
g++ -m32 -Dlinux -DWM_DP -Wall -Wextra -Wno-unused-parameter -Wold-style-cast -O3 -DNoRepository -ftemplate-depth-100 -I/home/jigsmoksh/OpenFOAM/ThirdParty-2.0.0/tecio/tecsrc/lnInclude -I/opt/openfoam200/src/lagrangian/basic/lnInclude -I/opt/openfoam200/src/finiteVolume/lnInclude -I/opt/openfoam200/src/meshTools/lnInclude -IlnInclude -I. -I/opt/openfoam200/src/OpenFOAM/lnInclude -I/opt/openfoam200/src/OSspecific/POSIX/lnInclude -fPIC -Xlinker --add-needed Make/linuxGccDPOpt/tecplotWriter.o Make/linuxGccDPOpt/vtkMesh.o Make/linuxGccDPOpt/foamToTecplot360.o -L/opt/openfoam200/platforms/linuxGccDPOpt/lib \
-llagrangian -lfiniteVolume -lgenericPatchFields -lmeshTools -L/home/jigsmoksh/OpenFOAM/ThirdParty-2.0.0/platforms/linuxGccDPOpt/lib -ltecio -lOpenFOAM -ldl -lm -o /home/jigsmoksh/OpenFOAM/jigsmoksh-2.0.0/platforms/linuxGccDPOpt/bin/foamToTecplot360
jigsmoksh@ubuntu:~/OpenFOAM/jigsmoksh-2.0.0/foamToTecplot360$
jignesh_thaker2007 is offline   Reply With Quote

Old   August 23, 2011, 13:55
Default hello bruno sir,
  #30
Member
 
Jignesh
Join Date: Aug 2011
Location: India
Posts: 68
Rep Power: 5
jignesh_thaker2007 is on a distinguished road
Send a message via Yahoo to jignesh_thaker2007
thank you very much sir to give me ur valuable time & i m very happy because foamToTecplot360 is now run

Thanx again sir,

if further query arise then definitely i will contact u because u r the encyclopedia of openfoam thanx again sir

Yours sincerely
Jignesh
jignesh_thaker2007 is offline   Reply With Quote

Old   August 23, 2011, 16:32
Default
  #31
Super Moderator
 
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 7,514
Blog Entries: 33
Rep Power: 74
wyldckat is a jewel in the roughwyldckat is a jewel in the roughwyldckat is a jewel in the roughwyldckat is a jewel in the rough
Hi Jignesh,

I'm glad it's finally working!
As for OpenFOAM, I'm very skilled in compiling/building it... but I'm still very inexperienced when it comes to the real CFD part of OpenFOAM I haven't had the time/opportunity to actually do real CFD with it... oh well, I can't know everything

Best regards,
Bruno
wyldckat is offline   Reply With Quote

Old   August 24, 2011, 03:43
Default hello bruno sir,
  #32
Member
 
Jignesh
Join Date: Aug 2011
Location: India
Posts: 68
Rep Power: 5
jignesh_thaker2007 is on a distinguished road
Send a message via Yahoo to jignesh_thaker2007
sir i have find some problem when i run paraview

when i entered on case file like cavity.openfoam then 1 outbox msg generated

the msg is

p, li { white-space: pre-wrap; } Application asked to unregister timer 0x71000008 which is not registered in this thread. Fix application.
so how to solve it?
jignesh_thaker2007 is offline   Reply With Quote

Old   August 24, 2011, 04:15
Default hello every one
  #33
Member
 
Jignesh
Join Date: Aug 2011
Location: India
Posts: 68
Rep Power: 5
jignesh_thaker2007 is on a distinguished road
Send a message via Yahoo to jignesh_thaker2007
plz solve my problem sir

sir i have find some problem when i run paraview

when i entered on case file like cavity.openfoam then 1 outbox msg generated

the msg is

Application asked to unregister timer 0x71000008 which is not registered in this thread. Fix application.
so how to solve it?

Last edited by jignesh_thaker2007; August 24, 2011 at 14:47.
jignesh_thaker2007 is offline   Reply With Quote

Old   August 24, 2011, 05:20
Default hiiiiiiii everyone
  #34
Member
 
Jignesh
Join Date: Aug 2011
Location: India
Posts: 68
Rep Power: 5
jignesh_thaker2007 is on a distinguished road
Send a message via Yahoo to jignesh_thaker2007
plz anybody have any solution of above problem then plz tel me what can i do?

Last edited by jignesh_thaker2007; August 24, 2011 at 14:46.
jignesh_thaker2007 is offline   Reply With Quote

Old   September 11, 2011, 04:25
Default hello everyone
  #35
Member
 
Jignesh
Join Date: Aug 2011
Location: India
Posts: 68
Rep Power: 5
jignesh_thaker2007 is on a distinguished road
Send a message via Yahoo to jignesh_thaker2007
hi
i m new user of openfoam201 i phase one difficulty when i solved cavity tutorials then i cant found such like fluent after achieving conversion limit, the program didn't stop. but when it reach end time it stop.

but i want to stop my program when it go beyond the conversion limit so what can i do for that?

plz help me

jignesh
jignesh_thaker2007 is offline   Reply With Quote

Old   November 1, 2011, 19:44
Default
  #36
Senior Member
 
Scott Rumage
Join Date: May 2009
Location: Seattle, WA
Posts: 110
Rep Power: 7
scott_rumage is on a distinguished road
Tecplot 360 2011 with the OpenFOAM data loader is now officially released. The loader directly reads OpenFOAM results, and eliminates the step of converting OpenFOAM output to a Tecplot format.

One can upgrade their current license of Tecplot 360 to this new version at this link: http://www.tecplot.com/Downloads/SoftwareUpgrade.aspx

One can obtain a 14 day evaluation of this new version of Tecplot 360 at this link: http://www.tecplot.com/Downloads/EvaluationSoftware/Tecplot360.aspx

You are welcome to contact me if you have questions or suggestions regarding this new capability.

Regards,
Scott
scott_rumage is offline   Reply With Quote

Old   November 2, 2011, 07:34
Default
  #37
Member
 
R. P.
Join Date: Jul 2010
Location: Glasgow - UK
Posts: 61
Rep Power: 6
Rophys is on a distinguished road
Hi Scott,

Thanks for this.

I will upgrade my Tecplot and test it without convert my data.

Cheers,

Rodrigo
Rophys is offline   Reply With Quote

Old   November 22, 2011, 04:12
Default
  #38
Member
 
Peter
Join Date: Nov 2011
Posts: 45
Rep Power: 5
palmerlee is on a distinguished road
I guess "wget "https://github.com/OpenCFD/ThirdParty-2.0.x/tarball/master" -O ThirdParty-2.0.x.tar.gz" should be "wget "https://github.com/OpenCFD/OpenFOAM-2.0.x/tarball/master" -O ThirdParty-2.0.x.tar.gz"
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 #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
palmerlee is offline   Reply With Quote

Old   November 22, 2011, 04:27
Default
  #39
Member
 
Peter
Join Date: Nov 2011
Posts: 45
Rep Power: 5
palmerlee is on a distinguished road
Hi, Bruno.
I am following your instructions. But when I execute "./getTecIO", it says:"Can't open etc/tools/ThirdPartyFunctions".
And then, when I execute "./Allwmake", it says:" ./Allwmake: No such file or directory".
What am I gonna do?

Last edited by palmerlee; November 22, 2011 at 05:20.
palmerlee is offline   Reply With Quote

Old   November 22, 2011, 15:37
Default
  #40
Super Moderator
 
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 7,514
Blog Entries: 33
Rep Power: 74
wyldckat is a jewel in the roughwyldckat is a jewel in the roughwyldckat is a jewel in the roughwyldckat is a jewel in the rough
Greetings Peter and welcome to the forum!

OpenCFD was bought by SGI back in mid August or so. By day 23 of August, when I wrote that post, they had yet to transfer the ThirdParty-2.0.x repository. So, right now, instead of changing ThirdParty to OpenFOAM, it's OpenCFD to OpenFOAM
Code:
wget "https://github.com/OpenFOAM/ThirdParty-2.0.x/tarball/master" -O ThirdParty-2.0.x.tar.gz
I haven't confirmed this yet, but I believe this is all it's necessary to change in the previous commands. Sadly, I can no longer edit that post to fix the link.

By the way, have you tried the new version of Tecplot 360? A few posts above they mention that it can now open OpenFOAM cases directly!

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 20:59.