CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > Software User Forums > ANSYS > FLUENT > Fluent UDF and Scheme Programming

Calculate force on the blade

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   June 1, 2020, 07:41
Default Calculate force on the blade
  #1
Member
 
Join Date: Jan 2020
Posts: 31
Rep Power: 6
etedalgara is on a distinguished road
Hi, I need to calculate Force on the blade,
look at the picture:



this is my code but I think this is wrong!
Thanks for your helps

begin_f_loop(f, t)
{
F_CENTROID(x,f,t);
yy = x[0];
F_AREA(area,f,t);
Fpy+=area[1]*F_P(f,t)*1-cos((PI/2)*(yy/L));
}
end_f_loop(f, t)
Fy = Fpy;
etedalgara is offline   Reply With Quote

Old   June 1, 2020, 20:45
Default
  #2
Senior Member
 
Alexander
Join Date: Apr 2013
Posts: 2,363
Rep Power: 34
AlexanderZ will become famous soon enoughAlexanderZ will become famous soon enough
try this code
Code:
begin_f_loop(f, t)
{
F_CENTROID(x,f,t);
yy = x[0];
F_AREA(area,f,t);
Fpy+=NV_MAG(area)*F_P(f,t)*1-cos((PI/2)*(yy/L));
}
end_f_loop(f, t)
# if RP_NODE /* Perform node synchronized actions here
Does nothing in Serial */
Fy = PRF_GRSUM1(Fpy);
# endif /* RP_NODE */
you may add
Message0("Fy = %f \n", Fy);
to check the value
__________________
best regards


******************************
press LIKE if this message was helpful
AlexanderZ is offline   Reply With Quote

Old   June 2, 2020, 05:25
Default Equation
  #3
Senior Member
 
vinerm's Avatar
 
Vinerm
Join Date: Jun 2009
Location: Nederland
Posts: 2,946
Blog Entries: 1
Rep Power: 35
vinerm will become famous soon enough
Though the actual equation may be invariant under reflection but the code is not. Therefore, you may have to transform your code if the origin of the coordinate system is not at the fixed end of your beam and also if the free end is not in the positive x. If those conditions are met, then the result would be good. \pi is already defined in Fluent as M_PI.
__________________
Regards,
Vinerm

PM to be used if and only if you do not want something to be shared publicly. PM is considered to be of the least priority.
vinerm is offline   Reply With Quote

Reply


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
trying to calculate the dragging force on a structure pothead CFX 0 June 17, 2014 18:36
Force can not converge colopolo CFX 13 October 4, 2011 22:03
Calculate Drag force for flat plate vsun FLUENT 0 October 3, 2010 07:56
Calculate Force at different points in CFX Post niraj12321 CFX 5 July 26, 2010 18:39
Predicting total force on a rotor blade Muntasir FLUENT 3 March 22, 2009 22:49


All times are GMT -4. The time now is 23:31.