Skip to main content

boundaryFoam

Overview

  • Category: Incompressible
  • steady state
  • incompressible
  • turbulence
  • evolves the flow system to reach a target average velocity
  • useful to set velocity and turbulence inflow conditions based on a fully developed flow profile

Equations

The velocity is modelled according to the equation

Rdev=p+SU \div \tensor{R}_{dev} = \grad p + S_U

where the velocity and pressure gradient are corrected to achieve the target velocity u\overline{\u}. After solving the above equation, the velocity is corrected from the current volume-averaged velocity, i.e.

un+1=un+(uun) \u^{n+1} = \u^n + \left( \overline{\u} - \overline{\u}^n \right)

and the pressure gradient from:

(p)n+1=(p)n+1A(uun) \left(\grad p\right)^{n+1} = \left(\grad p\right)^{n} + \overline{\frac{1}{\mat{A}}\left( \overline{\u} - \overline{\u}^n \right)}

where the averages are calculated as volume averages.

Input requirements

Mandatory fields:

Physical models

Solution controls

Further information

Source code

See also

Tutorials