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

Link to part 1 of the tutorial:

Step-by-Step Tutorial Session 3 - Yaw Angle Study (Part 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.

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.

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

Scroll down to the end and change:

  1. BothGradient 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

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.

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

1. Front Wing

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

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

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

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

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

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.

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

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)


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

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

Click Here to Submit your Homework


Results

Animation: Velocity [m/s] - X Normal

Animation: Velocity [m/s] - Z Normal

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

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

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

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.

Hope that helps!

Cheers!

Jousef

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!

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

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

Hi @enasufi!

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

Cheers!

Jousef

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
Appreciate the help.
Don

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 :wink:

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

Best,

Jousef

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

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

Hi @lgori!

Have you found the issue already?

Best,

Jousef

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

Hi @lgori!

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

Best,

Jousef

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

Best,
Marcel

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

1 Like

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

2 Likes

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 ?