Hey Frank,
at the moment fo
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 |
FYI, tecplot is currently addi
FYI, tecplot is currently adding polyhedral support so stay tuned.
|
HI,
Is foamToTecplot tool wo
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 |
Just in case anyone is interes
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 |
Hi,
When I convert the Open
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 |
Hi,
Has someone a working f
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 |
I wonder if it is possible to
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 http://www.cfd-online.com/OpenFOAM_D...part/happy.gif Thanks, Krystian |
Hello,
If asked, Tecplot wi
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 |
Hi Dan,
What do you mean?
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 |
I understood, that IF requeste
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 |
That would be really nice. Rig
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 |
Hey Krystian,
tecplot provi
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 |
Thanks Markus for the tip. I'm
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. |
Hello Krystian,
A short ter
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 |
Wonderful! Now, short script i
Wonderful! Now, short script in bash would do it.
FYI, the .dat files size was cut about 50%. Thanks! Krystian |
OK. Here is what I use.
Simpl
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 |
Hi Krystian,
Great. One lit
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 |
OK. fixed. Sorry, I didn't kno
|
OK. Here is the same script, j
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> http://www.cfd-online.com/OpenFOAM_D...hment_icon.gif 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. |
Hello:
When I compiled foam
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 |
All times are GMT -4. The time now is 10:13. |