Skip to content
GitLab
Projects Groups Topics Snippets
  • /
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Register
  • Sign in
  • openfoam openfoam
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributor statistics
    • Graph
    • Compare revisions
  • Issues 454
    • Issues 454
    • List
    • Boards
    • Service Desk
    • Milestones
  • Merge requests 14
    • Merge requests 14
  • Deployments
    • Deployments
    • Releases
  • Wiki
    • Wiki
  • Activity
  • Graph
  • Create a new issue
  • Commits
  • Issue Boards
Collapse sidebar
  • Development
  • openfoamopenfoam
  • Issues
  • #1980
Closed
Open
Issue created Jan 12, 2021 by Johan Roenby@johan_roenbyContributor

Errors in documentation of fixedNormalSlipFvPatchField.H

Two problems in the Doxygen documentation of the fixedNormalSlip boundary condition:

  1. The Description is inaccurate/wrong. It says:
Description
    This boundary condition sets the patch-normal component to a fixed value.

The behaviour implemented in updateCoeffs is:

    Field<Type>::operator=
    (
        nHat*(nHat & fixedValue_)
      + transform(I - sqr(nHat), this->patchInternalField())
    );

I suggest to change the description to:

Description
    This boundary condition sets the patch-normal component to the field (vector 
    or tensor) to the patch-normal component of a user specified field.
    The tangential component is treated as slip, i.e. copied from the internal 
    field.
  1. The Usage uses a scalarField as an example but the BC is not defined for these: So I suggest replacing:
Usage
    \table
        Property     | Description             | Required    | Default value
        fixedValue   | fixed value             | yes         |
    \endtable

    Example of the boundary condition specification:
    \verbatim
    <patchName>
    {
        type            fixedNormalSlip;
        fixedValue      uniform 0;     // example entry for a scalar field
    }
    \endverbatim

with

Usage
    \table
        Property     | Description             | Required    | Default value
        fixedValue   | fixed value             | yes         |
    \endtable

    Example of the boundary condition specification:
    \verbatim
    <patchName>
    {
        type            fixedNormalSlip;
        fixedValue      uniform (1 0 0); // example entry for a vector field
    }
    \endverbatim
Assignee
Assign to
Time tracking