Hello Ansys APDL users, I want to extract the maximum value available in the defined table, how do I do that? Suppose I have this code:
ESEL,ALL
ETAB,EVOL,VOLU
SET,50,LAST
ETAB,EPS50,NL,EPEQ
SET,32,LAST
ETAB,EPS32,NL,EPEQ
SADD,EPS2,EPS50,EPS32,1,-1
SMULT,EPS_v,EPS2,EVOL,1,1
Now, I want to get the maximum value in table EPS_v or EPS2, how to get that? When using Ansys in GUI mode, I can simply use the following command to extract the value:
PLETAB,EPS_v,AVG
*GET,EPS_max,PLNSOL,,MAX
But if I am running the simulation in batch mode, I can’t use these commands. Is there any other way I can extract the maximum value from the defined table? Or is there any other way we can save the full table as a text file? Your responses are highly appreciated. Thank you in advance!
You can sort an element table with
than take the max item.
In your case that would be:
Or you could export the etables to a txt file: