CFD Online Logo CFD Online URL
Home > Forums > OpenFOAM

Forces in V 2.0

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

LinkBack Thread Tools Display Modes
Old   June 30, 2011, 04:37
Default Forces in V 2.0
New Member
Silvan Brändli
Join Date: Aug 2009
Posts: 27
Rep Power: 10
s_braendli is on a distinguished road
Hi to all

I wonder if something regarding the forces functions has changed since version 1.6

I was trying (according to 1.6)

        type forces;
        functionObjectLibs (""); //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;
While in 1.6 I got the forces in a new folder named "force_all", in 2.0 i don't see any results so far. I would be happy about any hint.

Best Regards
s_braendli is offline   Reply With Quote

Old   August 4, 2011, 09:35
New Member
Silvan Brändli
Join Date: Aug 2009
Posts: 27
Rep Power: 10
s_braendli is on a distinguished road
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 any more. As the function objects are called within this function...
The good news is, that can just be called at the beginning of the loop, which solves the problem.
s_braendli is offline   Reply With Quote


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
Reading forces from previous time step within solver SD@TUB OpenFOAM Programming & Development 1 May 25, 2016 03:00
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

All times are GMT -4. The time now is 10:50.