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

Rfiles of wrong type in tutorialcases

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

LinkBack Thread Tools Display Modes
Old   October 7, 2007, 15:52
Default This is not a bug, just a mino
Assistant Moderator
Bernhard Gschaider
Join Date: Mar 2009
Posts: 4,017
Rep Power: 43
gschaider will become famous soon enoughgschaider will become famous soon enough
This is not a bug, just a minor inconvenience: If in simpleFoam/pitzDaily the turbulenceModel is changed to LRR, then runs end with

FOAM FATAL IO ERROR : unexpected class name volTensorField expected volSymmTensorField
while reading object R

Editing R to
- change the type to volSymmTensorField
- have the tensors have 6 elements
fixes this

I think, this is due to the changes to the turbulence-models in 1.4 (Using the symmetry of R). Obviously the tutorial files never got changed
Note: I don't use "Friend"-feature on this forum out of principle. Ah. And by the way: I'm not on Facebook either. So don't be offended if I don't accept your invitation/friend request
gschaider is offline   Reply With Quote

Old   March 21, 2008, 13:28
Default Hi Everybody When I was ru
New Member
Onur Dundar
Join Date: Mar 2009
Location: Davis, CA, US
Posts: 7
Rep Power: 10
onurdundar is on a distinguished road
Hi Everybody

When I was running LRR or Launder gibson turbulence model I saw this error. The solution is changing the volumeTensorField to volumeSymmTensorField in R file in 0 time folder. And also you should change the the tensor to 9 elements to 6 elements one. the R filed tensor is in this
form (0 0 0 0 0 0 0 0 0)
change it to (0 0 0 0 0 0)

But last week I saw a file in the source of OF which contains default values of field files. and I thought that if it is changed, the problems will be disappear. However I did not do it because my case can be run in the command prompt without a problem. Today When I tried FoamX to open the same case it gave an error for R file. I think changing that file in OF source will be a permanent solution.
But I can not find that file now.
Now i have two question

1. Do you think is this solution be permanent solution of the problem.
2. do you have any idea where that files can be.
onurdundar 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
Where I am wronG lam OpenFOAM Running, Solving & CFD 3 August 8, 2007 03:56
Run type type determination grtabor OpenFOAM Native Meshers: blockMesh 4 February 23, 2007 07:05
error: CDR: invalid argument [1]: wrong type Marc FLUENT 0 July 24, 2006 05:59
what wrong with my udf? tristan FLUENT 0 April 20, 2006 04:27
HELP! function airfoil has wrong type: 29 != 43 Alex FLUENT 2 March 28, 2006 23:55

All times are GMT -4. The time now is 20:05.