> ## Documentation Index
> Fetch the complete documentation index at: https://docs.ntop.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Boundary Conditions

After defining our flow analysis *Model*, we assign conditions at our inlet and outlets using *Boundary Conditions*. The **Flow Analysis** block auto-generates an empty **Boundary Condition List**.

<Frame>
  <img src="https://files.learn.ntop.com/lessons/boundary-conditions/Screenshot-2025-05-20-095046.png" />
</Frame>

## Assign Boundary Conditions

<Frame>
  <img src="https://files.learn.ntop.com/lessons/boundary-conditions/image-1-1024x161.png" />
</Frame>

Within the **Boundary Condition List**, we describe the fluid's velocity.

**Velocity** is a *Boundary Condition* we typically assign at the inlet(s) of the fluid domain.

**Pressure** is a *Boundary Condition* we typically assign at the outlet(s). A good practice is to assign a gauge pressure of 0 to determine pressure differential across your system.

<Frame>
  <img src="https://files.learn.ntop.com/lessons/intro-to-flow-analysis/velocity-and-pressure-blocks.png" />
</Frame>

## Define a Boundary for Each Boundary Condition

<Frame>
  <img src="https://files.learn.ntop.com/lessons/boundary-conditions/utilities-1024x146.png" />
</Frame>

Now, we must define a location at which to apply these boundary conditions. We do these with virtual boundaries.

Just as we saw with the *FE Domain* versus the *Virtual Domain* in the [Simulation Model](https://learn.ntop.com/?post_type=sfwd-lessons\&p=13174), the flow analysis uses ***virtual boundaries*** rather than finite element (FE) boundaries. We create these using the **Virtual Boundary by Body** block.

<Frame>
  <img src="https://files.learn.ntop.com/lessons/boundary-conditions/image-3.png" />
</Frame>

As a rule of thumb, we should define the boundary thickness as less than *0.5\*(cell size)*.

<Note>
  **Note**: The boundary of a fluid domain with which is not used to define an pressure/velocity boundary conditions is considered to have a no slip boundary condition. At these boundaries, the fluid velocity is 0.
</Note>
