Required field
Required field
Required field
Required field

Documentation

# Advanced Tutorial: Thermal Comfort In a Meeting Room

This article provides a step-by-step tutorial for the full thermal comfort assessment in a meeting room using CFD simulation, including models for convective heat transfer, radiation heat transfer, and age of air.

## Overview

This tutorial teaches how to:

• Set up and run a convective heat transfer flow simulation
• Assign boundary conditions, material, and other models to the simulation
• Mesh the geometry with the SimScale standard meshing algorithm
• Set up scalar species transport analysis for the local mean age of air computation
• Set up radiation heat transfer
• Define thermal comfort parameters computation.

The typical SimScale workflow will be followed:

1. Prepare the CAD model for the simulation.
2. Set up the simulation.
3. Set up the mesh.
4. Run the simulation and analyze the results.

## 1. Prepare the CAD Model and Select the Analysis Type

First of all, click the button below. It will copy the tutorial project containing the geometry into your own Workbench.

The following picture demonstrates what should be visible after importing the tutorial project.

Please notice how the Meeting Room geometry consists only of a flow volume. As the original CAD model included the room walls, occupants, and furniture, an Internal flow volume operation was performed in CAD mode to create geometry for the volume of air. The volume of air represents the negative of the room and everything inside.

The original geometry without the flow volume extraction is included for comparison, under the name Meeting Room (Original).

Optional: Checking the flow volume extraction settings in CAD mode

If you would like to see the internal flow volume operation settings in CAD mode, make sure to select the ‘Meeting Room’ geometry and press the ‘Edit in CAD mode’ button:

To exit CAD mode, simply click on the ‘Exit’ button on the top-right corner.

Important

From now on, make sure you are working on the geometry with the flow volume extraction operation Meeting room, and not the original one presented for reference.

### 1.1 Create the Topological Entity Sets

Topological entity sets are groups of faces created at this point to be used in assignments for boundary conditions and other concepts, during the simulation setup. They can be found at the right-hand side panel:

A number of sets are already provided in the project, but one set for the window is still missing. The picture below shows how to add one:

1. Create the entity set by first selecting the window face (highlighted in red),
2. then the ‘+’ icon at the left of Topological Entity Sets in the right panel.

In the pop-up dialog that appears, name the set Window and click ‘Create new set‘.

Note

Be sure that you have created all geometry operations before adding topological entity sets. If you do it the other way round, you will loose the sets.

### 1.2 Create the Simulation

Now we can start with the simulation setup. Follow the steps presented in the picture below to create a new simulation:

1. Select the ‘Meeting Room’ geometry from the left panel,
2. then click the ‘Create Simulation’ button of the dialog:

The simulation library window appears:

Here you can select the analysis type you need.

• Choose ‘Convective Heat Transfer’ and click ‘Create Simulation‘.
• Now, you will see a new simulation tree element with it’s default settings dialog open:

Perform the following changes:

• Activate Radiation for the simulation.
• Change turbulence model to ‘k-omega SST’.
• Set Passive species to ‘1’ (This is necessary for the calculation of the age of air).

Do not forget to click the checkmark at the top to save the changes.

## 2. Set Up the Simulation

In order to have an overview, the following is a description of the simulation model and conditions:

1. Heat transfer is performed through forced convection, natural convection, and radiation.
2. Conditions for summer with an ambient temperature of 30 $$°C$$ and relative humidity of 65%
3. Output flow at the back duct, the inlet flow rate of 0.1 $$m^3/s$$ and 18 $$°C$$ at the top duct
4. The inlet flow rate of 0.1 $$m^3/s$$ and 18 $$°C$$ at the top duct
5. The radiation heat load of 200 $$W/m^2$$ at the window
6. Conductive walls to an external temperature of 30 $$°C$$ for the external walls and window
7. Adiabatic walls for the internal walls, ceiling, and floor
8. Flux power heat source of 40.79 $$W/m^2$$ for the occupants metabolic rate
9. Adiabatic walls for the furniture
10. The age of air is modeled through the local mean age of air (LMA) model by the integration of a transported passive scalar.

You can explore the corresponding faces for each condition by clicking the topological entity sets at the right panel.

Note

The above situation has some convection induced by the ventilation system and the window is considered to be closed. You will also find a version without forced ventilation by the ducts and the window considered to be open later in the tutorial.

### 2.1 Global Model – Setting Up Age of Air

Select the Model tree element to specify the scalar transport properties and gravitational acceleration. For the LMA (local mean age of air) model, the following parameters are used:

• Turbulent Schmidt number: ‘1’.
• Diffusion coefficient: ‘1e-9’.
• And for Gravity, please set ‘9.81’ $$m/s^2$$ in the negative Z direction.

### 2.2 Material

To define and assign a material, please click on ‘+’ next to Materials. Doing so, the SimScale material library will pop up:

