|
[Sponsors] |
It would be wonderful if a tool for FoamToTecplot is available |
|
LinkBack | Thread Tools | Search this Thread | Display Modes |
September 22, 2005, 11:02 |
You are missing the fvCFD.H he
|
#21 |
Senior Member
Hrvoje Jasak
Join Date: Mar 2009
Location: London, England
Posts: 1,907
Rep Power: 33 |
You are missing the fvCFD.H header - in foam-1.2 it lives in:
cfdTools/general/lnInclude which is different from previous versions. Change Make/options file and all will be welll. Enjoy, Hrv
__________________
Hrvoje Jasak Providing commercial FOAM/OpenFOAM and CFD Consulting: http://wikki.co.uk |
|
September 22, 2005, 11:23 |
Tanks Hrvoje it works !
I'
|
#22 |
Senior Member
Francois Beaubert
Join Date: Mar 2009
Location: Lille, France
Posts: 147
Rep Power: 17 |
Tanks Hrvoje it works !
I'm new to OpenFOAM, I build it on tru64 this morning ... so I'm not already ok with it. |
|
February 21, 2006, 15:12 |
Dear all,
I am using foamTo
|
#23 |
Senior Member
Daniele Panara
Join Date: Mar 2009
Posts: 101
Rep Power: 17 |
Dear all,
I am using foamToTecplot in a multizone configuration. I modified foamToTecplot in order to process only one subzone and it works in Foam 1.1 When I am using the 1.2 version it doesn't work. It seems it cannot find the region fields in the time directories. I modified the following line as follows: IOobjectList objects(mesh,runTime.timeName(),"region1") in IOobjectList objects(mesh,runTime.timeName()/"region1/") and works just for the first 200 time steps then for the other 100 time steps it doesn't work anymore...!! The timesteps directory have all the same structure: time/region1/p T U rho time Any suggestions? |
|
February 23, 2006, 06:10 |
There should be no limit on th
|
#24 |
Senior Member
Mattijs Janssens
Join Date: Mar 2009
Posts: 1,419
Rep Power: 26 |
There should be no limit on the number of time directories.
Did you try printing the names of your ioobjects? Pout<< objects.names() << endl; |
|
February 23, 2006, 07:02 |
Check your code very carefully
|
#25 |
Senior Member
Mattijs Janssens
Join Date: Mar 2009
Posts: 1,419
Rep Power: 26 |
Check your code very carefully.
Check your filenames very carefully. No spaces in them? Run valgrind. Put some printing in Unix.C::readDir |
|
February 23, 2006, 13:49 |
Here you are..
this is the
|
#26 |
Senior Member
Daniele Panara
Join Date: Mar 2009
Posts: 101
Rep Power: 17 |
Here you are..
this is the first error that valgrind has found: ==12589== ==12589== Conditional jump or move depends on uninitialised value(s) ==12589== at 0x120564C1: Foam::fileName::ext() const (fileName.C:169) ==12589== by 0x120401A2: Foam::readDir(Foam::fileName const&, Foam::fileName::Type, bool) (Unix.C:499) ==12589== by 0x12089409: Foam::Time::findTimes(Foam::fileName const&) (findTimes.C:52) ==12589== by 0x12083A16: Foam::Time::Time(Foam::word const&, Foam::fileName const&, Foam::fileName const&, Foam::word const&, Foam::word const&) (Time.C:159) ==12589== by 0x420730: main (createTime.H:8) ==12589== ==12589== ---- Attach to debugger ? --- [Return/N/n/Y/y/C/c] ---- y starting debugger ... ... and this a list of the source where the error should be.. 0x00000000120564c1 in Foam::fileName::ext (this=0x349fb1b0) at primitives/strings/fileName/fileName.C:169 169 if (i <= 0 || operator[](i) == '/') (gdb) stack Undefined command: "stack". Try "help". (gdb) l 164 // Return file name extension 165 word fileName::ext() const 166 { 167 size_type i = find_last_of("./"); 168 169 if (i <= 0 || operator[](i) == '/') 170 { 171 return word::null; 172 } 173 else Could it be due to the bug in Debian binutils (see tread 'assembler messages when compiling on AMD64') ? Thanks for your feed back, Daniele |
|
February 23, 2006, 15:40 |
I cannot replicate this. I cre
|
#27 |
Senior Member
Mattijs Janssens
Join Date: Mar 2009
Posts: 1,419
Rep Power: 26 |
I cannot replicate this. I created a case with >300 times and U,p in each of them and ran foamToVTK (which works similar to your Dx converter I guess)
Can you repeat it with e.g. foamToVTK (with -mesh option to read region1)? If so send small testcase and I'll have a look at it. |
|
February 23, 2006, 16:04 |
Hi Daniele,
Did you have a
|
#28 |
Senior Member
Hrvoje Jasak
Join Date: Mar 2009
Location: London, England
Posts: 1,907
Rep Power: 33 |
Hi Daniele,
Did you have a trailing slash "/" on the root or case name by any chance? That would do it... Hrv
__________________
Hrvoje Jasak Providing commercial FOAM/OpenFOAM and CFD Consulting: http://wikki.co.uk |
|
April 1, 2006, 05:41 |
I am tying to use foamToTecplo
|
#29 |
New Member
Qiang Li
Join Date: Mar 2009
Location: Shenyang, LiaoNing, P. R. China
Posts: 14
Rep Power: 17 |
I am tying to use foamToTecplot for twoPhaseEulerFOAM's data conversion from FOAM-1.3 to tecplot 9.0, but it doesn't work!
help me. please! Exec : foamToTecplot . bed Date : Apr 01 2006 Time : 16:32:05 Host : qiangl PID : 11108 Root : /home/mingxia/OpenFOAM/mingxia-1.3/run/twoPhaseEulerFoam Case : bed Nprocs : 1 Create time Create mesh for time = 10 Creating timestep 0 Creating timestep 0.1 Foam::error::printStack(Foam:stream&) Foam::sigSegv::sigSegvHandler(int) /lib/i686/libpthread.so.0 [0x40b9d046] [0xffffe420] /home/mingxia/OpenFOAM/linux/gcc-4.1.0/lib/libgcc_s.so.1 [0x40b8bc0b] _Unwind_Backtrace backtrace Foam::error::printStack(Foam:stream&) Foam::sigSegv::sigSegvHandler(int) /lib/i686/libpthread.so.0 [0x40b9d046] [0xffffe420] /home/mingxia/OpenFOAM/linux/gcc-4.1.0/lib/libgcc_s.so.1 [0x40b8bc0b] _Unwind_Backtrace backtrace Foam::error::printStack(Foam:stream&) Foam::sigSegv::sigSegvHandler(int) /lib/i686/libpthread.so.0 [0x40b9d046] [0xffffe420] /home/mingxia/OpenFOAM/linux/gcc-4.1.0/lib/libgcc_s.so.1 [0x40b8bc0b] _Unwind_Backtrace backtrace Foam::error::printStack(Foam:stream&) Foam::sigSegv::sigSegvHandler(int) /lib/i686/libpthread.so.0 [0x40b9d046] [0xffffe420] /home/mingxia/OpenFOAM/linux/gcc-4.1.0/lib/libgcc_s.so.1 [0x40b8bc0b] _Unwind_Backtrace backtrace Foam::error::printStack(Foam:stream&) Foam::sigSegv::sigSegvHandler(int) /lib/i686/libpthread.so.0 [0x40b9d046] [0xffffe420] /home/mingxia/OpenFOAM/linux/gcc-4.1.0/lib/libgcc_s.so.1 [0x40b8bc0b] _Unwind_Backtrace backtrace Foam::error::printStack(Foam:stream&) Foam::sigSegv::sigSegvHandler(int) /lib/i686/libpthread.so.0 [0x40b9d046] [0xffffe420] /home/mingxia/OpenFOAM/linux/gcc-4.1.0/lib/libgcc_s.so.1 [0x40b8bc0b] _Unwind_Backtrace backtrace Foam::error::printStack(Foam:stream&) Foam::sigSegv::sigSegvHandler(int) /lib/i686/libpthread.so.0 [0x40b9d046] [0xffffe420] /home/mingxia/OpenFOAM/linux/gcc-4.1.0/lib/libgcc_s.so.1 [0x40b8bc0b] _Unwind_Backtrace backtrace Foam::error::printStack(Foam:stream&) Foam::sigSegv::sigSegvHandler(int) /lib/i686/libpthread.so.0 [0x40b9d046] [0xffffe420] /home/mingxia/OpenFOAM/linux/gcc-4.1.0/lib/libgcc_s.so.1 [0x40b8bc0b] _Unwind_Backtrace backtrace Foam::error::printStack(Foam:stream&) Foam::sigSegv::sigSegvHandler(int) /lib/i686/libpthread.so.0 [0x40b9d046] [0xffffe420] /home/mingxia/OpenFOAM/linux/gcc-4.1.0/lib/libgcc_s.so.1 [0x40b8bc0b] _Unwind_Backtrace backtrace Foam::error::printStack(Foam:stream&) Foam::sigSegv::sigSegvHandler(int) /lib/i686/libpthread.so.0 [0x40b9d046] [0xffffe420] /home/mingxia/OpenFOAM/linux/gcc-4.1.0/lib/libgcc_s.so.1 [0x40b8bc0b] _Unwind_Backtrace backtrace Foam::error::printStack(Foam:stream&) Foam::sigSegv::sigSegvHandler(int) /lib/i686/libpthread.so.0 [0x40b9d046] [0xffffe420] /home/mingxia/OpenFOAM/linux/gcc-4.1.0/lib/libgcc_s.so.1 [0x40b8bc0b] _Unwind_Backtrace backtrace Foam::error::printStack(Foam:stream&) Foam::sigSegv::sigSegvHandler(int) /lib/i686/libpthread.so.0 [0x40b9d046] [0xffffe420] /home/mingxia/OpenFOAM/linux/gcc-4.1.0/lib/libgcc_s.so.1 [0x40b8bc0b] _Unwind_Backtrace backtrace Foam::error::printStack(Foam:stream&) Foam::sigSegv::sigSegvHandler(int) /lib/i686/libpthread.so.0 [0x40b9d046] [0xffffe420] /home/mingxia/OpenFOAM/linux/gcc-4.1.0/lib/libgcc_s.so.1 [0x40b8bc0b] _Unwind_Backtrace backtrace Foam::error::printStack(Foam:stream&) Foam::sigSegv::sigSegvHandler(int) /lib/i686/libpthread.so.0 [0x40b9d046] [0xffffe420] /home/mingxia/OpenFOAM/linux/gcc-4.1.0/lib/libgcc_s.so.1 [0x40b8bc0b] _Unwind_Backtrace backtrace Foam::error::printStack(Foam:stream&) Foam::sigSegv::sigSegvHandler(int) Segmentation fault Best regards Q. Li |
|
April 1, 2006, 10:06 |
Hi
the number of tecplot va
|
#30 |
Senior Member
Markus Hartinger
Join Date: Mar 2009
Posts: 102
Rep Power: 17 |
Hi
the number of tecplot variables was limited to twenty. I made it dynamic and tested it on the bed-case with OpenFOAM-1.3. The code is attached foamToTecplot.tgz Markus |
|
April 2, 2006, 09:45 |
I have tested yours code and i
|
#31 |
New Member
Qiang Li
Join Date: Mar 2009
Location: Shenyang, LiaoNing, P. R. China
Posts: 14
Rep Power: 17 |
I have tested yours code and it works perfectly fine!
Thank Markus Hartinger's help. regards Q. Li |
|
June 6, 2006, 08:14 |
Hello,
I am also a Tecplot
|
#32 |
Member
anne dejoan
Join Date: Mar 2009
Location: madrid, spain
Posts: 66
Rep Power: 17 |
Hello,
I am also a Tecplot User and would like to have access to foamToTecplot. Is it possible to get it ? Thanks very much to help, Anne |
|
June 6, 2006, 08:22 |
Hi Anne,
you can find the f
|
#33 |
Member
Anja Stretz
Join Date: Mar 2009
Posts: 92
Rep Power: 17 |
Hi Anne,
you can find the foamToTecplot utility within this thread. Just go to Markus Hartingers post from May 13, 2005 and download it. But also see: Hrvoje Jasak on Thursday, September 22, 2005. Anja |
|
June 6, 2006, 08:24 |
download the foamToTecplot.tgz
|
#34 |
Senior Member
Markus Hartinger
Join Date: Mar 2009
Posts: 102
Rep Power: 17 |
download the foamToTecplot.tgz thing above and save it as such.
then > tar xvfz foamToTecplot.tgz > cd foamToTecplot > wmake markus |
|
June 6, 2006, 10:21 |
Thanks you very much,
I hav
|
#35 |
Member
anne dejoan
Join Date: Mar 2009
Location: madrid, spain
Posts: 66
Rep Power: 17 |
Thanks you very much,
I have tested it on a file and it works, Thanks again, Anne |
|
August 15, 2006, 06:15 |
Hi all,
can someone please
|
#36 |
Member
Anja Stretz
Join Date: Mar 2009
Posts: 92
Rep Power: 17 |
Hi all,
can someone please help me with the FoamToTecplot tool? I would like to get the magnitude of the velocity with it, and not only the single components. Thanks a lot Anja |
|
August 15, 2006, 06:33 |
either you create a new variab
|
#37 |
Senior Member
Markus Hartinger
Join Date: Mar 2009
Posts: 102
Rep Power: 17 |
either you create a new variable in foam and write it out
or you calculate the magnitude directly in tecplot {magU}=sqrt(sqr({U_X}) + sqr({U_Y}) + sqr({U_Z})) markus |
|
August 15, 2006, 06:55 |
I know this is not the place t
|
#38 |
Member
Anja Stretz
Join Date: Mar 2009
Posts: 92
Rep Power: 17 |
I know this is not the place to ask that, but where do I have to type that in tecplot?
sorry |
|
August 15, 2006, 07:12 |
Sorry again for that question,
|
#39 |
Member
Anja Stretz
Join Date: Mar 2009
Posts: 92
Rep Power: 17 |
Sorry again for that question, I already got it.
Anja |
|
September 14, 2006, 07:23 |
I think that foamToTecplot cou
|
#40 |
Senior Member
Frank Bos
Join Date: Mar 2009
Location: The Netherlands
Posts: 340
Rep Power: 18 |
I think that foamToTecplot could not (yet) handle polyhedrals, I mean like the cells obtained using the utility polyDualMesh. Is that right?
Frank
__________________
Frank Bos |
|
|
|
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 |