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
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.
Import the CAD file
- In OnScale Solve, from the Projects tab of the dashboard, create a new project.
- In the Tool Bar, click (+) and then Library. Under OnScale Library, Select Manifold.
- Select Meters as the length unit.
Assign a Fluid material to the geometry
- In the Model Tree, select the part Part 1.
- 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
- Select the tab.
- In the Physics Tree, toggle off Mechanical Analysis and toggle on Fluid Physics.
- 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.
- In the toolbar, under the Fluid Physics icon , select -> Pressure and assign it to face named “outlet” under part Part 1. Click Done.
- Select Fluid Environment settings under Fluid Physics and in the property panel, enter the following values:
- 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)
- 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:
- Contraction Area Ratio: 1
- There is no contraction within the manifold
- Duration: 0.1s
Run a simulation
- Select the simulator tab.
- Click on the Launcher to run the simulation.
- Once the meshing and estimation is complete, Select Launch to run the simulation study.
Analyze the results
- 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.
- In the tree, click Global Sensor.
- In the properties panel on the right, select an Output Dataset of interest. Then, expand Slices, and create a Slice.
- Expand Timesteps, and click the play button to advance through the time frames.