|
[Sponsors] |
It would be wonderful if a tool for FoamToTecplot is available |
|
LinkBack | Thread Tools | Search this Thread | Display Modes |
September 17, 2006, 12:22 |
Hey Frank,
at the moment fo
|
#41 |
Senior Member
Markus Hartinger
Join Date: Mar 2009
Posts: 102
Rep Power: 17 |
Hey Frank,
at the moment foamToTecplot is limited to hex, wedge, prism, pyramid and tet due to the limitations in tecplot. If you want to handle polyhedrals you could make tets out of them. Check one of the other converters to have a look how it could work. regards markus |
|
September 17, 2006, 12:29 |
FYI, tecplot is currently addi
|
#42 |
New Member
Daniel Einstein
Join Date: Mar 2009
Posts: 22
Rep Power: 17 |
FYI, tecplot is currently adding polyhedral support so stay tuned.
|
|
September 18, 2006, 10:08 |
HI,
Is foamToTecplot tool wo
|
#43 |
Member
Radu Mustata
Join Date: Mar 2009
Location: Zaragoza, Spain
Posts: 99
Rep Power: 17 |
HI,
Is foamToTecplot tool working for OpenFOAM1.3? I mean, if I have a cyclic patch, it does not work. I guess I have to include the right library in Make/options file...could anyone please tell me which is the one? Cheers, radu |
|
September 19, 2006, 05:14 |
Just in case anyone is interes
|
#44 |
Member
Radu Mustata
Join Date: Mar 2009
Location: Zaragoza, Spain
Posts: 99
Rep Power: 17 |
Just in case anyone is interested...
the options file should contain EXE_INC = \ -I$(LIB_SRC)/finiteVolume/lnInclude EXE_LIBS = \ -lfiniteVolume \ -lfoamUtil rather than whatever reference to "cfdtools" in versions1.1 and 1.2 of Foam. Afterwards the tool will compile OK. Radu |
|
September 27, 2006, 05:55 |
Hi,
When I convert the Open
|
#45 |
Senior Member
Frank Bos
Join Date: Mar 2009
Location: The Netherlands
Posts: 340
Rep Power: 18 |
Hi,
When I convert the OpenFOAM data using the foamToTecplot utility, all my mesh and flow data is put into one zone: "Zone 001". I really like to be able to switch different boundaries/surfaces on/off, but using only one zone this is not possible. How do I store the the OpenFOAM data of different patches to different Tecplot Zones??? Regards, Frank
__________________
Frank Bos |
|
February 5, 2007, 11:11 |
Hi,
Has someone a working f
|
#46 |
Senior Member
Frank Bos
Join Date: Mar 2009
Location: The Netherlands
Posts: 340
Rep Power: 18 |
Hi,
Has someone a working foamToTecplot utility which also writes the boundary fields. The current foamToTecplot utility only writes the internal field. Otherwise I will try to write that piece myself. Thanks, Frank
__________________
Frank Bos |
|
July 8, 2007, 07:31 |
I wonder if it is possible to
|
#47 |
Senior Member
Join Date: Mar 2009
Posts: 225
Rep Power: 18 |
I wonder if it is possible to use foamToTecplot in such a way, that instead of creating ASCII file it would create BINARY input file?
That would be more compact and save plenty of space. Right now, I tested ASCII format for simple damBreak case running on the cluster. So, approximatelly for one time step, the output from OpenFOAM takes 0.5MB, whereas the same time step converted to TecPlot ASCII format takes 1.3MB. Such thing will make a huge difference for all output data >10GB. Any input would be appreciated Thanks, Krystian |
|
July 8, 2007, 12:39 |
Hello,
If asked, Tecplot wi
|
#48 |
New Member
Daniel Einstein
Join Date: Mar 2009
Posts: 22
Rep Power: 17 |
Hello,
If asked, Tecplot will supply a library and wrappers for outputting binary Tecplot. I have used these before to output binary Tecplot from our codes. They are very robust and easy to use. Dan |
|
July 9, 2007, 05:23 |
Hi Dan,
What do you mean?
|
#49 |
Senior Member
Frank Bos
Join Date: Mar 2009
Location: The Netherlands
Posts: 340
Rep Power: 18 |
Hi Dan,
What do you mean? Is the company Tecplot able to provide a binary foamToTecplot converter? Ifso, I think that could be very useful. Regards, Frank
__________________
Frank Bos |
|
July 9, 2007, 05:36 |
I understood, that IF requeste
|
#50 |
Senior Member
Join Date: Mar 2009
Posts: 225
Rep Power: 18 |
I understood, that IF requested, TecPlot is going to provide necessary libraries, so one could create easy to use TecPlot binary data converter.
So, let's somebody willing to help, write to TecPlot and we might start some coding. I might help if needed and if coding not overgrows me. Regards, Krystian |
|
July 9, 2007, 05:53 |
That would be really nice. Rig
|
#51 |
Senior Member
Frank Bos
Join Date: Mar 2009
Location: The Netherlands
Posts: 340
Rep Power: 18 |
That would be really nice. Right now, there are two things not well incorporated in the foamToTecplot:
1) Field values on boundaries are not working, right now, you only get 1 ZONE (the internal field). 2) All values are written as ASCII, making files very big for large cases. Hopefully, we could use the existing foamToTecplot as a starting point to make a 'complete' converter. I am also willing to help, but not that good in coding. Regards, Frank
__________________
Frank Bos |
|
July 9, 2007, 07:17 |
Hey Krystian,
tecplot provi
|
#52 |
Senior Member
Markus Hartinger
Join Date: Mar 2009
Posts: 102
Rep Power: 17 |
Hey Krystian,
tecplot provides functions to create your own binary data writer. For Tecplot 9.2 that is described in the reference manual, chapter 11, including some examples. regards markus |
|
July 9, 2007, 17:04 |
Thanks Markus for the tip. I'm
|
#53 |
Senior Member
Join Date: Mar 2009
Posts: 225
Rep Power: 18 |
Thanks Markus for the tip. I'm going to take a look at it.
Right now, however, I do not have a lot of spare time, so IF only I manage to do something, that would be binary data file. I'm afraid I could struggle a bit with coding. |
|
July 9, 2007, 17:09 |
Hello Krystian,
A short ter
|
#54 |
New Member
Daniel Einstein
Join Date: Mar 2009
Posts: 22
Rep Power: 17 |
Hello Krystian,
A short term fix for you - without any coding - is to use the Tecplot utility PREPLOT, which will convert your Tecplot ascii file into a Tecplot binary file: >> preplot ascii_filename binary_filename |
|
July 9, 2007, 17:21 |
Wonderful! Now, short script i
|
#55 |
Senior Member
Join Date: Mar 2009
Posts: 225
Rep Power: 18 |
Wonderful! Now, short script in bash would do it.
FYI, the .dat files size was cut about 50%. Thanks! Krystian |
|
July 10, 2007, 00:19 |
OK. Here is what I use.
Simpl
|
#56 |
Senior Member
Join Date: Mar 2009
Posts: 225
Rep Power: 18 |
OK. Here is what I use.
Simple script in bash which converts Tecplot ASCI to binary format. Invoke in <case> folder. http://www2.hawaii.edu/~krystian/Ope...tBinaryData.sh |
|
July 10, 2007, 01:17 |
Hi Krystian,
Great. One lit
|
#57 |
New Member
Daniel Einstein
Join Date: Mar 2009
Posts: 22
Rep Power: 17 |
Hi Krystian,
Great. One little syntactical comment. Tecplot binary files customarily are given the .plt extension, while the ascii are customarily given the .dat extension. Thats for tbe script. Dan |
|
July 10, 2007, 01:26 |
OK. fixed. Sorry, I didn't kno
|
#58 |
Senior Member
Join Date: Mar 2009
Posts: 225
Rep Power: 18 |
OK. fixed. Sorry, I didn't know
K |
|
July 18, 2007, 16:17 |
OK. Here is the same script, j
|
#59 |
Senior Member
Join Date: Mar 2009
Posts: 225
Rep Power: 18 |
OK. Here is the same script, just a bit cleaned up.
Now it works the same way as OpenFOAM command syntax tec2bin.sh <root> <case> tec2bin.sh For anyone who just found that post, that script helps you convert ASCII Tecplot data to Binary format. Hope you find it useful. |
|
August 13, 2007, 18:25 |
Hello:
When I compiled foam
|
#60 |
Member
Ning Yang
Join Date: Mar 2009
Location: University Park, PA, USA
Posts: 84
Rep Power: 17 |
Hello:
When I compiled foamToTecplot in Foam 1.4.1, I got some errors as follows: ================================================= [yxk172@lionxo foamToTecplot]$ wmake g++ -m64 -Dlinux64 -DDP -Wall -Wno-strict-aliasing -Wextra -Wno-unused-parameter -Wold-style-cast -march=opteron -O3 -DNoRepository -ftemplate-depth-40 -I/home1/yxk172/OpenFOAM/OpenFOAM-1.4.1/src/finiteVolume/lnInclude -IlnInclude -I. -I/home1/yxk172/OpenFOAM/OpenFOAM-1.4.1/src/OpenFOAM/lnInclude -fPIC Make/linux64GccDPOpt/foamToTecplot.o -L/home1/yxk172/OpenFOAM/OpenFOAM-1.4.1/lib/linux64GccDPOpt \ -lfiniteVolume -lfoamUtil -lOpenFOAM -liberty -ldl -lm -o /home1/yxk172/OpenFOAM/yxk172-1.4.1/applications/bin/linux64GccDPOpt/foamToTecpl ot /usr/bin/ld: cannot find -lfoamUtil collect2: ld returned 1 exit status make: *** [/home1/yxk172/OpenFOAM/yxk172-1.4.1/applications/bin/linux64GccDPOpt/foamToTecp lot] Error 1 ================================================= In my option file, it contains: EXE_INC = \ -I$(LIB_SRC)/finiteVolume/lnInclude EXE_LIBS = \ -lfiniteVolume \ -lfoamUtil Then I removed "-lfoamUtil", it compiles fine. So I am just wondering if foamUtil is necessary for openfoam 1.4.1. Besides, does anyone here know how to export Reynolds stress tensor into tecplot using foamToTecplot? I tried to export using both foamDataToFluent and foamToTecplot? Neither works. However, for other turbulence variables such as kinetic energy, dissipation rate and yplus, it seems fine. Thank you. Ning |
|
|
|
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 |