CFD Online Discussion Forums

CFD Online Discussion Forums (https://www.cfd-online.com/Forums/)
-   OpenFOAM (https://www.cfd-online.com/Forums/openfoam/)
-   -   writing fields with field types "kqRWallFunction" (https://www.cfd-online.com/Forums/openfoam/80660-writing-fields-field-types-kqrwallfunction.html)

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");
k.write();

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 11:26.