Skip to content
Permalink
Browse files

atmBoundaryLayer: Added documentation

  • Loading branch information...
Henry Weller
Henry Weller committed Dec 14, 2018
1 parent 9c9f061 commit bd5a1942805f7e0d0e01109b905fb4be4527ebfd
@@ -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_;
}

@@ -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:

0 comments on commit bd5a194

Please sign in to comment.
You can’t perform that action at this time.