|
[Sponsors] |
June 20, 2013, 16:23 |
|
#81 | |
Member
Join Date: Sep 2010
Posts: 36
Rep Power: 16 |
Hi,
I was running the damBreakFine tutorial (http://www.openfoam.org/docs/user/da...x7-610002.3.11) of OF 2.1.1 and after reconstructPar, I am trying to load the results with the Tecplot native loader. I am loading the controlDict in the system directory, however it won't tread it: Quote:
Thank you! Andreas |
||
June 20, 2013, 18:23 |
|
#82 | ||
Retired Super Moderator
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 10,981
Blog Entries: 45
Rep Power: 128 |
Greetings to all!
Quote:
Have you tried following these instructions: https://github.com/wyldckat/localFoamToTecplot360 Quote:
Best regards, Bruno
__________________
|
|||
June 21, 2013, 04:36 |
|
#83 | |
Senior Member
Anton Kidess
Join Date: May 2009
Location: Germany
Posts: 1,377
Rep Power: 30 |
Also, can you try setting it to ASCII uncompressed and then run [pre]foamFormatConvert -time 0[/pre]? I think the loader has problems if the mesh is compressed, but I can't properly remember
- Anton Quote:
__________________
*On twitter @akidTwit *Spend as much time formulating your questions as you expect people to spend on their answer. |
||
June 22, 2013, 10:50 |
|
#84 | |
New Member
Yang Liu
Join Date: May 2013
Posts: 3
Rep Power: 13 |
I used the following command under root and then ./Allwmake and it worked.
Quote:
Best wishes Yang |
||
October 24, 2013, 11:26 |
|
#85 | |
Member
Join Date: Feb 2012
Posts: 59
Rep Power: 14 |
Quote:
I wonder how to build foamToTecplot360 in OF 2.1.x? I tried ./getTecIO, but get the error as ./getTecIO: line 1: syntax error near unexpected token `newline' ./getTecIO: line 1: `<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">' How to solve it? |
||
October 26, 2013, 06:43 |
|
#86 |
Retired Super Moderator
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 10,981
Blog Entries: 45
Rep Power: 128 |
Greetings Raymond,
Try these instructions: https://github.com/wyldckat/localFoamToTecplot360 Best regards, Bruno
__________________
|
|
October 28, 2013, 08:22 |
|
#87 |
Senior Member
Bobby
Join Date: Oct 2012
Location: Michigan
Posts: 454
Rep Power: 16 |
Greetings all
I have done a simulation in O.F. 2.2.x and now want to post process my data in tecplot 360. I executed the directive: Code:
foamToTecplot360 I have these files in Tecplot360 folder: 1- Flame_0.plt 2-Flame_1.plt 3-Flame_grid_0.plt and a boundaryMesh subfolder. Would somebody PLZ hint me how can I open my last step by tecplot360? I mean first of all which file should be opened and then which files? It seems that _0.plt is for initial (0) folder and _1.plt is for last time step. Regards Bobi |
|
October 29, 2013, 07:16 |
|
#88 |
Senior Member
Bobby
Join Date: Oct 2012
Location: Michigan
Posts: 454
Rep Power: 16 |
Greetings all
Maybe this directive i.e. Code:
foamToTecplot360 The best thing that I got is if your O.F. is 2.2. just change themodynamic format to 2.0 and use tecplot with opening openfoam files directly. It is the best way to get rid of lots of .plt files. Remember: Tecplot 2013 R1 still does not support O.F. 2.1. and 2.2 . Change format to 2.0. Regards Bobi |
|
November 4, 2013, 06:41 |
|
#89 | |
Senior Member
saeideh mohamadi
Join Date: Aug 2012
Posts: 229
Rep Power: 15 |
Quote:
i didn't understand what should we do at last would you please explain in more details? Thank you very much |
||
November 4, 2013, 07:33 |
|
#90 |
Senior Member
Bobby
Join Date: Oct 2012
Location: Michigan
Posts: 454
Rep Power: 16 |
Hi Saeideh
Do not get confused. First of all you should know that there is no need to use the directive Code:
foamToTecplot360 Since recent versions of Tecplot software have this ability to load openfoam datafiles (Open controlDict files). However, there is another problem with the newest version 2013 R1 that it does not support the recent version of O.F. i.e. 2.2 The solution is rename your 0 folder header files to 2.0 and also change your thermodynamic format ( Combustion cases) to 2.0 format. The best solution is just forget Tecplot and use Paraview which is a robust software. Regards Bobi |
|
January 30, 2014, 23:06 |
error when executing foamToTecplot360
|
#91 |
New Member
krishh
Join Date: Apr 2012
Posts: 16
Rep Power: 14 |
Dear Bruno,
I used the same commands as you said in post #17, #40 and #60 but I get this error when I execute the 'foamToTecplot360' command: // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // Create time fileName::stripInvalid() called for invalid fileName linedata For debug level (= 2) > 1 this is considered fatal Aborted (core dumped) when I use 'foamToTecplot360 -help' ...it shows the the command usage too. I am using OF 2.1.1 Please help me resolve this issue. Thanks in advance. |
|
January 31, 2014, 17:12 |
|
#92 | |
Retired Super Moderator
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 10,981
Blog Entries: 45
Rep Power: 128 |
Greetings krishtej23,
Quote:
Problem is that I cannot see what you're seeing, so I cannot tell you what reason for the error. You can ascertain what might be the source of the problem, by running these commands: Code:
pwd find . -name "line*" Best regards, Bruno
__________________
|
||
February 1, 2014, 01:04 |
Solved
|
#93 | |
New Member
krishh
Join Date: Apr 2012
Posts: 16
Rep Power: 14 |
Quote:
Thanks a lot sir. It was a silly mistake I did. I did not remember when a folder 'line data' was created nor I noticed it. There is a folder with space in its name. Thank you once again. |
||
June 1, 2014, 03:55 |
Error in compiling foamToTecplot360 for OpenFOAM 2.1.0
|
#94 |
Senior Member
Mohammad Shakil Ahmmed
Join Date: Oct 2012
Location: AUS
Posts: 137
Rep Power: 15 |
Hi All,
I have followed the similar steps as mentioned in post #17(http://www.cfd-online.com/Forums/ope...ecplot360.html). First two steps work well for me, but in the 3rd steps I'm seeing the following error: Code:
g++ -m64 -Dlinux64 -DWM_DP -Wall -Wextra -Wno-unused-parameter -Wold-style-cast -Wnon-virtual-dtor -O3 -DNoRepository -ftemplate-depth-100 -I/home/adminuser/OpenFOAM/ThirdParty-2.0.1/tecio/tecsrc/lnInclude -I/opt/openfoam210/src/lagrangian/basic/lnInclude -I/opt/openfoam210/src/finiteVolume/lnInclude -I/opt/openfoam210/src/meshTools/lnInclude -IlnInclude -I. -I/opt/openfoam210/src/OpenFOAM/lnInclude -I/opt/openfoam210/src/OSspecific/POSIX/lnInclude -fPIC -Xlinker --add-needed -Xlinker --no-as-needed Make/linux64GccDPOpt/tecplotWriter.o Make/linux64GccDPOpt/vtkMesh.o Make/linux64GccDPOpt/foamToTecplot360.o -L/opt/openfoam210/platforms/linux64GccDPOpt/lib \ -llagrangian -lfiniteVolume -lgenericPatchFields -lmeshTools -L/home/adminuser/OpenFOAM/adminuser-2.1.0/platforms/linux64GccDPOpt/lib/libtecio.so -lOpenFOAM -ldl -lm -o /home/adminuser/OpenFOAM/adminuser-2.1.0/platforms/linux64GccDPOpt/bin/FoamToTecplot360 Make/linux64GccDPOpt/foamToTecplot360.o: In function `_ZNK4Foam13tecplotWriter10writeFieldIdEEvRKNS_5FieldIT_EE.constprop.815': foamToTecplot360.C:(.text+0x1592): undefined reference to `tecdat112' Make/linux64GccDPOpt/foamToTecplot360.o: In function `_ZNK4Foam13tecplotWriter10writeFieldINS_6TensorIdEEEEvRKNS_5FieldIT_EE.constprop.844': foamToTecplot360.C:(.text+0x2707): undefined reference to `tecdat112' Make/linux64GccDPOpt/foamToTecplot360.o: In function `_ZNK4Foam13tecplotWriter10writeFieldINS_10SymmTensorIdEEEEvRKNS_5FieldIT_EE.constprop.837': foamToTecplot360.C:(.text+0x28b7): undefined reference to `tecdat112' Make/linux64GccDPOpt/foamToTecplot360.o: In function `_ZNK4Foam13tecplotWriter10writeFieldINS_15SphericalTensorIdEEEEvRKNS_5FieldIT_EE.constprop.839': foamToTecplot360.C:(.text+0x2a4a): undefined reference to `tecdat112' Make/linux64GccDPOpt/foamToTecplot360.o: In function `_ZNK4Foam13tecplotWriter10writeFieldINS_6VectorIdEEEEvRKNS_5FieldIT_EE.constprop.818': foamToTecplot360.C:(.text+0x2de7): undefined reference to `tecdat112' Make/linux64GccDPOpt/tecplotWriter.o: In function `Foam::tecplotWriter::writeInit(Foam::word const&, Foam::string const&, Foam::fileName const&, int) const': tecplotWriter.C:(.text+0x149): undefined reference to `tecini112' Make/linux64GccDPOpt/tecplotWriter.o: In function `Foam::tecplotWriter::writePolyhedralZone(Foam::word const&, int, Foam::fvMesh const&, Foam::List<int> const&, int) const': tecplotWriter.C:(.text+0x3d7): undefined reference to `teczne112' Make/linux64GccDPOpt/tecplotWriter.o: In function `Foam::tecplotWriter::writeOrderedZone(Foam::word const&, int, int, Foam::List<int> const&) const': tecplotWriter.C:(.text+0x60f): undefined reference to `teczne112' Make/linux64GccDPOpt/tecplotWriter.o: In function `Foam::tecplotWriter::writeConnectivity(Foam::fvMesh const&) const': tecplotWriter.C:(.text+0x83e): undefined reference to `tecpoly112' Make/linux64GccDPOpt/tecplotWriter.o: In function `Foam::tecplotWriter::writeConnectivity(Foam::PrimitivePatch<Foam::face, Foam::IndirectList, Foam::Field<Foam::Vector<double> > const&, Foam::Vector<double> > const&) const': tecplotWriter.C:(.text+0xbf3): undefined reference to `tecpoly112' Make/linux64GccDPOpt/tecplotWriter.o: In function `Foam::tecplotWriter::writePolygonalZone(Foam::word const&, int, Foam::PrimitivePatch<Foam::face, Foam::IndirectList, Foam::Field<Foam::Vector<double> > const&, Foam::Vector<double> > const&, Foam::List<int> const&) const': tecplotWriter.C:(.text+0x1061): undefined reference to `teczne112' Make/linux64GccDPOpt/tecplotWriter.o: In function `Foam::tecplotWriter::writeEnd() const': tecplotWriter.C:(.text+0x648): undefined reference to `tecend112' collect2: ld returned 1 exit status make: *** [/home/adminuser/OpenFOAM/adminuser-2.1.0/platforms/linux64GccDPOpt/bin/FoamToTecplot360] Error 1 Thanks #shakil |
|
June 1, 2014, 09:52 |
|
#95 |
Retired Super Moderator
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 10,981
Blog Entries: 45
Rep Power: 128 |
Greetings Shakil,
Please try the instructions provided here: https://github.com/wyldckat/localFoamToTecplot360 Best regards, Bruno
__________________
|
|
June 2, 2014, 04:12 |
|
#96 |
Senior Member
Mohammad Shakil Ahmmed
Join Date: Oct 2012
Location: AUS
Posts: 137
Rep Power: 15 |
Thanks Bruno. It's working.
#shakil |
|
October 15, 2014, 08:47 |
|
#97 | |
Member
Ron
Join Date: Jul 2014
Location: Japan
Posts: 40
Rep Power: 12 |
Quote:
I am new to OF. I tried using command in the quoted post above. I am getting error message for this as: Code:
@kcc-desktop:~$ wget "http://www.openfoam.com/mantisbt/file_download.php?file_id=108&type=bug" -O getTecIO --2014-10-15 16:40:52-- http://www.openfoam.com/mantisbt/file_download.php?file_id=108&type=bug Resolving www.openfoam.com (www.openfoam.com)... 82.71.205.33 Connecting to www.openfoam.com (www.openfoam.com)|82.71.205.33|:80... failed: Connection refused. @kcc-desktop:~$ chmod +x getTecIO @kcc-desktop:~$ ./getTecIO @kcc-desktop:~$ ls -l /home/kcc/OpenFOAM/ThirdParty-2.0.0/tecio/ls: cannot access /home/kcc/OpenFOAM/ThirdParty-2.0.0/tecio/: No such file or directory @kcc-desktop:~$ foam3rdParty @kcc-desktop:~/OpenFOAM/ThirdParty-2.1.1$ wget "http://www.openfoam.com/mantisbt/file_download.php?file_id=108&type=bug" -O getTecIO --2014-10-15 17:17:57-- http://www.openfoam.com/mantisbt/file_download.php?file_id=108&type=bug Resolving www.openfoam.com (www.openfoam.com)... 82.71.205.33 Connecting to www.openfoam.com (www.openfoam.com)|82.71.205.33|:80... failed: Connection refused. @kcc-desktop:~/OpenFOAM/ThirdParty-2.1.1$ chmod +x getTecIO @kcc-desktop:~/OpenFOAM/ThirdParty-2.1.1$ ./getTecIO @kcc-desktop:~/OpenFOAM/ThirdParty-2.1.1$ foam @kcc-desktop:~/OpenFOAM/OpenFOAM-2.1.1$ ./Allwmake Last edited by wyldckat; October 18, 2014 at 16:41. Reason: Added [CODE][/CODE] |
||
October 18, 2014, 03:27 |
Error with TecIO
|
#98 |
Member
Ron
Join Date: Jul 2014
Location: Japan
Posts: 40
Rep Power: 12 |
Dear Foamer's,
I am facing installation error, when I execute "./Allwmake" in folder $/Thirdparty_x/. The error is with TecIO file execution. Code:
Build Tecio + cd tecio + cpMakeFiles tecio + set +x cpMakeFiles tecio . + wmake libso tecsrc SOURCE=alloc.cpp ; g++ -m32 -Dlinux -DWM_DP -Wall -Wextra -Wno-unused-parameter -Wold-style-cast -O3 -DNoRepository -ftemplate-depth-100 -DMAKEARCHIVE -DLINUX -DUSEENUM -DTHREED -U_WIN32 -IlnInclude -I. -I/home/kcc/OpenFOAM/OpenFOAM-2.1.1/src/OpenFOAM/lnInclude -I/home/kcc/OpenFOAM/OpenFOAM-2.1.1/src/OSspecific/POSIX/lnInclude -fPIC -c $SOURCE -o Make/linuxGccDPOpt/alloc.o SOURCE=arrlist.cpp ; g++ -m32 -Dlinux -DWM_DP -Wall -Wextra -Wno-unused-parameter -Wold-style-cast -O3 -DNoRepository -ftemplate-depth-100 -DMAKEARCHIVE -DLINUX -DUSEENUM -DTHREED -U_WIN32 -IlnInclude -I. -I/home/kcc/OpenFOAM/OpenFOAM-2.1.1/src/OpenFOAM/lnInclude -I/home/kcc/OpenFOAM/OpenFOAM-2.1.1/src/OSspecific/POSIX/lnInclude -fPIC -c $SOURCE -o Make/linuxGccDPOpt/arrlist.o SOURCE=auxdata.cpp ; g++ -m32 -Dlinux -DWM_DP -Wall -Wextra -Wno-unused-parameter -Wold-style-cast -O3 -DNoRepository -ftemplate-depth-100 -DMAKEARCHIVE -DLINUX -DUSEENUM -DTHREED -U_WIN32 -IlnInclude -I. -I/home/kcc/OpenFOAM/OpenFOAM-2.1.1/src/OpenFOAM/lnInclude -I/home/kcc/OpenFOAM/OpenFOAM-2.1.1/src/OSspecific/POSIX/lnInclude -fPIC -c $SOURCE -o Make/linuxGccDPOpt/auxdata.o SOURCE=dataio4.cpp ; g++ -m32 -Dlinux -DWM_DP -Wall -Wextra -Wno-unused-parameter -Wold-style-cast -O3 -DNoRepository -ftemplate-depth-100 -DMAKEARCHIVE -DLINUX -DUSEENUM -DTHREED -U_WIN32 -IlnInclude -I. -I/home/kcc/OpenFOAM/OpenFOAM-2.1.1/src/OpenFOAM/lnInclude -I/home/kcc/OpenFOAM/OpenFOAM-2.1.1/src/OSspecific/POSIX/lnInclude -fPIC -c $SOURCE -o Make/linuxGccDPOpt/dataio4.o In file included from alloc.cpp:25:0: MASTER.h:527:31: fatal error: X11/Intrinsic.h: No such file or directory compilation terminated. In file included from arrlist.cpp:25:0: MASTER.h:527:31: fatal error: X11/Intrinsic.h: No such file or directory compilation terminated. In file included from auxdata.cpp:25:0: MASTER.h:527:31: fatal error: X11/Intrinsic.h: No such file or directory compilation terminated. In file included from dataio4.cpp:25:0: MASTER.h:527:31: fatal error: X11/Intrinsic.h: No such file or directory compilation terminated. make: *** [Make/linuxGccDPOpt/alloc.o] Error 1 make: *** Waiting for unfinished jobs.... make: *** [Make/linuxGccDPOpt/auxdata.o] Error 1 make: *** [Make/linuxGccDPOpt/arrlist.o] Error 1 make: *** [Make/linuxGccDPOpt/dataio4.o] Error 1 |
|
October 18, 2014, 16:43 |
|
#99 | |
Retired Super Moderator
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 10,981
Blog Entries: 45
Rep Power: 128 |
Greetings Ron,
How did you not find the post I made 2-3 posts before your question? Namely this one: Quote:
Best regards, Bruno
__________________
|
||
February 1, 2016, 08:19 |
tecplottofoam360
|
#100 |
New Member
laouche nassim
Join Date: Jan 2016
Posts: 3
Rep Power: 10 |
Hi,
I want to install localtecplotToFoam for OpenFOAM version 3.0 please help me thanks |
|
|
|