|
[Sponsors] |
It would be wonderful if a tool for FoamToTecplot is available |
|
LinkBack | Thread Tools | Search this Thread | Display Modes |
December 16, 2009, 13:56 |
|
#121 |
Member
Join Date: Mar 2009
Posts: 46
Rep Power: 17 |
Thanks very much for your kind reply Scott.
Yours sincerely, Mani |
|
December 16, 2009, 14:06 |
OpenFOAM 1.5
|
#122 |
Member
Join Date: Mar 2009
Posts: 46
Rep Power: 17 |
Hi every body,
Does anybody know how to use foamToTecplot360 in OpenFOAM 1.5? I would be grateful if anyone knows the answer. Mani |
|
January 14, 2010, 07:21 |
foamToTecplot360 in practice
|
#123 |
Member
Aniko Rakai
Join Date: Oct 2009
Location: Geneva
Posts: 30
Rep Power: 17 |
I was reading this thread about how to compile foamToTecplot360 and I think I managed from the git, I got a Tecplot360 directory in my cavity tutorial folder, but when I try to load them to Tecplot I only manage with the grid.
Thereafter when I load the next plt to add to current dataset, Tecplot says you must specify a grid first, but I have the grid loaded. Did anyone else encounter this problem? I also tried with pitz daily simpleFoam tutorial, but there the converter was missing the value of R in the 0/R file, but it has no value only patch type. Precisely: Cannot find 'value' entry on patch upperWall of field R in file "/home/rakai/OpenFOAM/rakai-1.6/run/tutorials/incompressible/simpleFoam/pitzDaily/0/R" which is required to set the values of the generic patch field. (Actual type kqRWallFunction) Please add the 'value' entry to the write function of the user-defined boundary-condition or link the boundary-condition into libfoamUtil.so |
|
January 14, 2010, 10:47 |
|
#124 |
Member
Aniko Rakai
Join Date: Oct 2009
Location: Geneva
Posts: 30
Rep Power: 17 |
What Tecplot writes exactly is that:
A grid file must be specified before any solution files that depend on it are specified. Meanwhile I can see the grid. the message in the terminal is: Ignoring Xlib error: error code 2 request code 91 repeated several times |
|
January 14, 2010, 13:06 |
Loading multiple grid and solution files into Tecplot 360
|
#125 |
Senior Member
Scott Rumage
Join Date: May 2009
Location: Seattle, WA
Posts: 152
Rep Power: 17 |
Hello Aniko,
With regards to the cavity tutorial and the loading of multiple files, please select the "Multiple Files" option on the Tecplot Data Loader menu and then select the grid file first and then select the solution files. By this method you should be able to load all the files in one step. With regards to the Pitz Daily tutorial, our associates at OpenCFD inform me that the "error comes from the 0/R with is no longer used. Just delete the file. Alternatively this has been fixed in the 1.6.x git repository." Scott |
|
January 15, 2010, 06:52 |
|
#126 |
Member
Aniko Rakai
Join Date: Oct 2009
Location: Geneva
Posts: 30
Rep Power: 17 |
Thanks Scott, multiple selection worked, it was an easy solution
In the Pitz-Daily I also deleted 0 and it is ok now. |
|
February 16, 2010, 10:13 |
Problems Compiling foamToTecplot360
|
#127 |
New Member
Join Date: Jan 2010
Posts: 9
Rep Power: 16 |
Hi,
I am having trouble compiling the application. I get the following errors (see below). Can anyone help? Code:
./Allwmake + wmake libso tecio/tecsrc SOURCE=alloc.cpp ; g++ -m64 -Dlinux64 -DWM_DP -Wall -Wno-strict-aliasing -Wextra -Wno-unused-parameter -Wold-style-cast -Wnon-virtual-dtor -O3 -DNoRepository -ftemplate-depth-40 -DMAKEARCHIVE -DLINUX -DLINUX64 -DUSEENUM -DTHREED -U_WIN32 -IlnInclude -I. -I/home/ws/ie115/OpenFOAM/OpenFOAM-1.6/src/OpenFOAM/lnInclude -I/home/ws/ie115/OpenFOAM/OpenFOAM-1.6/src/OSspecific/POSIX/lnInclude -fPIC -c $SOURCE -o Make/linux64GccDPOpt/alloc.o In file included from alloc.cpp:25: MASTER.h:527:31: error: X11/Intrinsic.h: No such file or directory In file included from alloc.cpp:25: MASTER.h:533: error: ‘Widget’ does not name a type MASTER.h:534: error: ‘Widget’ does not name a type MASTER.h:535: error: ‘Widget’ does not name a type MASTER.h:536: error: ‘Widget’ does not name a type MASTER.h:537: error: ‘Widget’ does not name a type MASTER.h:538: error: ‘Widget’ does not name a type MASTER.h:539: error: ‘Widget’ does not name a type MASTER.h:540: error: ‘Widget’ does not name a type MASTER.h:541: error: ‘Widget’ does not name a type MASTER.h:542: error: ‘Widget’ does not name a type MASTER.h:543: error: ‘Widget’ does not name a type MASTER.h:544: error: ‘Widget’ does not name a type In file included from alloc.cpp:40: GLOBAL.h:5038: warning: use of old-style cast GLOBAL.h:5057: warning: use of old-style cast GLOBAL.h:5071: warning: use of old-style cast GLOBAL.h:5085: warning: use of old-style cast In file included from alloc.cpp:41: ALLOC.h: In function ‘void nonExceptionDelete(T*&)’: ALLOC.h:175: warning: use of old-style cast ALLOC.h:175: warning: use of old-style cast make: *** [Make/linux64GccDPOpt/alloc.o] Error 1 + wmake g++ -m64 -Dlinux64 -DWM_DP -Wall -Wno-strict-aliasing -Wextra -Wno-unused-parameter -Wold-style-cast -Wnon-virtual-dtor -O3 -DNoRepository -ftemplate-depth-40 -Itecio/tecsrc/lnInclude -I/home/ws/ie115/OpenFOAM/OpenFOAM-1.6/src/lagrangian/basic/lnInclude -I/home/ws/ie115/OpenFOAM/OpenFOAM-1.6/src/finiteVolume/lnInclude -I/home/ws/ie115/OpenFOAM/OpenFOAM-1.6/src/meshTools/lnInclude -IlnInclude -I. -I/home/ws/ie115/OpenFOAM/OpenFOAM-1.6/src/OpenFOAM/lnInclude -I/home/ws/ie115/OpenFOAM/OpenFOAM-1.6/src/OSspecific/POSIX/lnInclude -fPIC Make/linux64GccDPOpt/tecplotWriter.o Make/linux64GccDPOpt/vtkMesh.o Make/linux64GccDPOpt/foamToTecplot360.o -L/home/ws/ie115/OpenFOAM/OpenFOAM-1.6/lib/linux64GccDPOpt \ -ltecio -llagrangian -lfiniteVolume -lmeshTools -lOpenFOAM -liberty -ldl -lm -o /home/ws/ie115/OpenFOAM/OpenFOAM-1.6/applications/bin/linux64GccDPOpt/foamToTecplot360 /usr/bin/ld: cannot find -ltecio collect2: ld returned 1 exit status make: *** [/home/ws/ie115/OpenFOAM/OpenFOAM-1.6/applications/bin/linux64GccDPOpt/foamToTecplot360] Error 1 |
|
February 16, 2010, 19:43 |
Compiling foamToTecplot360
|
#128 |
Senior Member
Scott Rumage
Join Date: May 2009
Location: Seattle, WA
Posts: 152
Rep Power: 17 |
cfd_noob,
One of our developers comments: The error message indicates that X11/Intrinsic.h is either missing or in a different location on the system than expected. X11 files can usually be found on the system in /usr/include/X11. If X11 does not exist, it needs to be installed. On Linux, the X11 dev package should include Intrinsic. Please let us know if this helps. Scott |
|
March 1, 2010, 08:29 |
|
#129 | |
New Member
Join Date: Nov 2009
Posts: 4
Rep Power: 17 |
Hi,
I have some troubles using foamToTec360. I finished a transient case. The mesh I used was structured with rectangular cells; it comes with 1 inlet and 1 outlet as patch, front and solid as empty, and 1 wall. But somehow, after using foamToTec360, I got the error message below. It still can create the grid, which I can load in TecPlot. But everything else, means flow informations, fails. Does anyone have the some problem? Can someone help me? Thank you. Error message: Quote:
|
||
March 1, 2010, 20:52 |
|
#130 |
Senior Member
Scott Rumage
Join Date: May 2009
Location: Seattle, WA
Posts: 152
Rep Power: 17 |
Reddy,
We are not sure what is causing the issue you are having, so could you provide additional details: 1. How would you describe the dataset you are trying to convert? i.e. Number of zones, zone types, number of variables, variable types, number of values for each variable? 2. Are any of the numbers/values from the error listing correct? Are the number of data values processed correct, or is the expected number correct? Knowing this information may help us to understand if TECDAT is getting called too many times or if TECZNE is getting called with the wrong number of values for the zone. Scott |
|
March 2, 2010, 00:45 |
|
#131 | ||
New Member
Join Date: Nov 2009
Posts: 4
Rep Power: 17 |
Hi Scott,
Thank you for your reply. My case is very similar to the damBreak-case from the OpenFoam tutorial. The only difference is that I use a much finer mesh with a different geometry. Everything else is almost identical. Some details about my mesh using checkMesh: Quote:
foamToTec360 works great with the damBreak-case. The following lines of the error message only appears in my case, and not in the damBreak-case. Line 58 -62 of the error message: Quote:
I have the same amount of variables (alpha1, p, U, ...) like the damBreak-case. I think the number of values for each variable must be much bigger than the damBreak-case, because I use a more detailed mesh. (Sorry, I don't know the exact number.) Sorry, I can't tell you whether or not the data values are processed correct. How can I figure this out? Does Zone1 refer to patch1, and Zone2 to patch2, ...? Thank you, Reddy |
|||
March 3, 2010, 11:31 |
|
#132 |
New Member
Peter Keller
Join Date: Mar 2009
Posts: 14
Rep Power: 17 |
Hi Scott,
I have the same problem with converting data to Tecplot. I have produced data with parallel processing and reconstructed them afterwards in order to post-process them in Tecplot. foamToTecplot360 gave me a similar output like Reddy's one and I reduced the data until I had only two folders with 2 data files. But with no effect. Now I updated foamToTecplot with git and got a new error message while compiling: Code:
foamToTecplot360.C:(.text+0x8eb9): undefined reference to `Foam::passiveParticleCloud::passiveParticleCloud(Foam::polyMesh const&, Foam::word const&, bool)' collect2: ld returned 1 exit status Thank you in advance. Peter. |
|
March 3, 2010, 12:41 |
|
#133 |
Senior Member
Scott Rumage
Join Date: May 2009
Location: Seattle, WA
Posts: 152
Rep Power: 17 |
Hello PKeller and Reddy,
Are you using the foamToTecplot360 converter found at this Git repository: http://www.openfoam.com/download/ or another version of the converter? Thanks, Scott |
|
March 4, 2010, 02:26 |
|
#134 |
New Member
Peter Keller
Join Date: Mar 2009
Posts: 14
Rep Power: 17 |
Hello Scott,
the utility I am using was included in the OpenFOAM-1.6.x package. As I remember well I got it from openfoam.com. Thank you, Peter. |
|
March 4, 2010, 05:27 |
|
#135 | |
New Member
Peter Keller
Join Date: Mar 2009
Posts: 14
Rep Power: 17 |
Hi,
I have compiled complete source of OpenFOAM-1.6.x after updating with git and undefined reference disappeared. But the problem described by Reddy still exists, e.g.: Quote:
Peter. |
||
March 4, 2010, 09:19 |
|
#136 |
New Member
Peter Keller
Join Date: Mar 2009
Posts: 14
Rep Power: 17 |
Hello Scott,
I have one more information to maybe locate the problem: it occurs only while converting 3D cases. I have tested conversion also with 2D cases and several other 3D cases but only 2D cases are working. I have tried to locate position in code with gdb and debug mode but without any success. Thank you again, Peter. |
|
March 4, 2010, 12:30 |
|
#137 |
Senior Member
n/a
Join Date: Sep 2009
Posts: 199
Rep Power: 17 |
hey there foamers and good day to all. i have a question about foamToTecplot360. is it possible for one to use foamToTecplot360 if i am using Tecplot360 2006? or does foamToTecplot only work with Tecplot360 2009? thanks much.
deji |
|
March 4, 2010, 13:07 |
|
#138 | |
Senior Member
Mattijs Janssens
Join Date: Mar 2009
Posts: 1,419
Rep Power: 26 |
Quote:
Could you produce a small testcase which goes wrong and post instructions on how to repeat it to the OpenFOAM-bugs forum? Thanks, Mattijs |
||
March 4, 2010, 20:35 |
|
#139 |
New Member
Join Date: Nov 2009
Posts: 4
Rep Power: 17 |
Hi all,
@Scott: I am using the binaries, pre-compiled version from openfoam.com. I haven't tried the git update yet. @Peter: The damBreak-case in the tutorial is basically a 'quasi-3d-problem' with one cell in z-direction and it works fine with the tec-converter. The mesh in my problem has one cell in z-direction as well and it doesn't work. @deji: Try it out. |
|
March 5, 2010, 04:10 |
|
#140 |
New Member
Peter Keller
Join Date: Mar 2009
Posts: 14
Rep Power: 17 |
Hello Mattijs,
I have uploaded a test case to a new thread in the OpenFOAM-bugs section. http://www.cfd-online.com/Forums/ope...tml#post248660 Thank you, Peter. |
|
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Problem manipulating Data in Tecplot after foamToTecplot Conversion | titio | OpenFOAM Post-Processing | 2 | June 10, 2010 05:23 |
CFD science or tool? | Mateusz | Main CFD Forum | 10 | November 25, 2008 00:16 |
[mesh manipulation] ScalePoints tool | cedric_duprat | OpenFOAM Meshing & Mesh Conversion | 6 | September 19, 2008 04:15 |
Gridgeneration Tool | AndyR | Main CFD Forum | 2 | May 23, 2008 09:49 |
PDF repaire tool? | John | Main CFD Forum | 0 | February 23, 2008 08:32 |