Step-by-Step Tutorial: Homework of Session 2 - Further Setups and Post-processing

Rotating Zones

Now we will create MRF zones, go ahead and add a Rotating Zone under Advanced Concepts. Rename it to Front wheel MRF

Then change:

  1. Origin x value [m], y value [m] and z value [m] value to -0.41566, 0.670378 and 0.219731 respectively.

  2. Axis of rotation y value [m] to 1

  3. Angular velocity [rad/s] to -90.9

  4. Then select FrontWheelZone under Topological Mapping and click Select assignment in order to see the selected item in the viewer.

  5. Click Save to register your changes.

Similarly, perform the same procedure and create a new Rotating Zone. Rename it to Rear wheel MRF. Then change:

  1. Rotation center x value [m], y value [m] and z value [m] value to 1.13634, 0.670378 and 0.219731 respectively.

  2. Rotation axis y value [m] to 1.

  3. Angular velocity [rad/s] to -90.9

  4. Then select RearWheelZone under MRF zones and click Select assignment in order to see the selected item in the viewer.

  5. Click Save to register your changes.

Porous Media

In this section we will define the radiator volume source via porous media. Expand the Advanced Concepts tree item and proceed to Porous Media. Click +New to create a new porous media definition.

After creating a new porous media definition, you will be automatically directed to the its properties panel. Change:

  1. Name to Radiator-PorousMedium (optional) and set the Type to Darcy-Forchheimer

  2. Coefficient d x, y and z values to 18463.81, 1846381.09 and 1846381.09 respectively.

  3. Coefficient f x, y and z values to 1.09, 108.97 and 108.97 respectively.

  4. Coordinate system e1 x, y and z values to 0.93, 0.15 and 0.34 respectively.

  5. Coordinate system e3 x, y and z values to -0.34, -0.054 and 0.94 respectively.

  6. Scroll down and select RadiatorZone under Topological Mapping.

  7. Click Select assignment to see the selected volume source in viewer.

  8. Click Save to register your changes.

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.

  2. Change both Gradient scheme for default and Gradient scheme for grad§ to cellLimited Gauss linear

Scroll down to the end and change:

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

  2. Click Save to register all of your changes.

Simulation Control

Next we will define our simulation interval and steps that needs to be recorded. Go to Simulation Control and change End time value [s] to 1500.

Expand Details under Write control and change Write interval (simulation time steps) to 1500.

Next change Number of computing cores and Maximum runtime [s] to 32 and 42000 respectively.

Click Save to register your changes.

Result Control

As our last step before running the simulation, we will create result control items in order to get graphical data sets of interest. Firstly, we will create the result control item for the forces and moments.

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

A new force and moment result control item will be created. Rename it to FWing (optional).

Then change Density value [kg/mÂł] and Write interval (simulation time steps) to 1.2 and 5 respectively.

Select solid_0_FWmainwing, solid_0_FWEPin, solid_0_FWEPout and solid_0_FWflap under Faces for force calculation.

Click Select assignment to see the selected regions in the viewer and then click Save to register your changes.

Create another force and moment result control item and rename it to RWing (optional).

Then change Density value [kg/mÂł] and Write interval (simulation time steps) to 1.2 and 5 respectively.

Select solid_0_RWEP, solid_0_RWflapa, solid_0_RWflapb, solid_0_RWflapc and solid_0_RWflapd under Faces for force calculation.

Click Select assignment to see the selected regions in the viewer and then click Save to register your changes.

Follow the same procedure to create force and moment result control item for the diffuser. Rename it to Diffuser (optional).

Then change Density value [kg/mÂł] and Write interval (simulation time steps) to 1.2 and 5 respectively.

Select solid_0_Diffuser under Faces for force calculation.

Click Select assignment to see the selected regions in the viewer and then click Save to register your changes.

Follow the same procedure to create force and moment result control item for the front wheel and rename the newly created result control item to FWheel (optional).

Then change Density value [kg/mÂł] and Write interval (simulation time steps) to 1.2 and 5 respectively.

Select solid_0_Fronttire under Faces for force calculation.

Click Select assignment to see the selected regions in the viewer and then click Save to register your changes.

Do the same for rear wheel, rename it to RWheel (optional).

Then change Density value [kg/mÂł] and Write interval (simulation time steps) to 1.2 and 5 respectively.

Select solid_0_Reartire under Faces for force calculation.

Click Select assignment to see the selected regions in the viewer and then click Save to register your changes.

Similarly, for the whole body repeat the procedure and this time rename it to Body (optional).

Then change Density value [kg/mÂł] and Write interval (simulation time steps) to 1.2 and 5 respectively.

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.

Click Select assignment to see the selected regions in the viewer and then 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 and then 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 ~185 minutes (~3 hrs.)

Once your simulation is completed, proceed to Post-Processor tab in order to post-process your results.

Post-processing

