CFD Online Discussion Forums

CFD Online Discussion Forums (https://www.cfd-online.com/Forums/)
-   CFX (https://www.cfd-online.com/Forums/cfx/)
-   -   Set "location" in CEL expression to local plotting location (https://www.cfd-online.com/Forums/cfx/155463-set-location-cel-expression-local-plotting-location.html)

Jonathan July 1, 2015 07:21

Set "location" in CEL expression to local plotting location
 
Hi all,

I hope you are well. I am post processing my data using CFD-Post, and I was wondering whether the following could be achieved:

Usually you define for a CEL expression:

Code:

massFlowAve(variable)@location
where location is some user / predefined location in the mesh.

I would like to have location defined as the current plane on which i am plotting. Is this possible? Otherwise, i need to re-code the above expression for each plane on which i want to evaluate my expression.

For instance:

SecVelocity = (Velocity * sin(Velocity Angle - massFlowAve(Velocity Angle)@X3))

If i want to plot SecVelocity at slices through my turbine blade passage (i.e. X1, X2, X3,...), i need to create / modified the expression above to use a different plane each time. Rather, i would like to define location at the current plotting location instead of:

Code:

SecVelocity1 = (Velocity * sin(Velocity Angle - massFlowAve(Velocity Angle)@X1))
SecVelocity2 = (Velocity * sin(Velocity Angle - massFlowAve(Velocity Angle)@X2))
SecVelocity3 = (Velocity * sin(Velocity Angle - massFlowAve(Velocity Angle)@X3))



Thanks very much in advance,
best regards
Jonathan


All times are GMT -4. The time now is 10:30.