View Issue Details
|ID||Project||Category||View Status||Date Submitted||Last Update|
|0000306||OpenFOAM||[All Projects] Bug||public||2011-10-05 09:23||2011-10-05 10:27|
|Fixed in Version|
|Summary||0000306: libforces not producing output|
I am using libforces to evaluate forces acting on a surface. Unfortunately, the forces.dat output file is empty apart from the first line:
# Time forces(pressure, viscous) moment(pressure, viscous) local forces(pressure, viscous) local moment(pressure, viscous)
This error first sprung up after updating to the latest Version of 2.0.x via git yesterday (04/10/2011)
|Additional Information||rhoPimpleFoam |
serial and parallel
same case works on older 2.0.x
|Tags||No tags attached.|
[correction]: The forces.dat file actually reads
# Time forces(pressure, viscous) moment(pressure, viscous)
the local terms seem to be missing
I've just been testing a couple of tutorials, and have not managed to recreate your reported error. Have you set 'log false'?
Re: local forces - the behaviour has been updated: local forces are now only output if you specify a local co-ordinate system
I was previously using libforces without any mention of "log" at all. It seems this is no longer possible.
I have added "log true;" and it seems to be working fine. forces are even output directly by the solver which is rather neat.
Thank you for your assistance!!
|The behaviour of 'log' was a little misleading - I've pushed a fix under commit 0e9761798d2e6 whereby values are always written to file, but only to the screen if 'log true'|
||Note Added: 0000681|
||Note Added: 0000682|
||Note Added: 0000683|
||Note Added: 0000684|
||Status||new => resolved|
||Fixed in Version||=> 2.0.x|
||Resolution||open => fixed|
||Assigned To||=> user2|