1. Select ‘Air’ from the materials library and click ‘Apply’.
2. As there is only one flow volume, it is automatically assigned.
3. Accept the selection with the check mark button.

### 2.3 Boundary Conditions

Now we need to set up the boundary conditions presented in Figure 10. Note that there are two versions of the setup:

1. Forced convection: The ventilation system provides airflow within the room and the window is considered to be closed.
2. Natural convection: The ventilation system does not provide airflow and the window is considered to be open.

However, we will start with the settings necessary for both scenarios, later on you can decide which scenario you want to simulate.

#### a. Internal Walls / Floor / Ceiling

Internal walls are assigned as a wall boundary condition, and as they are facing the inside of the building, they are considered adiabatic.

Create a ‘Wall’ boundary condition and assign the Internal wall, Ceiling, and Floor sets, have a look at Figure 4 to see where to find the topological entity sets. Set up the parameters as shown in the reference picture:

#### b. Occupants

For the occupants, a wall boundary condition is also used, this time with a heat flux power source to model the metabolic heat generation rate. Create a ‘Wall’ boundary condition and assign the Occupants set. Set up the parameters as shown in the picture:

#### c. Furniture

For the furniture, a wall boundary condition is also used, with adiabatic thermal behavior. Create a ‘Wall’ boundary condition and assign the Furniture set. Set up the parameters as shown in the picture:

#### d. External Wall

For the external wall, a wall boundary condition is also used, with a thermal wall model and convection to the exterior. Create a ‘Wall’ boundary condition and assign the External Wall entity set. Set up the parameters as shown in the picture:

You can add a natural convection setup to simulate a model without air conditioning, where the window is open for natural cooling, or a forced convection setup to simulate the scenario when the window is closed and the air conditioning is on.

#### a. Flow Inlet

A flow velocity inlet boundary condition is created according to the following picture:

1. After hitting the ‘+’ button next to Boundary conditions, a drop-down menu will pop-up where different types of boundary conditions can be chosen.
2. Select ‘Velocity inlet’ from the list.

Now the setup for the velocity inlet boundary condition will pop up:

• Set a Volumetric flow rate of ‘0.1’ $$m^3/s$$,
• Temperature of ’18’ $$°C$$,
• Passive scalar remains at ‘0’ to model fresh air with zero LMA.
• For the assignment, select the inlet face. You can find it as the predefined Inlet entity set in the geometry tree on the right side of the Workbench.

#### b. Flow Outlet

For the flow outlet boundary condition, follow the same procedure, but select a ‘Pressure outlet’. Leave all values as default and assign the Outlet set, as shown in the image:

#### c. Closed Window

For the window, a wall boundary condition is also used, but this time with a layer wall thermal model, convection to the exterior temperature, and an external radiation source to model sunlight. Create a ‘Wall’ boundary condition and assign the Window set. Set up the parameters as shown in the image:

#### a. Natural Convection Inlet/Outlet

For the natural convection boundary condition, select ‘Natural convection inlet/outlet’. Assign the Ambient temperature as the expected temperature surrounding your model. Radiation effects on the inlet and outlet won’t be considered with the ‘Transparent’ radiative behavior applied.

#### b. Open Window

For the window, a natural convection boundary condition is used, similar to the one applied to the inlet and outlet faces but this time define the Additional radiative source as 200 $$W/m^2$$ This setup takes into consideration an external radiation source to model sunlight and the open boundary conditions allowing the air to circulate through the surface in both directions:

Under advanced concepts, you can define further advanced physical conditions to set up your simulation. For this tutorial, you need to define a passive scalar source.

#### a. Passive Scalar Source

For the LMA aging model, a ‘Volumetric passive scalar source’ is used, as shown in the image:

2. Click the ‘+’ button next to Passive scalar sources,
3. Select ‘Volumetric passive scalar source’.

Assign the flow region to the concept and specify a Flux value of 1.

For thermal comfort simulations, these options might be interesting:

1. Power sources: With those, you can define additional power sources to volumes. If you do not have the corresponding volume in SimScale use geometry primitives.
2. Momentum source: You can utilize those to model fans. They are also applied to a volume. They accelerate the flow to a specified velocity and direction.

### 2.5 Numerics and Simulation Control

For the numeric solver parameters, the only change made is the addition of non-orthogonality correctors. This will improve the convergence for the tetrahedral mesh created by the Standard mesher algorithm. Setup the Number of non-orthogonal correctors as shown in the picture:

1. Click on ‘Numerics’ to display the solver parameters.
2. Set the Number of non-orthogonal correctors to ‘4’.

Setting Relaxation type to ‘Automatic’ might speed up the convergence. Consider this option if there are divergence issues.

Regarding Simulation control, we keep the setup to the default values.

### 2.6 Result Control Items

