Wall conditions are specified using the wall type entry in the $FOAM_CASE/constant/polyMesh/boundary file:
wall
$FOAM_CASE/constant/polyMesh/boundary
patchName { type wall; ... }
See turbulence wall modelling
Related:
Source code:
See also