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

forces in interFoam

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

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   October 21, 2011, 07:55
Default forces in interFoam
  #1
New Member
 
Alexander
Join Date: Dec 2009
Location: Saint-Petersburg
Posts: 29
Rep Power: 16
Svensson is on a distinguished road
Send a message via Skype™ to Svensson
Hello all!

I have some problems to get forces with standard library libforces.so for interFoam solver. I found one article from workshop, in which author made own library (libhullForce.so)(http://www.openfoamworkshop.org/6th_...m/training.htm) to calculate forces in two-phase liquid. I took his case with BC, controlDict, fvSchemes and fvSolution and changed only geometry. But result that i got is not correct. Forces are greater that in experimet about 5-8 times. I saw my controlDict and found that in below entry

forces
{

type forces;

functionObjectLibs ("libforces.so");

patches (hull_wall);

rhoName rhoInf;

rhoInf 1000;

CofR (0 0 0);

outputControl timeStep;

outputInterval 1;

}

there is only one density - rhoInf equals to 1000. Can libforces.so calculate forces only for monophase liquids? I use openFoam 2.0.0. Is my guess true? How is it possible to get forces components manually?
Svensson is offline   Reply With Quote

Old   April 14, 2012, 07:02
Default
  #2
Member
 
bojiezhang
Join Date: Jan 2010
Posts: 64
Rep Power: 16
bojiezhang is on a distinguished road
Hello Svensson:

I face the same problem as you. Have you found a satisfied way to calculate the force in the two-phase flow? Could you give me some advice?

Thank you!

bojiezhang
bojiezhang is offline   Reply With Quote

Old   May 9, 2012, 13:31
Default
  #3
Senior Member
 
Dave
Join Date: Jul 2010
Posts: 100
Rep Power: 16
daveatstyacht is on a distinguished road
Svensson,
Currently you are setting the rho equal to rhoInf for all force calcs. Use "rhoName rho;" since this is the scalar field that varies in space with alpha.

Hope this helps,
Dave
daveatstyacht is offline   Reply With Quote

Reply

Tags
forces, interfoam

Thread Tools Search this Thread
Search this Thread:

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


Similar Threads
Thread Thread Starter Forum Replies Last Post
Wall forces in interFoam Terp OpenFOAM Running, Solving & CFD 14 April 11, 2017 10:11
how to get forces on Iso-Clip Surfaces and How to get forces in cylindrical coordinat CFD XUE FLUENT 3 March 18, 2015 03:28
FORCES don't run! C12Carbon OpenFOAM 0 September 10, 2011 07:34
Strange results from interFoam solution converges but sum of all forces not equal to zero nicasch OpenFOAM Running, Solving & CFD 0 April 15, 2008 02:01
Valve Forces in CFdesign Mike Clapp Main CFD Forum 3 March 8, 2001 14:09


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