atmBoundaryLayer: Added documentation

This commit is contained in:
Henry Weller
2018-12-14 11:20:32 +00:00
parent 9c9f061990
commit bd5a194280
2 changed files with 5 additions and 2 deletions

View File

@ -171,7 +171,7 @@ tmp<scalarField> atmBoundaryLayer::k(const vectorField& p) const
if (offset_)
{
const scalarField z = (zDir_ & p) - zGround_;
const scalarField z((zDir_ & p) - zGround_);
tk.ref() = pos0(z)*tk() + neg(z)*kLower_;
}
@ -188,7 +188,7 @@ tmp<scalarField> atmBoundaryLayer::epsilon(const vectorField& p) const
if (offset_)
{
const scalarField z = (zDir_ & p) - zGround_;
const scalarField z((zDir_ & p) - zGround_);
tepsilon.ref() = pos0(z)*tepsilon() + neg(z)*epsilonLower_;
}

View File

@ -82,6 +82,9 @@ Usage
Zref | Reference height [m] | yes |
z0 | Surface roughness height [m] | yes |
zGround | Minimum z-coordinate [m] | yes |
Ulower | Velocity below the BL | no |
kLower | Turbulence k below the BL | no |
epsilonLower | Turbulence epsilon below the BL | no |
\endtable
Example of the boundary condition specification: