Figure 1 demonstrates what should be visible after importing the tutorial project.
Please notice how the Car_Internal_Volume geometry consists only of one flow region.
The original CAD model, SimScale_Car, included the car, passengers, and a rear mirror. Therefore an Internal flow volume operation was performed in CAD mode. This created the geometry for the volume of air. The volume of air represents the negative of the car cabin and everything inside. Also, note that SimScale_Car was highly defeatured before the import. As an example, all the buttons of the center console have been removed.
CAD mode operations
If you would like to see the internal flow volume operation settings in CAD mode, make sure to select the Car_Internal_Volume geometry and press the ‘Edit in CAD mode’ button
From now on, make sure you are working on the geometry with the flow volume extraction operation, Car_Internal_Volume, and not the SimScale_Car one presented for reference.
1.1 Create the Topological Entity Sets
In the beginning, we want to finish the geometry preparation by setting up the last missing topological entity set. Topological entity sets are groups of faces, created after the geometry import by the user, 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 the set for the windows is still missing. Figure 3 below shows how to add one:
Create the entity set by first selecting the faces representing the windows of the car (highlighted in red),
In the pop-up dialog that appears, name the set ‘windows’ and click ‘Create new set‘.
1.2 Create the Simulation
Now we can start with the simulation setup. We will create a new simulation with the ’Conjugate Heat Transfer v.2’ analysis type. This analysis type supports convective and radiational heat transfer and gives us faster solver time compared to the Convective Heat Transfer.
Follow the steps presented in figure 4 to create a new simulation:
Select the ‘Car_Internal_Volume’ geometry under the Geometries panel,
Then click the ‘Create Simulation’ button of the dialog:
The simulation library window appears:
Here you can select the analysis type you need.
Choose ‘Conjugate Heat Transfer V2’ and click ‘Create Simulation‘.
Now, you will see the default global settings dialog box opens. Here we can select general settings for the simulation such as the turbulence model or activate certain behaviors of the simulation.
Perform the following changes:
Activate Radiation for the simulation.
Change the turbulence model to ‘k-omega SST’.
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. These will later be used to define the boundary conditions of the simulation:
Heat transfer is performed through forced convection, natural convection, and radiation, within the fluid domain.
Ambient conditions for summer with an ambient temperature of 35 \(°C\) and relative humidity of 65\(%\).
Inlet flow of 27\(L/s\) through all inlets combined at 19\(°C\).
Outlet flow through the rear opening.
Radiation through the window with an ambient temperature outside of the car cabin of 35\(°C\).
Adiabatic walls for the car. We assume that the chassis is perfectly insulated.
Flux power heat source of 40\(W/m^2\) for the passengers metabolic rate.
2.1 Model – Defining Gravity
Select the Model tree element to specify the gravitational acceleration.
Please set ‘9.81’ \(m/s²\) in the negative Y direction
Next, we have to define the fluid inside our car, which will be air. We will use the standard air material from the SimScale library. To define and assign a material, please click on ‘+’ next to Materials. Doing so, the SimScale material library will pop up:
Select ‘Air’ from the materials library.
As there is only one flow region, it is automatically assigned. Accept the selection with the checkmark.
Since we do not simulate any heat transfer through solid materials the Solid material element will be left empty.
At first, the boundary condition for the right inlet is created. After that, you can create the boundary conditions for the other inlets accordingly. These boundary conditions define from where air can enter the inside of the car. The setup is chosen in a way that we could switch between different vent settings like a closed vent on the right side. But for this case, we will assume that all vents are opened.
A flow velocity inlet boundary condition is created according to figure 11 for the right inlet:
After hitting the ‘+’ button next to Boundary conditions, a drop-down menu will pop up where different types of boundary conditions can be chosen from. Select ‘Velocity inlet’ from the list.
Now the setup for the velocity inlet boundary condition will pop up.
Please modify the following:
Set a Volumetric flow rate of ‘0.00616’ \(m³/s\),
Rename the Boundary to Velocity inlet right
Temperature of ’19’ \(°C\)
Assign the Inlet_Right topological entity as the face
You can find the Inlet_Right under the predefined topological entity set on the right side of the Workbench.
In order to complete the inlet definitions repeat this process for the left, center, and top inlet with the volumetric flow rates given in table 1:
Volumetric Flow rate \([m³/s]\)
Table 1: Individual Boundary Conditions for each Inlet to faster iterate different venting setups.
Now your Simulation tree should look like this, with all inlets defined and topological entities assigned:
B. Pressure Outlet
For the flow outlet boundary condition, follow the same procedure, but select ‘Pressure outlet’. Leave all values as default and assign the Outlet topological entity set, as shown in the image. This will allow the air to exit the car freely through the face at the back of the car.
For the windows, we will have to define the radiative heat emitted. Therefore a wall boundary condition is used 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 Windows topological entity set. Set up the parameters as shown in figure 15:
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 Passenger_1 and Passenger_2 topological entity set. Continue with the set up with the parameters as shown in figure 16:
For the Chassis, a wall boundary condition is used, with adiabatic thermal behavior, since we assume that the car is perfectly insulated. Create a‘Wall’boundary condition and assign the Chassisset. Set up the parameters as shown in figure 17:
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. We will use this to determine how much the air heats up when passing through the car, by measuring the temperature at the outlet of the car.
A. Outlet Analysis
In order to measure the average outlet temperature a result control item is used. It’s created as shown in figure 18:
Expand Result control and click the ‘+’ icon next to Surface data,
Select ‘Area average’
Assign the Outlet set and check that the setup coincides with figure 19:
B. Thermal Comfort Parameter
To analyze the thermal comfort of the passengers a thermal comfort result control is defined.
Did you now?
Standards for thermal comfort parameters are defined by ASHRAE-55 and
ISO 7730 and are directly implemented into SimScale.
Find out more information about the thermal comfort parameters below:
Thermal comfort parameters are also queried in the result control items, under Field calculations. Create the thermal comfort result control as shown in figure 20 :
Click the ‘+’ button next to Field calculations and Select ‘Thermal Comfort Parameters’.
Set up the parameters as shown in the figure 20:
the Clothing coefficient is ‘0.5’,
the Metabolic rate is ‘1.0’,
the Relative air humidity is ‘65%’.
A description of the computed quantities and resulting fields can be found on this SimScale documentation page.
3. Simulation Control
Since the mesh will contain around 5. Mio Cells we have to adjust the maximum runtime of the simulation. For that, we adjust the maximum runtime and give it a value of 30000 \(s\).
Expand Simulation Controll and
Set the maximum runtime‘30000 \(s\)’
For this tutorial, we will use standard meshing. Since we have already set up all the boundary conditions and assigned all faces of the Car_Internal_Volume geometry, we can use the automatic boundary layer, and the physics-based meshing feature. With that, we just have to change the Fineness to ‘6’.
Don’t generate the mesh yet. The solver automatically performs it as we start the simulation.
5. Start the Simulation
Now that the simulation setup is complete, a new ‘Simulation Run’ can be created to perform the computation. In figure 23, 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 simulation run. If the software predicts a higher duration of simulation and exceeds 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 five 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.
We will use the integrated post-processor to visualize the temperature and flow inside the Car Cabin and evaluate the thermal comfort by visualizing the Percentage Mean Vote (PMV). 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.
There are several methods to analyze the temperature within the car cabin, we will use both analytic and optical approaches.
A. Analyze the outlet Temperature
Before visualizing the temperature and analyzing it optically we can have a look at the average outlet temperature. For this, we go to the Area averages section >Area average 1, which is our outlet. Now we can select the temperature \([T]\) and see what the exit air temperature is.
We see that the temperature has flattened out at 299 \(K\) ( ~27 \(°C\)). This means that the temperature has increased from the inlet to the outlet by 8 \(K\) in comparison to the inlet temperature, which we set to 19 \(°C\)
B. Visualization of the Surface Temperature
Next, we will visualize the temperature on the surfaces of the car. For that select ‘Temperature’ as the coloring for the parts. Change the units of temperature to Celsius by clicking the units in the legend and selecting ‘\(°C\)’ and changing the maximum temperature visualized to ’40’ \(°C\) and minimum to ’19’ \(°C)\.
To have better look inside the car hide the roof and windows by selecting the faces and right-clicking on your mouse to select ‘Hide selection’.
The temperature distribution inside the car can be seen in figure 25:
We can see how the windows are heated up by the radiation of the sun and the ambient temperature and how the passengers emit heat. Notice how the front windows are cooled by the cold airflow through the vent at the right, directing the hot air from the surface of the window to the back of the car.
6.2 Predicted Mean Vote
Next, we will have a look at the predicted mean vote for the passengers. For this, we will use the existing cutting plane. Change the y coordinate of the plane to ‘0.95’ \(m\) and the normal orientation to ‘Y’, so that we can analyze the thermal comfort at chest height.
To display the predicted mean vote change the coloring of the plane to ‘Predicted Mean Vote’. For a better visibility, we change the opacity of the plane to‘0.7 ‘and the Parts Color Coloring to a solid white color.
To clearly see the range of interests change the minimum scalar to ‘-2’ and the maximum to ‘2’. With that, we can clearly see the range in which the thermal comfort parameters are within the limits. The results are as follows:
We see that in general, the predicted mean vote values are within the limits for this height. You can adjust the Y value for the position of the plane to see different areas like ‘1.1’ \(m\) for the head of the passengers.
6.3 Flow analysis
At last, we want to visualize the flow through the car cabin. For that, we will use Particle traces since this gives us a three-dimensional visualization of the flow through the car. Create a new particle trace by clicking on the ‘Particle trace’ icon.
Hide the cutting plane by using the toggle switch and then set the values according to the image below. For the position pick the center of the right inlet face. With that, we can follow the flow from the inlet to the outlet. If you are interested in other sections of the car you can always set the point to a different position.
Repeat the steps for the left inlet and one of the center inlets. You now have three-particle trace sets set up and the result should look like this.
We recognize that with the current setup most of the air from the ducts just passes the passengers. This cools down the air within the car without having the passengers sit in the flow stream directly.
To create an animation of the particle traces change the particle representation to‘Comets‘and create a new animation filter by selecting the animation Icon. We select ‘Comets‘ for this step to not fill the car with the lines of the particle traces and be able to better follow a single particle through the car.
In the animation control panel, change the Animation type to ‘Particle Trace ‘ and start/stop the animation with the ‘play/pause button.
The results of the animation should look like this and we can follow a set of particles on its way through the car and for example analyze the turbulent flow behind the driver’s seat.
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.
Strictly Necessary Cookies
Strictly Necessary Cookie should be enabled at all times so that we can save your preferences for cookie settings.
If you disable this cookie, we will not be able to save your preferences. This means that every time you visit this website you will need to enable or disable cookies again.