CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > Software User Forums > OpenFOAM > OpenFOAM Post-Processing

Forces and drag coeffs in simpleFoam

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   November 11, 2009, 08:10
Default Forces and drag coeffs in simpleFoam
  #1
New Member
 
Milos Stanic
Join Date: Mar 2009
Location: Novi Sad, Serbia
Posts: 29
Rep Power: 17
milos is on a distinguished road
Dear FOAM-ers,

I've searched through the forum and I couldn't find an appropriate answer to some basic things on how to obtain forces and/or drag coefficients in simpleFoam solver.

As far as I've seen, people usually used forceCoeffs functions, but I was unable to modify them in order to work in simpleFoam.

Please, if anyone has some tutorial-like instructions, I would seriously appreciate it.

Thanks!

Milos
milos is offline   Reply With Quote

Old   December 15, 2009, 09:19
Default
  #2
New Member
 
Kai-Jia Han
Join Date: Nov 2009
Posts: 4
Rep Power: 16
Kaja is on a distinguished road
functions
(
forces
{
type forces;
functionObjectLibs ("libforces.so");
patches (PARALELL);
rhoInf 1000.0;
CofR (0 0 0);
}
);
Kaja is offline   Reply With Quote

Old   December 15, 2009, 09:21
Default
  #3
New Member
 
Kai-Jia Han
Join Date: Nov 2009
Posts: 4
Rep Power: 16
Kaja is on a distinguished road
I am running turbFoam for a series 60 hull and outputting viscous drags. My question is what is the unit in forces.dat? Are they in unit of Newton (both pressure forces and viscous forces)?
Kaja is offline   Reply With Quote

Old   December 16, 2009, 04:06
Default
  #4
New Member
 
Milos Stanic
Join Date: Mar 2009
Location: Novi Sad, Serbia
Posts: 29
Rep Power: 17
milos is on a distinguished road
That was my question as well... I get some huge numbers for the forces and I am not sure whether it's Newtons or sth else.
milos is offline   Reply With Quote

Old   December 16, 2009, 04:32
Default
  #5
Senior Member
 
Anonymous
Join Date: Mar 2009
Posts: 110
Rep Power: 17
madad2005 is on a distinguished road
If you set rhoInf = 1, Area = 1, and velocity = 1, then I believe libforces.so will give you the 2*Force in Newtons as it is integrating the pressure and, I believe, the shear stresses on the surface (the 2 comes from the half in the dynamic head). If in doubt, compute the forces in ParaView and compare them to Foam.
madad2005 is offline   Reply With Quote

Old   December 16, 2009, 04:35
Default
  #6
New Member
 
Milos Stanic
Join Date: Mar 2009
Location: Novi Sad, Serbia
Posts: 29
Rep Power: 17
milos is on a distinguished road
I didn't know that there was a way to compute forces in ParaView... How do you do that?

Thanks!
milos is offline   Reply With Quote

Old   December 16, 2009, 09:46
Default
  #7
New Member
 
Kai-Jia Han
Join Date: Nov 2009
Posts: 4
Rep Power: 16
Kaja is on a distinguished road
Till Milos: http://www.cfd-online.com/Forums/ope...rces-of15.html
This page might be helpful for you.
Kaja is offline   Reply With Quote

Old   December 16, 2009, 09:49
Default
  #8
New Member
 
Kai-Jia Han
Join Date: Nov 2009
Posts: 4
Rep Power: 16
Kaja is on a distinguished road
Quote:
Originally Posted by madad2005 View Post
If you set rhoInf = 1, Area = 1, and velocity = 1, then I believe libforces.so will give you the 2*Force in Newtons as it is integrating the pressure and, I believe, the shear stresses on the surface (the 2 comes from the half in the dynamic head). If in doubt, compute the forces in ParaView and compare them to Foam.
It seems you are talking about definition of force coefficients. They should be dimensionless.

However, for force output, are the viscous forces in Newton? Or are they in fact calculated by (real viscous force)/ rho?

The other question is related with symmetry. If I have symmetry patch defined in boudanry condition (for example, I only calculate half of this ship), then should I manually multiple 2 for the forces I get from forces.dat?

Thank you for any suggestions and comments in advance!
Kaja 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
Plot drag forces at porous jump boundary condition Shim FLUENT 1 June 5, 2017 04:31
Lift & Drag forces from Transient Analysis Richard CFX 1 December 4, 2008 17:40
Drag and Lift forces extremely low João Lourenço FLUENT 4 January 28, 2008 13:25
Lift and Drag Forces around an Aerofoil studentcfd CFX 1 October 29, 2007 17:36
Free surface drag forces New1 FLUENT 0 March 7, 2002 17:17


All times are GMT -4. The time now is 00:40.