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 |
<patchName>
{
type fixedGradient;
gradient <field value>;
}
Source code:
| Would you like to suggest an improvement to this page? | Create an issue |
Copyright © 2016 OpenCFD Ltd.