|
[Sponsors] |
Max value in the extracted precise line in tecplot |
|
LinkBack | Thread Tools | Search this Thread | Display Modes |
May 22, 2023, 23:45 |
Max value in the extracted precise line in tecplot
|
#1 |
Member
|
Hi all
Is there any function which I can use in macro to obtain maximum value for a variable in the data extracted by a precise line in tecplot. I would use this to normalize the variables using the maximum value and plot it. Regards |
|
May 30, 2023, 21:27 |
|
#2 |
Senior Member
Scott Fowler
Join Date: May 2009
Posts: 123
Rep Power: 17 |
Ramesh,
Sure. You can use the "MAXVAR[nnn]" variable. This variable will return the maximum value amongst all active zones, so you have to be sure to have only the zone in question activated. So your macro would look something like this. Code:
#!MC 1410 $!VarSet |ZoneNum| = 3 $!ActiveFieldMaps = [|ZoneNum|] $!VarSet |MaxValue| = (|MAXVAR[4]|) $!Pause "Max value is: |MaxValue|" ... Proceed with normalization ... There are some interesting macro language extensions as well in section 11-2. |
|
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Converging Diverging Nozzle with dbnsTurbFoam | Saleh Abuhanieh | OpenFOAM Running, Solving & CFD | 4 | December 13, 2019 11:26 |
[blockMesh] non-orthogonal faces and incorrect orientation? | nennbs | OpenFOAM Meshing & Mesh Conversion | 7 | April 17, 2013 06:42 |
1.7.x Environment Variables on Linux 10.04 | rasma | OpenFOAM Installation | 9 | July 30, 2010 05:43 |
Problems of Duns Codes! | Martin J | Main CFD Forum | 8 | August 15, 2003 00:19 |
error while compiling the USER Sub routine | CFD user | CFX | 3 | November 25, 2002 16:16 |