|
[Sponsors] |
May 6, 2009, 14:35 |
bug in Rcomponents utility
|
#1 |
Senior Member
Cedric DUPRAT
Join Date: Mar 2009
Location: Nantes, France
Posts: 195
Rep Power: 17 |
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> 840750 ( (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. Rxx internalField nonuniform List<scalar> 840750 ( 0.000470271 Rxy internalField nonuniform List<scalar> 840750 ( -0.000136243 Ryx internalField nonuniform List<scalar> 840750 ( 0.000853935 Ryy internalField nonuniform List<scalar> 840750 ( 0.00338278 0.00356701 -0.00253251 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. Regards, Cedric |
|
May 7, 2009, 03:56 |
|
#2 |
Senior Member
Join Date: Mar 2009
Posts: 854
Rep Power: 22 |
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.
H |
|
|
|
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 | Siemens | 1 | March 27, 2003 13:06 |
Forum y2k Bug | Jonas Larsson | Main CFD Forum | 1 | January 5, 2000 11:22 |