Access to arrays of variables with CCL or perl in command editor
I'm trying to simulate flow over airfoil. this airfoil has a moving surface and the relation that specify mesh motion of this surface based on pressure distribution on surface. in this relation i need to access the arrays of pressure in this surface, such as pressure on a line on surface of airfoil. Could you please let me know how to access to the pressure on each node? can i use CCL with command editor CFX-pre ?
You do not need access to the pressure arrays to do this. You can do this using CEL expressions and lineAve()@location, areaAve()@location and other functions. I suspect you probably want force_x/y/z()@location anyway, not pressure integrals.
Thanks for reply
output of Locator base function such as lineAave()@Location, areaAve()@location is one number. in my problem each node have a different displacement and for specify displacement of each node i need pressure on each node. Could you please let me know how i can do that?
i use an expression like this: LogicalExp= if(x>0[m]&&x<10[m]&&z=1[m],Pressure,0)
my purpose from this expression is the pressure of specified location( 0<x<10, z=1) store in it ( Logical expression).
i tested it, but i think pressure of any node of location that i use in my relation be stored. (not in range 0<x<10 , z=1) !! Do you have any idea?
|All times are GMT -4. The time now is 08:57.|