Fan in Room

Introduction

This is an example of a simulation using a sliding mesh.

It is a simple problem with a fan rotating at 100 RPM in a room with air flowing through a window.

The simulation conditions are as follows

  • solver : buoyantSimpleNFoam
  • turbulence model : $Standard$ $k-epsilon$
  • rotating velocity : 100 RPM

Start BaramFlow and load mesh

Run the program and select ‘Open’ from the launcher.

Select the folder created from BaramMesh tutorial.

Then select Pressure-based for ‘Solver Type’ and None for ‘Multiphase Model’.

General

For this example, we’ll use default conditions.

Models

For this example, we’ll use default conditions.


turbulence model

Materials

Material properties of air is as follows

Cell zone Conditions

Double-click AMI in the [Cell Zone Conditions] to open a new window. Select [Sliding Mesh] and enter the values below.

  • Rotating Speed : 100
  • Rotation Axis Origin : (-3 2 2.6)
  • Rotation Axis Direction : (0 0 1)

Cell Zone setup

Boundary Conditions

Set the boundary type and values as shown below.

  • desk_surface_0, door, room : Wall – No Slip

  • fan_surface_0 : Wall – Moving Wall

  • outlet : Pressure Outlet – Total Pressure = 0

  • AMI_surface_0, AMI_surface_0_slave : interface – Internal Interface

boundary condition setup

Numerical Conditions

In this example, we’ll change the settings as shown below.

  • Pressure-Velocity Coupling Scheme : SIMPLE
  • Use Momentum Predictor : On
  • Discretization Schemes
    • Time : First Order Implicit
    • Pressure : Linear
    • Momentum : Second Order Upwind
    • Turbulence : First Order Upwind
  • Under-Relaxation Factors : 1 for all
  • Max Iteration per Time Step : 3
  • Number of Correctors : 1
Numerical conditions setup

Initialization

For this example, we’ll use default values.

Enter the value and click the Initialize button at the bottom. Then click the [File]-[Save] menu to save the case file.

Run

Change the values as shown below, and click [Start Calculation] button.

  • Time Stepping Method : Adaptive
  • Couraant Number : 1
  • EndTime : 1
  • Save Interval : 0.02
Residual plot