|
[Sponsors] |
Max value in the extracted precise line in tecplot |
![]() |
|
LinkBack | Thread Tools | Search this Thread | Display Modes |
![]() |
![]() |
#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 |
|
![]() |
![]() |
![]() |
![]() |
#2 |
Senior Member
Scott Fowler
Join Date: May 2009
Posts: 120
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. |
|
![]() |
![]() |
![]() |
|
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
Converging Diverging Nozzle with dbnsTurbFoam | Saleh Abuhanieh | OpenFOAM Running, Solving & CFD | 4 | December 13, 2019 10:26 |
[blockMesh] non-orthogonal faces and incorrect orientation? | nennbs | OpenFOAM Meshing & Mesh Conversion | 7 | April 17, 2013 05:42 |
1.7.x Environment Variables on Linux 10.04 | rasma | OpenFOAM Installation | 9 | July 30, 2010 04:43 |
Problems of Duns Codes! | Martin J | Main CFD Forum | 8 | August 14, 2003 23:19 |
error while compiling the USER Sub routine | CFD user | CFX | 3 | November 25, 2002 15:16 |