Find the max abs of S1 or S3

Jim Kosloski
Jim Kosloski Member, Employee Posts: 31
Second Anniversary 10 Comments 5 Likes Name Dropper
✭✭✭✭

How can I use DPF to find the maximum absolute value for S1 or S3 for all nodes for all timepoints. The min_max operator only accepts (and outputs) fields, but I need a fields container of all timepoints. The help has an example of how to do this by making a field local, but I have to think there is a better way than looping through all the nodes and all the timepoints

https://dpf.docs.pyansys.com/version/stable/examples/00-basic/05-use_local_data.html

Tagged:

Answers

  • Mike.Thompson
    Mike.Thompson Member, Employee Posts: 382
    25 Answers 100 Comments Second Anniversary 25 Likes
    ✭✭✭✭

    Seems like the operator min_max.min_max_by_time will operate on a fields container and get single values for min and max. There is built in option for using absolute value.