|
[Sponsors] |
Access to arrays of variables with CCL or perl in command editor |
|
LinkBack | Thread Tools | Search this Thread | Display Modes |
October 17, 2011, 08:17 |
Access to arrays of variables with CCL or perl in command editor
|
#1 |
Senior Member
omid
Join Date: Apr 2011
Posts: 105
Rep Power: 15 |
Hi all
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 ? Thanks |
|
October 17, 2011, 18:27 |
|
#2 |
Super Moderator
Glenn Horrocks
Join Date: Mar 2009
Location: Sydney, Australia
Posts: 17,870
Rep Power: 144 |
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.
|
|
October 18, 2011, 06:13 |
|
#3 |
Senior Member
omid
Join Date: Apr 2011
Posts: 105
Rep Power: 15 |
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? best regards |
|
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
udf to access variables from a different case | yashmash | Fluent UDF and Scheme Programming | 6 | January 25, 2012 10:10 |
Access to arrays of Pressure matrix in CFX | omidiut | CFX | 5 | October 14, 2011 13:05 |
How to access surrounding variables? | chemycc | CFX | 0 | April 30, 2009 02:42 |
Time-steps via Perl in CCL | Rui | CFX | 5 | March 29, 2004 01:47 |
access to variables at interface of porous media? | Mazyar | FLUENT | 0 | October 10, 2003 15:59 |