|
[Sponsors] |
How does "lengthInt(<Expression>)" fuction work??? |
|
LinkBack | Thread Tools | Search this Thread | Display Modes |
October 15, 2012, 11:01 |
How does "lengthInt(<Expression>)" fuction work???
|
#1 |
Senior Member
mohammad
Join Date: Dec 2010
Location: UK
Posts: 246
Rep Power: 16 |
Dear all,
I have the results of a wind turbine's blade. I have created an airfoil-shape polyline (bye cross-sectioning the blade with a plane) I can easily know the pressure distribution values on this polyline and also I can calulate the Cp. Theoritically, If I want to use this Cp to calulate the "Lift" and "Pressure Drag" I need to calculate the integral of Cp. However, the CFX-Post itself has a command " lengthInt". As read from the command description, it calclualtes the weighted integral of a quantity over the line( in my caus: the airfoil) Now my question is thatI want to use this CFX-Post functions to directly calculate the force ( or force/lenght). Do you have any idea that this will be Lift force? or do you have any solution how to get the CL from Cp distribuion over the airfoil? Regards, Thanks in advance |
|
October 15, 2012, 18:32 |
|
#2 |
Super Moderator
Glenn Horrocks
Join Date: Mar 2009
Location: Sydney, Australia
Posts: 17,871
Rep Power: 144 |
You cannot integrate pressure over a line. As a line has zero area the force is zero. Extrude your polyline to make a surface, or take a cross section of your airfoil to do this.
|
|
October 16, 2012, 00:19 |
|
#3 | |
Senior Member
mohammad
Join Date: Dec 2010
Location: UK
Posts: 246
Rep Power: 16 |
Quote:
I is possible. for example, if you create a polyline (e.g. ployline1) then you can use the following command line in an expression: lengthInt(pressure)@ polyline1 it gives the length integral of the pressure. Thus its dimention is ([N m^-2][ m]=[J m^-2] However I am not sure about correctness of this integral over a close loop(airfoil). Regards, Last edited by mohammad; October 16, 2012 at 07:32. |
||
October 16, 2012, 07:29 |
|
#4 |
Super Moderator
Glenn Horrocks
Join Date: Mar 2009
Location: Sydney, Australia
Posts: 17,871
Rep Power: 144 |
I guess you are right, it returns units of N/m which is force per unit length. So getting CL from this is straight forward.
|
|
July 27, 2021, 12:46 |
|
#5 |
New Member
Nidhi
Join Date: Oct 2017
Posts: 10
Rep Power: 9 |
Hello, I'm sorry for the basic question but how do you get lift coefficient from this? I got a value that was pretty large considering my total normal and axial force values. I am trying to calculate the lift and drag using the Cp at a specific cross section of the wing. I was able to create a polyline at the spanwise location using a plane and boundary intersection. I am not sure how to calculate the lift and drag at that section in CFD post. Please help.
|
|
July 27, 2021, 19:42 |
|
#6 |
Super Moderator
Glenn Horrocks
Join Date: Mar 2009
Location: Sydney, Australia
Posts: 17,871
Rep Power: 144 |
Just assume the length in the third dimension is 1m, so then 1 N/m for 1m results in 1N. Then use 1N in your CD calculation.
__________________
Note: I do not answer CFD questions by PM. CFD questions should be posted on the forum. |
|
July 28, 2021, 12:31 |
|
#7 | |
New Member
Nidhi
Join Date: Oct 2017
Posts: 10
Rep Power: 9 |
Quote:
If I use the same Normals X and Normals Z values (as I use for the wing), the lengthInt function gives me a results that says "undefined". This is probably because the Normals are for 3D. How do I obtain the normals for the polyline? Should I use the 'Boundary Normal on Polyline 1 X' value to calculate the Pressure along X and so on? I looked in the manual for what this term 'Boundary Normal on Polyline 1' means but I could not find an explanation. Please would you help me? |
||
July 28, 2021, 19:37 |
|
#8 |
Super Moderator
Glenn Horrocks
Join Date: Mar 2009
Location: Sydney, Australia
Posts: 17,871
Rep Power: 144 |
I do not understand your question. If you have modelled the airfoil, then just use line integrals (for lines) or force() for areas to get the forces acting on the foil. Why do you not have XYZ values of pressure?
__________________
Note: I do not answer CFD questions by PM. CFD questions should be posted on the forum. |
|
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
How to work with constant pressure? | Martin | Siemens | 2 | February 25, 2009 14:23 |
Getting FoamX to work | shaun | OpenFOAM Installation | 12 | March 23, 2007 09:55 |
work related to brake study of a vehical | aero | Siemens | 3 | November 23, 2006 08:43 |
Why do the Plant library cases don't work? | Alumna | Phoenics | 6 | June 22, 2004 13:08 |
why my In-Form doesn't work? | green | Phoenics | 2 | May 27, 2004 22:03 |