English
Documentation
> > Flow Analysis inside a Manifold

# Flow Analysis inside a Manifold

This simulation tutorial will guide you through:

• Choosing a fluid material and setting up boundary conditions
• Setting up fluid environment settings
• Meshing fluid Volume
• Simulate and post-process CFD results

## Note

For internal flow problems, a CAD program is needed to extract fluid volume from its corresponding solid model. An example on how to do so using Onshape can be found here. In this tutorial, this step is skipped.

1. In OnScale Solve, from the Projects tab of the dashboard, create a new project.
2. In the Tool Bar, click (+) and then Library. Under OnScale Library, Select Manifold.
3. Select Meters as the length unit.

## Assign a Fluid material to the geometry

1. In the Model Tree, select the part Part 1.
2. Using the Material dropdown in the properties panel, search for Water and assign to the selected part. ( Note: Fluid Analysis will only work with “Fluids” material)

## Setup boundary conditions

1. Select the tab.
2. In the Physics Tree, toggle off  Mechanical Analysis and toggle on Fluid Physics.
3. In the physics toolbar, under the Fluid Physics icon , select -> Flow and assign it to the face named “inlet” under part Part 1. Enter 10 m/s in the properties panel and click Done.
4. In the toolbar, under the Fluid Physics icon , select -> Pressure and assign it to face named “outlet” under part Part 1. Click Done.
5. Select Fluid Environment settings under Fluid Physics and in the property panel, enter the following values:
1. Duration: 0.1s
• The time needed to obtain a converging solution is usually > 2 × flow pass
• A flow pass is defined as the average distance a fluid parcel travels (~0.47 m), divided by the inlet velocity ( 10 m/s)
2. Characteristic Length: 0.1m
• For non-contracting channels, the characteristic length can be approximated to be the inlet diameter of the channel. This parameter controls the size of the hexahedral mesh cells that will be created. For the default mesh:
3. Contraction Area Ratio: 1
• There is no contraction within the manifold

## Run a simulation

1. Select the simulator tab.
2. Click on the Launcher to run the simulation.
3. Once the meshing and estimation is complete, Select Launch to run the simulation study.

## Analyze the results

1. Once the simulation has been completed, select Fluid Study 1 in the tree and click on Load Results to open the results in the Results tab.
2. In the tree, click Global Sensor.
3. In the properties panel on the right, select an Output Dataset of interest. Then, expand Slices, and create a Slice.
4. Expand Timesteps, and click the play button to advance through the time frames.