# Free Stream Velocity/Pressure

Source: https://help.sim-flow.com/boundary-conditions/free-stream
Last updated: 2026-10-01

## Description

The Free Stream boundary condition specifies free-stream velocity and pressure in the so-called far-field boundary. The far-field region represents the area far from the object of interest, where the flow is undisturbed. This condition ensures that the velocity and pressure at the boundary remain constant and equal to the free-stream velocity. It is one of the most often used boundary conditions for external aerodynamics. It should be highlighted that **Free Stream Velocity** always goes together with **Free Stream Pressure**.

A huge advantage of this boundary condition is the fact that it can be applied to the inlet and the outlet of the flow domain, and it will automatically adjust the flow conditions based on the flow direction. Users, however, must keep in mind that this boundary condition should be used only far away from the object of interest, where the flow is undisturbed.

## Understanding Free Stream

This boundary condition is usually used when we want to calculate a flow around a certain object, like a wing or an airplane. The `Free Stream Velocity` boundary condition, in order to work correctly, requires a large computational domain. In the literature, one may find recommendations saying the size of the domain should be around 50 to 100 times the characteristic length. The characteristic length may be, for example, a chord of the wing or the length of the airplane - [Figure 1](https://help.sim-flow.com/boundary-conditions/free-stream#fig-01).

![Recommended computational domain size for external aerodynamics](https://help.sim-flow.com/boundary-conditions/images/freestream/freestream-bc-01.png)

Figure 1. Recommended computational domain size for external aerodynamics

The reason why the domain should be large is to make sure that the turbulent wake behind the object dissipates before reaching the domain boundaries. Otherwise, we could observe some reflections on the boundaries that might lead to the unphysical behavior of the model.

It should be noted that in SimFlow the users can find both Free Stream and Free Stream Velocity/Pressure boundary conditions.

The Free Stream boundary condition works in the same way as [Inlet Outlet](https://help.sim-flow.com/boundary-conditions/inlet-outlet) - defines [Zero Gradient](https://help.sim-flow.com/boundary-conditions/zero-gradient) when outflow on the boundary occurs and [Fixed Value](https://help.sim-flow.com/boundary-conditions/fixed-value) when inflow appears. This definition usually works well, but a problem appears when the flow becomes tangent to the domain boundaries.

`Free Stream Velocity/Pressure` is also based on the [Inlet Outlet](https://help.sim-flow.com/boundary-conditions/inlet-outlet) boundary condition, but it introduces a certain blending function that linearly varies between [Zero Gradient](https://help.sim-flow.com/boundary-conditions/zero-gradient) and [Fixed Value](https://help.sim-flow.com/boundary-conditions/fixed-value). As a result, we get more realistic velocity field predictions. The details are given below.

[Figure 2](https://help.sim-flow.com/boundary-conditions/free-stream#fig-02) represents the boundary of the domain. We can easily imagine that in the presented region, the velocity might get tangent to the boundary. If the flow at one face changes from outflow to inflow, [Inlet Outlet](https://help.sim-flow.com/boundary-conditions/inlet-outlet) and `Free Stream` boundary conditions will immediately switch to the prescribed [Fixed Value](https://help.sim-flow.com/boundary-conditions/fixed-value) in the normal direction. Such a prescribed value most likely will be significantly different from the real velocity.

![Prescribed and determined velocity at tangent conditions](https://help.sim-flow.com/boundary-conditions/images/freestream/freestream-bc-02.png)

Figure 2. Prescribed and determined velocity at tangent conditions. Source: [Greenshields, et al., (2022)](https://help.sim-flow.com/boundary-conditions/free-stream#Greenshields)

The `Free Stream Velocity/Pressure` boundary condition introduces a certain blending function given by the equation below:

\[v = 0.5 \cdot \left(1 - \frac{\vec n \cdot \vec u}{|\vec u|}\right)\]

The graphical representation of the equation is given in [Figure 3](https://help.sim-flow.com/boundary-conditions/free-stream#fig-03).

![Graphical representation of the blending function](https://help.sim-flow.com/boundary-conditions/images/freestream/freestream-bc-03.png)

Figure 3. Graphical representation of the blending function. Source: [Greenshields, et al., (2022)](https://help.sim-flow.com/boundary-conditions/free-stream#Greenshields)

In the limit, when the flow is purely in the normal direction, the condition becomes either [Fixed Value](https://help.sim-flow.com/boundary-conditions/fixed-value) or [Zero Gradient](https://help.sim-flow.com/boundary-conditions/zero-gradient). Between these extremes, \(v\) is blended linearly for velocity, according to the equation above. When the blending function takes the value 0.5, it means that the flow is perfectly tangent to the domain.

## Application & Physical Interpretation

The **Free Stream** boundary condition is used for simulating flow around objects like wings or airplanes, requiring a large computational domain (50 to 100 times the characteristic length). It is used in many external aerodynamics-related matters.

### Car, Aircraft Aerodynamics

This problem can be solved by using the [simpleFoam](https://help.sim-flow.com/solvers/simple-foam) solver. The `Freestream` boundary condition can be used to simulate the flow around a vehicle or aircraft, where the boundaries of the computational domain represent the free stream far away from the body.

Example Boundary Condition Set for these applications

| Physics | Velocity | Pressure |
| --- | --- | --- |
| Velocity Inlet | **Free Stream** | **Free Stream Pressure** |

Example usage of Free Stream in SimFlow

| Tutorial | Description |
| --- | --- |
| **[Wing](https://help.sim-flow.com/tutorials/wing#_boundary_conditions_boundaries_flow_)** | It simulates the two-dimensional flow around the wing’s airfoil. To enhance precision, the second-order velocity discretization method was implemented. |

### Wind Engineering and Building Aerodynamics

In simulations of wind flow around buildings or structures, these boundary conditions can represent the undisturbed wind conditions at the domain boundaries.

Example Boundary Condition Set for these applications

| Physics | Velocity | Pressure |
| --- | --- | --- |
| Velocity Inlet | **Free Stream Velocity** | **Fixed Flux Pressure** |

Example usage of Free Stream in SimFlow

| Tutorial | Description |
| --- | --- |
| **[Gas & Pollutant Dispersion](https://help.sim-flow.com/tutorials/gas-pollutant-dispersion#_boundary_conditions_air_inlet)** | Simulation of carbon dioxide and ash particles released from a chimney into the atmosphere and investigating their dispersion in flowing air using species transport and Lagrangian particle simulation. |

### Environmental and Atmospheric Flow Simulations

A steady-state, buoyant solver with Boussinesq approximation can be used to solve this type of problem - [buoyantBoussinesqSimpleFoam](https://help.sim-flow.com/solvers/buoyant-boussinesq-simple-foam). `Freestream` boundary conditions are useful in modeling atmospheric boundary layer flows or environmental dispersion where the domain boundaries need to reflect the undisturbed atmospheric conditions.

Example Boundary Condition Set for these applications

| Physics | Velocity | Pressure |
| --- | --- | --- |
| Velocity Inlet | **Free Stream Velocity** | **Fixed Flux Pressure** |

## How to Use in SimFlow

The definition of boundary conditions in **SimFlow** is simple and intuitive. To specify the `Freestream` boundary condition, the user must navigate to the Boundary Conditions panel, select the appropriate boundary, and choose the correct option from the drop-down menu. It must be noted that the `Freestream Velocity` boundary condition should be selected for velocity, while the `Freestream Pressure` boundary condition should be used for pressure. These conditions are designed to be used together to ensure consistent and realistic simulation of free stream conditions.

![Freestream boundary condition in SimFlow](https://help.sim-flow.com/boundary-conditions/images/freestream/freestream-bc-04.jpg)

Figure 4. Freestream boundary condition in SimFlow.

## Free Stream - Alternatives

| Boundary Condition | Description |
| --- | --- |
| [Zero Gradient](https://help.sim-flow.com/boundary-conditions/zero-gradient) | prescribes normal gradient to zero |
| [Inlet Outlet](https://help.sim-flow.com/boundary-conditions/inlet-outlet) | similar to `Zero Gradient` but with an additional feature, which prevents so-called backflows |

## Literature

- Greenshields, C. J., Weller, H. G., Notes on Computational Fluid Dynamics: General Principles, 2022
