1. Introduction
Building envelopes serve as interfaces between indoor and outdoor environments and are significant components in improving human comfort and building energy efficiency [
1]. As a critical success factor for a sustainable building environment, adaptation aids in coping with variable environmental conditions (e.g., solar radiation and wind) instead of anticipating potential damages and uncomfortable conditions for humans [
2]. Kinetic architecture has been an adaptation technique since 1970 [
3] and the parametric approach as a design method has helped eliminate many uncertainties associated with static and traditional methods of architectural design [
4]. Parametric design tools aid in providing multiple solutions to geometrical problems while allowing for updates to input and output design parameters at any stage of the design process [
5,
6].
Incorporating morphological design parameters into optimisation processes is necessary for achieving optimum architectural solutions. The morphological aspects of building envelope design can significantly impact occupant comfort and satisfaction, and environmental simulation serves as the basis for initiating the formulation and design of adaptive façades. This is because it empowers designers to evaluate how diverse façade configurations respond to fluctuating environmental conditions and their direct impact on human comfort [
7,
8]. Therefore, to adapt to the dynamic fluctuations of external environmental conditions, it is suggested that a combination of form-finding approaches, parametric methods and optimisation processes be used to respond to various weather conditions [
9].
This study introduces a parametric methodology that optimises building envelope performance, prioritises visual comfort and airflow and enhances utility and occupant well-being, with a primary focus on beauty salons. These dynamic environments pose challenges due to extended client stays and chemical use, necessitating effective ventilation. Additionally, staff require glare-free illumination for sensitive tasks on their work plans. This research addresses a critical gap in building envelope design by emphasising the integration of airflow, ventilation, daylighting and occupant considerations. Neglecting these factors can compromise comfort and energy efficiency, necessitating a comprehensive approach. While daylight and ventilation are often studied separately, integrating both with attention to space utility, spatial layout and human activity is often overlooked. Additionally, when daylight and ventilation are studied separately, the improvement of one could potentially result in the worsening of the other.
The study hypothesises that by integrating parametric daylight simulation, CFD analysis and linear multiobjective optimisation, and taking into consideration interior spatial layout, occupants’ locations and their activities, adaptive building envelopes can be created to significantly enhance indoor environmental quality. Specifically, the goal is to develop a methodology to enhance visual comfort and air quality while maintaining a comfortable range of air temperature and velocity for human comfort, thereby contributing to sustainable and occupant-centric building design practices.
2. Literature Review
Adaptive façades have emerged as a critical component of building design, with a particular emphasis on enhancing visual comfort. In recent years, remarkable progress has been witnessed in the areas of form-finding, morphological optimisation and automatic control of adaptive façades, mostly aimed at enhancing visual comfort in buildings. The process of form-finding in adaptive façades has undergone a transformative shift, with architects and engineers increasingly turning to parametric modelling and generative algorithms to create innovative façade designs.
These methods enable the optimisation of façade morphologies to manage natural light penetration and minimise glare [
9]. For instance, Eltaweel and Su [
10] showcased the use of parametric modelling to design a responsive façade that dynamically adjusts its shape to optimise daylighting and visual comfort throughout the day. A set of louvers responded parametrically to the sun’s movement, aiming to manage the daylight inside the building envelope to achieve visual comfort for the occupants. These louvers parametrically reflected part of the sun’s rays over the ceiling surface, allowing effective daylight distribution in south-oriented façades located in the Northern Hemisphere. Eltaweel and Su [
1] explored various scenarios for louver configuration, striving to identify the most effective combinations. In a related study, Fahmy et al. [
11] presented a kinetic façade system designed to enhance daylighting performance in buildings with western orientations by dynamically responding to the sun’s position. Additionally, an integrated parametric simulation-based approach has been developed to optimise roller shade control. This approach aims to balance various occupant comfort factors, including daylight, glare, outdoor views and thermal comfort, while also managing HVAC efficiency [
12].
In addition, there are also approaches that explored complex parametric geometries for adaptive façades to improve visual comfort [
13]. In comparison to the performance of conventional static shading in the same location and test cell, the point-in-time evaluation indices for visual comfort quantity showed better daylight performance with the proposed kinetic south-oriented façade [
14].
Researchers often employ a combination of parametric and simulation methodologies to investigate the morphological aspect of adaptive façades and assess their impact on improved visual comfort performance. This approach incorporates both annual indices, such as the useful daylight illuminance (UDI), and point-in-time indices, including glare indices and illuminance measurements. This multifaceted evaluation approach allows for a comprehensive analysis of visual comfort, considering both long-term performance trends and momentary conditions [
15].
Integrating the user/occupant and their comfort needs into façade design constitutes a pivotal enhancement in the creation of adaptive façades. This approach signifies a commitment to elevating the quality and functionality of architectural solutions. It enables designers to craft façades that align with occupants’ comfort needs [
16]. This consideration not only fosters a heightened sense of well-being but also enhances overall building performance. Traces of this user-centred architectural design approach can be found in traditional architectural practices around the world. In vernacular architecture, buildings have long been shaped by the needs and comfort of their inhabitants. In modern practices, however, such importance is often neglected [
17].
For integrating users into adaptive façade design for improved natural ventilation, there is a lack of methodology in the parametric style of design and practices. By integrating aspects of occupants’ behaviour with other environmental stimuli and engineering considerations, the adaptive building envelope can achieve a higher level of functionality.
Building on the idea of integrating occupants and their needs into adaptive façade design, recent studies have explored innovative approaches. In a study by R. A. Rizi and A. Eltaweel [
18], a parametric adaptive façade design method was proposed, which utilised innovative geometry to address occupant task surfaces and locations in order to enhance their comfort. Additionally, in the pursuit of improved visual comfort through a transformable façade, Hosseini et al. [
19] parametrically incorporated the occupants’ locations within the space, aiming for an interactive and robust façade design. The design utilised modular geometry capable of transformation in depth and opening areas.
Expanding on the notion of integrating users into adaptive façade design, especially when it comes to enhancing natural ventilation while considering visual comfort, it is important to note that there is currently a lack of methodology in parametric design and practices [
20].
Natural ventilation offers significant potential for cooling and enhancing indoor air quality (IAQ) within non-air-conditioned buildings, especially in dry, mild and temperate climate zones. This potential can be used to design adaptive building envelopes that not only make the indoor environment more comfortable but also improve the health and well-being of the people inside [
21,
22].
In the process of natural ventilation, airflow forces and buoyancy help to provide the space with outside fresh air via airflow distribution. The factors influencing the efficacy of natural ventilation control encompass several key elements, including façade design, window dimensions, window shape, their placement on façades, the type of openings they provide and their respective areas and angles. Additionally, the impact of shading geometry is significant. Furthermore, dynamic environmental conditions and the arrangement of furniture within the space can influence natural ventilation control, some of which are neglected during the initial design phases [
23]. For effective natural ventilation and guided airflow, architectural design aspects including form, context, spatial layout, human location and surrounding environment should be considered as influencing factors [
24,
25].
Yoon and Malkawi [
26] employed a parametric approach to evaluate natural ventilation in various design alternatives, providing insights into the energy performance of building envelope solutions. Building on this, a subsequent study [
27] utilised parametric methods to investigate wind-induced airflow in a façade design conducive to cross ventilation. This was achieved through CFD simulations and optimisation techniques, assessing curved façade morphologies to identify optimal airflow velocities for enhanced occupant comfort.
In another research study [
22], the efficiency of cross-ventilation and single-side ventilation using ventilation panels was assessed for a high-rise building unit. Airflow velocity and air changes per hour (ACH) were calculated, demonstrating a fourfold improvement in airflow velocity and a 27% increase in ACH with the use of ventilation panels compared to conventional building configurations. These improvements were contingent on external wind speed and building location.
Furthermore, Arinami et al. [
28] evaluated the impact of opening guide vanes and adjacent structures on the quality of single-side natural ventilation. They employed a methodology involving computational domains and fluid dynamic simulations, which revealed enhanced airflow within guide vane surfaces. As a potential avenue for future research, they highlighted the importance of optimising the location, size and angles of openings and guide vane surfaces, particularly in the context of cross ventilation.
In their study, Assimakopoulos et al. [
29] calculated airflow rates for various window sizes and opening configurations to regulate natural ventilation. Similarly, Sacht and Lukiantchuki [
30] evaluated and compared how different window sizes influence the natural ventilation conditions using CFD simulations. Their research did not take into account the use of window shading, however. There are also instances of articles that have concentrated on foldable adaptive shading systems intended for wind generators but they do not incorporate the redirection of airflow for interior ventilation coupled with enhanced visual comfort [
31].
Integrating daylight and ventilation within a multiobjective façade design yields several objective advantages compared to evaluating each aspect separately. By strategically combining considerations for both daylight and ventilation, designers can harness the dual advantage of redirecting airflows for improved natural ventilation, effectively creating shadings that are multifunctional, adaptable and occupant-centric. In this way, the integration harmonises crucial environmental, economic and human factors, delivering a comprehensive and efficient solution [
32,
33,
34].
Passive and active façade design strategies are fundamental tools, as well as a design approach, especially for commercial projects. By integrating sunlight, airflow and temperature data from climate sources during the initial design phases, a new architectural sensibility can emerge, with a focus on optimising daylighting and ventilation performance [
35]. For instance, the prototype in K. Johnsen, et al.’s article [
36] serves as an example of a smart façade incorporating exterior modules capable of vertical and horizontal movement to enhance solar heat gain, ventilation and daylighting. The system’s geometry has been intentionally kept simple due to limitations in available marketable frames and materials. It has also undergone experimental testing to validate its proof of concept. Therefore, unconventional parametric geometry potential has not been explored in the system’s morphology.
The Albahr towers feature one of the earliest examples of a complex parametric façade morphology designed to serve as both shading and wind protection [
37]. The innovative skin of the towers was carefully crafted and implemented to provide these functional benefits while enhancing the buildings’ aesthetic appeal. To protect against undesirable environmental effects, the Albahr towers’ façade is designed to dynamically respond to environmental fluctuations. The façade features openings that can be closed or adjusted as needed to provide the necessary level of wind and sand protection from the exterior part of the windows. This enables the buildings to maintain a comfortable and safe interior environment even in challenging weather conditions. Additionally, the mechanism for ensuring interior visual comfort involves shading the space from incident solar radiation. However, the mechanism is kept simple for open and closed scenarios in response to occupants’ activities and task locations. Therefore, no intermediate or calculated scaled opening fixtures are included for directed ACH [
37].
Expanding upon the concept of integrating sun shading and airflow, Sun et al. (2018) [
38] evaluated a laboratory building’s façade by calculating airflow, wind velocity and daylight uniformity. The results indicated that the sunshades improved the thermal conditions and reduced energy consumption of the building when compared to limited scenarios of shadings that used daylight simulation and CFD analysis without detailed consideration of the physical layout.
Omar Elshiwihy and Nasarullah Chaudhry [
39] conducted a parametric study on external and internal shading devices and established their impact on energy consumption, daylight levels and ventilation. The work involved simulation CFD and numerical methods. The results revealed that optimised shading can positively influence the enhancement of daylighting, reduction of glare and improvement in ventilation parameters. Despite all external and internal shading options showing improvements, the egg crate shade was determined to provide the optimum energy savings while enhancing daylight and improving natural ventilation for sustainable building design. Egg crate shades are a type of light diffuser used to control and soften the brightness of overhead lighting in buildings. They resemble a grid or lattice of small, interlocking cells, similar to the shape of an egg crate. Traditional practices have commonly included this approach [
40]. However, the use of unconventional geometries in a parametric context has only recently begun to be applied for parametric daylight management [
41], and it has not yet been widely used for ventilation management.
3. Materials and Methods
The methodology employed a parametric approach, utilising the Grasshopper plugin of Rhino to define design inputs and parameters. Grasshopper excels in generating unconventional forms, managing design variables and integrating environmental analysis plugins within its graphical environment [
42,
43]. Through this parametric approach, the methodology investigated evaluation criteria and an optimisation process to enhance visual comfort, ventilation and airflow, taking into account occupants’ locations and interior spatial adjustments. The method followed a parametric approach to propose and assess an adaptive façade design, comprising four crucial steps. These steps relied on specialised software tools, metrics and criteria to address key aspects.
In the first step, modelling, the focus lay on building a foundation for the subsequent phases. It encompassed the modelling of the conventional, current scenario, allowing for a baseline comparison against potential transformations. Furthermore, this stage involved setting crucial assumptions and identifying independent variables, which served as the building blocks with a transformable façade for the entire methodology.
The second step, environmental analysis, delved into the examination of climatic data. It involved the analysis of wind data extracted from weather files. Wind infiltration assessments were conducted based on wind speed, temperature and wind direction. The initial prerequisites for daylight analysis were established, including the preparation of essential elements such as the sky matrix, the daylight exposure environment, the interior 0.35 × 0.35 m grid for illuminance analysis on task surfaces and occupants’ field of view settings [
44]. Critical daylight availability settings were also configured. This step enabled a detailed understanding of the environmental conditions that will impact the design.
Step three, simulation, involved the in-depth examination of how the building’s exterior and geometry influenced the indoor environment. This stage included critical components such as daylight simulation and the application of CFD techniques, accompanied by mesh independence analysis. These simulations helped in predicting how design choices affected occupant comfort and environmental performance.
The final step, optimisation, was the culmination of the entire process. It encompassed multiobjective optimisation, which harmonised the insights gained from previous steps. This step involved connecting the findings to the weather file and wind analysis, setting specific comfort criteria and selecting performance indices to guide the design. The establishment of boundary conditions ensured that the design aligned with the project’s goals, followed by the implementation of criteria-driven ventilation strategies. The iterative nature of this step ensured that the design continuously evolved and improved, culminating in an optimised and environmentally responsive built environment.
Figure 1 illustrates the step-by-step methodology for integrated design and optimisation, showcasing the tools employed at each stage.
3.1. Case Study and Assumption
To conduct this research, a beauty salon located in Tehran, Iran, a region rich in daylight in the Northern Hemisphere [
45,
46] was used as a test cell.
Research on the indoor air quality of beauty salons has revealed that occupants’ exposure to various cosmetic chemicals, typically used in these spaces, can substantially impact their health. This is especially concerning when it comes to the levels of volatile organic compounds in the space [
47]. The activities performed in beauty salons require a high level of concentration, especially with regard to visual comfort. Excessive glare, whether from sunlight or reflections off furniture, can reduce people’s productivity and their tolerance for uncomfortable conditions in these spaces. Therefore, a well-balanced natural ventilation system, in conjunction with the proposed façade in this study, would benefit the occupants while also potentially reducing energy consumption as a by-product of this process.
Figure 2 illustrates the current setup of the test cell, showcasing its layout, furniture, dimensions and the location and posture of the occupants. The salon can accommodate six employees, including four seated around the central task surface and two standing in front of mirrors. Both the task surface for seated occupants and that for standing occupants are depicted in
Figure 2. For sitting occupants, the evaluation surface is located at a distance of 0.7 m above the floor. For standing occupants, a one-by-one hypothesised evaluation surface is allocated, with each one located 1.2 m above the floor, serving as a representation of the task surface. In the current space, there are two openings: one in the south-oriented façade and the other in the north façade. Both windows are vertically operable.
The test cell design draws inspiration from many female beauty salons in Tehran, where immediate outdoor access and street views are often limited. The central area is typically used for nail trimming and polishing, with wall mirrors in the surrounding space for chemical applications. To comply with health regulations, the salon owner must choose a location approved by the authorities, including windows for natural ventilation. This spatial layout can be found in some other countries too [
48].
Independent Variables
The south window of the test cell is 1.20 m high and the same length as the wall. This window is 0.8 m above the floor level while the north window is 1.10 m high and the same length as the wall. This window is 2.90 m above the floor level. The height of the south window was further set as one of the independent variables for the optimisation process while the dimension of the north window was kept the same as the current condition. Both windows are kept open during the simulation process.
After modelling the geometry of the space in the Autodesk Rhino 3D environment, critical daylight availability dates, year-round, in the region, were detected [
10]. The minimum and maximum daylight availabilities, 21 December and 21 June, respectively, were the critical dates selected for the simulation and optimisation process in this paper. Furthermore, the morning, noon and afternoon times—10 a.m., 1 p.m., and 4 p.m., respectively—were chosen in accordance with the methodology outlined in references [
10,
14]. These selections were made to encompass the most probable daylight availability scenarios that occur in this region.
Table 1 displays the critical times of the year in terms of daylight availability and the wind characteristics on those days, which were selected for natural ventilation in this study. Consequently, the dates for CFD analysis were restricted to align with those used for daylight analysis. This adjustment was made to narrow down the scenarios for conducting CFD analysis, given the resource-intensive nature of this analysis in terms of both time and hardware limitations.
Following this, an examination of the dominant wind directions and their potential for enhancing natural ventilation and improving ACH (air changes per hour) was conducted. This analysis was based on parameters such as airflow speed and air temperature at the specified times. For wind speed analyses, Grasshopper, Ladybug, was used to import the weather data file. As for air temperature analyses, the Universal Thermal Climate Index (UTCI) was chosen rather than using dry bulb temperature. This way, a real sense of external airflow quality became attainable, since UTCI takes into account dry temperature, relative humidity, solar radiation and air velocity to demonstrate an environmental temperature [
49]. The range for this criterion was selected to be between 20.30 °C and 26.7 °C [
50]. This range aided in evaluating the suitability of outside air for natural ventilation. Consequently, this classification was then employed to shape the design of the proposed façade morphology.
The red colour in
Table 1 indicates the period during which airflow does not have the potential for natural ventilation. In this study, such airflows are termed unpleasant wind, while the blue ones represent periods appropriate for natural ventilation. These winds were termed pleasant wind. The proposed façade design aimed to enhance both of these airflows, thereby improving ACH and the comfort of occupants, while also taking into consideration the improvement in visual comfort for the occupants. Additionally, during times when the outside air was extremely cold or hot, or when the wind speed was very high, the windows were closed and the façade was served to control indoor lighting.
The façade geometry logic used in this paper was similar to that in the study conducted by Hosseini et al. (2019) [
19]. However, there is a distinction in this study’s objective, which focuses on developing a façade design methodology that enhances both visual comfort and airflow rates. In reference [
19], the author utilised façade geometry to primarily enhance visual comfort, specifically considering the occupants’ positions in an office space in Tehran.
The formation of the façade geometry began with gridding the southern wall and allocating each grid to a façade module.
The variables used to create the transformable geometry for each of the façade modules include horizontal movement, vertical movement, depth, opening scale (
Figure 3) and sun position in the sky based on critical months and hours. To make the façade geometry responsive to both unpleasant and pleasant winds, the control mechanism in
Figure 3 was utilised. The line between the centre point and the base of the pyramid of façade geometry modules is perpendicular to the unpleasant wind, while the line between the centre point and the base of this pyramid is parallel to the pleasant wind direction (see
Figure 4). This design ensures that the interior space receives more pleasant airflow while diverting unpleasant airflow away from the interior.
Figure 5 illustrates the façade geometric variables along with their associated codes to be entered into the optimisation process for discovering the optimum shape. The depth of shading varies based on the geometric attraction point of the sun’s location in the sky, with this parameter ranging from 0.0 m to 0.6 m. The scaling aspect of this formation relies on the geometric attraction of the distance from the sun’s location in the sky, leading to a remapping into upper and lower ranges. The mention of “Upper limit” and “Lower limit” percentages indicates specific thresholds or limits for these geometric transformations. The mathematical explanation of the attraction point is in the study carried out by Guo (2018) [
51].
For glare analysis, the locations of the occupants and their respective fields of vision were selected and named as P1, P2 and P3. These selections were made to encompass the most probable scenarios of occupants’ visual discomfort considering the furniture layout.
Figure 6 illustrates these three locations and the directions of sight.
The material properties of the test cell and the proposed shading are outlined in
Table 2. Furthermore, the selection of material reflectivity was determined through an initial test conducted within a limited set of simulations to identify the reflective properties that would best enhance visual comfort results in various seasons.
Due to hygiene regulations, the need for easy cleaning, and the minimisation of chemical and dirt absorption, it is suggested that appropriate materials, such as ceramic, be used for the floors and walls in a beauty salon [
52]. Ceramic tiles typically exhibit modest reflectivity towards solar energy, ranging from a maximum of roughly 60% down to a minimum of 17.3%. As a result, they can be considered effective at absorbing solar energy and are categorised as strong absorbers of solar radiation [
53]. In this study, two different ceramics had been used for the walls and floor. The reflection property of the ground was learned from [
54]. Additionally, the choice of material reflectivity was determined through an initial test conducted within a limited set of simulations to identify which reflective properties would best suit visual comfort results in different seasons.
Table 2 shows the material properties of the modelled elements. The materials were chosen from a range of white and beige tones because, in a hot climate, they exhibit lower thermal absorption properties [
17].
Table 2.
The material properties of the modelled test cell and its spatial layout and the proposed shading.
Table 2.
The material properties of the modelled test cell and its spatial layout and the proposed shading.
| Reflectance | Transmittance | Refraction Index | Roughness |
---|
Walls | 50% | - | - | 0.05 |
Ceiling | 45% | - | - | 0.05 |
Window glass | - | 75% | 1.52 | - |
Floor | 30% | - | - | 0.10 |
Ground | 10% | - | - | 0.05 |
Mirrors | 99% | - | - | - |
Desks | 60% | 0% | 0 | 5% |
The conventional shadings (concrete) [54] | 30% | 0% | 0 | 5% |
The proposed shading (textile) [54] | Reflectance: Red: 16% Green: 36% Blue: 2% | 0% | Diffuse: 0.06% Specular: 0.1% | 0.2% |
Human body (Adopted from the article of Lister et al. [55]) | 7% | 0% | 0 | 25% |
In this study, an optimisation process was used parametrically based on several variables of the façade morphology including height of openings, horizontal movement, vertical movement, depth and scaling (see
Figure 3). These variables are introduced to the multiobjective optimisation environment to produce 216 alternative façade forms.
3.2. Visual Comfort Analysis
For assessing visual comfort, the Honeybee plugin was employed as a tool [
56]. The Useful Daylight Illuminance (UDI) index was chosen for the annual daylight performance evaluation [
57,
58]. This index is defined as “the percentage of occupied time in a year when the daylight quantity in indoor environment falls in a predefined useful range”. This index includes a lower bound and a higher bound of the useful daylight ranges defined as Underlit UDI and Overlit UDI. The appropriate UDI falls within the range of 300 to 3000 lux (
Table 3). The three above ranges defined for this study are presented in
Table 3, following the range defined in the study by Nabil and Mardaljevic (2005, 2006) [
57,
58].
When greater luminance than what is versatile for the occupants’ eyes and visual activity exists in a space, visual inconvenience known as glare happens [
44]. In this study, the Discomfort Glare Probability (DGP) Index was used to evaluate visual comfort quality. This index was defined by Wienold and Christoffersen (2005) [
60] and validated by Wienold and Christoffersen (2005) [
61]. For DGP analysis, the amount of illuminance and the source of light, as well as the occupants’ point of view, should be determined according to their position inside the space. For interpretation of the DGP results, the level of discomfort sensation is defined as more than 0.45 (intolerable), 0.35–0.40 (disturbing), 0.3–0.35 (perceptible) and less than 0.3 (imperceptible) [
44].
To assess the glare based on the DGP Index, first, the amount of illuminance, the corresponding sources of light and the occupant’s viewpoint were determined according to their position within the space. Then, a backwards render was performed using radiance in high dynamic range (HDR) format [
62]. Consequently, Evalglare software (v1.04) was used to evaluate and detect glare in a 180-degree fisheye scenario [
60]. The DGP formulation is shown in Equation (1).
In Equation (1), Ev is the vertical eye illuminance produced by the light source (in lux). LS is the source’s luminance [cd/m2] and the solid angle of the source viewed by an observer is ωs. P stands for position index, which expresses the change in the perceived uncomfortable glare as a function of the source’s angular displacement (azimuth and elevation) from the observer’s line of sight.
3.3. Ventilation Analysis
Natural ventilation is a method to refresh the stagnant air inside a building with fresh outdoor air. This method relies on the inherent movement of air and does not rely on mechanical systems for operation. Instead, it harnesses passive physical processes like wind pressure and the stack effect. Natural ventilation openings can either be fixed or adjustable, with adjustable ones being either automatically controlled, occupant-operated or a combination of both. This approach is a vital element of environmentally friendly building design, contributing to improved indoor air quality, enhanced thermal comfort and increased energy efficiency. There are three primary types of natural ventilation that can be incorporated into building designs: single-sided, stack and cross ventilation [
63].
Cross ventilation (which has been used in this study) is a type of natural ventilation that combines wind pressure and the stack effect to produce an airflow through a building. Cross ventilation necessitates openings on at least two sides of the building, and the wind pressure creates a pressure disparity that propels air through the building [
63].
In a naturally ventilated building, the air is driven in and out because of pressure differences produced by wind and/or buoyancy forces. Three approaches are designated in the literature to study natural ventilation: empirical models, experimental measurements and CFD simulations. CFD simulation is becoming popular due to its informative results, low cost and requirement for little equipment [
64]. In this study, CFD simulations were conducted using Ladybug Tools (Butterfly), where a set of simulation processes utilising validated engines was combined to create a hybrid workflow. The CFD simulations were conducted using the Butterfly tool [
65] coupled with the OpenFOAM [
66] interface to calculate ACH, velocity and temperature for natural ventilation.
The first step in setting up this simulation workflow was to create the geometric representation of the building’s indoor and outer façade. For each geometry, the corresponding boundary conditions were also required. Consequently, boundary conditions for the surfaces of the geometries, including all building walls, roof, ground, floors and outer façade, were introduced into the algorithm.
Another step was to define a refinement level for the geometry. For the wall refinement, a boundary of (3, 3) was chosen. This refinement was used for snappy Hex Mesh to create high-quality hex-dominant meshes based on arbitrary geometry [
67]. These refinements can flexibly improve the quality of the final mesh geometry, resulting in a higher resolution of edges, surfaces and inside or outside volume mesh geometry [
68].
Butterfly has two types of indoor and outdoor airflow simulations. In this study, we incorporated an outdoor simulation scenario that included a surrounding volume to define the wind tunnel around the test cell. The inclusion of this surrounding volume serves several important purposes. Firstly, it ensures that the airflow in the simulation is fully developed both to the windward and leeward sides of the objects. This is crucial for accurately capturing the complex flow patterns around buildings and façades. Secondly, the surrounding volume allowed for the implementation of a refinement region, as suggested by Zhao et al. [
69], where values were assigned to grid cells based on best practices for CFD modelling. Specifically, we applied up to three levels of refinement to all cells near the building and façade surfaces, following the recommendations in references [
70,
71,
72].
To initiate the CFD analysis, the wind tunnel was configured to be four times the height of the building, extending five times further in front and to the sides and ten times downwind of the building to ensure undisturbed flow conditions [
73]. Another critical step involved selecting the mesh type for the CFD simulations, as it directly influences the accuracy and efficiency of airflow modelling [
74]. In our study, we initially employed structured meshes, which consist of grids composed of structured cells like hexahedra (in 3D) or quadrilaterals (in 2D) [
75]. These meshes offer high orderliness and prove efficient for certain geometries, particularly those with well-defined boundaries. They were created using preprocessing tools such as snappyHexMesh and blockMesh in OpenFOAM, allowing for mesh generation and manipulation according to specific requirements [
76].
In order to generate grid grading in the wind tunnel, a set of values, as listed in
Table 4, was defined. These values determine the number and dimensions of cells for the CFD analysis mesh structure. The cell size value was the area of interest, which is illustrated in
Figure 7 in red and the cell-to-cell ratio expansion ratio is how cells expanded. Also, the wake offset defines the length to be added to the end of geometry bounding box to be considered as part of the area of interest.
Table 4 presents the tunnel grading settings.
The next step involved configuring the settings for snappyHexMesh to create high-quality hex-dominant meshes based on arbitrary geometry [
67]. snappyHexMesh is a mesh generator tool that is part of the OpenFOAM software (V.5.x), specialising in generating three-dimensional unstructured or hybrid meshes [
73]. In this study, the centre point of snappyHexMesh was positioned at the centre of the test cell and the refinement range for snappyHexMesh was set to (3, 3).
To create high-quality hex-dominant meshes that accurately capture intricate and arbitrary geometries, we meticulously applied a strategic refinement strategy with a boundary of (3, 3) using snappyHexMesh tools. This strategy involves densifying the mesh near walls and areas of interest, significantly enhancing the fidelity of the mesh geometry. The increased resolution represented boundary layers, flow separations and other intricate flow phenomena, ensuring precise insights into fluid behaviour near surfaces during simulation. The finer mesh resolution ultimately leads to improved accuracy in analysing velocity, pressure gradients and other flow parameters [
68].
A CFD analysis is divided into Reynolds-averaged Navier–Stokes equation (RANS) modelling and large eddy simulation (LES). RANS is a popular CFD method that uses turbulence models to simulate turbulent flow [
64]. In this study, 3D steady Reynolds-averaged Navier–Stokes (RANS) CFD simulations were performed following previous studies and the amount of convergence was set to all the scaled residuals when they reached a minimum of 10
−6 [
77,
78]. In other words, the CFD simulation process stopped when convergence reached within a certain tolerance. This tolerance was set to 10
−6 for all variables.
Turbulence models, known as auxiliary equations, are essential in Reynolds-averaged simulations (RANS). Among the common RANS models, the K-epsilon (k-ε) model has received the most attention to date. It is widely regarded as the standard model and serves as a primary reference for researchers in the field of urban aerodynamics [
79,
80]. In this study, the RANS turbulence model, specifically the K-epsilon type for incompressible RAS turbulence models, was selected to achieve the best possible results.
To carry out the process, the opening in the south façade was given to calculate ACH as an evaluating surface (see
Figure 8). For this, test points were created to evaluate the velocity of air on this evaluated surface (U field prob). In addition, to calculate the velocity in outlet surface, temperature and pressure of airflow at occupants’ task surface height (0.7-m) via CFD analysis in butterfly, the wall, floor and roof temperatures were calculated via EnergyPlus. The test cell dimension is further elaborated in
Figure 2.
3.3.1. Verifying Mesh and Grid-Sensitivity Analysis
In the pursuit of evaluating mesh-related errors’ impact on CFD results, a grid independence analysis was conducted to ensure the reliability and accuracy of the outcomes. The primary goal of this analysis was to confirm that the choice of grid had a negligible effect on the results, and this process was streamlined and expedited through the use of an automated grid generation method [
77,
81].
To assess grid sensitivity, the velocity magnitude was meticulously assessed along a vertical line (positioned at the centre of the building at x = 3.85 m and y = 3.85 m, as depicted in the coordinate system of
Figure 3). Moreover, the study included a comparative evaluation of airflow rates across three distinct grids. To comprehensively assess grid sensitivity, three distinct grids were generated: a basic grid consisting of 44,880 cells, a coarse grid with 18,096 cells and a coarser grid with 13,680 cells. These grids were thoughtfully selected to provide a comprehensive insight into airflow velocity fluctuations within the central region of the room. This approach facilitates a detailed examination of how different grid configurations impact the accuracy and reliability of the airflow data, ensuring that the results are robust and can be trusted for further analysis and decision-making [
82,
83].
Figure 9 illustrates the location of the line used for assessing grid independence. The line is exactly located in the centre of the test cell.
Figure 10 illustrates the airspeed along a line positioned in the middle of the case study room. Comparative analysis of the results from the basic grid against the coarse grid and the coarse grid against the coarser grid showed average absolute deviations of 1.6% and 1.9%, respectively. These findings, in conjunction with considerations for computational efficiency, led to the selection of the basic grid for all subsequent simulations. This rigorous grid independence analysis establishes confidence in the reliability and accuracy of the CFD results.
3.3.2. Air Change per Hour
To analyse the airflow of the test cell, ACH was used. This means air changes per hour, abbreviated as ACH. In other words, the air change rate is a measure of the volume of air added to or removed from a space in one hour, divided by the volume of space [
84]. The average of the inlet air velocity values, multiplied by the area of the outlet surface (as illustrated in
Figure 8), indicates the discharge of airflow. Refer to Equation (2).
Additionally, to calculate the air change rate in the room, the discharged air calculated from Equation (2) was divided by the volume of the test cell. Equation (3) shows the calculation process of the air change rate.
Finally, to calculate the amount of air change per hour, the air change rate was multiplied by 3600 (number of seconds in one hour). Refer to Equation (4).
The calculations of Equations (1)–(4) all were carried out in Grasshopper software (V. 6).
3.3.3. Velocity, Temperature and Pressure
The properties of indoor airflow, including temperature, velocity and pressure, were calculated at a height of 0.7 m from the floor. Mobilised with the OpenFOAM engine, Butterfly allowed for incompressible flow and heat transfer calculations [
85]. Additionally, the heat transfer output, which was associated with the temperature of the wind and the temperature of the walls, was extracted from EnergyPlus to calculate the interior air temperature and velocity at a height of 0.7 m from the floor.
3.4. Optimisation
For the optimisation, two objectives were defined: visual comfort and airflow improvement management by increasing ACH within the bounds of human thermal comfort. Under the category of visual comfort, the objective was defined as “increasing appropriate UDI while decreasing under-lit and over-lit UDI”. In addition, minimising glare was put forward. On the other hand, for airflow modification, the goal was to create an airflow between 0.1 and 1 m/s while maintaining an air temperature between 22.20 °C and 35 °C. To maintain occupants’ comfort, the goal was to minimise airflow when the temperature dropped below 22.20 °C and to reduce airflow when the temperature exceeded 37 °C. These conditions were defined to ensure that increased ACH would not negatively impact the occupants’ comfort. These thresholds were reported by ANSI/ASHRAE Standard 55 (2017) [
50] and N. Lechner (2015) [
19,
86] as the trigger for occupants’ reactions to thermal dissatisfaction.
Figure 11 presents the mechanism for multiobjective optimisation workflow.
4. Results
A concise summary is provided here of the noteworthy discoveries regarding occupants’ comfort within the test cell. These insights encompass aspects of daylight and airflow performance, acquired through a simulation and optimisation process.
In the conventional test cell mode, the appropriate annual daylight performance, referred to as the “UDI appropriate”, was 27.97%. Notably, the overlit UDI was as high as 71.97%, with no instances of underlit UDI. This indicates an excessive influx of disruptive daylight, particularly in the context of a hot, arid climate. Such brightness can potentially result in visual discomfort and overheating issues. The simulation recorded instances of both disturbing and hardly perceptible glare caused by the conventional geometry of the test cell and shading in various occupant locations. To compare the conventional and optimal annual modes with the optimal façade of the test cell,
Figure 12a,b display the corresponding colour maps of the appropriate UDI on the evaluation surfaces (occupants’ task surfaces) for both modes.
The optimal annual mode (
Figure 12a) reveals the improvements and optimisations implemented to enhance the distribution of daylight within the test cell. The conventional status (
Figure 12b) provides a baseline reference point for evaluating daylight distribution throughout the year. These maps, when viewed side by side, offer a visual representation of the impact of optimisation strategies on the availability and quality of natural daylight. Additionally,
Table 5 presents the glare analysis results, denoted as DGP, for the test cell, concerning three predefined occupants’ positions (P1, P2 and P3).
Based on the multiobjective optimisation results, the optimal mode of the proposed façade design demonstrates significant improvements. It enhances the appropriate UDI by 69% when compared to the conventional mode. Furthermore, it effectively reduces glare by 33%, 43% and 59% on occupants located in positions 1, 2 and 3, respectively. Moreover, it generally improves ACH by 38% year-round.
Table 6 summarises the ACH, velocity and temperature in the conventional mode of the test cell during critical hours throughout the year. The annual and point-in-time optimisation results, along with the corresponding variables, are detailed in
Table 7.
The optimised façade significantly enhances daylight conditions and airflow management throughout the year, with the most noticeable impact occurring at 10 a.m. in June. However, the façade does not meet comfort criteria, but this issue only arises at 1 p.m. in September. This is primarily because the air velocity falls outside the range required to maintain the desired air changes per hour (ACH). Nonetheless, the façade does not quite meet comfort criteria, with this concern arising at 1 p.m. in September. The main reason is that the air velocity falls outside the range needed to maintain the desired air changes per hour (ACH). During this time, the façade was focused exclusively on conditioning the task surface in terms of visual comfort.
The proposed façade significantly enhances annual daylight performance, particularly in June, especially during the afternoon. It also effectively improves ACH within the comfort range for occupants during the same month, particularly during midday hours. This is due to the potential for direct natural ventilation from outdoor conditions that fall within the comfort zone of interior occupants.
The optimisation results indicate that when using the annual mode (the best possible fixed façade solution) for optimal façade geometry, the best window opening height remained consistent with the current condition, which is 1.2 m. However, in specific months, this height did not yield a single consistent result. It was 0.8 m for mornings and 1.6 m for the afternoons, illustrating the dynamic nature of window openings and their effectiveness in regulating natural ventilation compared to a fixed, unchanging condition. The algorithm successfully determined the appropriate window opening extent for ensuring human comfort and achieving optimal ACH.
Moreover, the vertical movement of façade modules proved effective in achieving the optimisation goal in this study, with the exception of September. A lower inclination of the sun in the sky, especially in the afternoon, is well managed through the lateral shaping resulting from horizontal movement. This approach is particularly helpful in preventing afternoon glare and, at certain points, allowing more daylight to enter during the later hours of daylight availability from the sides of the windows. However, these vertical façade module movements can partially increase internal air velocity, thereby improving ACH, particularly in the morning. In September, the airflow from outside did not align with the conditions defined in the optimisation process, as the wind was swift and the outside conditions were almost cold. Removing this variable (façade module horizontal movement) could result in an increase in harsh solar radiation, leading to higher overlit and underlit UDI values, especially in the afternoon. This shows that the variable was promising for the success of the façade configuration in achieving human comfort.
Concerning the opening area of the façade modules, the lower and upper limits were defined as variables by the authors. This variable was affected by the position of the sun in the sky in an attraction point. The annual optimum result showed that the 100% upper (completely open) limit and 25% (open as much as 25% of the façade module opening area) lower limit of the opening area of the façade modules were the best option for a fixed façade shape in a year. In simpler terms, when responding to the sun’s position in the sky, it was more beneficial for the shading openings to have a pronounced contrast between being fully open and partially closed. A sharp difference in the way they react to sunlight was more advantageous than a uniform distribution of shading openness across the façade. From a fragmented time assessment point of view, the 50% opening area to the upper limit was beneficial for September to improve appropriate UDI, especially in the morning. In addition, this range of open area helped to decrease overlit UDI, while it increased air velocity for enhanced ACH. The 100% range of open area for the façade modules proved inappropriate for the objectives of this study, especially in the afternoon. Additionally, the 50% opening area was beneficial for morning ACH. However, it was harmful in terms of creating glare for positions 2 and 3 (
Figure 6). While the 25% opening area was beneficial for improving appropriate UDI in June in the mornings and at noon, it proved to be inappropriate as it increased glare risk for the afternoon in position 1 (
Figure 6). This dynamic response to the point-in-time fluctuation of weather conditions proved the superior nature of an adaptive façade compared to fixed ones for human comfort objectives.
To assess the capabilities of Butterfly, the CFD simulation tool and its results were validated. A two-dimensional benchmark test cell (
Figure 13) was employed to validate Butterfly’s simulation performance and results. This two-dimensional benchmark test, known as the “IEA 2D test case”, was established in 1990 for use in IEA Annex 20 research.
The current study utilised this benchmark test to evaluate the CFD performance of room air distribution in Esurance. To achieve this, a box-like room with a supply slot along the side wall was defined within the benchmark. Although the original benchmark was designed for two-dimensional flow testing, subsequent research also investigated results for three-dimensional flow [
87].
Figure 14 illustrates the dimensions of the geometry and
Table 8 provides a summary of the numerical boundary conditions.
Figure 15 displays the bench march model in Rhino3D environment.
Figure 13.
The two-dimensional benchmark test cell geometry [
88].
Figure 13.
The two-dimensional benchmark test cell geometry [
88].
The supply inlet was placed near the ceiling on the wall and the supply velocity was set to Uin = 0.455 m/s. The graph below compares the experimental results with the simulation results in a vertical position (x = H or x = 3), in the centre of the z-direction (z = 0.5H) and in the rectangular room model.
Figure 16 displays the comparison between the results obtained through practical experiments and those generated by computational fluid dynamics simulations.
The numerical results agreed with the experimental results. This indicates the high accuracy of the Butterfly plugin, Grasshopper, for CFD simulation.
Figure 17 provides a visual representation of the simulation results, displaying the associations with all alternative variables and outcomes, while also showcasing the best possible result achieved during the optimisation process.
6. Conclusions
This study developed a parametric methodology to address the critical aspects of visual comfort and airflow with the potential to create sustainable and occupant-centric building solutions.
The optimised façade configuration, compared to the conventional one, demonstrated substantial year-round improvements in key performance metrics. Notably, there was a significant increase in ACH over the course of a year. Additionally, hourly analysis revealed the flexibility of variable selections for optimising both daylight and airflow performance to accommodate diverse positions and locations of occupants within the test cell. Among the variables, the horizontal movement of the façade module and the attraction patterns within the array of façade modules stood out as particularly promising. The study successfully demonstrated that the integration of parametric daylight and CFD analysis, along with multiobjective optimisation, can lead to improved visual comfort and air quality within the built environment, while consistently maintaining air temperature and velocity within the comfortable range for occupants. This was achieved by strategically defining the boundary conditions to determine the optimal circumstances for implementing natural ventilation by redirecting airflow. Moreover, the façade design methodology discerned when the objectives were best met throughout the year and outlined the reasons.
The primary objective of pioneering an innovative approach to adaptive building envelope design has been realised. The study suggests the need for adaptive architecture across various building typologies and activities, promoting more occupant-centric and sustainable building solutions tailored to specific comfort metrics, spatial considerations and technical requirements. Looking ahead, the research will extend its impact by comparing these simulation-based findings with real-time building energy performance data. While the time-consuming nature of CFD analysis remains a challenge, future solutions, such as machine learning, may offer a way to overcome this limitation.