CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > General Forums > Main CFD Forum

Extract Data from Polyline in a Macro

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   September 5, 2008, 03:45
Default Extract Data from Polyline in a Macro
  #1
Joe
Guest
 
Posts: n/a
Hi Guys

I am trying to extract a number of points from a couple of polylines.

The idea is to get the data and compare it to an experimental microphone array.

This has to be done via macro as I have 1024 DES-timesteps.

The macro works fine, however it does not give me the correct coordinates

I attached the relevant part of the macro below (the line breaks are as they should be, the forum here seems to cut them out)

Any comment would be appreciated

$!ACTIVEFIELDZONES = [6] $!EXTRACTFROMPOLYLINE

EXTRACTTHROUGHVOLUME = NO

EXTRACTLINEPOINTSONLY = NO

INCLUDEDISTANCEVAR = NO

NUMPTS = 32

EXTRACTTOFILE = NO

RAWDATA 2 -772.000000000 750.000000000 0 228.000000000 750.000000000 0 $!PICK SETMOUSEMODE

MOUSEMODE = SELECT $!EXTRACTFROMPOLYLINE

EXTRACTTHROUGHVOLUME = NO

EXTRACTLINEPOINTSONLY = NO

INCLUDEDISTANCEVAR = NO

NUMPTS = 32

EXTRACTTOFILE = NO

RAWDATA 2 -272.00000000 1250.00000000 0 -272.00000000 250.000000000 0 $!PICK SETMOUSEMODE

MOUSEMODE = SELECT $!WRITEDATASET "/media/FESTPLATTE/DES_Philipp/PLT_Dateien/plt/top|DUMMY|.dat"

INCLUDETEXT = NO

INCLUDEGEOM = NO

INCLUDECUSTOMLABELS = NO

ASSOCIATELAYOUTWITHDATAFILE = NO

ZONELIST = [8-9]

VARPOSITIONLIST = [1-3,8]

BINARY = NO

USEPOINTFORMAT = YES

PRECISION = 9

  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
How to extract data of specific variable from PHI and Q1 file? mukut Phoenics 3 October 17, 2011 06:13
Extract data we want from Techplot to a data file vetnav Main CFD Forum 0 July 28, 2010 20:17
Extract Data from Polyline in a Macro (Tecplot) Joe Main CFD Forum 0 September 5, 2008 03:46
extract point data susan Siemens 4 November 27, 2007 14:04
How to update polyPatchbs localPoints liu OpenFOAM Running, Solving & CFD 6 December 30, 2005 17:27


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