CFD Online Discussion Forums

CFD Online Discussion Forums (https://www.cfd-online.com/Forums/)
-   OpenFOAM Post-Processing (https://www.cfd-online.com/Forums/openfoam-post-processing/)
-   -   foamToTecplot360 (https://www.cfd-online.com/Forums/openfoam-post-processing/68061-foamtotecplot360.html)

wyldckat August 23, 2011 10:05

Quote:

Originally Posted by jignesh_thaker2007 (Post 321218)
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

jignesh_thaker2007 August 23, 2011 10:33

hello sir
 
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?

wyldckat August 23, 2011 10:39

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

jignesh_thaker2007 August 23, 2011 10:55

hello sir
 
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

wyldckat August 23, 2011 10:57

What does this output:
Code:

ls -l /home/jigsmoksh/OpenFOAM/ThirdParty-2.0.0/tecio/

jignesh_thaker2007 August 23, 2011 11:01

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 August 23, 2011 11:08

sir

what can i do?

how can i solved problem?

Bruno sir plz help me to solve this problem.

wyldckat August 23, 2011 11:50

Sorry, was busy here at work...

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

jignesh_thaker2007 August 23, 2011 12:41

hello brunosir,
 
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 August 23, 2011 12:55

hello bruno sir,
 
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

wyldckat August 23, 2011 15:32

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 :p

Best regards,
Bruno

jignesh_thaker2007 August 24, 2011 02:43

hello bruno 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

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 August 24, 2011 03:15

hello every one
 
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?

jignesh_thaker2007 August 24, 2011 04:20

hiiiiiiii everyone
 
plz anybody have any solution of above problem then plz tel me what can i do?

jignesh_thaker2007 September 11, 2011 03:25

hello everyone
 
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

scott_rumage November 1, 2011 17:44

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

Rophys November 2, 2011 05:34

Hi Scott,

Thanks for this.

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

Cheers,

Rodrigo

palmerlee November 22, 2011 03:12

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 (Post 321174)
Greetings to all!

OOooohhh... now I get it :rolleyes: @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 November 22, 2011 03:27

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?

wyldckat November 22, 2011 14:37

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 :D
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


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