Fixed gradient

Properties

  • Neumann condition
  • fixed normal-gradient
  • implicit

Face values are evaluated according to:

\[ \phi_f = \phi_c + \Delta \grad{\phi}_{ref} \]

where

\( \phi_f \) = face value
\( \phi_c \) = cell value
\( \grad(\phi)_{ref} \) = reference gradient
\( \Delta \) = face-to-cell distance

Usage

<patchName>
{
    type        fixedGradient;
    gradient    <field value>;
}

Further information

Source code:


Would you like to suggest an improvement to this page? Create an issue

Copyright © 2016 OpenCFD Ltd.

Licensed under the Creative Commons License BY-NC-ND Creative Commons License