Air age
Introduction
This is an example of using the results of a room ventilation analysis to find the air age. The problem involves air entering from the top three inlets and exiting to the outlet on the side. The air age is obtained by post-processing the calculated results.
Start BaramFlow and load mesh
Run the program and select [New Case] from the launcher. In the launcher, select [Pressure-based] for [Solver Type] and [None] for [Multiphase Model].
Use the given polyMesh folder. In the top tab, click [File]-[Load Mesh]-[OpenFOAM] in that order and select the polyMesh folder.
General
For this example, we’ll use default conditions.
Models
For this example, we’ll use $Standard$ $k-\epsilon$ model for turbulence.
Materials
Use material properties of air.
Boundary Conditions
Set the boundary type and values as shown below.
- in1, in2, in3 : Velocity Inlet
- Velocity magnitude : 1
- Turbulent Intensity : 10
- Turbulent Viscosity Ratio : 1000
- out : Pressure Outlet
- Pressure : 0
- wall : wall
Numerical Conditions
Set [Pressure-Velocity Coupling Scheme] as SIMPLEC.
Set [Discretization Schemes] of Pressure as [Linear].
Use default values for the rest.
Initialization
Set initial value as below.
- Velocity : (0 0 0)
- Pressure : 0
- Scale of Velocity : 1
- Turbulent Intensity : 10
- Turbulent Viscosity Ratio : 1000
Run
Change the values as shown below, and click [Start Calculation] button.
- Number of Iterations : 1000
- Save Interval : 1000
- Selct [Parallel]-[Environment] in menu. Set Number of Cores as you want and select [Local Machine] for [Parallel Type].
When the calculation is started, you can see the graphs of Residuals as shown below.
Age calculation, post-processing
Click [Collateral Fields] at [Results]-[Reports].
Select age and click Compute button. Then the field of age is generated.
Click the parview button in [External tools] to open the paraview.
For parallel case, change the [Case Type] to [Decomposed Case].
Click [Slice] icon.
In the Pipeline Browser, select [Z Normal] and choose [Coloring] as [age]. You should see something like this