FEM ConstraintFlowVelocity

FEM ConstraintFlowVelocity

Menu location
Model → Fluid boundary conditions → Flow velocity boundary condition
Workbenches
FEM
Default shortcut
None
Introduced in version
-
See also
Constraint initial flow velocity

Solvers
Elmer

Description

Applies a flow velocity as boundary condition to an edge in 2D or to a face in 3D.

The FEM flow velocity task panel

Usage

  1. Press the Flow velocity boundary condition button or select the menu Model → Fluid boundary conditions → Flow velocity boundary condition.
  2. Press the Add button.
  3. Select the target Edges or Faces.
  4. Uncheck unspecified to activate the necessary fields for editing.
  5. Set the velocity values or (introduced in 0.21) specify a formula.

Formulas

introduced in 0.21

It is possible to define a velocity by specifying the velocity profile as formula. In this case the solver sets the velocities at the different positions according to the profile.

To specify for example the velocity profile

for (assuming that e.g. a pipe has the wall at y = 1 m and y = 2 m)

enter this to the Formula field:
Variable Coordinate 2; Real MATC "6*(tx-1)*(2-tx)"

This code has the following syntax:

That y will only be in the range is set because MATC only evaluates the tx range where the result is positive. This behavior is a bit special but has the advantage that one does not need to specify the range manually.

It is also possible to use more than one variable. See as example the definition of rotations in the displacement constraint.

Notes