CFD Online Discussion Forums

CFD Online Discussion Forums (https://www.cfd-online.com/Forums/)
-   CFX (https://www.cfd-online.com/Forums/cfx/)
-   -   Angle monitoring (https://www.cfd-online.com/Forums/cfx/63886-angle-monitoring.html)

mrm22 April 22, 2009 18:16

Angle monitoring
 
Dear all,
I have one deforming mesh problem and would like to monitor the agitador (mixer) angle, so I tried to monitor an expression like " maxVal(Theta)@agitador" which was accepted by CFX-Pre, but yielded an " Illegal argument in call back function MAXIMUM on locale BCP4" error in Post. (similar errors occurred with theta variable or areaAve function)
Note: "agitador" is a "wall type" boundary. How could I monitor this angle ?

Thankfully

zparlak May 27, 2014 03:23

Quote:

Originally Posted by mrm22 (Post 213832)
Dear all,
I have one deforming mesh problem and would like to monitor the agitador (mixer) angle, so I tried to monitor an expression like " maxVal(Theta)@agitador" which was accepted by CFX-Pre, but yielded an " Illegal argument in call back function MAXIMUM on locale BCP4" error in Post. (similar errors occurred with theta variable or areaAve function)
Note: "agitador" is a "wall type" boundary. How could I monitor this angle ?

Thankfully



The arguments to the call back functions have to be variables. The call back functions are areAve, areaInt, massflowAve ... etc. So, you cannot pass a CEL expression as an argument to a call back function; for example areaAve(sqrt(u^2 + v^2))@Location is not valid since sqrt(u^2 + v^2) is not a variable, it is an expression. You can create an Additional Variable that is equal to the expression that you want to pass in as an argument, then just pass the Additional Variable into the call back function.


All times are GMT -4. The time now is 13:49.