|
[Sponsors] |
February 7, 2016, 19:34 |
|
#101 |
Retired Super Moderator
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 10,981
Blog Entries: 45
Rep Power: 128 |
I have this on my to-do list and I'll try to fix this sometime this week or on the next weekend. In the meantime, perhaps you should try using Tecplot's built-in loader? If you have a fairly recent version of Tecplot, you should be able to use the internal reader without the need for foamToTecplot360.
__________________
|
|
February 9, 2016, 05:13 |
l
|
#102 |
New Member
laouche nassim
Join Date: Jan 2016
Posts: 3
Rep Power: 10 |
THANK YOU FOR THE ANSWER
THERE IS A CHANGE IN CASE WHERE CANSTANT RAS PRO IS CHANGED BY turbulenceProperties AND IS blockMeshDict presented in FILE SYSTEM |
|
March 8, 2016, 02:40 |
|
#103 |
New Member
omid
Join Date: Oct 2013
Posts: 6
Rep Power: 13 |
Dear Bruno Santos
I want to install foamtotecplot360 into openFoam30 and i complete read your forums,but there are just for openfoam version 1.6 until 2.3 how can you help me? best regard omid |
|
March 27, 2016, 13:47 |
|
#104 | ||
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:
Quote:
Bruno
__________________
|
|||
March 29, 2016, 02:43 |
|
#105 |
New Member
omid
Join Date: Oct 2013
Posts: 6
Rep Power: 13 |
Dear Bruno Santos thanks for your answer,it was very helpful.now foamtotecplot360 work for me in openfoam30
|
|
April 2, 2016, 16:47 |
|
#106 | |
New Member
Abgail Pinheiro
Join Date: Feb 2013
Posts: 4
Rep Power: 13 |
I'm using a Windows installation version of OpenFOAM-3.0 and when I try to compile foamToTecplot360 I got the following error:
Quote:
Any help on this? |
||
April 2, 2016, 18:51 |
|
#107 | |
Retired Super Moderator
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 10,981
Blog Entries: 45
Rep Power: 128 |
Quick answer @abgail: I wrote the following in 2 posts above:
Quote:
|
||
April 3, 2016, 14:55 |
|
#108 |
New Member
Abgail Pinheiro
Join Date: Feb 2013
Posts: 4
Rep Power: 13 |
Hi, Bruno! Thanks for the quick answer. Actually, I have already tried following the instructions from the posts above, but I didn't work.
The error was in this step of the installation process: Making dependency list for source file vtkMesh.C could not open file fvMeshSubset.H for source file vtkMesh.C due to No such file or directory could not open file C__BASE.h for source file tecplotWriter.C due to No such fil e or directory could not open file fvMeshSubset.H for source file foamToTecplot360.C due to No such file or directory could not open file C__BASE.h for source file foamToTecplot360.C due to No such file or directory vtkMesh.H:39:26: fatal error: fvMeshSubset.H: No such file or directory #include "fvMeshSubset.H" Do you have any idea of how I can fix it? |
|
April 3, 2016, 19:08 |
|
#109 | |
Retired Super Moderator
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 10,981
Blog Entries: 45
Rep Power: 128 |
Hi Abgail,
Mmmm.... don't they have instructions somewhere on how to be able to build user-made custom code?... Here we go: http://www.openfoam.com/download/txt...adme_v3.0+.txt And I quote: Quote:
Best regards, Bruno
__________________
|
||
April 3, 2016, 21:55 |
|
#110 |
New Member
Abgail Pinheiro
Join Date: Feb 2013
Posts: 4
Rep Power: 13 |
Bruno,
I've followed all the steps to compile modified source code, but I've got the same error. Maybe there's something wrong with the foamToTecplot360 compilation. This is what I got when I tried to run ./Allwmake of foamToTecplot360 /usr/bin/ld: cannot find -ltecio collect2: error: ld returned 1 exit status make: *** [/opt/OpenFOAM/OpenFOAM-v3.0+/platforms/linux64Gcc48DPInt32Opt/bin/foa mToTecplot360] Error 1 Thanks a lot for the help! Best regards, Abgail |
|
April 5, 2016, 19:39 |
|
#111 |
Retired Super Moderator
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 10,981
Blog Entries: 45
Rep Power: 128 |
Hi Abgail,
I did the following steps, using the Docker image on Ubuntu: http://www.openfoam.com/download/install-binary.php
Best regards, Bruno
__________________
|
|
April 5, 2016, 22:28 |
|
#112 |
New Member
Abgail Pinheiro
Join Date: Feb 2013
Posts: 4
Rep Power: 13 |
Hi Bruno,
Thank you so much for trying to help me. Unfortunately, it is still not working. I've got the following errors: [ofuser@boot2docker localFoamToTecplot360-of30]$ ./Allwmake + ./getTecIO For more information about the TecIO library, visit: http://www.tecplot.com/Downloads/TecIOLibrary.aspx Press Enter to continue... + '[' '!' -e tecio/tecsrc/Make ']' + wmake libso tecio/tecsrc/ g++ -m64 -Dlinux64 -DWM_ARCH_OPTION=64 -DWM_DP -DWM_LABEL_SIZE=32 -Wall -Wextra -Wold-style-cast -Wnon-virtual-dtor -Wno-unused-parameter -Wno-invalid-offsetof -O3 -DNoRepository -ftemplate-depth-100 -DMAKEARCHIVE -DLINUX -DLINUX64 -DUSEEN UM -DTHREED -U_WIN32 -IlnInclude -I. -I/opt/OpenFOAM/OpenFOAM-v3.0+/src/OpenFOA M/lnInclude -I/opt/OpenFOAM/OpenFOAM-v3.0+/src/OSspecific/POSIX/lnInclude -fPI C -c alloc.cpp -o Make/linux64Gcc48DPInt32Opt/alloc.o g++ -m64 -Dlinux64 -DWM_ARCH_OPTION=64 -DWM_DP -DWM_LABEL_SIZE=32 -Wall -Wextra -Wold-style-cast -Wnon-virtual-dtor -Wno-unused-parameter -Wno-invalid-offsetof -O3 -DNoRepository -ftemplate-depth-100 -DMAKEARCHIVE -DLINUX -DLINUX64 -DUSEEN UM -DTHREED -U_WIN32 -IlnInclude -I. -I/opt/OpenFOAM/OpenFOAM-v3.0+/src/OpenFOA M/lnInclude -I/opt/OpenFOAM/OpenFOAM-v3.0+/src/OSspecific/POSIX/lnInclude -fPI C -c arrlist.cpp -o Make/linux64Gcc48DPInt32Opt/arrlist.o g++ -m64 -Dlinux64 -DWM_ARCH_OPTION=64 -DWM_DP -DWM_LABEL_SIZE=32 -Wall -Wextra -Wold-style-cast -Wnon-virtual-dtor -Wno-unused-parameter -Wno-invalid-offsetof -O3 -DNoRepository -ftemplate-depth-100 -DMAKEARCHIVE -DLINUX -DLINUX64 -DUSEEN UM -DTHREED -U_WIN32 -IlnInclude -I. -I/opt/OpenFOAM/OpenFOAM-v3.0+/src/OpenFOA M/lnInclude -I/opt/OpenFOAM/OpenFOAM-v3.0+/src/OSspecific/POSIX/lnInclude -fPI C -c auxdata.cpp -o Make/linux64Gcc48DPInt32Opt/auxdata.o g++ -m64 -Dlinux64 -DWM_ARCH_OPTION=64 -DWM_DP -DWM_LABEL_SIZE=32 -Wall -Wextra -Wold-style-cast -Wnon-virtual-dtor -Wno-unused-parameter -Wno-invalid-offsetof -O3 -DNoRepository -ftemplate-depth-100 -DMAKEARCHIVE -DLINUX -DLINUX64 -DUSEEN UM -DTHREED -U_WIN32 -IlnInclude -I. -I/opt/OpenFOAM/OpenFOAM-v3.0+/src/OpenFOA M/lnInclude -I/opt/OpenFOAM/OpenFOAM-v3.0+/src/OSspecific/POSIX/lnInclude -fPI C -c dataio4.cpp -o Make/linux64Gcc48DPInt32Opt/dataio4.o In file included from alloc.cpp:25:0: MASTER.h:527:31: fatal error: X11/Intrinsic.h: No such file or directory # include <X11/Intrinsic.h> ^ compilation terminated. make: *** [Make/linux64Gcc48DPInt32Opt/alloc.o] Error 1 make: *** Waiting for unfinished jobs.... In file included from auxdata.cpp:25:0: MASTER.h:527:31: fatal error: X11/Intrinsic.h: No such file or directory # include <X11/Intrinsic.h> ^ compilation terminated. In file included from dataio4.cpp:25:0: MASTER.h:527:31: fatal error: X11/Intrinsic.h: No such file or directory # include <X11/Intrinsic.h> ^ compilation terminated. In file included from arrlist.cpp:25:0: MASTER.h:527:31: fatal error: X11/Intrinsic.h: No such file or directory # include <X11/Intrinsic.h> ^ compilation terminated. make: *** [Make/linux64Gcc48DPInt32Opt/auxdata.o] Error 1 make: *** [Make/linux64Gcc48DPInt32Opt/dataio4.o] Error 1 make: *** [Make/linux64Gcc48DPInt32Opt/arrlist.o] Error 1 + wmake foamToTecplot360 g++ -m64 -Dlinux64 -DWM_ARCH_OPTION=64 -DWM_DP -DWM_LABEL_SIZE=32 -Wall -Wextra -Wold-style-cast -Wnon-virtual-dtor -Wno-unused-parameter -Wno-invalid-offsetof -O3 -DNoRepository -ftemplate-depth-100 -I/home/ofuser/OpenFOAM/ofuser-v3.0+/lo calFoamToTecplot360-of30/tecio/tecsrc/lnInclude -I/opt/OpenFOAM/OpenFOAM-v3.0+/s rc/lagrangian/basic/lnInclude -I/opt/OpenFOAM/OpenFOAM-v3.0+/src/finiteVolume/ln Include -I/opt/OpenFOAM/OpenFOAM-v3.0+/src/meshTools/lnInclude -I/opt/OpenFOAM/O penFOAM-v3.0+/src/dynamicMesh/lnInclude -IlnInclude -I. -I/opt/OpenFOAM/OpenFOAM -v3.0+/src/OpenFOAM/lnInclude -I/opt/OpenFOAM/OpenFOAM-v3.0+/src/OSspecific/POSI X/lnInclude -fPIC -Xlinker --add-needed -Xlinker --no-as-needed Make/linux64Gc c48DPInt32Opt/tecplotWriter.o Make/linux64Gcc48DPInt32Opt/vtkMesh.o Make/linux64 Gcc48DPInt32Opt/foamToTecplot360.o -L/opt/OpenFOAM/OpenFOAM-v3.0+/platforms/linu x64Gcc48DPInt32Opt/lib \ -llagrangian -lfiniteVolume -lgenericPatchFields -lmeshTools -ldynam icMesh -L/home/ofuser/OpenFOAM/ofuser-v3.0+/platforms/linux64Gcc48DPInt32Opt/lib -ltecio -lOpenFOAM -ldl \ -lm -o /home/ofuser/OpenFOAM/ofuser-v3.0+/platforms/linux64Gcc48DPI nt32Opt/bin/foamToTecplot360 /usr/bin/ld: cannot find -ltecio collect2: error: ld returned 1 exit status make: *** [/home/ofuser/OpenFOAM/ofuser-v3.0+/platforms/linux64Gcc48DPInt32Opt/b in/foamToTecplot360] Error 1 Best regards, Abgail |
|
September 26, 2016, 08:35 |
|
#113 |
New Member
...
Join Date: Jun 2013
Posts: 19
Rep Power: 13 |
Hello foamers,
Does anyone else have problems in compiling and activating foamToTecplot360 in OF v4.0 (linux)? The older "localfoamToTecplot360" doesn't seem to work anymore. Any ideas? Regards |
|
October 7, 2016, 04:56 |
foamToTecplot360 for OF v4.0
|
#114 | |
New Member
...
Join Date: Jun 2013
Posts: 19
Rep Power: 13 |
Quote:
Regards, |
||
October 8, 2016, 16:30 |
|
#115 |
Retired Super Moderator
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 10,981
Blog Entries: 45
Rep Power: 128 |
Quick answer @manalis: I've updated the repository https://github.com/wyldckat/localFoamToTecplot360/ and added a new branch "of4". It works with OpenFOAM 4.0 and 4.x.
In a few minutes, I'll also have the branch ofdev for the OpenFOAM-dev repository and respective Deb packs. edit: @Abgail: Sorry, but I didn't manage to find the time to try and reproduce the same error that you had I hope you managed to solve it in the meantime.
__________________
Last edited by wyldckat; October 8, 2016 at 16:53. Reason: see "edit:" |
|
October 11, 2016, 13:21 |
|
#116 | |
New Member
...
Join Date: Jun 2013
Posts: 19
Rep Power: 13 |
Quote:
Thanks again. Regards, |
||
August 12, 2018, 20:04 |
|
#117 | |
New Member
Taihang Zhu
Join Date: May 2018
Location: London
Posts: 6
Rep Power: 8 |
Quote:
You have done an amazing job! It still works for OpenFOAM 5.0. I really appreciate it. |
||
March 3, 2019, 23:59 |
|
#118 | |
Senior Member
Elham
Join Date: Oct 2009
Posts: 184
Rep Power: 17 |
Quote:
I have OpenFOAM-2.3.1 as well as OpenFOAM-dev. I try to install foamToTecplot360 which is not successful yet with the following error: Code:
foamToTecplot360.C: In function ‘int main(int, char**)’: foamToTecplot360.C:1215:17: error: ‘DIRECTORY’ is not a member of ‘Foam::fileName’ fileName::DIRECTORY ^ In file included from tecplotWriter.H:170:0, from foamToTecplot360.C:87: tecplotWriterTemplates.C: In instantiation of ‘Foam::tmp<Foam::Field<Type> > Foam::tecplotWriter::getFaceField(const Foam::GeometricField<Type, Foam::fvsPatchField, Foam::surfaceMesh>&, const labelList&) const [with Type = double; Foam::labelList = Foam::List<int>]’: foamToTecplot360.C:832:21: required from here tecplotWriterTemplates.C:96:29: error: binding ‘const Foam::Field<double>’ to reference of type ‘Foam::Field<double>&’ discards qualifiers Field<Type>& fld = tfld(); ^ tecplotWriterTemplates.C: In instantiation of ‘Foam::tmp<Foam::Field<Type> > Foam::tecplotWriter::getFaceField(const Foam::GeometricField<Type, Foam::fvsPatchField, Foam::surfaceMesh>&, const labelList&) const [with Type = Foam::Vector<double>; Foam::labelList = Foam::List<int>]’: foamToTecplot360.C:843:21: required from here tecplotWriterTemplates.C:96:29: error: binding ‘const Foam::Field<Foam::Vector<double> >’ to reference of type ‘Foam::Field<Foam::Vector<double> >&’ discards qualifiers Although, there are still other erros. Whenever I try to go to the working directory of OpenFOAM-2.3.1 I am just directed to OpenFOAM-dev working directory, instead. I am in doubt that this is the problem causing the errors. Regards, Elham |
||
March 4, 2019, 05:46 |
|
#119 | ||
Senior Member
Daniel
Join Date: Mar 2013
Location: Noshahr, Iran
Posts: 348
Rep Power: 21 |
Quote:
Code:
fileName::directory Code:
Field<Type>& fld = tfld.ref(); Quote:
What I guess is that you are not using aliases in your .bashrc file... |
|||
March 4, 2019, 23:28 |
|
#120 | |
Senior Member
Elham
Join Date: Oct 2009
Posts: 184
Rep Power: 17 |
Quote:
I just forgot to do the"git checkout of23" in step 3 and now it is installed. Thanks for your comment, anyway. Thanks and regards, Elham |
||
|
|