Once in Post-Processor, click on Solution fields under Model-Conf-1-2 sim in order to load the results in viewer. Due to fine mesh it can take up to 5 minutes to load the results in to the viewer.

For faster and efficient reviewing of the results, we will use slice filter. In order to add the filter, do the following:

  1. Go to Add Filter and select Slice.

  2. Change Origin middle value i.e. y value to 0.0011

  3. Change Normal to (0,1,0)

  4. Uncheck Show Plane.

  5. Click Apply to save the changes.

  6. Next set camera orientation to +Y from the View tool over the viewer to get a proper view.

In order to see the pressure and velocity distribution on tires, we have to make another slice. This will be useful afterwards to compare the results between different configurations. First go back to the actual solution field i.e. Run 1 and then:

  1. Go to Add Filter and select Slice.

  2. Change Origin middle value i.e. y value to 0.6

  3. Change Normal to (0,1,0)

  4. Click Apply to save the changes.

  5. Turn off the previous created slice by unchecking the eye button next to it.

Now we will move further to load the whole car model in order to see the pressure contours over it. For this load again the same result by right clicking on it and then selecting Add result to viewer.

Please note that adding second time the same results can take up to 10 min.

Once the results are loaded, select all the entities next to Mesh Regions starting with solid_0. You can do so by first selecting the first entry i.e. solid_0_body in this case and then holding shift button while going down and then selecting the last one. Next choose only p next to Cell Arrays. Click Apply to save the changes.

Rescale the pressure contour by clicking the auto rescale button in Scale tool.

Turn on the color bar for pressure and select Slice 1

Next we will create the stream lines in order to see the flow.

For this, go back to the first loaded result Run 1

  1. Add a filter named StreamTracer

  2. Change Center to (-1.5,0.3,0.35)

  3. Change Radius to 0.35

  4. Click Apply to see the streamlines.

  5. Next switch to U [point-data] in order to see the streamlines colored via velocity.

As a last step, we have to rescale the velocity contour to a desired value. To do so, go to the Scale tool and give the lowest and highest values as 10 and 23 respectively. Then click OK. Now also turn on the color bar for the velocity by clicking the color bar button.

3 Likes

Hello

I run the simulation, but it suddenly gives me an error causa it says that :“Probably a wall function boundary condition has been assigned to the bounding face of a MRF zone. Please check your boundary conditions and make sure that no boundary conditions are defined on the bounding faces of the MRF zones”. But the boundary conditions are the one defined in the step by step tutorial.
What do I have to do?

Best regards,

william

Hello,

I’m having a problem in PP section. It says to go back to Run conf 1. We don’t have that. In the pictures, it seems that 3 configurations are simulated. I don’t understand, we only had “Conf 1 PorousRad Static Wheels”. And at the end of the simulation, we had to run it as “Run conf 3”. Where are the rest?

Thanks,
Andi M.

1 Like

The job was prepared successfully and run was finished. but later it gave me an error of “Maximum execution time exceeded”. How can I resolve this error?

even i m facing a problem in pp.
the moment i create slice2, i m not able to see the similar image.

please help

when i want to run the following message is appeared
“Running jobs for private projects is only available for premium users. As free user, please create a public project or make a public copy of this project to run jobs.”

how cal i fix it? or public project

My finished result looks like this… I relooked everything but don´t find my mistake…
Any suggestions?

Thanks in advance Tim

@Tiiimta
Check out the previous post on this. Due to illegal cells (about 200) in the mesh, running for 1500 s is not enough. Change it to about 4000-6000 and it will work. It’s about giving the solver enough iterations to converge to a solution.

Anybody? A bit of help please.

1 Like

I am a bit lost, can you tell me exactly what to do? That would be very kind.
Thank you

@Tiiimta when you set up the Simulation Control in the Simulation Designer section, change the end time value to 6000 s from the 1500 s and rerun.

@AndiM Run 1 Config is just the name of your simulation that you gave. There will be only one of these in the postprocessor section (whatever you named it when you setup a new simulation)

I uploaded the 2 pictures that I’m talking about. If you look in the first one (grey car), you will see that there is only one simulated run (Run-conf3). If you look in the second picture you will see that there are actually three runs (Run-conf1, 2, 3). That was my issue. Thanks.

I am having a problem with the coloure of the main cartesian box either in simulation (green ) and PP ( blue instead of yellowOrange) . The effects can’t be visualized in the slices . Anybody has a clue about it ? Thank you .

anybody please help

Even I faced the same problem. Though my job was prepared successfully and run was finished, but later it gave me an error of “Maximum execution time exceeded”

In my work get lost result (or data set) field during work… Than I can see only grey background and the cross… Any advice?

It seems it is working right now… Just maybe I am not sure, where I can change position of plane (see pics).

@FCervenka,

counter-check all your settings and make sure that the right parts are chosen (see picture).

Cheers.