Typo in User Guide - Please Check
Dear Developers
Sorry for posting this message here as there is no separate section for reporting such typos. In the 2nd chapter on page U - 40 under the section 2.1.8.1 following is written: Quote:
Best Regards jaswi |
and a fixedValue 0 boundary condition is assigned to http://www.opencfd.co.uk/openfoam/doc/gif/user106x.png
Quote:
( and a fixedValue 0 boundary condition is assigned to http://www.opencfd.co.uk/openfoam/doc/gif/user106x.png,) no slip boundary condition, velocity is zero at the wall hence k is 0 |
Hi Ahmed
I did not understand your post. By k is 0, do you mean that k being set to fixedValue is correct ? Please comment on this as after reading your post I tried to set k as fixedValue and value 0 but I get error that at wall k should be zerogradient. The message comes from this section of wallFunctionsI.H: forAll(patches, patchi) { const fvPatch& curPatch = patches[patchi]; if (isType<wallFvPatch>(curPatch)) { # include "checkPatchFieldTypes.H" ........ ......... where in checkPatchFieldTypes.H it is checked for the patch to be zeroGradient else raise FatalError. This is what it reads: if (!isType<zeroGradientFvPatchScalarField>(k_.bounda ryField()[patchi])) 00002 { 00003 FatalErrorIn("wall-function evaluation") 00004 << k_.boundaryField()[patchi].type() 00005 << " is the wrong k patchField type for wall-functions on patch " 00006 << curPatch.name() << nl 00007 << " should be zeroGradient" 00008 << exit(FatalError); 00009 } 00010 00011 if (!isType<zeroGradientFvPatchScalarField>(epsilon_. boundaryField()[patchi])) 00012 { 00013 FatalErrorIn("wall-function evaluation") 00014 << epsilon_.boundaryField()[patchi].type() 00015 << " is the wrong epsilon patchField type for wall-functions on patch " 00016 << curPatch.name() << nl 00017 << " should be zeroGradient" 00018 << exit(FatalError); 00019 } Any comments are appreciated BR jaswi |
All times are GMT -4. The time now is 21:12. |