CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > Software User Forums > ANSYS > FLUENT

How to get the value of points by TECPLOT??

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   November 27, 2003, 23:06
Default How to get the value of points by TECPLOT??
  #1
Jason
Guest
 
Posts: n/a
I am using TECPLOT to post-operate the FLUENT result, and want to get wall shear stress of special points. I had writen a MACRO to operate my work, but the result, the coordinate of points, are different to the value in the macro file. What is the reason? How to do correctly?

This is my macro file: #!MC 900

$!READDATASET '"-LoadOption" "GridAndSolution" "-CaseFile" "E:\unsteady.cas" "-GridZones" "BoundariesOnly" "-DataFile" "E:\unsteady.dat"'

DATASETREADER = 'Fluent Data Loader'

$!PICK SETMOUSEMODE

MOUSEMODE = SELECT

$!PICK SETMOUSEMODE

MOUSEMODE = SELECT

$!EXTRACTFROMPOLYLINE

EXTRACTTHROUGHVOLUME = NO

EXTRACTLINEPOINTSONLY = YES

INCLUDEDISTANCEVAR = NO

NUMPTS = 20

EXTRACTTOFILE = YES

FNAME = 'E:\Jwt\FlowChamber\Bifurcation\WSS_P_C&N\WSS-P-C&N_|F1|.dat'

RAWDATA

6

3.69074582597831E-03 5.2885748683387E-03 0

6.13156673884702E-03 6.65591994596276E-03 0

8.71635654747554E-03 7.86122722844724E-03 0

1.13471443689967E-02 8.82118695579832E-03 0

1.42134653175816E-02 9.56945325846278E-03 0

1.70509637007159E-02 1.03795297522031E-02 0

$!PICK SETMOUSEMODE

MOUSEMODE = SELECT

The result as follow: VARIABLES = "X" "Y" "Z" "Pressure" "X Velocity" "Y Velocity" "Z Velocity" "Mass Flux" "Mass Flux M1" "Variable #114-1" "Variable #114-2" "Variable #114-3" "Wall shear-1" "Wall shear-2" "Wall shear-3" "Boundary heat flux" "Boundary rad heat flux" "Density" "Density t-1" ZONE

0.0132126529555 0.00875424914337 0.00170419006373 .......(omited)

0.00828271565594 0.0072761538821 0.00153740363191 .......(omited)

0.00128266168341 0.00393154471282 0.00108209568066 .......(omited)

-0.00341266672621 0.00295671212011 0.000888105272212 .......(omited)

-0.00742063295438 0.00300233585155 0.000766922960434 .......(omited)

-0.0114099025797 0.00302589492282 0.000656996585406 .......(omited)
  Reply With Quote

Old   January 21, 2011, 18:01
Default same issue here
  #2
New Member
 
Join Date: Jan 2011
Posts: 2
Rep Power: 0
Vian is on a distinguished road
Hi,

I am facing the exact same problem: how to use the "probe" tool to extract data from a point through a macro, without having to manually click on the point.

It seems that the coordinates that need to be input in the macro after RAWDATA have to be in some odd 2D coordinate system. I couldn't find any information on how to switch from that system to the physical coordinates.

Any help welcome!
Vian is offline   Reply With Quote

Old   January 21, 2011, 19:53
Default Tecplot data probe using python
  #3
Senior Member
 
Scott Rumage
Join Date: May 2009
Location: Seattle, WA
Posts: 152
Rep Power: 16
scott_rumage is on a distinguished road
Vian,

If you are using Tecplot 360 2008 R2 or later, you will find a python example script called probe.py and located on your computer at ...tecplot\tec360 \examples\python

Perhaps you would be able to edit this script to probe your data via batch mode (or script).

Scott
scott_rumage is offline   Reply With Quote

Old   January 21, 2011, 20:12
Default
  #4
New Member
 
Join Date: Jan 2011
Posts: 2
Rep Power: 0
Vian is on a distinguished road
Scott, thanks for your quick answer.

I didn't want to look into Python scripting (was using Tecplot's funky macro language) but I guess I'll have to ; the example seems indeed to be promising!
Vian is offline   Reply With Quote

Old   March 31, 2015, 06:18
Default python script works but encountered some problem
  #5
New Member
 
sam
Join Date: Sep 2012
Posts: 6
Rep Power: 13
aeroiitkgp is on a distinguished road
Thank you scott_rumage for the info.

I tried to use this script to extract values in a given 3D dataset. It works well except for some points when its giving the error " no such point in dataset".

If I try to enter the same point through the probe at tool in gui, I observe that tec360 approximates that point to the nearest available point and gives a result, but the python script is not able to do that.

How do I modify the script to allow it to find nearest possible point in data?
aeroiitkgp is offline   Reply With Quote

Reply


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
Sliding Interface issues philippose OpenFOAM Running, Solving & CFD 7 May 5, 2014 03:13
[snappyHexMesh] jagged, ragged edges... ziemowitzima OpenFOAM Meshing & Mesh Conversion 138 July 23, 2012 23:41
Gauss Quadrature points dhruv OpenFOAM 4 September 26, 2011 04:59
[blockMesh] BlockMeshmergePatchPairs hjasak OpenFOAM Meshing & Mesh Conversion 11 August 15, 2008 07:36
extreme points problem Lipo Wang Main CFD Forum 2 August 18, 2004 03:15


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