# Session 1: Aircraft Cabin Ventilation

**URL:** <https://www.simscale.com/forum/t/session-1-aircraft-cabin-ventilation/87663>\
**Category:** Fluid Flow / CFD\
**Created:** [February 11, 2020, 6:26pm UTC](https://www.simscale.com/forum/t/session-1-aircraft-cabin-ventilation/87663 "2020-02-11T18:26:22Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![Ricardopg](https://www.simscale.com/forum/user_avatar/www.simscale.com/ricardopg/32/26909_2.png) [@Ricardopg](https://www.simscale.com/forum/u/Ricardopg)\
**Post date:** [February 11, 2020, 6:26pm UTC](https://www.simscale.com/forum/t/session-1-aircraft-cabin-ventilation/87663/1 "2020-02-11T18:26:22Z")

</div>

## Recording

[Aerospace Workshop feat. EUROAVIA (Session 1) ― Ventilation of Aircraft Cabin](https://www.youtube.com/watch?v=0nLc5kJxEcM)

## Exercise

This exercise involves simulating the ventilation inside an aircraft cabin. For simplicity and reduced computation there is only one row of seats in the geometry. The task is quite interesting, to setup 6 different configurations by having various configurations of inlet and outlet, and then to compare the results. The possible inlets and outlets are as shown in the following figure.

 ![image](https://www.simscale.com/forum/uploads/default/original/3X/6/9/698f49e32ad627fbadfbbdabd19bf520e39c5fb7.jpeg)

The different combinations for performing the simulations are:

 ![image](https://www.simscale.com/forum/uploads/default/original/3X/9/f/9f674b5d2a9612c87c613548775a4d2889ad004d.png)

## Step-by-Step

**Import the project by clicking the link below.** ( Crtl + Click to open in a new tab )

[Click to Import the Homework Project](https://www.simscale.com/workbench?publiclink=0720d642-1f60-44fa-b7d0-901ad65e6456)

**Once the project is imported, the workbench is automatically opened. Then follow the steps below for setting up an incompressible flow simulation**.

First, click on the geometry named **Aircraft cabin** and select **Create Simulation**.

 ![image](https://www.simscale.com/forum/uploads/default/original/3X/6/3/63652209833434e71c0146a20a7354fedc6f99c3.png)

We want to perform an **Incompressible** analysis. Then go ahead and click on **Create Simulation** one more time:

 ![image](https://www.simscale.com/forum/uploads/default/original/3X/d/2/d21b1aea6498ee56d3b4a9539bcaade24b90c15b.png)

Make sure **k-omega SST** is selected as **Turbulence model** and **Time-dependency** is set to **Steady-state**.

 ![image](https://www.simscale.com/forum/uploads/default/original/3X/6/4/6423f32b526daa16da6b39649316a3633f4cb24b.png)

The panel in the left-hand side of screen is often called simulation tree or workflow. In contains several entries that need to be properly filled in order to run the simulations. Entries highlighted in red have missing information, whereas entries highlighted in green have all the information necessary. You can still, of course, edit green entries with more appropriate inputs if need be.

### Meshing

In the simulation tree, navigate to **Mesh**. Change the **Algorithm** to **Hex-dominant (Only CFD)** and **Fineness** to **Very coarse**. We will add a boundary layer refinement in the next step, so also disable **Automatic boundary layers**

 ![image](https://www.simscale.com/forum/uploads/default/original/3X/e/d/ed23999d2ae8d75ee5d858d0ebbaf1489b916be3.png)

You don’t have to worry with the **Number of processors** that will be employed. SimScale automatically chooses an optimal number based on the job size. Now let’s add a **Refinement**. Under **Mesh** , click on **Refinements** and select **Inflate boundary layer**. Settings will be default:

 ![image](https://www.simscale.com/forum/uploads/default/original/3X/5/8/58a7b3057f78b21e527b3a6754a41cba0a0310b3.png)

Now please right click in the viewer and select **Assign all faces**. Then, unselect both symmetry planes as shown in the following pictures:

 ![image](https://www.simscale.com/forum/uploads/default/original/3X/b/b/bb23b27f7c2d46d6749eb99deaedf5b9ba548bf3.png)

 ![image](https://www.simscale.com/forum/uploads/default/original/3X/a/0/a0297a598b2fc831a5702465f0d4fb7ad8438f90.png)

After saving this refinement, we can go back to **Mesh** and click the **Generate** button:

 ![image](https://www.simscale.com/forum/uploads/default/original/3X/d/b/db49297add60342a40fae4416d46b00bae807fc1.png)

The mesh takes about 35 minutes to be generated. Meanwhile, you can continue working on the setup.

In the simulation tree, navigate to **Materials**. Select **Air** and **Apply**

 ![image](https://www.simscale.com/forum/uploads/default/original/3X/0/7/07fb6678704b64bf6c4d4e4942a10f10f41be095.png)

Air is automatically assigned to the flow region, so just click on the blue mark to save:

 ![image](https://www.simscale.com/forum/uploads/default/original/3X/3/0/303b298f009afe10e3b3d52f79c444dde3a8d69b.png)

It’s time to create **Topological Entity Sets**. To create new topological entity sets, the following steps have to be followed:

- Select the face or faces that will be part of the newly created set;
- On the right-hand side of the screen, next to **Topological Entity Sets** , click on the **+** icon;
- Name the new entity set as you deem suitable.

This picture that was also posted in the beginning of this Step-by-Step will help us create the sets:

 ![image](https://www.simscale.com/forum/uploads/default/original/3X/6/9/698f49e32ad627fbadfbbdabd19bf520e39c5fb7.jpeg)

And here is a summary of the sets to be created:

 ![image](https://www.simscale.com/forum/uploads/default/original/3X/5/5/5545b70d539f0fab086c6180a2b6638c943ffa1b.png)

**Inlet Set 1** :

 ![image](https://www.simscale.com/forum/uploads/default/original/3X/4/b/4bcdef9abecef9448f99eddaa65bd76f275b997d.png)

 ![image](https://www.simscale.com/forum/uploads/default/original/3X/e/9/e92e2b647d6c7c028a556c42b82e3f725b15d741.png)

**Inlet Set 2** :

 ![image](https://www.simscale.com/forum/uploads/default/original/3X/9/7/97af75c3df19200ddb54f6f2511c0e99252d324b.png)

**Inlet Set 3** :

 ![image](https://www.simscale.com/forum/uploads/default/original/3X/5/1/5185217807c1e2b398d3324dd20f05166794bfa0.png)

**Outlet Set 1** :

 ![image](https://www.simscale.com/forum/uploads/default/original/3X/3/2/32adc0c388b72ae326c3e72d66085d8c1f6c1661.png)

**Outlet Set 2** :

 ![image](https://www.simscale.com/forum/uploads/default/original/3X/8/5/859475c30fba25fd33e58eddc22b3515deaa704e.png)

**Symmetry** :

 ![image](https://www.simscale.com/forum/uploads/default/original/3X/d/d/dd2c4de2f9dbf0ca49f1f114c5d72e500ebf29c5.png)

**Walls** : in order to easily select all walls, please follow the steps below:

 ![image](https://www.simscale.com/forum/uploads/default/original/3X/d/3/d3b6751fe3744d7340f385a6f6dd6325dd479051.png)

After doing this, all walls will be automatically selected:

 ![image](https://www.simscale.com/forum/uploads/default/original/3X/d/f/df2693d5bb27cbca74de4796f5ad859a2561d9f3.png)

### Boundary conditions

The default **Initial conditions** will be used for these simulations. We will, therefore, jump straight to **Boundary conditions**. The boundary conditions (BC) define the flow variables at the boundary surfaces.  
To assign a new boundary condition, click on the **+** icon and select the desired type.

 ![image](https://www.simscale.com/forum/uploads/default/original/3X/d/0/d0ed2ea99f2bba0ccf999eb5578c6391f983e335.png)

**Configuration 1** will be covered in this step-by-step. When setting the inlet and outlet for different configurations, please refer to this table:

 ![image](https://www.simscale.com/forum/uploads/default/original/3X/9/f/9f674b5d2a9612c87c613548775a4d2889ad004d.png)

Boundary condition for the **Inlet** : it’s a velocity inlet boundary condition with a specified volumetric flow rate of **0.02975** m³/s.

 ![image](https://www.simscale.com/forum/uploads/default/original/3X/8/7/87ccd10b8f74a8a9bf1b7ecd55e7a0182e5ee4f9.png)

**Important** : for **Configurations 3** and **6** , please input an inlet volumetric flow rate of **0.07105** m³/s. These values were calculated so that an inlet velocity of 0.35 m/s is obtained.

Boundary condition for the **Outlet** : it’s a basic **Pressure outlet** boundary condition with 0 Pa fixed value:

 ![image](https://www.simscale.com/forum/uploads/default/original/3X/a/6/a63c98993e1d8ff3619771c2dddc42d286cd98d0.png)

Boundary condition for the **Symmetry** topological entity set: **Symmetry** boundary condition:

 ![image](https://www.simscale.com/forum/uploads/default/original/3X/0/5/05ad6b4ec26672924d3f71fcdd16ad7994de256a.png)

**Walls** : the remaining boundary definition is for the walls. One important thing to be noted is that this condition has to be assigned to all entities which are not defined the previous 3 conditions. Thus, it will vary from configuration to configuration.  
For the **Configuration 1** , the following entity sets will be treated as walls: **Walls** , **Inlet Set 2** , **Inlet Set 3** and **Outlet Set 2** :

 ![image](https://www.simscale.com/forum/uploads/default/original/3X/7/3/7308d272bbaa1d8729b1c380c56058119f04c7b4.png)

### Numerics

Please navigate to **Numerics** in the simulation tree. Set the **Relaxation factors** to the ones below. This enhances the solver to get the appropriate results:

1. **P : 0.3**
2. **U : 0.7**
3. **k : 0.5**
4. **Omega : 0.5**

 ![image](https://www.simscale.com/forum/uploads/default/original/3X/d/3/d38d722d807953d181c870e248133db41eca075f.png)

Scrolling down through the numerics panel, find **Solvers**. Expand the **( P ) Pressure** solver and set its **Relative tolerance** to **0.01**.

 ![image](https://www.simscale.com/forum/uploads/default/original/3X/8/e/8e54edaa27c8d54dbd0d001b849a561471cf6948.png)

For the other solvers, make sure that **Smooth solver** has been selected. Change the **Smoother** to **Sym-Gauss-Seidel** :

 ![image](https://www.simscale.com/forum/uploads/default/original/3X/5/0/50acc5e3b4fdc0ca5d70fa0dec3ba28f4ad625b0.png)

In **Schemes** , enlarge **Divergence** and select **Bounded Gauss Upwind** to **div phi(phi,U)**.

 ![image](https://www.simscale.com/forum/uploads/default/original/3X/a/8/a8fe0eac985af6573aebd72cf1329a18075739bd.png)

### Simulation control

In **Simulation control** , change **End time** and **Write interval** to 2000 iterations. Also kindly adjust **Maximum Runtime** to 25000 seconds. You also don’t have to worry with the number of processors for the simulation run, as it is automatically optimized by SimScale:

 ![image](https://www.simscale.com/forum/uploads/default/original/3X/1/b/1b4276a5fc47744af3b6885b8d179676e3992d63.png)

We are ready to run our simulation for the first configuration! So please head to **Simulation Runs** and **Start** it:

 ![image](https://www.simscale.com/forum/uploads/default/original/3X/d/9/d93d501275fd23420393a21d5a7832f1e6d931d1.png)

Now you can also create the other configurations and run them. You can run several jobs in parallel using SimScale, so there’s no need to wait for the first run to finish. To keep the project organized, you can **Duplicate** the first **Incompressible** setup and then adjust the boundary conditions:

 ![image](https://www.simscale.com/forum/uploads/default/original/3X/e/6/e6468535dd148113aaa3ce3a2387faf16521e24b.png)

 ![image](https://www.simscale.com/forum/uploads/default/original/3X/c/3/c303e7ca39db67c156b248fb3a542f098f4dc46c.png)

Here is a table with the summary of the sets to be assigned to the boundary conditions. Please note that only the **Symmetry** boundary condition remains the same for all six configurations.

 ![image](https://www.simscale.com/forum/uploads/default/original/3X/0/a/0a8b16205c820d9699c3fca6409a23be0f113251.png)

### Post-processing

After the simulation run is finished, click on **Solution Fields** to go to the post-processing environment:

 ![image](https://www.simscale.com/forum/uploads/default/original/3X/c/1/c11827db707ac6bc4f8b92a4d0efc9fceb7e5744.png)

In the post-processing environment, there’s a panel towards the left-hand side of the screen with some filters and functions. Click on **Cutting Planes** to create a slice on the geometry. Select **X** to change the plane orientation.

 ![image](https://www.simscale.com/forum/uploads/default/original/3X/e/9/e991f0d0d7819104c595f674198321de418eb551.png)

Now we will change the scale settings to make the transitions smooth. Click on the scale bar and select **Continuous legend** :

 ![image](https://www.simscale.com/forum/uploads/default/original/3X/f/1/f1731fb0a0352660db69d75754e195d4363fe627.png)

You can also plot velocity vectors on the cutting plane. To do so, click on the cutting plane and assign **Velocity [node]** to **Vector** :

 ![image](https://www.simscale.com/forum/uploads/default/original/3X/f/e/fee43da3316a8f9fc0c792d6561962b5c3aeb9af.png)

Several recirculation zones are easily spotted using this filter.

Other useful filter to be used is **Particle traces**. It generates streamlines which allow you to see what paths particles are making in the domain.  
After creating a particle trace filter, change **Compute vector** to **Velocity [node]** and **Map scalar** to **All Velocity [node]**. Also change the surface representation to **Transparent Surface** by clicking on the highlighted icon shown below:

 ![image](https://www.simscale.com/forum/uploads/default/original/3X/a/3/a3a77b1b057315d2539f04196260fd330400111f.png)

To add streamlines, click on **SEEDS** and then on **PICK**. Select a face of interest (usually inlet or outlet). The streamlines are highly customizable. It’s possible to change spacing, radius, number of lines, shape of lines, and map coloring.

 ![image](https://www.simscale.com/forum/uploads/default/original/3X/3/b/3b26811933869e613dfa999268c8c14a04a68b63.png)

Create another particle trace, this time for the other inlet and have both of them displayed at the same time:

 ![image](https://www.simscale.com/forum/uploads/default/original/3X/6/d/6de531db60dfe5e2b959c24f0a1cd76df20f3752.png)

Similarly post-process the other configurations and compare them!

---

<div class="post-metadata">

**Author:** ![jousefm](https://www.simscale.com/forum/user_avatar/www.simscale.com/jousefm/32/34908_2.png) [@jousefm](https://www.simscale.com/forum/u/jousefm)\
**Post date:** [March 20, 2020, 1:57pm UTC](https://www.simscale.com/forum/t/session-1-aircraft-cabin-ventilation/87663/2 "2020-03-20T13:57:27Z")

</div>

Listed on March 20, 2020, 1:57pm UTC



---

<div class="post-metadata">

**Author:** ![SaiedOsman](https://www.simscale.com/forum/letter_avatar/saiedosman/32/6_449c533f586939b6e5f246632a46421f.png) [@SaiedOsman](https://www.simscale.com/forum/u/SaiedOsman)\
**Post date:** [March 12, 2022, 10:07pm UTC](https://www.simscale.com/forum/t/session-1-aircraft-cabin-ventilation/87663/3 "2022-03-12T22:07:57Z")

</div>

Hello Sir  
Sorry for bringing you back to this project, I have been trying to do this project but using convection heat transfer, to examine the temperature difference around the cabin, and also thermal comfort for passengers, my question is, do I need to change anything in the numerics panel, to obtain appropriate results, or using the same settings as above will be sufficient enough ? , thank you in advance.

---

<div class="post-metadata">

**Author:** ![Ricardopg](https://www.simscale.com/forum/user_avatar/www.simscale.com/ricardopg/32/26909_2.png) [@Ricardopg](https://www.simscale.com/forum/u/Ricardopg)\
**Post date:** [March 13, 2022, 3:03pm UTC](https://www.simscale.com/forum/t/session-1-aircraft-cabin-ventilation/87663/4 "2022-03-13T15:03:52Z")

</div>

Hi @SaiedOsman ,

Please check [this tutorial](https://www.simscale.com/docs/tutorials/internal-thermal-comfort-car/), which explores the scenario that you are interested in.

Cheers
