CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > Visualization & Post-Processing Software > Tecplot

Maximum value on a slice

Register Blogs Community New Posts Updated Threads Search

 
 
LinkBack Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
Old   April 30, 2020, 12:27
Default Maximum value on a slice
  #1
New Member
 
Join Date: Feb 2020
Posts: 6
Rep Power: 6
mlazim14 is on a distinguished road
I've recorded a macro which creates a number of slices along my nozzle, and then performs an Integration on each slice to extract the average values of a range of variables, and saves each to a text file.

Now, I'm also looking to get the radius of the nozzle along the axis, which would simply be either the maximum value of my {Radius} variable, or just the maximum Y value for example.

How can I use the Perform Integration tool to get this maximum value on each slice, or alternatively write a macro which does the same?

I've tried using a macro loop as follows, but it returns 0 for all slices:
Code:
$!VARSET |FIRSTSLICEZONE| = (|INITZONES| + 1)
$!VARSET |SLICEZONE| = |FIRSTSLICEZONE|
$!LOOP |NEWZONECOUNT|
$!ACTIVEFIELDMAPS = [|SLICEZONE|]
$!ALTERDATA [|SLICEZONE|] EQUATION = '{R} = |MAXY|'
$!VarSet |SLICEZONE| += 1
$!ENDLOOP
mlazim14 is offline   Reply With Quote

 


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
Dynamic mesh udf for oscillating wall QBeast Fluent UDF and Scheme Programming 3 December 17, 2020 02:03
Obtaining Maximum from a Slice twolf59 Tecplot 0 June 29, 2015 11:23
Diverging solution in transonicMRFDyMFoam tsalter OpenFOAM Running, Solving & CFD 30 July 7, 2014 06:20
compressible flow in turbocharger riesotto OpenFOAM 50 May 26, 2014 01:47
[General] Getting the maximum slice value in Python JPW ParaView 0 July 25, 2012 04:49


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