CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > Software User Forums > OpenFOAM > OpenFOAM Post-Processing

Having Problems with foamToTecplot360

Register Blogs Members List Search Today's Posts Mark Forums Read

Like Tree1Likes
  • 1 Post By Santiago

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   March 26, 2013, 12:18
Default Having Problems with foamToTecplot360
  #1
Senior Member
 
Santiago Lopez Castano
Join Date: Nov 2012
Posts: 354
Rep Power: 15
Santiago is on a distinguished road
Hy guys,

So I've been trying to generate the mesh and the solution from OF to tecplot and this is what I obtain:



(Note: the gray area are my boundaries and the "edges" is my solution)

The weird thing is that this only happens when I run yPlusRAS to the specific solution time. Anyone has any idea??

SLC
Santiago is offline   Reply With Quote

Old   April 1, 2013, 15:37
Default
  #2
Retired Super Moderator
 
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 10,974
Blog Entries: 45
Rep Power: 128
wyldckat is a name known to allwyldckat is a name known to allwyldckat is a name known to allwyldckat is a name known to allwyldckat is a name known to allwyldckat is a name known to all
Greetings Santiago,

I don't have Tecplot, so I cannot test it. But from your description, all I can suggest is to:
  1. Check the options that foamToTecplot360 has got:
    Code:
    foamToTecplot360 -help
  2. Among them you'll find the option "-fields". This allows to to convert only a specific list of fields.
  3. Try converting one field at a time and opening in Tecplot.
This way you might be able to confirm if the problem is due to the extra field "yPlus" or not.

Best regards,
Bruno
__________________
wyldckat is offline   Reply With Quote

Old   April 1, 2013, 16:07
Default I have done that
  #3
Senior Member
 
Santiago Lopez Castano
Join Date: Nov 2012
Posts: 354
Rep Power: 15
Santiago is on a distinguished road
First off, Thanks for the reply Bruno...

Now getting down to business, as I stated in the title of this thread I have already done that and it seems to me that the problem is coming from the yPlus fields that messes up things. I have already post-processed much of my simulation results but I haven't been able to fix this problem (I have found a way around it, not very efficient though).

Anyways, I'd be nice to know whether there's a bug in the foamToTecplot360 utility.

SLC
Santiago is offline   Reply With Quote

Old   April 1, 2013, 19:11
Default
  #4
Retired Super Moderator
 
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 10,974
Blog Entries: 45
Rep Power: 128
wyldckat is a name known to allwyldckat is a name known to allwyldckat is a name known to allwyldckat is a name known to allwyldckat is a name known to allwyldckat is a name known to all
Hi Santiago,

Well, my theory is that the Tecplot format used by foamToTecplot360 has problems with either one of the following situations:
  1. It might have a limit on the number of fields it can export into a single data results file.
  2. Or it doesn't like that there is a scalar field after a vector field, something like:
    Code:
    p
    U
    yPlus
But like I wrote before, I don't have Tecplot to confirm this myself

By the way, isn't the latest Tecplot 360 able to open OpenFOAM cases directly? Or does it still have some issues?

Best regards,
Bruno
__________________
wyldckat is offline   Reply With Quote

Old   April 1, 2013, 19:15
Default
  #5
Senior Member
 
Santiago Lopez Castano
Join Date: Nov 2012
Posts: 354
Rep Power: 15
Santiago is on a distinguished road
Maybe I'll just install the newest Tecplot360 then (I'm not a particular fan of upgrading software in the middle of a project but well...)
Santiago is offline   Reply With Quote

Old   March 15, 2015, 09:31
Default
  #6
New Member
 
Mo
Join Date: Mar 2015
Posts: 6
Rep Power: 11
mhaghdoost is on a distinguished road
same issue here :/
anyone a workaround?
mhaghdoost is offline   Reply With Quote

Old   March 16, 2015, 07:48
Default
  #7
Senior Member
 
Santiago Lopez Castano
Join Date: Nov 2012
Posts: 354
Rep Power: 15
Santiago is on a distinguished road
@mhaghdoost Try to use the openfoam loader from tecplot directly. Bruno was right about Tecplot not liking scalar fields after vector fields in .dat files.
wyldckat likes this.
Santiago is offline   Reply With Quote

Old   March 21, 2015, 20:44
Default
  #8
Retired Super Moderator
 
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 10,974
Blog Entries: 45
Rep Power: 128
wyldckat is a name known to allwyldckat is a name known to allwyldckat is a name known to allwyldckat is a name known to allwyldckat is a name known to allwyldckat is a name known to all
Greetings to all!

I was curious about this and I went to check the source code. And all indicates that the fields are stored in the correct order namely:
  • 1st are all of the scalar fields.
  • 2nd are all of the vector fields.

Therefore, can one of you test something for me?
I ask this because I don't have Tecplot to test this with, so here's the request:
  1. Get a copy of the tutorial case "incompressible/simpleFoam/pitzDaily" from OpenFOAM's tutorials folder and run inside the copied folder:
    Code:
    foamRunTutorials
  2. After that, run yPlusRAS (without any additional options).
  3. Tun foamToTecplot360 (without any additional options).
  4. Now open the files created in the new folder "Tecplot360" in Tecplot and check if the reported problem occurs.
  5. If it does occur, then continue these steps. If not, then please let me know.
  6. Now remove the file "0/y".
  7. Then run foamToTecplot360 (again, without any additional options).
  8. Now open the files from the updated folder "Tecplot360" and check if the reported problem still occurs.
If the problem no longer occurs at step #8, then it's because the problem only occurs when there are fields that are only present in a few time snapshots. This makes sense, because the "*.plt" files are all in binary format, which means that if the "array" of data fields is of a different size for each "*.plt" file, then it's only natural that there is a problem when loading the files for representation.

If this guess is correct, then this will likely also mean that this utility foamToTecplot360 cannot be used in cases with dynamic mesh refinement, i.e. when the cell count in the mesh increases or decreases.

Best regards,
Bruno
__________________
wyldckat is offline   Reply With Quote

Old   March 26, 2015, 08:43
Smile
  #9
New Member
 
Mo
Join Date: Mar 2015
Posts: 6
Rep Power: 11
mhaghdoost is on a distinguished road
Quote:
Originally Posted by Santiago View Post
@mhaghdoost Try to use the openfoam loader from tecplot directly. Bruno was right about Tecplot not liking scalar fields after vector fields in .dat files.
thank you.. I just didn't know about the openfoam loader in tecplot. There is indeed one from the secoend release of tecplot 360 2011. Thx mate. It solved my problem
mhaghdoost is offline   Reply With Quote

Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
[ICEM] Problems with coedge curves and surfaces tommymoose ANSYS Meshing & Geometry 6 December 1, 2020 12:12
[mesh manipulation] Problems with rotational cyclic boundaries TReviol OpenFOAM Meshing & Mesh Conversion 8 July 11, 2014 04:45
[ICEM] Flow channel meshing problems StefanG ANSYS Meshing & Geometry 19 May 15, 2012 07:44
Two-phase air water flow problems by activating Wall Lubrication Force challenger85 CFX 5 November 5, 2009 06:44
Help required to solve Hydraulic related problems aero CFX 0 October 30, 2006 12:00


All times are GMT -4. The time now is 04:55.