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

BC for measuring force on blunt body

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

Reply
 
LinkBack Thread Tools 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: 3
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
New Member
 
Schuyler Hinman
Join Date: Apr 2013
Location: Calgary, Alberta, Canada
Posts: 10
Rep Power: 4
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: 3
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
New Member
 
Schuyler Hinman
Join Date: Apr 2013
Location: Calgary, Alberta, Canada
Posts: 10
Rep Power: 4
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: 3
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

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 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 22:03
Body force at the cell face Souviktor Fluent UDF and Scheme Programming 0 March 31, 2009 08:54
UDF for lift force on a bluff body sawa FLUENT 2 April 11, 2005 03:06


All times are GMT -4. The time now is 05:54.