|
[Sponsors] |
Set "location" in CEL expression to local plotting location |
|
LinkBack | Thread Tools | Search this Thread | Display Modes |
July 1, 2015, 08:21 |
Set "location" in CEL expression to local plotting location
|
#1 |
Senior Member
Join Date: Mar 2010
Posts: 181
Rep Power: 17 |
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 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 |
|
Tags |
cfd-post, location, variable |
Thread Tools | Search this Thread |
Display Modes | |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Help needed for writing CEL expression | kmgraju | CFX | 5 | September 20, 2010 19:30 |
[blockMesh] BlockMeshmergePatchPairs | hjasak | OpenFOAM Meshing & Mesh Conversion | 11 | August 15, 2008 08:36 |
Convergence moving mesh | lr103476 | OpenFOAM Running, Solving & CFD | 30 | November 19, 2007 15:09 |
IcoFoam parallel woes | msrinath80 | OpenFOAM Running, Solving & CFD | 9 | July 22, 2007 03:58 |
Could anybody help me see this error and give help | liugx212 | OpenFOAM Running, Solving & CFD | 3 | January 4, 2006 19:07 |