|
[Sponsors] |
March 19, 2013, 11:49 |
|
#61 |
Senior Member
stephane sanchi
Join Date: Mar 2009
Posts: 314
Rep Power: 18 |
Dear Bruno,
let us know when the tool will be ready for the OpenFOAM v2.2.x release. Best regards, Stephane. |
|
March 24, 2013, 13:06 |
|
#62 |
Retired Super Moderator
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 10,981
Blog Entries: 45
Rep Power: 128 |
Hi Stephane,
I can only estimate that maybe I'll be able to look into this next weekend, namely over the Easter weekend, i.e. somewhere between 29th to 31st of March 2013 . I'll be über busy until then Best regards, Bruno
__________________
|
|
March 29, 2013, 19:09 |
|
#63 |
Retired Super Moderator
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 10,981
Blog Entries: 45
Rep Power: 128 |
Hi Stephane,
I've added the branch for OpenFOAM 2.2 in the https://github.com/wyldckat/localFoamToTecplot360 repository. I've only tested with OpenFOAM 2.2.x, I have not yet tested with 2.2.0. And I didn't need to change anything, because the code for 2.1.x works fine with 2.2.x... Disclaimer: Keep in mind that this repository merely makes it easier to install foamToTecplot360 on existing OpenFOAM installations. It does not add any new features to the one originally provided... well, with the exception of also building on Mac OS X Best regards, Bruno
__________________
|
|
April 19, 2013, 12:44 |
Problem with Using Git for of21
|
#64 |
New Member
realM
Join Date: Jan 2013
Posts: 3
Rep Power: 13 |
Hi Bruno,
When I tried to install the code after "git checkout of21 " I got: Code:
Branch of21 set up to track remote branch of21 from origin. Switched to a new branch 'of21' Code:
+ ./getTecIO ./getTecIO: line 27: wget: command not found no 'tecio2009.zip' to unpack For more information about the TecIO library, visit: http://www.tecplot.com/Downloads/TecIOLibrary.aspx Press Enter to continue... + wmake libso tecio/tecsrc/ ../../tecioMake/ wmake error: could not change to directory 'tecio/tecsrc/' + wmake foamToTecplot360 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++ -m64 -Dlinux64 -DWM_DP -Wall -Wextra -Wno-unused-parameter -Wold-style-cast -Wnon-virtual-dtor -O3 -DNoRepository -ftemplate-depth-100 -I -I/opt/OpenFOAM-2.1.1/src/lagrangian/basic/lnInclude -I/opt/OpenFOAM-2.1.1/src/finiteVolume/lnInclude -I/opt/OpenFOAM-2.1.1/src/meshTools/lnInclude -IlnInclude -I. -I/opt/OpenFOAM-2.1.1/src/OpenFOAM/lnInclude -I/opt/OpenFOAM-2.1.1/src/OSspecific/POSIX/lnInclude -fPIC -c $SOURCE -o Make/linux64GccDPOpt/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/linux64GccDPOpt/tecplotWriter.o] Error 1 Thanks |
|
April 19, 2013, 14:08 |
|
#65 | |
Senior Member
Anton Kidess
Join Date: May 2009
Location: Germany
Posts: 1,377
Rep Power: 30 |
Quote:
__________________
*On twitter @akidTwit *Spend as much time formulating your questions as you expect people to spend on their answer. |
||
April 28, 2013, 12:17 |
|
#66 | |
Senior Member
saeideh mohamadi
Join Date: Aug 2012
Posts: 229
Rep Power: 15 |
Quote:
when i run the ""wget "http://www.openfoam.com/mantisbt/file_download.php?file_id=108&type=bug" -O getTecIO"" command on (opt/OpenFOAM/ThirdParty-2.1.x) it doesn't run and it tell "getTecIO: Permission denied" what should i do? Regards. |
||
April 28, 2013, 12:33 |
|
#67 |
Retired Super Moderator
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 10,981
Blog Entries: 45
Rep Power: 128 |
Greetings Saeideh Mohamadi,
I'm going to assume that someone installed OpenFOAM for you in the "/opt" folder. Therefore, follow the instructions provided on this page: https://github.com/wyldckat/localFoamToTecplot360 Best regards, Bruno
__________________
|
|
May 22, 2013, 08:03 |
|
#68 |
Member
Join Date: Mar 2013
Posts: 98
Rep Power: 13 |
HI to all,
I istalled getTecio as suggested in thi thread and foamToTecplot works fine. But after this installation I have problem to execute paraview. moreover, when I execute paraview or parafoam appears this error message: X Error: BadWindow (invalid Window parameter) 3 Extension: 137 (Uknown extension) Minor opcode: 4 (Unknown request) Resource id: 0x4c0026e and I can't use paraview. Someone know what is this error and how correct it? thank to all |
|
May 22, 2013, 19:22 |
|
#69 |
Retired Super Moderator
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 10,981
Blog Entries: 45
Rep Power: 128 |
Greetings giack,
Seems to me that Tecplot has some libraries that conflict with ParaView's own libraries. I'm not familiar with Tecplot's installation procedures, but my guess is that it added itself to the "LD_LIBRARY_PATH" and/or "PATH" environment variables. To check, run: Code:
echo $PATH echo $LD_LIBRARY_PATH Code:
#!/bin/sh export PATH=/opt/tecplot/bin:$PATH export LD_LIBRARY_PATH=/opt/tecplot/lib:$LD_LIBRARY_PATH tecplot $* Bruno
__________________
|
|
June 10, 2013, 08:17 |
|
#70 |
New Member
Join Date: Mar 2010
Posts: 27
Rep Power: 16 |
Dear Foamers,
since this seems to be the inofficial foamToTecplot360 help-thread, I'd like to add my question to this thread. My situation can be summed up as follows: I'm running OF simulations resulting in a large number of timesteps on a comprably large mesh (>5 million hexas). For each timestep, only one vector field is written. I have to have the results available in Tecplot for further postprocessing. I see three basic options: - Native OpenFOAM reader of Tecplot 2013 - foamToTecplot360 utility - foamToCGNS, reading cgns with Tecplot Up to now, I concentrated on the first two option, but neither of them worked properly. Using the native OpenFOAM support of Tecplot, Tecplot seems to freeze blocking one CPU core, nothing happens for hours. Memory is sufficient, far from being filled. My problem with the foamToTecplot360 utility is the amount of data written to harddisk. For this mesh, a faceZoneMesh is written for every timestep with a filesize of ~500MB each. For at least hundreds of timesteps, my problems are obvious. I tried using to use the -noFaceZones option, but all information from within the domain seems to get lost. The mesh itself does not change during the simulation, only this one vector field needs to be available in Tecplot for each timestep. Doens anybody have an idea for my problem? Are similar problems with the native Tecplot OpenFOAM reader known? Is there a chance to reduce the output of the foamToTecplot utility? I could not find much documentation for other useful option of this utility. Thanks for your help - kind regards! Andreas. |
|
June 10, 2013, 11:07 |
|
#71 |
New Member
Sylvain R.
Join Date: Nov 2012
Posts: 4
Rep Power: 14 |
Hi Andreas,
Maybe I haven't correctly understood your problem but I'll try to give you a piece of answer. I also have to read results with Tecplot (2012) but I do not have memory problems (only few time steps for me). For my case, usually, I do not use the native OpenFOAM tool (I encountered some issues with free surface problems), I prefer using foamToTecplot360, foamToEnsight or foamToVTK (prefered for paraview). But I don't think it will solve your memory problem. Some propositions : - keep the native tool and check you do select the controlDict file - use some tools such as sampleDict to extract the results you want to see Good luck, Sylvain |
|
June 10, 2013, 12:25 |
|
#72 |
New Member
Join Date: Mar 2010
Posts: 27
Rep Power: 16 |
Hi and thanks for your answer!
As stated, my issues with the native OpenFOAM reader are no memory issue. There's more than enough of RAM. Opening a smaller mesh with less than one million elements works without any problems, with the large mesh Tecplot freezes and keeps running on one core. Using the foamToTecplot360, the only issue have is the lack of hard disk space, since it seems to write the full mesh for each time step. This leads to problems assuming hundreds/thousands of timesteps. @Sylvain: Did I understand you correctly that you are using OpenFOAM->foamToEnsight->Tecplot. Does this work fine for you? I'll give it a try in that case... Regards, Andreas. |
|
June 10, 2013, 12:46 |
|
#73 | ||
New Member
Sylvain R.
Join Date: Nov 2012
Posts: 4
Rep Power: 14 |
Quote:
Quote:
Regards, Sylvain |
|||
June 10, 2013, 14:25 |
|
#74 |
Retired Super Moderator
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 10,981
Blog Entries: 45
Rep Power: 128 |
Greetings to all!
@Andreas: In the file "controlDict", are you using the "binary" option instead of "ascii"? And are you using the "compressed" option? I ask this because (even though I don't have access to a Tecplot application), these are usually the kind of options that can affect native readers. Best regards, Bruno
__________________
|
|
June 12, 2013, 07:54 |
|
#75 |
New Member
Join Date: Mar 2010
Posts: 27
Rep Power: 16 |
Hi everybody,
@ Bruno: Thanks for your hint, but Tecplot keeps saying "Opening file" if using native OF support. As stated, with a smaller mesh everything seems to work fine. @ Sylvain: foamToEnsight, opening the result in Tecplot seems to be a proper choice for me. Thanks again! Regards, Andreas. |
|
June 18, 2013, 05:26 |
|
#76 |
New Member
nicolas
Join Date: Oct 2009
Posts: 24
Rep Power: 17 |
Hi to all,
I am using foamToTecplot360, with OpenFOAM 2.2.x on Mountain Lion. It works just fine. Here is my problem. I am using sampleDict to extract data from a surface. Data are written in "postProssesing/surfaces/<time>/<aGivenNameInDict>". There are different formats that one can use to write out the data: foamFile,vtk,raw,... . I wont to load the data with Tecplot, so I guess the only option would be the "foamFile" format. However, the native loader with Tecplot just sees the time directories in the case folder. So I guess the only other option is to use foamToTecplot360. But, is it possible to convert this data to tecplot format, using foamToTecplot360? Thanks, Nicolas |
|
June 18, 2013, 06:33 |
|
#77 |
New Member
Sylvain R.
Join Date: Nov 2012
Posts: 4
Rep Power: 14 |
Hi Nicolas,
you have the foamTotecplot360 option, which should work (people face some problems sometimes). You could try it. Otherwise, you can write a C++ code, to read your raw data from sampleDict and rewrite it into a tecplot file (with headers, columns, etc..). This is what I do and it works perfectly. The only difficulty is that you need to create this C++ code but it is quite simple (just need a loop to run the lines of your raw data, creating some variables and read them in your raw data, rewrite them in the right order) Good luck, Sylvain |
|
June 18, 2013, 06:57 |
|
#78 |
New Member
nicolas
Join Date: Oct 2009
Posts: 24
Rep Power: 17 |
Thanks Sylvain,
I have just tried with: Code:
foamToTecplot360 -time <solutionTime> -fields '(<var1> <var2> ...)' -excludePatches '(<patchToExclude1> <patchToExclude2> ...)' -noInternal Thanks again. Nicolas |
|
June 18, 2013, 13:11 |
|
#79 |
Senior Member
Anton Kidess
Join Date: May 2009
Location: Germany
Posts: 1,377
Rep Power: 30 |
sample should be able to write Ensight files, which you can also directly open in Tecplot.
__________________
*On twitter @akidTwit *Spend as much time formulating your questions as you expect people to spend on their answer. |
|
June 19, 2013, 14:44 |
|
#80 | ||
New Member
Yang Liu
Join Date: May 2013
Posts: 3
Rep Power: 13 |
Hi,Bruno.
I'm new to both OF and Linux, I downloaded tecio from tecplot's official site, and put it in ThirdParty-2.2.0. then I encountered problem in run ./Allwmake in both the directory of ThirdParty-2.2.0 and openfoam220. The error was like this : Quote:
Quote:
Yang |
|||
|
|