FEM ConstraintFlowVelocity

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



Usage

 * 1) There are several ways to invoke the command:
 * 2) * Press the button.
 * 3) * Select the option from the menu.
 * 4) The task panel will display menus for constraint flow velocity
 * 5) Select the target Edges or Faces.
 * 6) Press the  button.
 * 7) Deselect "unspecified" to activate the necessary fields for edition.
 * 8) Set the velocity values or  specify a formula.

Formulas
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

$$\quad v_{x}=6\left(y-1\right)\left(2-y\right) $$

for $$y\in[1;2]$$ (assuming that e.g. a pipe has the wall at y = 1 m and y = 2 m)

enter this to the Formula field:

This code has the following syntax:
 * the prefix Variable specifies that the velocity is not a constant but a variable
 * the coordinate the velocity profile is based on is Coordinate 2, meaning Y
 * the velocity values are returned as Real (floating point value)
 * MATC is the prefix for the Elmer solver that the following code is a formula
 * tx is the variable in the formula