CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > OpenFOAM Running, Solving & CFD

calculating force coefficents

Register Blogs Members List Search Today's Posts Mark Forums Read

Reply
 
LinkBack Thread Tools Display Modes
Old   June 5, 2013, 05:24
Default calculating force coefficents
  #1
Member
 
Join Date: Sep 2012
Posts: 60
Rep Power: 4
achyutan is on a distinguished road
Hi,

could someone tell me how to calculate force coefficients for a moving object (mesh motion) ?
I have experience in calculating forces and coefficients by using 'forces' object in controlDict. I want to know how to modify the vectors liftDir and DragDir based on the moving object (boundary). I want to make a script so that the calculation is automated.

regards,

achyutan
achyutan is offline   Reply With Quote

Old   June 7, 2013, 04:45
Default
  #2
Member
 
Join Date: Sep 2012
Posts: 60
Rep Power: 4
achyutan is on a distinguished road
Hi,

I am waiting for some response to know if anybody has had experience in modifying vectors liftDir, dragDir in controlDict during run time for moving objects.

If reported unclear, i can explain in detail.
But, i am disappointed that nobody turns up with a response.

regards,

achyutan
achyutan is offline   Reply With Quote

Old   June 13, 2013, 18:02
Default
  #3
Senior Member
 
kilroy's Avatar
 
Join Date: Mar 2013
Location: USA
Posts: 120
Rep Power: 4
kilroy is on a distinguished road
achyutan,

If you can give more details about your case I can try to help. Why don't you calculate the forces with OpenFoam and calculate your force coefficients externally?

Sincerely,

Kilroy
kilroy is offline   Reply With Quote

Old   June 26, 2013, 07:15
Default
  #4
Member
 
Join Date: Sep 2012
Posts: 60
Rep Power: 4
achyutan is on a distinguished road
Hi,

First of all, thanks for the reply which was encouraging for me.

I want to create a boundary condition for moving boundary which makes use of lift, drag forces/coefficients. so, i want to calculate lift, drag forces/coeffs at run-time and access them in my b.c for a moving wall. This implies that i need to change liftDir, dragDir according to the movement of solid boundary.

calculating these force/coeffs externally and feeding them back into openfoam at every time step is like creating an interface btw openfoam and external script. i want to avoid it and that's precisely why i went for such an implicit b.c

regards,

achyutan
achyutan is offline   Reply With Quote

Old   June 26, 2013, 09:45
Default
  #5
Senior Member
 
kilroy's Avatar
 
Join Date: Mar 2013
Location: USA
Posts: 120
Rep Power: 4
kilroy is on a distinguished road
achyutan,

I don't think OpenFoam have the capabilities that you need by default. The only way I can think of is to stop the simulation in each time step and edit the parameters that you want to edit. Then set startTime to latestTime and restart. Maybe you can accomplish what you have described by using an external python script or by modifying the OpenFoam source-code, but I have no experience on modifying OpenFoam code for the boundary conditions the way you want.

Hope this helps,

kilroy
kilroy is offline   Reply With Quote

Reply

Thread Tools
Display Modes

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 On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
ActuatorDiskExplicitForce in OF2.1. Help be_inspired OpenFOAM Programming & Development 8 July 3, 2014 10:54
Force can not converge colopolo CFX 13 October 4, 2011 22:03
How to update polyPatchbs localPoints liu OpenFOAM Running, Solving & CFD 6 December 30, 2005 18:27
Density for calculating Force Coefficients ste_lakey CFX 2 September 19, 2005 04:35
calculating blade force nabeel FLUENT 0 September 16, 2004 05:31


All times are GMT -4. The time now is 04:34.