|
[Sponsors] |
June 30, 2011, 05:37 |
Forces in V 2.0
|
#1 |
New Member
Silvan Brändli
Join Date: Aug 2009
Posts: 27
Rep Power: 17 |
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 |
|
August 4, 2011, 10:35 |
|
#2 |
New Member
Silvan Brändli
Join Date: Aug 2009
Posts: 27
Rep Power: 17 |
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. |
|
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Reading forces from previous time step within solver | SD@TUB | OpenFOAM Programming & Development | 5 | April 24, 2023 12:51 |
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 |
controlDict 'forces' function: multiple output files? | lordvon | OpenFOAM | 0 | January 10, 2011 17:22 |
Calculate forces without hydrostatic pressure | geir_oye | FLUENT | 4 | November 12, 2009 10:12 |
Valve Forces in CFdesign | Mike Clapp | Main CFD Forum | 3 | March 8, 2001 15:09 |