|
[Sponsors] |
October 21, 2011, 08:55 |
forces in interFoam
|
#1 |
New Member
|
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? |
|
May 9, 2012, 14:31 |
|
#3 |
Senior Member
Dave
Join Date: Jul 2010
Posts: 100
Rep Power: 16 |
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 |
|
Tags |
forces, interfoam |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Wall forces in interFoam | Terp | OpenFOAM Running, Solving & CFD | 14 | April 11, 2017 11:11 |
how to get forces on Iso-Clip Surfaces and How to get forces in cylindrical coordinat | CFD XUE | FLUENT | 3 | March 18, 2015 04:28 |
FORCES don't run! | C12Carbon | OpenFOAM | 0 | September 10, 2011 08: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 03:01 |
Valve Forces in CFdesign | Mike Clapp | Main CFD Forum | 3 | March 8, 2001 15:09 |