Skip to main content

Mixed

Properties

  • Robin condition
  • a linear blend of fixedValue and gradient conditions
  • blending specified using a value fraction
  • not usually applied directly, but used in derived types, e.g. the inletOutlet condition
  • explicit and implicit contributions

Face values are evaluated according to:

ϕf=wϕref+(1w)(ϕc+Δϕref) \phi_f = w \phi_{\ref} + \left(1-w\right)\left(\phi_c + \Delta \grad{\phi}_{\ref} \right)

where ϕf\phi_f : face value

ϕc\phi_c : cell value

ϕref\phi_{\ref} : reference value

Δ\Delta : face-to-cell distance

ww : value fraction

Usage

<patchName>
{
type mixed;
refValue <field value>;
refGradient <field value>;
valueFraction <field value>;
}

Further information

Source code: