# Step-by-Step Tutorial Session 3 - Yaw Angle Study (Part 2)

**URL:** <https://www.simscale.com/forum/t/step-by-step-tutorial-session-3-yaw-angle-study-part-2/79720>\
**Category:** Formula Student/SAE Workshop - 2017\
**Created:** [September 12, 2017, 6:47am UTC](https://www.simscale.com/forum/t/step-by-step-tutorial-session-3-yaw-angle-study-part-2/79720 "2017-09-12T06:47:30Z")\
**Posts on this page:** 20\
**Page:** 1

<div class="post-metadata">

**Author:** ![drodriguez32](https://www.simscale.com/forum/user_avatar/www.simscale.com/drodriguez32/32/14276_2.png) [@drodriguez32](https://www.simscale.com/forum/u/drodriguez32)\
**Post date:** [September 12, 2017, 6:47am UTC](https://www.simscale.com/forum/t/step-by-step-tutorial-session-3-yaw-angle-study-part-2/79720/1 "2017-09-12T06:47:30Z")

</div>

## Link to part 1 of the tutorial:

[Step-by-Step Tutorial Session 3 - Yaw Angle Study (Part 1)](https://www.simscale.com/forum/t/step-by-step-tutorial-session-3-yaw-angle-study-part-1/79719/1)

* * *

## Introduction

Welcome to the second part of the step-by-step tutorial for the simulation of a Formula SAE full car with side wind. In this part of the tutorial we will show you the final steps for the simulation setup and we will go over the post processing of the results. Like last session, we will also go through some of the results and what they mean.

* * *

## Simulation Setup (Part 2)

### Numerics

After defining all the boundary conditions, we will proceed to set up the numerics for our simulation.

 ![Numerics 1](https://www.simscale.com/forum/uploads/default/original/2X/2/233a11fb4b6a7719e454a6a81fcbec220f91c219.png)

Go to **Numerics** and change:

1. **Relaxation factor for field p** , **Relaxation factor for equation U** , **Relaxation factor for equation k** and **Relaxation factor for equation omega** to **0.2, 0.5, 0.5 and 0.5** respectively.

2. Furthermore, under **[p] pressure solver**, change **Absolute tolerance** , **Relative tolerance** and **Number of pre-sweeps** to **1e-8, 0.01 and 1** respectively.

 ![Numerics 2](https://www.simscale.com/forum/uploads/default/original/2X/1/1f528e8bf736f639e7ea3eff14f4f8415868ee9e.png)

Scroll down until **[U] velocity solver** and change:

1. **[U] velocity solver** to **Smooth solver** , **Smoother** to **symGaussSeidel** and **Absolute tolerance** to **1e-7**. Do the same for **[k] Turbulent kinetic energy solver** and **[omega] Specific turbulence dissipation solver**

 ![Numerics 3](https://www.simscale.com/forum/uploads/default/original/2X/7/7f37f8aefadd57c03f6a10c4ad52c6bccac0bbf5.png)

Scroll down to the end and change:

1. Both **Gradient scheme for default** and **Gradient scheme for grad(p)** to **cellLimited Gauss linear**

2. **Laplacian scheme for default** , **Laplacian scheme for laplacian(nu,U)**, **Laplacian scheme for laplacian(nuEff,U)** and **Laplacian scheme for laplacian((1|A(U)),p)** to **Gauss linear limited corrected**

3. Click **Save** to register all of your changes.

### Simulation Control

 ![Simulation Control](https://www.simscale.com/forum/uploads/default/original/2X/f/f577eb8c50d1387c75c843993cc804cdd25e5fcc.png)

For the **simulation control** we will specify the **End time value [s]**, **Number of computing cores** and **Maximum runtime [s]** to **1500, 32 and 50,000** respectively. Also, under _Write Control_ \> _Details_ change the value to **1500**.

### Result Control

As the last step before starting our simulation run, we will create result control items in order to obtain graphical data of the results.

 ![Result control](https://www.simscale.com/forum/uploads/default/original/2X/6/6ed2c5cb16afd1890f44f2066ffc462c8c96de8f.png)

Go to **Result Control** and click **+New** next to **Forces and Moments**.

#### 1. Front Wing

 ![FWing](https://www.simscale.com/forum/uploads/default/original/2X/a/ab7aef0e78b2897801529d38916371f4a274bf62.png)

A new Force and Moment result control item will be created. Rename it to **FWing** (optional).

Change the **Write interval (simulation time steps)** to **5**

Select **solid\_0\_FWmainwing** , **solid\_0\_FWEPin** , **solid\_0\_FWEPout** and **solid\_0\_FWflap** , you should see them under **Faces for force calculation**.

Click **Save** to register your changes.

#### 2. Rear Wing

 ![RWing](https://www.simscale.com/forum/uploads/default/original/2X/4/48cfbe35246dca14b2e9dce82d2b69d283bfae7f.png)

Create a new Force and Moment result control item for the rear wing. Rename it to **RWing** (optional).

Change the **Write interval (simulation time steps)** to **5**

Select **solid\_0\_RWEP** , **solid\_0\_RWflapa** , **solid\_0\_RWflapb** , **solid\_0\_RWflapc** and **solid\_0\_RWflapd** , you should see them under **Faces for force calculation**.

Click **Save** to register your changes.

#### 3. Diffuser

 ![Diffuser](https://www.simscale.com/forum/uploads/default/original/2X/a/ace1836751a3261d1813c6b93af7d836798da802.png)

Create a new Force and Moment result control item for the diffuser. Rename it to **Diffuser** (optional).

Change the **Write interval (simulation time steps)** to **5**

Select **solid\_0\_Diffuser** , you should see it under **Faces for force calculation**.

Click **Save** to register your changes.

#### 4. Front Wheel

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

Create a new Force and Moment result control item named **FWheel** (optional).

Change the **Write interval (simulation time steps)** to **5**

Select **solid\_0\_Fronttire** , you should see it under **Faces for force calculation**.

Click **Save** to register your changes.

#### 5. Rear Wheel

 ![RWheel](https://www.simscale.com/forum/uploads/default/original/2X/b/b43c191fbc08ecee59a5b924b17a2f3209f60469.png)

Create a new Force and Moment result control item named **RWheel** (optional).

Change the **Write interval (simulation time steps)** to **5**

Select **solid\_0\_Reartire** , you should see it under **Faces for force calculation**.

Click **Save** to register your changes.

#### 6. Body

 ![Body](https://www.simscale.com/forum/uploads/default/original/2X/9/93da72d3580ce4613e5196976ecc354ce0daef94.png)

Create a new Force and Moment result control item named **Body** (optional).

Change the **Write interval (simulation time steps)** to **5**

Select **solid\_0\_body** , **solid\_0\_Frontsusp** , **solid\_0\_Rearsusp** , **solid\_0\_Barre** , **solid\_0\_Sidepood** , **solid\_0\_Frontur** , **solid\_0\_Radsupport** , **solid\_0\_Rearur** and **solid\_0\_Driver**. You should see them under **Faces for force calculation**.

Click **Save** to register your changes.

### Simulation Run

Once all the above steps are defined, we will proceed to create our first simulation run.

 ![Simulation run](https://www.simscale.com/forum/uploads/default/original/2X/4/4a5e372fb4374d1a1a0c6ba9c3920eb0d227825a.png)

Go to **Simulation Runs** and click on **+New**. A window will pop up, give a reasonable name to the run e.g. **Run-conf-Yaw** in this case (optional) and click **Create** in order to create a new run.

After the run is created, click **Start** to start the created run. The simulation run can take up to **~190 minutes (~3 hrs.)**

* * *

## Post-Processing

 ![Post processing](https://www.simscale.com/forum/uploads/default/original/2X/c/c98322b2bfd0dee895498dc87d2654d63f81d239.png)

Once in Post-Processor, click on Solution fields under Run-Conf-Yaw in order to load the results in viewer. Due to full car model that we are using, it can take up to 20 minutes to load the results in to the viewer.

In order to reduce the time of loading the results we suggest for you to select only **U** and **P** under the **Property panel** and **Cell Arrays**.

For further instructions about how to post-process your results please follow the same steps detailed in the exercise in Part 2 of Session 2.

[Step-by-Step Tutorial Session 2 - Full Car Aerodynamics (Part 2)](https://www.simscale.com/forum/t/step-by-step-tutorial-session-2-full-car-aerodynamics-part-2/79350)

* * *

## Homework Submission

For your homework, your task is to investigate the full car running in a straight line at 20 m/s with side wind. You will have the same model we used for the last session, so you will setup _porous media_, _MRF (rotating) zones_, _rotating walls_, and the flap angle will be _0_ degrees. Think about how this setup differs from the previous one and think about the impact of the side wind on the performance of the car and the flow behavior around it.

The step-by-step tutorial below contains all of the steps for setting up the simulation in SimScale and visualizing the results.

> We’ve made an update to the platform and the sharing procedure has changed. Please go to the following link to see how to get a sharing link for your project:  
> [New Sharing on SimScale](https://www.simscale.com/forum/t/sharing-a-project/242)

**Homework Deadline** : October 17th, 11:59 pm CEST

#### [Click Here to Submit your Homework](https://marketing.simscale.com/acton/form/14483/00d3:d-0001/1/-/-/-/-/index.htm)

* * *

## Results

#### Animation: Velocity [m/s] - X Normal

#### Animation: Velocity [m/s] - Z Normal

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

 ![2](https://www.simscale.com/forum/uploads/default/original/2X/b/b7b79187e5eb529b1b801bbfddfc55091ee8103b.png)

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

 ![4](https://www.simscale.com/forum/uploads/default/original/2X/f/f10a4532d297a46b1b5231398d668aa6bb0e7291.png)

 ![5](https://www.simscale.com/forum/uploads/default/original/2X/f/f10fea830e80ca94cd13292fccfae22573bdc347.png)

 ![6](https://www.simscale.com/forum/uploads/default/original/2X/5/50722b6166c61f6a4c9104f6a55ca7ac9cb62376.png)

---

<div class="post-metadata">

**Author:** ![mgall](https://www.simscale.com/forum/letter_avatar/mgall/32/5_5575768a8748004e209b776fc1b2916d.png) [@mgall](https://www.simscale.com/forum/u/mgall)\
**Post date:** [October 7, 2017, 10:10am UTC](https://www.simscale.com/forum/t/step-by-step-tutorial-session-3-yaw-angle-study-part-2/79720/5 "2017-10-07T10:10:56Z")

</div>

Hi,  
Should our post-processing reach the results listed above whether is it enough to follow the steps presented in the previous homework tutorials?  
Thanks

---

<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:** [October 7, 2017, 12:22pm UTC](https://www.simscale.com/forum/t/step-by-step-tutorial-session-3-yaw-angle-study-part-2/79720/6 "2017-10-07T12:22:21Z")

</div>

Hi @mgall!

The results should at least have the same quality. What do you mean with the steps in the previous tutorials? You ought to follow each tutorial as it is described. Maybe if you elaborate your question a bit I might help you more.

Best,

Jousef

---

<div class="post-metadata">

**Author:** ![mgall](https://www.simscale.com/forum/letter_avatar/mgall/32/5_5575768a8748004e209b776fc1b2916d.png) [@mgall](https://www.simscale.com/forum/u/mgall)\
**Post date:** [October 7, 2017, 1:48pm UTC](https://www.simscale.com/forum/t/step-by-step-tutorial-session-3-yaw-angle-study-part-2/79720/7 "2017-10-07T13:48:56Z")

</div>

Hi @jousefm !  
Each tutorial ends with the section ‘Results’ in which some comparisons are made. However, the ‘Post-processing’ part of the tutorial contains other features of post-processing than those in the ‘Results’ section. So, I want to know whether following the steps in the tutorial is enough for homework submission or am I supposed to obtain exactly the same data presented in the ‘Results’ section.  
I hope I was clear enough this time.  
Thanks again

Best regards,  
Mihnea

---

<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:** [October 7, 2017, 2:03pm UTC](https://www.simscale.com/forum/t/step-by-step-tutorial-session-3-yaw-angle-study-part-2/79720/8 "2017-10-07T14:03:40Z")

</div>

Hi Mihnea (@mgall)!

This is not mandatory and is only here as supplementary material to show the users the differences and “discuss” the results a bit. For the mandatory post-processing steps please refer to **[part 2 of the tutorial](https://www.simscale.com/forum/t/step-by-step-tutorial-session-2-full-car-aerodynamics-part-2/79350)**.

Hope that helps!

Cheers!

Jousef

---

<div class="post-metadata">

**Author:** ![OriDachs](https://www.simscale.com/forum/user_avatar/www.simscale.com/oridachs/32/15452_2.png) [@OriDachs](https://www.simscale.com/forum/u/OriDachs)\
**Post date:** [October 7, 2017, 6:52pm UTC](https://www.simscale.com/forum/t/step-by-step-tutorial-session-3-yaw-angle-study-part-2/79720/9 "2017-10-07T18:52:41Z")

</div>

Hi Guys!

I can’t understand why apears the error window that you can see in the image atached below while i’m running the simulation. I had done some checkings of my steps and i didn’t found anything. Can anyone help me please?

Thanks in advanced!

Hope all will go well for everyone!

 ![image](https://www.simscale.com/forum/uploads/default/original/2X/4/4987ef46b34062f685205edca42b7d802317b370.png)

---

<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:** [October 7, 2017, 11:02pm UTC](https://www.simscale.com/forum/t/step-by-step-tutorial-session-3-yaw-angle-study-part-2/79720/10 "2017-10-07T23:02:05Z")

</div>

Hi @OriDachs!

Having a look at it later on. If you figured out the solution please post it to help other users having the same issue.

Cheers and happy SimScaling!

Jousef

---

<div class="post-metadata">

**Author:** ![enasufi](https://www.simscale.com/forum/letter_avatar/enasufi/32/5_5575768a8748004e209b776fc1b2916d.png) [@enasufi](https://www.simscale.com/forum/u/enasufi)\
**Post date:** [October 8, 2017, 12:15pm UTC](https://www.simscale.com/forum/t/step-by-step-tutorial-session-3-yaw-angle-study-part-2/79720/11 "2017-10-08T12:15:44Z")

</div>

Hi,

the new share function which we’re supposed to use to submit our Homework projects requires a name or an E-Mail address to share. Who should i share it with to submit?

Thanks in advance,

Erzen

---

<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:** [October 8, 2017, 12:32pm UTC](https://www.simscale.com/forum/t/step-by-step-tutorial-session-3-yaw-angle-study-part-2/79720/12 "2017-10-08T12:32:24Z")

</div>

Hi @enasufi!

Tagging my colleague @drodriguez32 here. He will give you more information about the sharing process.

Cheers!

Jousef

---

<div class="post-metadata">

**Author:** ![dond](https://www.simscale.com/forum/letter_avatar/dond/32/5_5575768a8748004e209b776fc1b2916d.png) [@dond](https://www.simscale.com/forum/u/dond)\
**Post date:** [October 8, 2017, 5:28pm UTC](https://www.simscale.com/forum/t/step-by-step-tutorial-session-3-yaw-angle-study-part-2/79720/13 "2017-10-08T17:28:05Z")

</div>

I have completed the simulation and moved on to the post processing phase. I can get most of the diagrams shown, except for the stream lines. I’m not sure how to troubleshoot. I have shared the project with support` [I’m not sure you get it] so here is the link: [https://www.simscale.com/workbench/?pid=7637120079209463544#tab\_2-0](https://www.simscale.com/workbench/?pid=7637120079209463544#tab_2-0)  
Appreciate the help.  
Don

---

<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:** [October 8, 2017, 6:01pm UTC](https://www.simscale.com/forum/t/step-by-step-tutorial-session-3-yaw-angle-study-part-2/79720/14 "2017-10-08T18:01:28Z")

</div>

Hi @dond!

Let’s explain this step-by-step.

1. Apply the **Stream Tracer** on the loaded geometry
2. Adapt the **Stream Tracer** if necessary
3. Load the same solution into the viewer by clicking on the run and right-click **Add result to viewer**
4. For the loaded geometry go to **Mesh Regions** in the middle column and choose everything except **Internal Mesh** and the **Bounding Boxes** and click **Apply**
5. Profit 😉

Let me know if I missed a step or if it worked perfectly fine!

Best,

Jousef

---

<div class="post-metadata">

**Author:** ![drodriguez32](https://www.simscale.com/forum/user_avatar/www.simscale.com/drodriguez32/32/14276_2.png) [@drodriguez32](https://www.simscale.com/forum/u/drodriguez32)\
**Post date:** [October 9, 2017, 10:14am UTC](https://www.simscale.com/forum/t/step-by-step-tutorial-session-3-yaw-angle-study-part-2/79720/15 "2017-10-09T10:14:38Z")

</div>

Hi @enasufi,

In the tutorials there is an updated link showing you how to go through the sharing procedure. Please look at it.

Cheers,

Diego

---

<div class="post-metadata">

**Author:** ![lgori](https://www.simscale.com/forum/letter_avatar/lgori/32/5_5575768a8748004e209b776fc1b2916d.png) [@lgori](https://www.simscale.com/forum/u/lgori)\
**Post date:** [October 9, 2017, 9:46pm UTC](https://www.simscale.com/forum/t/step-by-step-tutorial-session-3-yaw-angle-study-part-2/79720/16 "2017-10-09T21:46:49Z")

</div>

Hi guys!  
I had the same problem of @OriDachs. I just checked my numbers twice but everything seem to be ok according to the tutorial. What can I do to solve this problem? Below the screenshot of the error that occurs to me.  
Thank You in advance

 ![Screenshot (1)](https://www.simscale.com/forum/uploads/default/original/2X/b/b893682d639f2a2c70bf2cfe425523c854d6c877.png)

---

<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:** [October 10, 2017, 8:15pm UTC](https://www.simscale.com/forum/t/step-by-step-tutorial-session-3-yaw-angle-study-part-2/79720/18 "2017-10-10T20:15:05Z")

</div>

Hi @lgori!

Have you found the issue already?

Best,

Jousef

---

<div class="post-metadata">

**Author:** ![lgori](https://www.simscale.com/forum/letter_avatar/lgori/32/5_5575768a8748004e209b776fc1b2916d.png) [@lgori](https://www.simscale.com/forum/u/lgori)\
**Post date:** [October 10, 2017, 9:33pm UTC](https://www.simscale.com/forum/t/step-by-step-tutorial-session-3-yaw-angle-study-part-2/79720/19 "2017-10-10T21:33:27Z")

</div>

Unfortunately not. I just tried to setup another project starting from the beginning, in case I didn’t saw some errors in my previous checks.I’m waiting for the results.  
Thank You for the answer,  
Leonardo

---

<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:** [October 11, 2017, 5:26pm UTC](https://www.simscale.com/forum/t/step-by-step-tutorial-session-3-yaw-angle-study-part-2/79720/20 "2017-10-11T17:26:28Z")

</div>

Hi @lgori!

So did it work in the end or do you still need help with the setup?

Best,

Jousef

---

<div class="post-metadata">

**Author:** ![mhoangk](https://www.simscale.com/forum/letter_avatar/mhoangk/32/5_5575768a8748004e209b776fc1b2916d.png) [@mhoangk](https://www.simscale.com/forum/u/mhoangk)\
**Post date:** [October 11, 2017, 9:39pm UTC](https://www.simscale.com/forum/t/step-by-step-tutorial-session-3-yaw-angle-study-part-2/79720/21 "2017-10-11T21:39:17Z")

</div>

i do have the same problem, i double checked everything and 3 simulation runs failed.

Best,  
Marcel

---

<div class="post-metadata">

**Author:** ![lgori](https://www.simscale.com/forum/letter_avatar/lgori/32/5_5575768a8748004e209b776fc1b2916d.png) [@lgori](https://www.simscale.com/forum/u/lgori)\
**Post date:** [October 12, 2017, 5:57am UTC](https://www.simscale.com/forum/t/step-by-step-tutorial-session-3-yaw-angle-study-part-2/79720/22 "2017-10-12T05:57:26Z")

</div>

Hi @jousefm, it finally works. However thanks for the interest.  
Leonardo

---

<div class="post-metadata">

**Author:** ![drodriguez32](https://www.simscale.com/forum/user_avatar/www.simscale.com/drodriguez32/32/14276_2.png) [@drodriguez32](https://www.simscale.com/forum/u/drodriguez32)\
**Post date:** [October 12, 2017, 7:25am UTC](https://www.simscale.com/forum/t/step-by-step-tutorial-session-3-yaw-angle-study-part-2/79720/23 "2017-10-12T07:25:10Z")

</div>

Hey @mhoangk,

Please check your mesh setup again. You only have 4 million cells, so about 50% of what you should have with the mesh setup in the tutorial. You selected the incorrect faces for the layer inflation refinement, you should have 22 faces selected.

Cheers,  
Diego

---

<div class="post-metadata">

**Author:** ![czhang](https://www.simscale.com/forum/user_avatar/www.simscale.com/czhang/32/16181_2.png) [@czhang](https://www.simscale.com/forum/u/czhang)\
**Post date:** [October 12, 2017, 10:50pm UTC](https://www.simscale.com/forum/t/step-by-step-tutorial-session-3-yaw-angle-study-part-2/79720/24 "2017-10-12T22:50:10Z")

</div>

Hi jousefm, sorry for that I missed the 4th webinar today, I am wodering if I still can get the certificate after I watch the webinar record again then submit all tutorials ?

[Next page](https://www.simscale.com/forum/t/step-by-step-tutorial-session-3-yaw-angle-study-part-2/79720.md?page=2)
