CFD Online Discussion Forums

CFD Online Discussion Forums (http://www.cfd-online.com/Forums/)
-   OpenFOAM Bugs (http://www.cfd-online.com/Forums/openfoam-bugs/)
-   -   Missing movingWall value in some OF-1.6.x tutorial cases. (http://www.cfd-online.com/Forums/openfoam-bugs/68244-missing-movingwall-value-some-1-6-x-tutorial-cases.html)

aunola September 11, 2009 06:01

Missing movingWall value in some OF-1.6.x tutorial cases.
 
A minor problem exists in some (if not all) of the tutorial turbulence cases that use the movingWall BC. The problem is that the Reynolds stress file R specifies no value for the movingWall.

This is no problem if the tutorial cases are run as is, because they do not use the Reynolds stress model. But decomposePar immediately detects the omission:

Cannot find 'value' entry on patch movingWall of field R in file "/home/mar/OpenFOAM/mar-1.6.x/run/tutorials/incompressible/pisoFoam/ras/cavity/0/R"
which is required to set the values of the generic patch field.
(Actual type kqRWallFunction)

Please add the 'value' entry to the write function of the user-defined boundary-condition
or link the boundary-condition into libfoamUtil.so

file: /home/mar/OpenFOAM/mar-1.6.x/run/tutorials/incompressible/pisoFoam/ras/cavity/0/R::movingWall from line 25 to line 25.

From function genericFvPatchField<Type>::genericFvPatchField(con st fvPatch&, const Field<Type>&, const dictionary&)
in file fields/fvPatchFields/basic/generic/genericFvPatchField.C at line 72.

It would appear the reason is that decomposePar goes through all files in folder 0 whereas the solver just picks those it needs.

These being tutorial cases it is suggested to provide a 'value <value>' entry in the R files where these have been omitted.

henry September 13, 2009 17:55

Thanks for the bug-report, now fixed in OpenFOAM-1.6.x.

H


All times are GMT -4. The time now is 08:32.