CFD Online Logo CFD Online URL
Home > Forums > OpenFOAM Bugs

bug in Rcomponents utility

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

LinkBack Thread Tools Display Modes
Old   May 6, 2009, 13:35
Default bug in Rcomponents utility
Senior Member
Join Date: Mar 2009
Location: Belgium
Posts: 179
Rep Power: 8
cedric_duprat is on a distinguished road
Hi all,
I found a "small" bug in the utility : applications/utilities/postProcessing/stressField/Rcomponents
Using oodles solver with OpenFOAM-1.4.1, I've got the file R which is a volSymmTensorField (hense 6 components).
The first line looks like that, which seems to be ok
internalField nonuniform List<symmTensor>
(0.000470271 -0.000136243 0.00178648 0.000853935 0.00247915 0.0438612)

then, Rcomponent is suppose to give 9 volScalarField Rij, where Rij = Rji (I think)
even if my Rxx is ok, I've got different value for Rxy and Ryx and for some points, Ryy and Rzz are negative which is not physical.
internalField nonuniform List<scalar>

internalField nonuniform List<scalar>

internalField nonuniform List<scalar>

internalField nonuniform List<scalar>

Thi bug shouldn't be the same for the last version 1.5 because this utility doesn't exist anymore

To correct the utility, line 78 of http://openfoam-extend.svn.sourcefor....C?view=markup
for (direction i=0; i<tensor::nComponents; i++) where i = 0 to 8
should be
for (direction i=0; i<symmTensor::nComponents; i++) where i = 0 to 5

The problem of the output name is still not corrected with the previous correction because Ryx should be Ryy ...

well, I just wanted to tell the comunity this small bug.
Sorry for not giving better solution.


cedric_duprat is offline   Reply With Quote

Old   May 7, 2009, 02:56
Senior Member
Join Date: Mar 2009
Posts: 854
Rep Power: 13
henry is on a distinguished road
The equivalent in 1.5/1.5.x is the "components" function in the "foamCalc" utility which does not suffer from the bug you reported.

henry 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
Maybe a bug in CFX12.0 BETA? frank CFX 4 November 26, 2008 19:08
Please report this bug egp OpenFOAM Installation 5 December 8, 2006 13:56
Bug reports Mattijs Janssens (Mattijs) OpenFOAM 0 January 10, 2005 11:05
Win XP hot fix bug!!! Emilio CD-adapco 1 March 27, 2003 13:06
Forum y2k Bug Jonas Larsson Main CFD Forum 1 January 5, 2000 11:22

All times are GMT -4. The time now is 21:25.