|
[Sponsors] | |||||
|
|
|
#1 |
|
New Member
Silvan Brändli
Join Date: Aug 2009
Posts: 27
Rep Power: 5 ![]() |
Hi to all
I wonder if something regarding the forces functions has changed since version 1.6 I was trying (according to 1.6) Code:
functions
{
force_all
{
type forces;
functionObjectLibs ("libforces.so"); //Lib to load
patches (box_region0 cylinder_region0); // change to your patch name
rhoName rhoInf;
rhoInf 1000; //Reference density for fluid
nuInf 1e-03;
CofR (1 0 0.7); //Origin for moment calculations
outputControl timeStep;
outputInterval 1;
}
}
Best Regards Silvan |
|
|
|
|
|
|
|
|
#2 |
|
New Member
Silvan Brändli
Join Date: Aug 2009
Posts: 27
Rep Power: 5 ![]() |
As usual, after some time it turned out to be my fault...
For those interested in the reasons: I am using a modified version of pimpleDyMFoam. The modifications include changes to the loop control (which in my case is controlled via MPI by an other process), resulting in not calling runTime.run() any more. As the function objects are called within this function... The good news is, that runTime.run() can just be called at the beginning of the loop, which solves the problem. |
|
|
|
|
|
![]() |
| Thread Tools | |
| Display Modes | |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| how to get forces on Iso-Clip Surfaces and How to get forces in cylindrical coordinat | CFD XUE | FLUENT | 0 | April 18, 2011 05:24 |
| controlDict 'forces' function: multiple output files? | lordvon | OpenFOAM | 0 | January 10, 2011 16:22 |
| Reading forces from previous time step within solver | SD@TUB | OpenFOAM Programming & Development | 0 | March 14, 2010 07:58 |
| Calculate forces without hydrostatic pressure | geir_oye | FLUENT | 4 | November 12, 2009 09:12 |
| Valve Forces in CFdesign | Mike Clapp | Main CFD Forum | 3 | March 8, 2001 14:09 |