Videos > CFD Fluent Simulation with Parametric Cone Angles
Oct 18, 2025

CFD Fluent Simulation with Parametric Cone Angles

Hello everyone, this is Mohsen from the Ozen Engineering team. In this video, I will demonstrate how to define a cone angle as a parameter. This task is challenging when dealing with solid modeling and using an angle as a parameter in Discovery. Later, I'll show you how to use it for a parametric study for CFD simulation in Fluent. Please watch this video.

Sketching and Defining Parameters in Discovery

In Discovery, let's start by sketching a cone. First, activate history tracking. We will create two cones:

  • The first cone with an angle of 74.6 degrees.
  • The second cone with a different angle.

We define these angles as parameters, d1 and d2. You can adjust these parameters, for example, changing the first angle from 71 to 80 degrees and the second from 60 to 55 degrees.

Using Pull and Revolve

Next, we use the pull and revolve functions to define these as two cones. You can also modify the angles in 3D:

  • Retract and change the first cone's angle.
  • Adjust the second cone's angle to 70 degrees.

Save your work before proceeding to the Workbench.

Setting Up in Workbench

Define the inlet and outlet faces, then save and proceed to Workbench. In Workbench, you will see parametric sets for P1 and P2 with the original values from the geometry. These are input parameters.

CFD Modeling and Meshing

Proceed with CFD modeling, followed by meshing:

  1. Use double precision and save at 8.
  2. Start the follow-up machine.
  3. Use default setup for meshing without local sizing.
  4. Apply share topology boundaries for inlet and outlet.
  5. Perform volume meshing using polyhedral meshing.

Save the project and proceed to the next step.

Setting Up and Solving in Fluent

Review the input parameters, which are the cone angles from the geometry. Define output parameters after setting up the model in Fluent:

  • Set velocity boundary conditions: 1 m/s at the inlet.
  • Keep the outlet as a pressure outlet with 0 gp.
  • Initialize the model and define the outlet velocity as an output parameter.

Run 100 iterations and assume a converged solution. Save the model and project, then return to Workbench.

Parameterization and Results

In Workbench, you can see the inputs and outputs. For parameterization:

  1. Keep the first angle constant and change the second angle to 70 degrees.
  2. Update the selected design point and observe changes in geometry and velocity.
  3. Repeat the process for different angles and observe the effects on velocity.

All steps in the workflow are repeated for each new data point.

Conclusion

In this video, I demonstrated using history tracking in Discovery to define parameters based on cone angles. Afterward, I conducted a parametric study for Fluent simulation using Workbench and optiSLang.

Thank you for watching. For more information, please contact us at Ozen Engineering, Inc..

[This was auto-generated. There may be mispellings.]

CFD Fluent Simulation with Parametric Cone Angles Hello everyone, this is Mohsen from the Ozen Engineering team. In this video, I just want to show you how we can define a cone angle as a parameter.

This is something that is not easy to do when we have solid modeling and want to use an angle as a parameter in Discovery. Later, I'll show you how I have to use it for a parametric study for CFD simulation in Fluent. Please watch this video. Okay, in Discovery, let's start sketching a cone.

Before that, I just activate history tracking. Let's start making a cone. This is the first cone, and this is the second cone. Now, let's define the dimensions. The angle is 74.6, and the second angle is defined.

We define the angle and go for the faces, so you can see that here I have these two angles, d1 and d 2. I can define them as parameters, and you can have it here. You can see that instead of 71, I can make it 80 and rerun. You can see that it changed.

I can define the second angle for the second cone or as another parameter. Instead of 60, I can put 55, for example. So, here you can see that by using history tracking, I can define these parameters for the angle, for these two angles.

Let's now go for using the pull and revolve and define these two as two cones. So, this is one cone, and this is the second cone. You can see that even at the 3D cases, I can also change the angle. For example, this one I can rerun it to retract; it is changed.

And this one I can make it like a 70 and run it. So, in this way, I can change the angle of the cones. It is 40, should be 50. Okay, I can change the angle of the cone as a parameter. Let's just save it. Okay, before going to the Workbench for performing the next steps, I can define this.

This is like an inlet, and other faces on the other side as an outlet. So, we have an inlet, and we have an outlet. Now, I can again save it and go for Workbench. You can see that we have these parametric sets for P1 and P2 with the original values that I have, and this is from the geometry.

So, these are in the input parameters. Now, I can go for CFD modeling, add following with meshing, and go for the meshing. Okay, double precision, save at 8, and start follow-up machine. This is the geometry, this is what we have - the two cones that we have here.

I'll do just quickly the steps for meshing. I just go by the default setup, no local sizing, default sizes for max min for the surface mesh only fluid, change internal walls to internal walls to internal.

I didn't do the share topology in Discovery; I did here, and for that, apply share topology boundaries, inlet, outlet, okay, alright, just one ray, one fluid region. I don't go for boundary layer here; I just want to quickly mesh it.

So, the last step is volume meshing; that's why I use polyhedral for the meshing. So, you can see that this is the mesh. I can save the project and go for the next step. Now, in the follow-up, so before starting the follow-up, let's just review again the parameters.

We just have input parameters, two angles, cone angles from the geometry. No output parameters. So, I'm going to define output parameters after setting up the model in Fluent. Reading the model and uploading the data for geometry and for mesh.

This is the model, as you can see here, that we have it - inlets, outlets. Let's go directly to set up the boundary conditions. For the velocity boundary conditions, say that 1 m per second at the inlet, apply.

Outlet, it is a pressure outlet; we just keep it as is, 0 gp at the outlet, and we can initialize the model, initialize it for, before running for output parameter. You can see that this is the output parameter; I go with say that velocity at the outlet.

So, I call it outlet velocity and check mark here that it is an output parameter. You can compute that; you can see that. Okay, and we can start now solving. Okay, we need to set say that's 100 iterations, start solution.

Assume that we have a converged solution; we can save the following model and the project, Workbench project, and now go back to Workbench. First of all, now you can see that we have inputs going from geometry to the CFD model and coming back here.

So, if I check the parametric, the parameter parts, now I have the output parameter, which is just velocity at the outlet. You can see that here, and I have the initial value for that, for the initial values for the input parameters, for the two parameters P1 and P2, which are the cone angles.

Okay, let's start parameterization. Say that okay, keep this angle as is, but change this to like a 70. Okay, and see what's happened. So, say that OK, update the selected design point. As you can see, it is DP0, the first design point, DP1, it is the new setup parameter.

Okay, we can see the progress here. It says that updating the geometry, so changing the cone angle for the second cone from 50 to 60. So now it is updating the geometry in Discovery, updating the mesh, and now sorting. Now, Fluent is uploading the new mesh. OK, updating Fluent Setup.

So, it is updating the following model. Now solving. Solving the model. We are almost done. Thank you, and this is a new geometry. Let me close that one. You can see that by changing the angle of the second cone from 50 to 60, how much the velocity changes.

I can repeat this with, say, a larger angle here for the first cone. Okay, and see that now how much velocity here compared to the original value. Update only the selected data point, which is now data point 2, and solving.

So, we repeat all the steps for this simulation, starting from updating the geometry, updating the mesh, and then updating the setup, and at the end, solving the kind of new model. So, starting Fluent, updating the mesh, updating the setup, and the last step is solving the model. Now it is solving.

So, all steps in the workflow will be repeated every time I have a new data point here. So, you can see that, okay, when I increase the first angle from 70 to 80, how much this velocity changes at the outlet.

In this video, I just showed you that we have to use history tracking in Discovery to define the parameters based on the cone angle. I'm just opening Discovery to show you that these are the updated models, the new cone angles that we have.

Okay, and this is all based on using the history tracking feature in Ansys Discovery. And after that, I can just go for the parametric study for Fluent simulation using Workbench and optiSLang. Thank you very much for watching this video.

Please contact us at https://ozeninc.com/contact for more information.