Documentation
This article provides a step-by-step tutorial for a fluid dynamic simulation of a pipe junction.
Simulating pipe junctions can be useful to understand delta pressures through the system, check whether recirculation regions arise, and observe how the flow mixes. This tutorial contains a simple workflow with the Incompressible solver to simulate pipe junction cases.
We are following the typical SimScale workflow:
First of all, click the button below. It will copy the tutorial project containing the geometry into your Workbench.
The following picture demonstrates what should be visible after importing the tutorial project.
The initial CAD model contains the solid walls of the pipe but not the volume occupied by water. As such, before setting up the simulation, a Flow region, representing the fluid domain, needs to be created.
Since the flow region is internal to the pipe, select an ‘Internal’ flow volume operation:
In the internal flow region setup window, seed and boundary faces have to be assigned for this model. Since the tube has 3 openings, there will be 3 boundary faces in pink, below. The boundary faces cover the openings of the tube.
For seed face, only one assignment is needed. It can be any wetted face, so any face in contact with the flow region that we are looking to create works (i.e. a face on the inside of the pipe). Press ‘Apply’ once you assign the faces.

As discussed, this tutorial will use the Incompressible solver. With this solver, the geometry must contain a single flow region volume, and no solid materials are allowed. As such, we will delete the solid walls of the pipe with a ‘Delete’ body operation:

By the end of the CAD operations, the CAD model should contain a single volume, representing the flow region. At this point, to create a new simulation, select the geometry and click the ‘Create Simulation’ button.
In doing so, the analysis type selection widget opens up. Choose ‘Incompressible’ from the list and click on ‘Create Simulation’.
Incompressible analyses are isothermal and better suited for low speed flow (Mach Number below 0.3), which is the case for this tutorial.
To assign a new material, click on the ‘+’ button next to Materials in the simulation tree.
This will open the Material library which contains all the available materials for a simulation. Scroll down to select ‘Water’ and click ‘Apply’.
Water will be automatically assigned to the flow region.
Boundary conditions are constraints that define the physical boundaries of the simulation, such as the input and output of a pipe. For this simulation, three boundary conditions will be necessary so that we can model water meeting at the junction of the pipe coming from the horizontal and vertical inlets.
a. Velocity Inlets
To create a new boundary condition, click on the ‘+’ button next to Boundary conditions in the simulation tree. Select ‘Velocity inlet’ from the list.
In the velocity inlet setup window, set the velocity in z-direction to ‘-1.5’ \(m/s\). This will assign a flow with the specified velocity to the assigned face. In this case, flow from the negative z-direction is needed to model the horizontal flow. The global coordinates can be found in the viewing cube at the bottom right of your screen.
Select the horizontal face in the viewer. This will assign the face as a velocity inlet.
We will set up another velocity inlet to simulate a vertical flow by following the same steps as before. Set the velocity in y-direction to ‘-1’ m/s. Select the face to assign the new velocity inlet.
b. Pressure Outlet
Last but not least, we will add a third boundary condition which is the ‘Pressure outlet’, indicating the face where the fluid will leave the domain. Select the face below to assign it as a pressure outlet boundary condition.
Please navigate to Result control in the simulation tree to set up an ‘Area average’ monitor within Surface data:
In this simulation, let’s keep track of the inlet values with an area average:
For pipe flow, monitoring the inlet faces also helps to evaluate pressure losses through the system.
This tutorial will use a single-click simulation workflow. Instead of generating a mesh and then running the simulation, we will proceed to running the simulation directly.
In the background, SimScale will generate the mesh and, as soon as it is finished, the simulation will start automatically. As such, create a simulation run by clicking on the ‘+’ button next to Simulation runs in the simulation tree.
A dialog box will appear stating the estimated amount of resource consumption. Click ‘Start’ in the New run dialog box to start the simulation run.
Once the simulation run is finished, the status will be changed to Finished in the run settings panel.
Did you know?
In SimScale you may also generate and inspect the mesh before running the simulation. To do that, go to Mesh and click on ‘Generate’. Once the mesh is finished, you can create a simulation run using it.
While the simulation is running, you can inspect the result control values live. From a convergence perspective, it is important that physical quantities of interest stabilize as the simulation progresses. For example, monitoring pressure at the inlet is important for studies involving pressure loss evaluations:
From the image above, we can see that the pressure at the inlet is very stable after 600 iterations, indicating a good convergence pattern.
Click ‘Post-process results’ or ‘Solution Fields’ under the run to open the post-processor. SimScale’s integrated post-processor consists of filters and different viewing tools to better visualize and download the simulation results.
After opening the post-processor, a cutting plane will be automatically applied. Now, we want to show the flow inside the pipe. Therefore, we will change the orientation of the plane to the x-axis by clicking on ‘X’ besides Orientation. Also, make the cutting plane fully opaque by setting the Opacity to ‘1’, and enable Clip model.

You can also find areas where re-circulation occurs by visualizing the velocity vectors as shown below. Turn on the toggle beside Vectors to show the velocity vectors. Next, to make the vectors more clear, you can set the color of the vectors to black beside Coloring.
Based on the velocity vectors, we can see a large re-circulation region in the areas near the junction, so this is a region that may require some improvements.
For additional post-processing workflows involving this pipe junction model, make sure to visit this page, which shows examples of all filters and additional post-processing tools.
Congratulations! You finished the tutorial!
Last updated: March 16th, 2026
We appreciate and value your feedback.
Sign up for SimScale
and start simulating now