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

BC for measuring force on blunt body

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   December 8, 2013, 19:36
Default BC for measuring force on blunt body
  #1
New Member
 
Join Date: Dec 2013
Posts: 4
Rep Power: 13
letthe is on a distinguished road
I'm trying to measure force exerted on a blunt body by a constant flow using "forces" function but the forces are always with a very low value (0.0005).

0/U:

body
{
type fixedValue;
value uniform (0 0 0);
}

0/p:

body
{
type zeroGradient;
}

This is a 3D case.
letthe is offline   Reply With Quote

Old   December 9, 2013, 16:27
Default
  #2
Member
 
W. Schuyler Hinman
Join Date: Apr 2013
Location: Calgary, Alberta, Canada
Posts: 38
Rep Power: 13
schuyler is on a distinguished road
Did you make sure you have everything defined correctly in the forceCoeffs dictionary?

S.
schuyler is offline   Reply With Quote

Old   December 9, 2013, 18:43
Default
  #3
New Member
 
Join Date: Dec 2013
Posts: 4
Rep Power: 13
letthe is on a distinguished road
Quote:
Originally Posted by schuyler View Post
Did you make sure you have everything defined correctly in the forceCoeffs dictionary?

S.
You mean in the forces dictionary, right?

forces
{
type forces;
functionObjectLibs ("libforces.so");
outputControl timeStep;
outputInterval 5;
patches ( "blunt_object" );
pName p;
UName U;
rhoName rhoInf;
log true;
CofR (0 0 0);
rhoInf 1000;
}
letthe is offline   Reply With Quote

Old   December 9, 2013, 19:15
Default
  #4
Member
 
W. Schuyler Hinman
Join Date: Apr 2013
Location: Calgary, Alberta, Canada
Posts: 38
Rep Power: 13
schuyler is on a distinguished road
Quote:
Originally Posted by letthe View Post
You mean in the forces dictionary, right?

forces
{
type forces;
functionObjectLibs ("libforces.so");
outputControl timeStep;
outputInterval 5;
patches ( "blunt_object" );
pName p;
UName U;
rhoName rhoInf;
log true;
CofR (0 0 0);
rhoInf 1000;
}
Looks right to me... Your BCs look right too. If your geometry isnt complicated you can check the force calculation yourself manually with the output pressure (and shear if its significant). It could just be something such as a unit conversion problem for your geometry. Like if you have a multiplier in blockmesh and didn't realize it etc. Double check the size of your blunt object. If it is a small object in the simulation it will have small force.

Other than that I'm out of ideas sorry! Maybe someone else will be more helpful.
schuyler is offline   Reply With Quote

Old   December 9, 2013, 19:20
Default
  #5
New Member
 
Join Date: Dec 2013
Posts: 4
Rep Power: 13
letthe is on a distinguished road
Quote:
Originally Posted by schuyler View Post
Looks right to me... Your BCs look right too. If your geometry isnt complicated you can check the force calculation yourself manually with the output pressure (and shear if its significant). It could just be something such as a unit conversion problem for your geometry. Like if you have a multiplier in blockmesh and didn't realize it etc. Double check the size of your blunt object. If it is a small object in the simulation it will have small force.

Other than that I'm out of ideas sorry! Maybe someone else will be more helpful.
You have been very helpful, thank you! I am now convinced that this is a problem of units ... fingers crossed I find it
letthe 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
ActuatorDiskExplicitForce in OF2.1. Help be_inspired OpenFOAM Programming & Development 10 September 14, 2018 12:12
force convergence problems in CFX 6DOF rigid body solver ajay_ks CFX 8 March 25, 2013 05:02
Force can not converge colopolo CFX 13 October 4, 2011 23:03
Body force at the cell face Souviktor Fluent UDF and Scheme Programming 0 March 31, 2009 09:54
UDF for lift force on a bluff body sawa FLUENT 2 April 11, 2005 04:06


All times are GMT -4. The time now is 16:45.