|
[Sponsors] |
It would be wonderful if a tool for FoamToTecplot is available |
|
LinkBack | Thread Tools | Search this Thread | Display Modes |
October 6, 2007, 00:25 |
I get the following error mess
|
#61 |
Senior Member
Senthil Kabilan
Join Date: Mar 2009
Posts: 113
Rep Power: 17 |
I get the following error message on a 64 bit machine. Can anyone help me fix this?
bigbox109% wmake Making dependency list for source file foamToTecplot.C SOURCE=foamToTecplot.C ; g++ -m64 -Dlinux64 -DDP -Wall -Wno-strict-aliasing -Wextra -Wno-unused-parameter -Wold-style-cast -march=opteron -O3 -DNoRepository -ftemplate-depth-40 -I/home/openfoam/OpenFOAM/OpenFOAM-1.4/src/finiteVolume/lnInclude -I/home/openfoam/OpenFOAM/OpenFOAM-1.4/src/cfdTools/lnInclude -I/home/openfoam/OpenFOAM/OpenFOAM-1.4/src/meshTools/lnInclude -IlnInclude -I. -I/home/openfoam/OpenFOAM/OpenFOAM-1.4/src/OpenFOAM/lnInclude -fPIC -c $SOURCE -o Make/linux64Gcc4DPOpt/foamToTecplot.o g++ -m64 -Dlinux64 -DDP -Wall -Wno-strict-aliasing -Wextra -Wno-unused-parameter -Wold-style-cast -march=opteron -O3 -DNoRepository -ftemplate-depth-40 -I/home/openfoam/OpenFOAM/OpenFOAM-1.4/src/finiteVolume/lnInclude -I/home/openfoam/OpenFOAM/OpenFOAM-1.4/src/cfdTools/lnInclude -I/home/openfoam/OpenFOAM/OpenFOAM-1.4/src/meshTools/lnInclude -IlnInclude -I. -I/home/openfoam/OpenFOAM/OpenFOAM-1.4/src/OpenFOAM/lnInclude -fPIC Make/linux64Gcc4DPOpt/foamToTecplot.o -L/home/openfoam/OpenFOAM/OpenFOAM-1.4/lib/linux64Gcc4DPOpt \ -lfiniteVolume -lmeshTools -lfoamUtil -lOpenFOAM -liberty -ldl -lm -o /msrc/home/skabilan/OpenFOAM/skabilan-1.4/applications/bin/linux64Gcc4DPOpt/foam ToTecplot /usr/bin/ld: warning: libtriSurface.so, needed by /home/openfoam/OpenFOAM/OpenFOAM-1.4/lib/linux64Gcc4DPOpt/libfiniteVolume.so, not found (try using -rpath or -rpath-link) /usr/bin/ld: warning: liblagrangian.so, needed by /home/openfoam/OpenFOAM/OpenFOAM-1.4/lib/linux64Gcc4DPOpt/libmeshTools.so, not found (try using -rpath or -rpath-link) /usr/bin/ld: warning: libPstream.so, needed by /home/openfoam/OpenFOAM/OpenFOAM-1.4/lib/linux64Gcc4DPOpt/libOpenFOAM.so, not found (try using -rpath or -rpath-link) /usr/bin/ld: warning: libfoamUser.so, needed by /home/openfoam/OpenFOAM/OpenFOAM-1.4/lib/linux64Gcc4DPOpt/libOpenFOAM.so, not found (try using -rpath or -rpath-link) /home/openfoam/OpenFOAM/OpenFOAM-1.4/lib/linux64Gcc4DPOpt/libfiniteVolume.so: undefined reference to `Foam::IPstream::IPstream(int, int, Foam::IOstream::streamFormat, Foam::IOstream::versionNumber)' /home/openfoam/OpenFOAM/OpenFOAM-1.4/lib/linux64Gcc4DPOpt/libfiniteVolume.so: undefined reference to `typeinfo for Foam::triSurface' /home/openfoam/OpenFOAM/OpenFOAM-1.4/lib/linux64Gcc4DPOpt/libmeshTools.so: undefined reference to `Foam::triSurface::edgeOwner() const' /home/openfoam/OpenFOAM/OpenFOAM-1.4/lib/linux64Gcc4DPOpt/libOpenFOAM.so: undefined reference to `vtable for Foam:Pstream' /home/openfoam/OpenFOAM/OpenFOAM-1.4/lib/linux64Gcc4DPOpt/libmeshTools.so: undefined reference to `Foam::triSurfaceTools::surfaceSide(Foam::triSurfa ce const&, Foam::Vector<double> const&, int, Foam::Vector<double> const&)' /home/openfoam/OpenFOAM/OpenFOAM-1.4/lib/linux64Gcc4DPOpt/libfiniteVolume.so: undefined reference to `Foam::triSurface::~triSurface()' /home/openfoam/OpenFOAM/OpenFOAM-1.4/lib/linux64Gcc4DPOpt/libmeshTools.so: undefined reference to `Foam::triSurfaceTools::surfaceNormal(Foam::triSur face const&, int, Foam::Vector<double> const&)' /home/openfoam/OpenFOAM/OpenFOAM-1.4/lib/linux64Gcc4DPOpt/libmeshTools.so: undefined reference to `Foam::triSurface::write(Foam:stream&) const' /home/openfoam/OpenFOAM/OpenFOAM-1.4/lib/linux64Gcc4DPOpt/libmeshTools.so: undefined reference to `Foam::triSurface::clearOut()' /home/openfoam/OpenFOAM/OpenFOAM-1.4/lib/linux64Gcc4DPOpt/libOpenFOAM.so: undefined reference to `Foam::Pstream::exit(int)' /home/openfoam/OpenFOAM/OpenFOAM-1.4/lib/linux64Gcc4DPOpt/libmeshTools.so: undefined reference to `Foam::particle<foam::passiveparticle>::typeName' /home/openfoam/OpenFOAM/OpenFOAM-1.4/lib/linux64Gcc4DPOpt/libmeshTools.so: undefined reference to `Foam::triSurface::triSurface(Foam::fileName const&)' /home/openfoam/OpenFOAM/OpenFOAM-1.4/lib/linux64Gcc4DPOpt/libfiniteVolume.so: undefined reference to `Foam::triSurface::operator=(Foam::triSurface const&)' /home/openfoam/OpenFOAM/OpenFOAM-1.4/lib/linux64Gcc4DPOpt/libmeshTools.so: undefined reference to `Foam::faceTriangulation::faceTriangulation(Foam:: Field<foam::vector<double> > const&, Foam::face const&, Foam::Vector<double> const&, bool)' /home/openfoam/OpenFOAM/OpenFOAM-1.4/lib/linux64Gcc4DPOpt/libmeshTools.so: undefined reference to `Foam::triSurface::triSurface(Foam::List<foam::lab elledtri> const&, Foam::List<foam::geometricsurfacepatch> const&, Foam::Field<foam::vector<double> > const&)' /home/openfoam/OpenFOAM/OpenFOAM-1.4/lib/linux64Gcc4DPOpt/libfiniteVolume.so: undefined reference to `Foam:Pstream::write(int, char const*, long, bool)' /home/openfoam/OpenFOAM/OpenFOAM-1.4/lib/linux64Gcc4DPOpt/libfiniteVolume.so: undefined reference to `Foam::triSurface::triSurface(Foam::List<foam::lab elledtri> const&, Foam::Field<foam::vector<double> > const&)' /home/openfoam/OpenFOAM/OpenFOAM-1.4/lib/linux64Gcc4DPOpt/libfiniteVolume.so: undefined reference to `Foam::triSurfaceTools::calcInterpolationWeights(F oam::triSurface const&, Foam::Field<foam::vector<double> > const&, Foam::List<foam::fixedlist<int,> >&, Foam::List<foam::fixedlist<double,> >&)' /home/openfoam/OpenFOAM/OpenFOAM-1.4/lib/linux64Gcc4DPOpt/libmeshTools.so: undefined reference to `Foam::geometricSurfacePatch::operator==(Foam::geo metricSurfacePatch const&) const' /home/openfoam/OpenFOAM/OpenFOAM-1.4/lib/linux64Gcc4DPOpt/libfiniteVolume.so: undefined reference to `Foam::triSurface::triSurface()' /home/openfoam/OpenFOAM/OpenFOAM-1.4/lib/linux64Gcc4DPOpt/libfiniteVolume.so: undefined reference to `Foam::triSurface::movePoints(Foam::Field<foam::ve ctor<double> > const&)' /home/openfoam/OpenFOAM/OpenFOAM-1.4/lib/linux64Gcc4DPOpt/libmeshTools.so: undefined reference to `Foam::triSurface::markZones(Foam::List<bool> const&, Foam::List<int>&) const' /home/openfoam/OpenFOAM/OpenFOAM-1.4/lib/linux64Gcc4DPOpt/libfiniteVolume.so: undefined reference to `Foam::triSurfaceTools::delaunay2D(Foam::List<foam ::vector2d<double> > const&)' /home/openfoam/OpenFOAM/OpenFOAM-1.4/lib/linux64Gcc4DPOpt/libmeshTools.so: undefined reference to `Foam::triSurface::triSurface(Foam::fileName const&)' /home/openfoam/OpenFOAM/OpenFOAM-1.4/lib/linux64Gcc4DPOpt/libfiniteVolume.so: undefined reference to `Foam::triSurface::~triSurface()' /home/openfoam/OpenFOAM/OpenFOAM-1.4/lib/linux64Gcc4DPOpt/libOpenFOAM.so: undefined reference to `Foam::Pstream::addValidParOptions(Foam::HashTable <foam::string,>&)' /home/openfoam/OpenFOAM/OpenFOAM-1.4/lib/linux64Gcc4DPOpt/libmeshTools.so: undefined reference to `Foam::triSurface::triSurface(Foam::triSurface const&)' /home/openfoam/OpenFOAM/OpenFOAM-1.4/lib/linux64Gcc4DPOpt/libfiniteVolume.so: undefined reference to `Foam::reduce(double&, Foam::sumOp<double> const&)' /home/openfoam/OpenFOAM/OpenFOAM-1.4/lib/linux64Gcc4DPOpt/libmeshTools.so: undefined reference to `Foam::triSurfaceTools::pseudoAngle(Foam::Vector<d ouble> const&, Foam::Vector<double> const&, Foam::Vector<double> const&)' /home/openfoam/OpenFOAM/OpenFOAM-1.4/lib/linux64Gcc4DPOpt/libOpenFOAM.so: undefined reference to `Foam::Pstream::init(int&, char**&)' /home/openfoam/OpenFOAM/OpenFOAM-1.4/lib/linux64Gcc4DPOpt/libOpenFOAM.so: undefined reference to `Foam::Pstream::abort()' /home/openfoam/OpenFOAM/OpenFOAM-1.4/lib/linux64Gcc4DPOpt/libfiniteVolume.so: undefined reference to `Foam::triSurface::subsetMesh(Foam::List<bool> const&, Foam::List<int>&, Foam::List<int>&) const' /home/openfoam/OpenFOAM/OpenFOAM-1.4/lib/linux64Gcc4DPOpt/libmeshTools.so: undefined reference to `Foam::geometricSurfacePatch::geometricSurfacePatc h()' /home/openfoam/OpenFOAM/OpenFOAM-1.4/lib/linux64Gcc4DPOpt/libmeshTools.so: undefined reference to `Foam::triSurface::sortedEdgeFaces() const' /home/openfoam/OpenFOAM/OpenFOAM-1.4/lib/linux64Gcc4DPOpt/libfiniteVolume.so: undefined reference to `Foam:Pstream::~OPstream()' /home/openfoam/OpenFOAM/OpenFOAM-1.4/lib/linux64Gcc4DPOpt/libmeshTools.so: undefined reference to `Foam::triSurface::writeStats(Foam:stream&) const' /home/openfoam/OpenFOAM/OpenFOAM-1.4/lib/linux64Gcc4DPOpt/libfiniteVolume.so: undefined reference to `Foam::IPstream::read(int, char*, long)' /home/openfoam/OpenFOAM/OpenFOAM-1.4/lib/linux64Gcc4DPOpt/libfiniteVolume.so: undefined reference to `Foam::triSurface::write(Foam::fileName const&, bool) const' collect2: ld returned 1 exit status make: *** [/msrc/home/skabilan/OpenFOAM/skabilan-1.4/applications/bin/linux64Gcc4DPOpt/foa mToTecplot] Error 1 |
|
October 9, 2007, 14:30 |
Hello,
I am also interested
|
#62 |
Member
nicolas
Join Date: Mar 2009
Location: Glasgow
Posts: 42
Rep Power: 17 |
Hello,
I am also interested in adding boundaries export. So far looking at a few files, i get to the following (i export values only on a patch named "X01"): { label patchLabel = -1; const fvPatchList& patches = mesh.boundary(); forAll(patches, patchI) { if (patches[patchI].name()=="X01") { patchLabel = patchi; break; } } const labelListList& points_on_faces = mesh.pointFaces(); for all facei in patch patchi { const labelList& shapeLabels = points_on_faces[facei]; ... ... ...and then something similar to writeTECfile.H } } a few things i don't know/not sure. * How do I loop over all faces in a patch? * Is this mesh.pointFaces() what i am looking for? Regards, Nicolas |
|
October 10, 2007, 06:25 |
Ok, to loop over all faces in
|
#63 |
Member
nicolas
Join Date: Mar 2009
Location: Glasgow
Posts: 42
Rep Power: 17 |
Ok, to loop over all faces in a patch:
forAll(patchi, faceI) (could not be simpler) |
|
October 31, 2007, 17:57 |
Hi Nicolas,
How is your pro
|
#64 |
Senior Member
Frank Bos
Join Date: Mar 2009
Location: The Netherlands
Posts: 340
Rep Power: 18 |
Hi Nicolas,
How is your progress on adding boundary value export functionality? I am also interested and willing to help, wherever possible... Regards, Frank
__________________
Frank Bos |
|
December 19, 2007, 17:32 |
Is there any updated version o
|
#65 |
Member
Sung-Eun Kim
Join Date: Mar 2009
Posts: 76
Rep Power: 17 |
Is there any updated version of FoamToTecplot?
|
|
April 2, 2008, 11:14 |
Is there a foamToTecplot which
|
#66 |
Senior Member
Frank Bos
Join Date: Mar 2009
Location: The Netherlands
Posts: 340
Rep Power: 18 |
Is there a foamToTecplot which can be compiled with OF-1.4.1 ????
Thanks, Frank
__________________
Frank Bos |
|
April 2, 2008, 15:33 |
Frank,
The option file cont
|
#67 |
Senior Member
Senthil Kabilan
Join Date: Mar 2009
Posts: 113
Rep Power: 17 |
Frank,
The option file contains: EXE_INC = \ -I$(LIB_SRC)/finiteVolume/lnInclude EXE_LIBS = \ -lfiniteVolume \ -lfoamUtil Just remove "-lfoamUtil", it compiles fine. Best Senthil |
|
April 2, 2008, 16:04 |
Thanks, it was too easy, the l
|
#68 |
Senior Member
Frank Bos
Join Date: Mar 2009
Location: The Netherlands
Posts: 340
Rep Power: 18 |
Thanks, it was too easy, the last couple of days I am just too impatient :-(
Thanks again, Frank
__________________
Frank Bos |
|
April 24, 2008, 17:58 |
Hi guys,
The new Tecplot 3
|
#69 |
Senior Member
Frank Bos
Join Date: Mar 2009
Location: The Netherlands
Posts: 340
Rep Power: 18 |
Hi guys,
The new Tecplot 360 can read polyhedral cells. How should the current foamToTecplot be extended to write polyhedral cells? Regards, Frank
__________________
Frank Bos |
|
June 3, 2008, 15:00 |
Hi Guys,
I tried to install
|
#70 |
Senior Member
|
Hi Guys,
I tried to install the last version of the foamToTecplot that is on this page. I did, in my root folder tar xvfz foamToTecplot.tgz cd foamToTecplot wmake The ouput is presented below. Making dependency list for source file foamToTecplot.C SOURCE=foamToTecplot.C ; g++ -m32 -Dlinux -DDP -Wall -Wno-strict-aliasing -Wextra -Wno-unused-parameter -Wold-style-cast -O3 -DNoRepository -ftemplate-depth-40 -I/home/amartins/OpenFOAM/OpenFOAM-1.4.1/src/finiteVolume/lnInclude -I/home/amartins/OpenFOAM/OpenFOAM-1.4.1/src/cfdTools/lnInclude -I/home/amartins/OpenFOAM/OpenFOAM-1.4.1/src/meshTools/lnInclude -IlnInclude -I. -I/home/amartins/OpenFOAM/OpenFOAM-1.4.1/src/OpenFOAM/lnInclude -fPIC -pthread -c $SOURCE -o Make/linuxGccDPOpt/foamToTecplot.o g++ -m32 -Dlinux -DDP -Wall -Wno-strict-aliasing -Wextra -Wno-unused-parameter -Wold-style-cast -O3 -DNoRepository -ftemplate-depth-40 -I/home/amartins/OpenFOAM/OpenFOAM-1.4.1/src/finiteVolume/lnInclude -I/home/amartins/OpenFOAM/OpenFOAM-1.4.1/src/cfdTools/lnInclude -I/home/amartins/OpenFOAM/OpenFOAM-1.4.1/src/meshTools/lnInclude -IlnInclude -I. -I/home/amartins/OpenFOAM/OpenFOAM-1.4.1/src/OpenFOAM/lnInclude -fPIC -pthread Make/linuxGccDPOpt/foamToTecplot.o -L/home/amartins/OpenFOAM/OpenFOAM-1.4.1/lib/linuxGccDPOpt \ -lfiniteVolume -lmeshTools -lfoamUtil -lOpenFOAM -ldl -lm -o /home/amartins/OpenFOAM/amartins-1.4.1/applications/bin/linuxGccDPOpt/foamToTecp lot /usr/bin/ld: cannot find -lfoamUtil collect2: ld returned 1 exit status make: ** [/home/amartins/OpenFOAM/amartins-1.4.1/applications/bin/linuxGccDPOpt/foamToTec plot] Erro 1 I got this last error. It seems something is missing to create foamutilities. I also performed the compilation in the datconversion utilities of Foam, but the same error happens. Other versions of the package did not also worked. I am using Foam in Ubuntu 7.0. Is there any way to circunvent this problem. Thanks, António Martins |
|
June 3, 2008, 17:51 |
You donīt need -lfoamUtil in y
|
#71 |
Member
Radu Mustata
Join Date: Mar 2009
Location: Zaragoza, Spain
Posts: 99
Rep Power: 17 |
You donīt need -lfoamUtil in your EXE_LIBS of Make/options file, i.e. the file should read only something like this:
EXE_INC = \ -I$(LIB_SRC)/finiteVolume/lnInclude \ EXE_LIBS = \ -lfiniteVolume thatīs that then. Radu |
|
June 27, 2008, 12:41 |
Hi,
can anyone please send
|
#72 |
New Member
Yvgeny
Join Date: Mar 2009
Posts: 1
Rep Power: 0 |
||
September 5, 2008, 10:15 |
Hi,
is there an updated foa
|
#73 |
New Member
Gemma Coughlin
Join Date: Mar 2009
Posts: 2
Rep Power: 0 |
Hi,
is there an updated foamToTecplot version that can handle polyhedral cells? Cheers, Gemma |
|
September 30, 2008, 14:06 |
Hi guys,
I am trying to use
|
#74 |
Senior Member
|
Hi guys,
I am trying to use the foamToTecplot to convert some data from OpenFoam to Tecplot. The tool works fine, but, I cannot select what times I want to convert. From the description of the usage of the tool that appeards if you do just foamToTecplot, it looks it is possible to define which times I want to convert. But, I do not understand how I do it. Can anynone help me out? Thanks in advance, Antonio Martins |
|
September 30, 2008, 14:37 |
Hi Antonio,
foamToTecplot a
|
#75 |
Senior Member
Senthil Kabilan
Join Date: Mar 2009
Posts: 113
Rep Power: 17 |
Hi Antonio,
foamToTecplot application usually converts every time step in your case directory. One dirty way is not have time steps that you do not want to convert. Senthil |
|
November 6, 2008, 11:05 |
Does anyone know whether this
|
#76 |
New Member
Darren Weaver
Join Date: Mar 2009
Posts: 2
Rep Power: 0 |
Does anyone know whether this tool works for 1.5? I've been having a few issues compiling/running it.
|
|
November 6, 2008, 12:26 |
I use it on a daily basis unde
|
#77 |
Member
Dennis Kingsley
Join Date: Mar 2009
Location: USA
Posts: 45
Rep Power: 17 |
I use it on a daily basis under v1.5.x. All I had to do was follow the directions for compiling on 1.4.1-dev, I think there was a library change that needed to be made.
|
|
November 6, 2008, 13:10 |
I'll give that a try, Dennis.
|
#78 |
New Member
Darren Weaver
Join Date: Mar 2009
Posts: 2
Rep Power: 0 |
I'll give that a try, Dennis. Thank you.
|
|
December 22, 2008, 07:43 |
Sorry if I sound cheeky for as
|
#79 |
Member
Leonardo Honfi Camilo
Join Date: Mar 2009
Location: Delft, Zuid Holland, The Netherlands
Posts: 60
Rep Power: 17 |
Sorry if I sound cheeky for asking, but is there a work around for the polyhedral situation or is there a new version of foamTotecPlot that handles it. I have been trying to convert meshed made in snappyHexMesh into tecplot, without a great deal of success.
I have the one uploaded by Markus Hartinger on Saturday, April 01, 2006. Thanks in advance leo |
|
January 29, 2009, 12:47 |
Hi Dennis,
I am also having
|
#80 |
Senior Member
Alexandre Pereira
Join Date: Mar 2009
Posts: 155
Rep Power: 17 |
Hi Dennis,
I am also having some prob in porting foamToTecplot to OF-1.5.x... I take it something has to be changed in /Make/options, but what exactly...? I am not much familiarized with OF-1.5 yet.... Best regards Alex |
|
|
|
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 |