Result control items are used to retrieve specific computations from the numerical solver. By using them, we can have a look at specific variables at specific regions by querying the computation and output of our quantities of interest.

#### a. Local Mean Age of Air

In order to measure the average LMA at the outlet face, a Result control item is used. It is created as shown in the picture:

1. Expand Result control,
2. Click the ‘+’ icon next to Surface data,
3. Select ‘Area average’.

Assign the Outlet set and check that the setup coincides with the picture:

#### b. Thermal Comfort Parameters

Thermal comfort parameters are also queried in the result control items, under Field calculations. Create the concept as shown in the picture:

1. Click the ‘+’ button next to Field calculations,
2. Select ‘Thermal Comfort Parameters’.

Set up the parameters as shown in the picture:

• In this case, the Clothing coefficient is ‘0.5’,
• the Metabolic rate is ‘1.0’,
• and the Relative air humidity is ‘65%’.

A description of the computed quantities and resulting fields can be found on this SimScale documentation page: Thermal Comfort Parameters.

## 3. Mesh

In the mesh setup, change Fineness to ‘7’. Under Advanced settings set the Small feature suppression to ‘0.004’ $$m$$. You do not need to click Generate, as the mesh will be computed as part of the simulation run.

## 4. Start the Simulation

Now that the simulation setup is complete, a new ‘Simulation Run’ can be created to perform the computation. In the following picture, the whole tree setup is shown, and the item to create the simulation run is highlighted:

In the pop-up window, press ‘Start’ to immediately begin the computation run. If the software predicts a higher duration of simulation and exceeding maximum runtime you can choose to ignore it or go back to simulation control settings and increase the maximum runtime value.

The computation takes around one and a half hours to complete. If you can’t wait to see the results, at the end of the article there is a link to the completed version of the project.

## 5. Post-Processing

We will use the integrated post-processor to visualize the temperature inside the meeting room, evaluate the thermal comfort of the room by visualizing the Percentage Mean Vote (PMV), and the local mean age of the air.

Before starting to post-process the results, make sure that there are no predefined filters. You can delete existing filters at any time by clicking on the dustbin icon next to them. Furthermore, please ensure that you are at the last timestep of your simulation by sliding the Iterations selector all the way to the right. Lastly, hide the Flow region in the MESH dialog by clicking on the ‘eye’ icon.

### 5.1 Temperature

Visualize the temperature by selecting ‘Temperature’ as the Coloring for your parts. Change the units of temperature to Celsius by clicking the units in the legend and selecting ‘°C’ and change the maximum temperature visualized to ’40’ $$°C$$. Hide the walls of the room by selecting them and right-clicking on your mouse to select ‘Hide selection’. The temperature distribution inside the room can be seen in the figure below:

From the figure above, we can see that the bodies emit heat and that the temperature increases as it is further from the inlet. The room is unevenly heated with the floor being slightly cool to neutral as we progress towards the ceiling where it is slightly warm.

### 5.2 Predicted Mean Vote (PMV)

Next, we will focus on visualizing the thermal comfort parameters, which are the predicted mean vote (PMV) and predicted percentage dissatisfied (PPD). The thermal comfort parameters will be visualized by using the cutting plane filter. Follow the steps below to create a cutting plane:

1. Select the filter of interest from the top ribbon to create a new filter
2. Configure the cutting plane, so that it is placed at the mid-height of the room. Adjust the Position of the cutting plane by using the following coordinates: ‘2.35, 0.5, 0.785’. The Orientation of the cutting plane should be in the ‘Z’ axis and change the Coloring to the ‘Predicted Mean Vote’. Disable the Clip model slider, so that the model is not clipped.

Using the same approach from above, create a second cutting plane normal to the ‘X’ axis. The predicted mean vote (PMV) thermal comfort index distribution is displayed in the following picture:

The value of the index is clipped to the recommended range of [-3, 3]. This way, we can visualize the areas that are below and above them, with blue and red colored regions respectively.

### 5.3 Local Mean Age (LMA) of Air

You can access the Local Mean Age (LMA) by selection ‘T1’ under Area average 1 in the simulation run, which calculates the average quantities at the outlet. The Local Mean Age (LMA) was computed at around 330 seconds for the forced convection scenario:

The distribution of the LMA across the room can also be visualized using cutting planes. Add the velocity vectors by sliding the slider besides Vectors and change the Coloring to black Solid color, with a Scale factor to ‘0.5’.

The settings for the cutting plane in the y-axis and the final distribution for the LMA can be observed as below:

Blue regions show areas with fresh of air and red regions show areas with high age of air. Red areas represent stagnation regions, with poor ventilation.

Analyze and explore your results with the SimScale post-processor. Have a look at our post-processing guide to learn how to use the post-processor.

Congratulations! You finished the tutorial!

Last updated: February 3rd, 2022