|
[Sponsors] |
![]() |
![]() |
#1 |
Member
Kisorthman Vimalakanthan
Join Date: Apr 2011
Posts: 49
Rep Power: 15 ![]() |
Hi Guys,
Could anyone please help with the exact CEL expression to compute the projected area (normal to x axis)of an Iso clip (3D surface)? I have tried: area()@IsoClip1 = seems to give me a very large value area_x()@IsoClip1 = Seems to give me a smaller value than expected (in the order of 10) Lastly I was told to try IsoClip1.area_x()@IsoClip1 Which gives an error message as such: "ERROR The following unrecognised name was referenced: IsoClip1.area_x." Any help is greatly appreciated, Thanks in advance. ![]()
__________________
Kisorthman Vimalakanthan Dept. of Power and Propulsion Cranfield University Email: k.vimalakanthan@gmail.com Last edited by k.vimalakanthan; November 8, 2011 at 16:11. |
|
![]() |
![]() |
![]() |
![]() |
#2 |
Super Moderator
Glenn Horrocks
Join Date: Mar 2009
Location: Sydney, Australia
Posts: 17,902
Rep Power: 144 ![]() ![]() ![]() ![]() |
If your iso clip is wrinkly it will have a massive area. The area_x function will not give you the projected area if it is a folded or wrinkly surface.
I would try to define a new iso clip surface which is flat and the area of that should not be a problem. |
|
![]() |
![]() |
![]() |
![]() |
#3 | |
Member
Kisorthman Vimalakanthan
Join Date: Apr 2011
Posts: 49
Rep Power: 15 ![]() |
Quote:
Basically I'm trying to calculate force operating (projected) area of the small span wise section of a turbine blade (iso clip), which is fairly smooth in this case. This will help me to calculate the coefficient of thrust and torque value for this annulus element. Do you have any other CEL expressions that I could use to preform this area calculation? Thanks in advance
__________________
Kisorthman Vimalakanthan Dept. of Power and Propulsion Cranfield University Email: k.vimalakanthan@gmail.com |
||
![]() |
![]() |
![]() |
![]() |
#4 |
Super Moderator
Glenn Horrocks
Join Date: Mar 2009
Location: Sydney, Australia
Posts: 17,902
Rep Power: 144 ![]() ![]() ![]() ![]() |
If you want the force then use the force_x/y/z functions.
|
|
![]() |
![]() |
![]() |
![]() |
#5 |
Member
Kisorthman Vimalakanthan
Join Date: Apr 2011
Posts: 49
Rep Power: 15 ![]() |
Well CFX Post calculates the forces and moments (thrust and torque) on the iso clip fine, but I'm trying to calculate the non dimensional torque and thrust* for this anulus element. This require the force operating area (projected area).
i.e. Ct = Thrust / (q*dA) so Ct = force_x()@IsoClip1/(DynH*dA) I need to find the exact 'dA' that this force (force_x()@IsoClip1) was calculated on.
__________________
Kisorthman Vimalakanthan Dept. of Power and Propulsion Cranfield University Email: k.vimalakanthan@gmail.com |
|
![]() |
![]() |
![]() |
![]() |
#6 |
Super Moderator
Glenn Horrocks
Join Date: Mar 2009
Location: Sydney, Australia
Posts: 17,902
Rep Power: 144 ![]() ![]() ![]() ![]() |
The area() and area_x() functions should work. Can you give more details as to why it is wrong? Can you show and image of what you are doing?
|
|
![]() |
![]() |
![]() |
![]() |
#7 | |
Member
Kisorthman Vimalakanthan
Join Date: Apr 2011
Posts: 49
Rep Power: 15 ![]() |
Quote:
Unfortunately, I'm not in a position to display the image of the geometry, however I have found this in the CFX manual: "area The area function is used to calculate the area of a 2-D location" and "An error is raised if the location specified is not a 2-D Object" Does this mean that, the projected area of a 3D surface cannot be computed in CFX Post? I have tried using TecPlot but had no luck too ![]()
__________________
Kisorthman Vimalakanthan Dept. of Power and Propulsion Cranfield University Email: k.vimalakanthan@gmail.com |
||
![]() |
![]() |
![]() |
![]() |
#8 |
Super Moderator
Glenn Horrocks
Join Date: Mar 2009
Location: Sydney, Australia
Posts: 17,902
Rep Power: 144 ![]() ![]() ![]() ![]() |
The area function returns the area of a surface body. The surface can be twisted in space, it will return the surface area of the whole body. The error shows you are giving it a point, line or solid body and you cannot use the area function on them.
I do not know off hand how to get projected areas but it should be possible. You will probably have to do some playing around to get it. |
|
![]() |
![]() |
![]() |
![]() |
#9 |
New Member
Join Date: Dec 2015
Posts: 3
Rep Power: 11 ![]() |
Hi Guys,
Could anyone please help with the exact CEL expression to compute the projected area (normal to direction vector) of several surfaces? I have tried: area([0.7071 0.7071 0])@[surface_1 surface_2] Which gives an error message |
|
![]() |
![]() |
![]() |
![]() |
#10 |
Super Moderator
Glenn Horrocks
Join Date: Mar 2009
Location: Sydney, Australia
Posts: 17,902
Rep Power: 144 ![]() ![]() ![]() ![]() |
Generate a coordinate system for your direction vector. Then use the area_x/y/z function in that coordinate system to get the projected area. The function can only accept one surface reference, so for multiple surfaces you are going to have to call the function once per surface and sum them up.
__________________
Note: I do not answer CFD questions by PM. CFD questions should be posted on the forum. |
|
![]() |
![]() |
![]() |
![]() |
#11 |
Senior Member
Join Date: Jun 2009
Posts: 1,884
Rep Power: 33 ![]() |
First of all, the documentation is the source of information for the syntax of the CEL functions. You should also understand how the description of the syntax is done.
Notice [ ] are used for optional features, and they are not supposed to be typed. For example, [Fluid Name].massFlow()@Locator means you can type MyExpression = massFlow()@Locator MyFluidExpression = Water.massFlow()@Locator In the case of directions, you can type MyProjArea = area_x()@Locator MyProjAreaLocalFrame = area_x_Coord 1()@Locator Locator must be a 2D object, it does not mean it is a flat surface but any surface, not a point or a volume. On the projected area, keep in mind that the projected area of a sphere is always zero in any direction. So be careful if that is what you want.
__________________
Note: I do not answer CFD questions by PM. CFD questions should be posted on the forum. |
|
![]() |
![]() |
![]() |
![]() |
#12 |
New Member
Join Date: Dec 2015
Posts: 3
Rep Power: 11 ![]() |
Thank you for the answer. It helps.
|
|
![]() |
![]() |
![]() |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
CEL expression | vmlxb6 | CFX | 1 | March 18, 2011 07:39 |
How to install CGNS under windows xp? | lzgwhy | Main CFD Forum | 1 | January 11, 2011 19:44 |
CGNS lib and Fortran compiler | manaliac | Main CFD Forum | 2 | November 29, 2010 07:25 |
CFX Solver Memory Error | mike | CFX | 1 | March 19, 2008 08:22 |
Lift, Drag Vs time chart,calculations | Jamesd69climber | CFX | 8 | February 17, 2005 18:23 |