CFD Online Discussion Forums

CFD Online Discussion Forums (
-   OpenFOAM (
-   -   writing fields with field types "kqRWallFunction" (

ubaid October 2, 2010 14:22

writing fields with field types "kqRWallFunction"
Hello Everybody,

I'm trying to write "k" with kqRWallFunction but I get error that this type is not included into the patch field types.

to write "k" with kqRWallFunction I did as below:

olScalarField k (IOobject("k",runTime.timeName(),mesh,IOobject::NO _READ,IOobject::AUTO_WRITE), mesh,dimensionedScalar("k",dimensionSet(0,2,-2,0,0,0,0),0.1),"kqRWallFunction");

If I follow above mentioned way then I get error but If I use fixedValue instead of kqRWallFunction, then I dont get any error. But I want to use kqRWallFunction.

Can you guys please guide me, how to do it?

Best Regards,

All times are GMT -4. The time now is 15:54.