CFD Online Discussion Forums

CFD Online Discussion Forums (https://www.cfd-online.com/Forums/)
-   STAR-CCM+ (https://www.cfd-online.com/Forums/star-ccm/)
-   -   User Code vs. Conditional Expression (https://www.cfd-online.com/Forums/star-ccm/239509-user-code-vs-conditional-expression.html)

fluid23 November 9, 2021 12:29

User Code vs. Conditional Expression
 
I am afraid I have run myself into a dead end, but am hopeful that someone can help.

I have a set of probes arranged in space (not a presentation grid or line probe but a set of distinct probes at specific locations) and I need to be able to count and sum all of the probes in the set that are below a certain value.

I have tried pursuing conditional expressions, but that doesn't seem to jive. I also thought about user-code, but cannot find any examples of user-coded report calculations... but I could be looking in the wrong spot.

Anybody have any recommendations on how to pursue this?

JBeilke November 10, 2021 06:44

It should be not too difficult with a Java-macro.


All times are GMT -4. The time now is 09:32.